/frameworks/base/core/java/android/app/ |
H A D | ActivityView.java | 55 private Surface mSurface; field in class:ActivityView 235 mSurface = mSurfaceView.getHolder().getSurface(); 255 mSurface.release(); 256 mSurface = null; 273 width, height, getBaseDisplayDensity(), mSurface, 0 /* flags */); 303 if (mSurface != null) { 304 mSurface.release(); 305 mSurface = null;
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseSurfaceHolder.java | 40 public Surface mSurface = new Surface(); field in class:BaseSurfaceHolder 192 c = mSurface.lockHardwareCanvas(); 194 c = mSurface.lockCanvas(dirty); 226 mSurface.unlockCanvasAndPost(canvas); 231 return mSurface;
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
H A D | VirtualDisplayTest.java | 73 private Surface mSurface; field in class:VirtualDisplayTest 88 mSurface = mImageReader.getSurface(); 102 mSurface = null; 114 WIDTH, HEIGHT, DENSITY, mSurface, 0); 137 WIDTH, HEIGHT, DENSITY, mSurface, 165 WIDTH, HEIGHT, DENSITY, mSurface, 218 WIDTH, HEIGHT, DENSITY, mSurface,
|
/frameworks/base/services/core/java/com/android/server/vr/ |
H A D | Vr2dDisplay.java | 99 private Surface mSurface; field in class:Vr2dDisplay 365 if (mSurface != surface && (surface == null || surface.isValid())) { 366 Log.i(TAG, "Setting the new surface from " + mSurface + " to " + surface); 370 if (mSurface != null) { 371 mSurface.release(); 373 mSurface = surface;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | Camera2Source.java | 63 private Surface mSurface; field in class:Camera2Source 135 mSurface.release(); 178 mSurface = mAllocationIn.getSurface(); 189 surfaces.add(mSurface); 196 mCaptureRequest.addTarget(mSurface);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GLTextureViewActivity.java | 138 private final SurfaceTexture mSurface; field in class:GLTextureViewActivity.RenderThread 149 mSurface = surface; 383 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null);
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
H A D | CustomSurfaceView.java | 42 private Surface mSurface; field in class:CustomSurfaceView 106 if (mSurface != null) { 107 mCanvas = mSurface.lockCanvas(null); 115 if (mSurface == null) { 119 mSurface.unlockCanvasAndPost(mCanvas); 130 if (mSurface != null) { 131 Canvas canvas = mSurface.lockCanvas(null); 146 mSurface.unlockCanvasAndPost(canvas); 157 if (mSurface == null) { 164 if (mSurface [all...] |
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/ |
H A D | ImageFlipRenderThread.java | 92 private final SurfaceTexture mSurface; field in class:ImageFlipRenderThread 102 mSurface = surface; 336 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null);
|
/frameworks/native/libs/vr/libbufferhubqueue/tests/ |
H A D | buffer_hub_queue_producer-test.cpp | 97 mSurface = new Surface(mProducer, true); 98 ASSERT_TRUE(mSurface != nullptr); 140 sp<Surface> mSurface; member in class:android::dvr::__anon1821::BufferHubQueueProducerTest
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
H A D | MyGLSurfaceView.java | 98 mSurface.updateTexImage(); 100 mSurface.getTransformMatrix(mSTMatrix); 216 mSurface = new SurfaceTexture(mTextureID); 217 mSurface.setOnFrameAvailableListener(this); 337 private SurfaceTexture mSurface; field in class:MyRenderer 346 return mSurface;
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.h | 168 EGLDisplay mSurface; member in class:android::BootAnimation
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | VulkanManager.h | 51 sk_sp<SkSurface> mSurface; member in struct:android::uirenderer::renderthread::VulkanSurface::ImageInfo
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
H A D | CameraDeviceBinderTest.java | 73 private Surface mSurface; field in class:CameraDeviceBinderTest 183 mSurface = mImageReader.getSurface(); 184 mOutputConfiguration = new OutputConfiguration(mSurface); 201 request.addTarget(mSurface); 253 mSurface.release(); 340 builder.addTarget(mSurface);
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | EGLImpl.java | 29 private EGLSurfaceImpl mSurface = new EGLSurfaceImpl(-1); field in class:EGLImpl 143 if (mSurface.mEGLSurface != value) 144 mSurface = new EGLSurfaceImpl(value); 145 return mSurface;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | BlockingGLTextureView.java | 318 private SurfaceTexture mSurface; field in class:BlockingGLTextureView.RenderThread 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/ |
H A D | WifiDisplayAdapter.java | 588 private Surface mSurface; field in class:WifiDisplayAdapter.WifiDisplayDevice 601 mSurface = surface; 611 if (mSurface != null) { 612 mSurface.release(); 613 mSurface = null; 625 if (mSurface != null) { 626 setSurfaceInTransactionLocked(mSurface);
|
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
H A D | GL2CameraEye.java | 188 mSurface.updateTexImage(); 190 mSurface.getTransformMatrix(mSTMatrix); 191 long timestamp = mSurface.getTimestamp(); 311 mSurface = new SurfaceTexture(mTextureID); 312 mSurface.setOnFrameAvailableListener(this); 314 mCamera.setPreviewTexture(mSurface); 499 private SurfaceTexture mSurface; field in class:CamRenderer
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.h | 226 EGLSurface mSurface; member in class:android::DisplayDevice
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/ |
H A D | VrView.java | 56 private Surface mSurface; field in class:VrView 385 if (mSurface != null) { 386 mSurface.release(); 388 mSurface = new Surface(mSurfaceTexture); 394 state.createOutputAllocation(mSurface, img_width, img_height);
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | LocalPlayer.java | 66 private Surface mSurface; field in class:LocalPlayer 300 mSurface = surface; 306 mSurface = null; 326 if (mSurface != null) { 329 ICSMediaPlayer.setSurface(mMediaPlayer, mSurface);
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | LocalPlayer.java | 66 private Surface mSurface; field in class:LocalPlayer 300 mSurface = surface; 306 mSurface = null; 326 if (mSurface != null) { 329 ICSMediaPlayer.setSurface(mMediaPlayer, mSurface);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayer.h | 163 sp<Surface> mSurface; member in struct:android::NuPlayer
|
/frameworks/base/core/java/android/view/ |
H A D | TextureView.java | 110 private SurfaceTexture mSurface; field in class:TextureView 245 if (mSurface != null) { 249 shouldRelease = mListener.onSurfaceTextureDestroyed(mSurface); 257 mSurface.release(); 259 mSurface = null; 363 if (mSurface != null) { 364 mSurface.setDefaultBufferSize(getWidth(), getHeight()); 367 mListener.onSurfaceTextureSizeChanged(mSurface, getWidth(), getHeight()); 379 boolean createNewSurface = (mSurface == null); 382 mSurface [all...] |
/frameworks/base/media/java/android/media/ |
H A D | ImageReader.java | 253 mSurface = nativeGetSurface(); 350 return mSurface; 600 if (mSurface != null) mSurface.release(); 773 private final Surface mSurface; field in class:ImageReader
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
H A D | VideoDumpView.java | 323 private SurfaceTexture mSurface; field in class:VideoDumpView.VideoDumpRenderer 380 mSurface.updateTexImage(); 381 mSurface.getTransformMatrix(mSTMatrix); 575 mSurface = new SurfaceTexture(mTextureID); 576 mSurface.setOnFrameAvailableListener(this); 578 Surface surface = new Surface(mSurface);
|