Lines Matching defs:surface
102 public int registerSurface(Surface surface) {
103 int result = nativeAddSurface(surface);
105 throw new RuntimeException("Error registering surface " + surface + "!");
111 Surface surface = new Surface(surfaceTexture);
112 int result = nativeAddSurfaceWidthHeight(surface, width, height);
113 surface.release();
123 throw new RuntimeException("Error registering surface from "
131 throw new RuntimeException("Could not activate surface " + surfaceId + "!");
137 throw new RuntimeException("Could not unregister surface " + surfaceId + "!");
143 throw new RuntimeException("Could not set timestamp for current surface!");
171 private native int nativeAddSurface(Surface surface);
173 private native int nativeAddSurfaceWidthHeight(Surface surface, int width, int height);