Searched refs:mSurface (Results 26 - 50 of 71) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/wm/
H A DWatermark.java51 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 DVirtualDisplayTest.java73 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 DOverlayDisplayAdapter.java233 private Surface mSurface; field in class:OverlayDisplayAdapter.OverlayDisplayDevice
261 if (mSurface != null) {
262 mSurface.release();
263 mSurface = null;
276 if (mSurface == null) {
277 mSurface = new Surface(mSurfaceTexture);
279 setSurfaceInTransactionLocked(mSurface);
H A DWifiDisplayAdapter.java588 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);
H A DColorFade.java86 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 DGL2CameraEye.java188 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 DCameraFlashlight.cpp365 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 DCameraFlashlight.h169 sp<Surface> mSurface; member in class:android::CameraDeviceClientFlashControl
222 sp<Surface> mSurface; member in class:android::CameraHardwareInterfaceFlashControl
/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp306 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 DEglManager.h44 EGLSurface mSurface; member in class:android::uirenderer::renderthread::Frame
/frameworks/base/media/java/android/media/
H A DImageReader.java154 mSurface = nativeGetSurface();
251 return mSurface;
501 if (mSurface != null) mSurface.release();
648 private final Surface mSurface; field in class:ImageReader
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DCamera2Source.java63 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 DCameraDeviceBinderTest.java73 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 DSimplePlayer.h87 sp<Surface> mSurface; member in struct:android::SimplePlayer
H A Dsf2.cpp67 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/base/core/java/android/view/
H A DSurfaceView.java103 final Surface mSurface = new Surface(); // Current surface in use field in class:SurfaceView
445 mSurface.setCompatibilityTranslator(mTranslator);
536 + "Cur surface: " + mSurface);
583 if (mSurface.isValid()) {
601 if (mSurface.isValid()) {
602 mSurface.forceScopedDisconnect();
607 mSurface.transferFrom(mNewSurface);
608 if (visible && mSurface.isValid()) {
990 c = mSurface.lockCanvas(dirty);
1028 mSurface
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoder.cpp64 mSurface(surface),
212 // NOTE: in practice mSurface is always non-null, but checking here for completeness
213 if (mCodec != NULL && mSurface != NULL) {
226 (void)native_window_api_connect(mSurface.get(), NATIVE_WINDOW_API_MEDIA);
227 mSurface = surface;
265 ALOGV("[%s] onConfigure (surface=%p)", mComponentName.c_str(), mSurface.get());
291 if (mSurface != NULL) {
294 mSurface.get(), NATIVE_WINDOW_API_MEDIA);
301 format, mSurface, NULL /* crypto */, 0 /* flags */);
487 if (mSurface !
[all...]
H A DNuPlayerDecoder.h64 sp<Surface> mSurface; member in struct:android::NuPlayer::Decoder
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DVideoDumpView.java323 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 DNdkImageReaderPriv.h132 sp<Surface> mSurface; member in struct:AImageReader
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h136 EGLDisplay mSurface; member in class:android::BootAnimation
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/
H A DVrView.java56 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/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DLocalPlayer.java65 private Surface mSurface; field in class:LocalPlayer
299 mSurface = surface;
305 mSurface = null;
325 if (mSurface != null) {
328 ICSMediaPlayer.setSurface(mMediaPlayer, mSurface);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DLocalPlayer.java65 private Surface mSurface; field in class:LocalPlayer
299 mSurface = surface;
305 mSurface = null;
325 if (mSurface != null) {
328 ICSMediaPlayer.setSurface(mMediaPlayer, mSurface);
/frameworks/base/media/java/android/media/tv/
H A DTvView.java84 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);

Completed in 948 milliseconds

123