Lines Matching defs:surface

489                 // If the application owns the surface, don't enable hardware acceleration
1174 // is attached to the window. Note that at this point the surface
1381 + " surface=" + mSurface);
1489 // If we are creating a new surface, then we need to
1505 Log.e(TAG, "OutOfResourcesException initializing HW surface", e);
1514 mLayoutRequested = true; // ask wm for a new surface next time.
1520 // If the surface has been removed, then reset the scroll
1528 // Our surface is gone
1539 Log.e(TAG, "OutOfResourcesException updating HW surface", e);
1547 mLayoutRequested = true; // ask wm for a new surface next time.
1555 TAG, "Relayout returned: frame=" + frame + ", surface=" + mSurface);
1569 // The app owns the surface; tell it about what is going on.
2077 Surface surface = mSurface;
2078 if (surface == null || !surface.isValid()) {
2134 // The app owns the surface, we won't draw.
2154 + "," + dirty.right + "," + dirty.bottom + "} surface="
2155 + surface + " surface.isValid()=" + surface.isValid() + ", appScale:" +
2177 } else if (!drawSoftware(surface, attachInfo, yoff, scalingRequired, dirty)) {
2191 private boolean drawSoftware(Surface surface, AttachInfo attachInfo, int yoff,
2195 // wrong (an invalidate posted right before we destroyed the hardware surface
2196 // for instance) so we should just bail out. Locking the surface with software
2224 Log.e(TAG, "OutOfResourcesException locking surface", e);
2232 mLayoutRequested = true; // ask wm for a new surface next time.
2235 Log.e(TAG, "Could not lock surface", e);
2239 mLayoutRequested = true; // ask wm for a new surface next time.
2245 Log.v(TAG, "Surface " + surface + " drawing to bitmap w="
2292 surface.unlockCanvasAndPost(canvas);
2294 Log.e(TAG, "Could not unlock surface", e);
2295 mLayoutRequested = true; // ask wm for a new surface next time.
2301 Log.v(TAG, "Surface " + surface + " unlockCanvasAndPost");
2903 Log.e(TAG, "OutOfResourcesException locking surface", e);