Searched defs:mSurface (Results 26 - 47 of 47) sorted by last modified time

12

/frameworks/base/services/core/jni/
H A Dcom_android_server_tv_TvInputHal.cpp87 sp<Surface> mSurface; member in class:android::BufferProducerThread
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; member in class:android::JTvInputHal::Connection
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/
H A DDisplaySinkService.java48 private Surface mSurface; field in class:DisplaySinkService
136 if (mSurface == surface && mSurfaceWidth == width && mSurfaceHeight == height) {
140 mSurface = surface;
151 if (mSurface != null) {
160 mCodec.configure(format, mSurface, null, 0);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DRenderTarget.java67 private EGLSurface mSurface; field in class:RenderTarget
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/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/java/android/media/
H A DImageReader.java130 mSurface = nativeGetSurface();
212 return mSurface;
522 private final Surface mSurface; field in class:ImageReader
H A DMediaRecorder.java87 private Surface mSurface; field in class:MediaRecorder
155 mSurface = sv;
/frameworks/base/media/java/android/media/tv/
H A DTvInputService.java244 private Surface mSurface; field in class:TvInputService.Session
875 if (mSurface != null) {
876 mSurface.release();
877 mSurface = null;
900 if (mSurface != null) {
901 mSurface.release();
903 mSurface = surface;
H A DTvView.java81 private Surface mSurface; field in class:TvView
123 mSurface = holder.getSurface();
124 setSessionSurface(mSurface);
129 mSurface = null;
650 mSurface = null;
898 // mSurface may not be ready yet as soon as starting an application.
901 if (mSurface != null) {
902 setSessionSurface(mSurface);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
H A DSurfaceTargetFilter.java50 private Surface mSurface; field in class:SurfaceTargetFilter
91 if (mSurface == null) {
237 mSurfaceId = mGlEnv.registerSurface(mSurface);
239 throw new RuntimeException("Could not register Surface: " + mSurface);
/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/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
H A DCameraDeviceBinderTest.java69 private Surface mSurface; field in class:CameraDeviceBinderTest
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/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/core/java/android/hardware/display/
H A DVirtualDisplay.java39 private Surface mSurface; field in class:VirtualDisplay
46 mSurface = surface;
60 return mSurface;
76 if (mSurface != surface) {
78 mSurface = surface;
111 + ", surface=" + mSurface + "}";
/frameworks/base/core/java/android/view/
H A DSurfaceView.java96 final Surface mSurface = new Surface(); // Current surface in use field in class:SurfaceView
436 mSurface.setCompatibilityTranslator(mTranslator);
515 if (DEBUG) Log.i(TAG, "Cur surface: " + mSurface);
560 if (mSurface.isValid()) {
569 mSurface.transferFrom(mNewSurface);
571 if (visible && mSurface.isValid()) {
823 c = mSurface.lockCanvas(dirty);
861 mSurface.unlockCanvasAndPost(canvas);
867 return mSurface;
H A DTextureView.java108 private SurfaceTexture mSurface; field in class:TextureView
237 shouldRelease = mListener.onSurfaceTextureDestroyed(mSurface);
245 if (shouldRelease) mSurface.release();
246 mSurface = null;
327 if (mSurface != null) {
328 mSurface.setDefaultBufferSize(getWidth(), getHeight());
331 mListener.onSurfaceTextureSizeChanged(mSurface, getWidth(), getHeight());
361 mSurface = new SurfaceTexture(false);
362 mLayer.setSurfaceTexture(mSurface);
364 mSurface
[all...]
H A DViewRootImpl.java248 final Surface mSurface = new Surface(); field in class:ViewRootImpl
489 mSurface.setCompatibilityTranslator(mTranslator);
1488 boolean hadSurface = mSurface.isValid();
1497 // relayoutWindow may decide to destroy mSurface. As that decision
1500 if (mAttachInfo.mHardwareRenderer.pauseSurface(mSurface)) {
1506 final int surfaceGenerationId = mSurface.getGenerationId();
1518 + " surface=" + mSurface);
1539 mSurface != null && mSurface.isValid() &&
1631 if (mSurface
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java40 public Surface mSurface = new Surface(); field in class:BaseSurfaceHolder
184 c = mSurface.lockCanvas(dirty);
215 mSurface.unlockCanvasAndPost(canvas);
220 return mSurface;
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h100 EGLDisplay mSurface; member in class:android::BootAnimation
/frameworks/base/core/java/android/app/
H A DActivityView.java54 private Surface mSurface; field in class:ActivityView
115 if (mSurface != null) {
121 mActivityContainer.setSurface(mSurface, mWidth, mHeight, mMetrics.densityDpi);
153 " mSurface=" + mSurface);
159 " mSurface=" + mSurface);
163 return mSurface != null;
172 if (mSurface != null) {
188 if (mSurface !
[all...]
/frameworks/av/cmds/stagefright/
H A Dsf2.cpp67 mSurface(surface),
71 CHECK(!mDecodeAudio || mSurface == NULL);
156 if (mSurface != NULL) {
158 "native-window", new NativeWindowWrapper(mSurface));
265 sp<Surface> mSurface; member in struct:Controller
/frameworks/av/include/media/stagefright/
H A DCameraSource.h157 sp<IGraphicBufferProducer> mSurface; member in class:android::CameraSource
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.h138 sp<IBinder> mSurface; member in class:android::CameraClient

Completed in 3305 milliseconds

12