Lines Matching defs:surface
98 public int registerSurface(Surface surface) {
99 int result = nativeAddSurface(surface);
101 throw new RuntimeException("Error registering surface " + surface + "!");
117 throw new RuntimeException("Error registering surface from "
125 throw new RuntimeException("Could not activate surface " + surfaceId + "!");
131 throw new RuntimeException("Could not unregister surface " + surfaceId + "!");
137 throw new RuntimeException("Could not set timestamp for current surface!");
165 private native int nativeAddSurface(Surface surface);
167 private native int nativeAddSurfaceTexture(SurfaceTexture surface, int width, int height);