/frameworks/base/core/java/com/android/internal/view/ |
BaseSurfaceHolder.java | 40 public Surface mSurface = new Surface(); 184 c = mSurface.lockCanvas(dirty); 215 mSurface.unlockCanvasAndPost(canvas); 220 return mSurface;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/ |
SurfaceTargetFilter.java | 50 private Surface mSurface; 91 if (mSurface == null) { 237 mSurfaceId = mGlEnv.registerSurface(mSurface); 239 throw new RuntimeException("Could not register Surface: " + mSurface);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
CircularDisplayMask.java | 45 private final Surface mSurface = new Surface(); 78 mSurface.copyFrom(ctrl); 98 c = mSurface.lockCanvas(dirty); 126 mSurface.unlockCanvasAndPost(c);
|
FocusedStackFrame.java | 42 private final Surface mSurface = new Surface(); 59 mSurface.copyFrom(ctrl); 71 c = mSurface.lockCanvas(mTmpDrawRect); 99 mSurface.unlockCanvasAndPost(c);
|
Watermark.java | 49 private final Surface mSurface = new Surface(); 121 mSurface.copyFrom(ctrl); 145 c = mSurface.lockCanvas(dirty); 174 mSurface.unlockCanvasAndPost(c);
|
/development/ndk/platforms/android-14/samples/native-media/src/com/example/nativemedia/ |
MyGLSurfaceView.java | 86 mSurface.updateTexImage(); 88 mSurface.getTransformMatrix(mSTMatrix); 204 mSurface = new SurfaceTexture(mTextureID); 205 mSurface.setOnFrameAvailableListener(this); 325 private SurfaceTexture mSurface; 334 return mSurface;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
WindowSurface.java | 69 mDrawingThread.mSurface = holder; 86 mDrawingThread.mSurface = holder; 140 SurfaceHolder mSurface; 189 while (mSurface == null || !mRunning) { 209 Canvas canvas = mSurface.lockCanvas(); 266 mSurface.unlockCanvasAndPost(canvas);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
CameraDeviceBinderTest.java | 69 private Surface mSurface; 149 mSurface = mImageReader.getSurface(); 165 /* ignored */30, mSurface); 167 request.addTarget(mSurface); 220 mSurface.release(); 239 mSurface); 243 mCameraUser.createStream(/* ignored */0, /* ignored */0, /* ignored */0, mSurface)); 261 mSurface); 265 mCameraUser.createStream(/* ignored */0, /* ignored */0, /* ignored */0, mSurface)); 290 builder.addTarget(mSurface); [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
RenderTarget.java | 67 private EGLSurface mSurface; 195 if (currentSurface != null && !currentSurface.equals(mSurface)) { 198 mDisplaySurfaces.put(mContext, mSurface); 253 if (removeReferenceTo(mSurface)) { 254 mEgl.eglDestroySurface(mDisplay, mSurface); 255 mSurface = EGL10.EGL_NO_SURFACE; 291 return "RenderTarget(" + mDisplay + ", " + mContext + ", " + mSurface + ", " + mFbo + ")"; 353 mSurface = surface; 361 return mSurface; 364 return displaySurface != null ? displaySurface : mSurface; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
FlashlightController.java | 67 private Surface mSurface; 138 mSurface = new Surface(mSurfaceTexture); 140 outputs.add(mSurface); 199 builder.addTarget(mSurface); 221 if (mSurface != null) { 222 mSurface.release(); 225 mSurface = null;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
BlockingGLTextureView.java | 318 private SurfaceTexture mSurface; 338 if (mSurface == null) { 349 mSurface = surface; 363 if (mSurface != null) { 365 mSurface.updateTexImage(); 370 mSurface = null; 398 if (mEglHelper.createSurface(mSurface)) {
|
/frameworks/base/services/core/java/com/android/server/display/ |
OverlayDisplayAdapter.java | 203 private Surface mSurface; 224 if (mSurface != null) { 225 mSurface.release(); 226 mSurface = null; 234 if (mSurface == null) { 235 mSurface = new Surface(mSurfaceTexture); 237 setSurfaceInTransactionLocked(mSurface);
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
BlockingGLTextureView.java | 318 private SurfaceTexture mSurface; 338 if (mSurface == null) { 349 mSurface = surface; 363 if (mSurface != null) { 365 mSurface.updateTexImage(); 370 mSurface = null; 398 if (mEglHelper.createSurface(mSurface)) {
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
BlockingGLTextureView.java | 318 private SurfaceTexture mSurface; 338 if (mSurface == null) { 349 mSurface = surface; 363 if (mSurface != null) { 365 mSurface.updateTexImage(); 370 mSurface = null; 398 if (mEglHelper.createSurface(mSurface)) {
|
/cts/tests/tests/display/src/android/display/cts/ |
VirtualDisplayTest.java | 74 private Surface mSurface; 95 mSurface = mImageReader.getSurface(); 108 mSurface = null; 121 WIDTH, HEIGHT, DENSITY, mSurface, 0); 127 assertEquals(mSurface, virtualDisplay.getSurface()); 145 WIDTH, HEIGHT, DENSITY, mSurface, 152 assertEquals(mSurface, virtualDisplay.getSurface()); 179 virtualDisplay.setSurface(mSurface); 180 assertEquals(mSurface, virtualDisplay.getSurface());
|
/development/samples/ApiDemos/src/com/example/android/apis/media/projection/ |
MediaProjectionDemo.java | 65 private Surface mSurface; 79 mSurface = mSurfaceView.getHolder().getSurface(); 128 if (mSurface == null) { 154 mSurface, null /*Callbacks*/, null /*Handler*/); 204 mSurface = holder.getSurface();
|
/frameworks/base/services/core/jni/ |
com_android_server_tv_TvInputHal.cpp | 87 sp<Surface> mSurface; 118 sp<ANativeWindow> anw(mSurface); 141 if (surface == mSurface) { 158 mSurface = surface; 190 if (mSurface == NULL) { 199 sp<ANativeWindow> anw(mSurface); 255 sp<Surface> mSurface; 341 if (connection.mSurface == surface) { 346 if (connection.mSurface != NULL) { 348 if (Surface::isValid(connection.mSurface)) { [all...] |
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
DisplaySinkService.java | 48 private Surface mSurface; 136 if (mSurface == surface && mSurfaceWidth == width && mSurfaceHeight == height) { 140 mSurface = surface; 151 if (mSurface != null) { 160 mCodec.configure(format, mSurface, null, 0);
|
/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/reference/ |
GLGameActivity.java | 48 private volatile Surface mSurface = null; 64 mSurface = holder.getSurface(); 128 mSurface,
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
SurfaceViewSubPane.java | 43 private Surface mSurface; 146 return mSurface; 164 mSurface = holder.getSurface();
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
MyGLSurfaceView.java | 98 mSurface.updateTexImage(); 100 mSurface.getTransformMatrix(mSTMatrix); 216 mSurface = new SurfaceTexture(mTextureID); 217 mSurface.setOnFrameAvailableListener(this); 337 private SurfaceTexture mSurface; 346 return mSurface;
|
/developers/build/prebuilts/gradle/ScreenCapture/Application/src/main/java/com/example/android/screencapture/ |
ScreenCaptureFragment.java | 57 private Surface mSurface; 82 mSurface = mSurfaceView.getHolder().getSurface(); 165 if (mSurface == null || activity == null) { 189 mSurface, null, null);
|
/developers/samples/android/media/ScreenCapture/Application/src/main/java/com/example/android/screencapture/ |
ScreenCaptureFragment.java | 57 private Surface mSurface; 82 mSurface = mSurfaceView.getHolder().getSurface(); 165 if (mSurface == null || activity == null) { 189 mSurface, null, null);
|
/frameworks/base/cmds/bootanimation/ |
BootAnimation.h | 100 EGLDisplay mSurface;
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
EGLImpl.java | 29 private EGLSurfaceImpl mSurface = new EGLSurfaceImpl(-1); 143 if (mSurface.mEGLSurface != value) 144 mSurface = new EGLSurfaceImpl(value); 145 return mSurface;
|