/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | Watermark.java | 51 private final Surface mSurface = new Surface(); field in class:Watermark 123 mSurface.copyFrom(ctrl); 147 c = mSurface.lockCanvas(dirty); 176 mSurface.unlockCanvasAndPost(c);
|
/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/display/ |
H A D | OverlayDisplayAdapter.java | 233 private Surface mSurface; field in class:OverlayDisplayAdapter.OverlayDisplayDevice 261 if (mSurface != null) { 262 mSurface.release(); 263 mSurface = null; 271 if (mSurface == null) { 272 mSurface = new Surface(mSurfaceTexture); 274 setSurfaceInTransactionLocked(mSurface);
|
H A D | WifiDisplayAdapter.java | 588 private Surface mSurface; field in class:WifiDisplayAdapter.WifiDisplayDevice 601 mSurface = surface; 606 if (mSurface != null) { 607 mSurface.release(); 608 mSurface = null; 620 if (mSurface != null) { 621 setSurfaceInTransactionLocked(mSurface);
|
H A D | ColorFade.java | 86 private Surface mSurface; field in class:ColorFade 593 mSurface = new Surface(); 594 mSurface.copyFrom(mSurfaceControl); 612 mEglSurface = EGL14.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, 638 mSurface.release();
|
/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/av/services/camera/libcameraservice/ |
H A D | CameraFlashlight.cpp | 365 mSurface.clear(); 401 mSurface = new Surface(mProducer, /*useAsync*/ true); 402 if (mSurface == NULL) { 405 res = device->createStream(mSurface, width, height, format, 659 mSurface.clear(); 835 mSurface = new Surface(mProducer, /*useAsync*/ true); 836 if (mSurface == NULL) { 840 res = native_window_api_connect(mSurface.get(), NATIVE_WINDOW_API_CAMERA); 846 return device->setPreviewWindow(mSurface); 899 status_t res = native_window_api_disconnect(mSurface [all...] |
H A D | CameraFlashlight.h | 169 sp<Surface> mSurface; member in class:android::CameraDeviceClientFlashControl 222 sp<Surface> mSurface; member in class:android::CameraHardwareInterfaceFlashControl
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | EglManager.cpp | 306 frame.mSurface = surface; 319 if (!eglSetDamageRegionKHR(mEglDisplay, frame.mSurface, rects, 1)) { 321 (void*)frame.mSurface, egl_error_str()); 340 eglSwapBuffersWithDamageKHR(mEglDisplay, frame.mSurface, rects, 352 err, frame.mSurface);
|
H A D | EglManager.h | 44 EGLSurface mSurface; member in class:android::uirenderer::renderthread::Frame
|
/frameworks/base/media/java/android/media/ |
H A D | ImageReader.java | 154 mSurface = nativeGetSurface(); 247 return mSurface; 497 if (mSurface != null) mSurface.release(); 619 private final Surface mSurface; field in class:ImageReader
|
/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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
H A D | CameraDeviceBinderTest.java | 73 private Surface mSurface; field in class:CameraDeviceBinderTest 173 mSurface = mImageReader.getSurface(); 174 mOutputConfiguration = new OutputConfiguration(mSurface); 191 request.addTarget(mSurface); 243 mSurface.release(); 330 builder.addTarget(mSurface);
|
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.h | 87 sp<Surface> mSurface; member in struct:android::SimplePlayer
|
H A D | sf2.cpp | 67 mSurface(surface), 71 CHECK(!mDecodeAudio || mSurface == NULL); 156 if (mSurface != NULL) { 157 format->setObject("surface", mSurface); 264 sp<Surface> mSurface; member in struct:Controller
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDecoder.cpp | 56 mSurface(surface), 198 // NOTE: in practice mSurface is always non-null, but checking here for completeness 199 if (mCodec != NULL && mSurface != NULL) { 212 (void)native_window_api_connect(mSurface.get(), NATIVE_WINDOW_API_MEDIA); 213 mSurface = surface; 251 ALOGV("[%s] onConfigure (surface=%p)", mComponentName.c_str(), mSurface.get()); 277 if (mSurface != NULL) { 280 mSurface.get(), NATIVE_WINDOW_API_MEDIA); 287 format, mSurface, NULL /* crypto */, 0 /* flags */); 416 if (mSurface ! [all...] |
H A D | NuPlayerDecoder.h | 60 sp<Surface> mSurface; member in struct:android::NuPlayer::Decoder
|
/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);
|
/frameworks/av/media/ndk/ |
H A D | NdkImageReaderPriv.h | 132 sp<Surface> mSurface; member in struct:AImageReader
|
H A D | NdkImageReader.cpp | 193 mSurface = new Surface(mProducer, /*controlledByApp*/true); 194 if (mSurface == nullptr) { 198 mWindow = static_cast<ANativeWindow*>(mSurface.get());
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.h | 112 EGLDisplay mSurface; member in class:android::BootAnimation
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceView.java | 103 final Surface mSurface = new Surface(); // Current surface in use field in class:SurfaceView 449 mSurface.setCompatibilityTranslator(mTranslator); 540 + "Cur surface: " + mSurface); 587 if (mSurface.isValid()) { 597 mSurface.transferFrom(mNewSurface); 598 if (visible && mSurface.isValid()) { 976 c = mSurface.lockCanvas(dirty); 1014 mSurface.unlockCanvasAndPost(canvas); 1020 return mSurface;
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/ |
H A D | VrView.java | 56 private Surface mSurface; field in class:VrView 386 if (mSurface != null) { 387 mSurface.release(); 389 mSurface = new Surface(mSurfaceTexture); 395 state.createOutputAllocation(mSurface, img_width, img_height);
|
/frameworks/base/media/java/android/media/tv/ |
H A D | TvView.java | 84 private Surface mSurface; field in class:TvView 125 mSurface = holder.getSurface(); 126 setSessionSurface(mSurface); 131 mSurface = null; 776 mSurface = null; 1083 // mSurface may not be ready yet as soon as starting an application. 1086 if (mSurface != null) { 1087 setSessionSurface(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);
|