Lines Matching refs:sdAccel
62 protected SurfaceData sdAccel;
116 sdAccel = initAcceleratedSurface();
117 if (sdAccel != null) {
118 sdCurrent = sdAccel;
171 } else if (sdAccel == null) {
174 sdAccel = initAcceleratedSurface();
175 if (sdAccel != null) {
177 sdCurrent = sdAccel;
185 } else if (sdAccel.isSurfaceLost()) {
189 sdCurrent = sdAccel;
191 sdAccel.setSurfaceLost(false);
209 } else if (sdAccel != null) {
213 sdAccel = null;
305 if (isAccelerationEnabled() && (sdCurrent == sdAccel)) {
311 * Restore sdAccel in case it was lost. Do nothing in this
331 if (sdAccel != null) {
337 // Note that getBackupSurface may set sdAccel to null so we have to invalidate it before
338 SurfaceData oldData = sdAccel;
339 sdAccel = null;
388 return (sdCurrent == sdAccel);
398 * calling flush on sdAccel. This method forces a lostSurface
404 SurfaceData oldSD = sdAccel;
405 sdAccel = null;