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

123

/frameworks/av/media/ndk/
H A DNdkImageReader.cpp193 mSurface = new Surface(mProducer, /*controlledByApp*/true);
194 if (mSurface == nullptr) {
198 mWindow = static_cast<ANativeWindow*>(mSurface.get());
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLTextureViewActivity.java138 private final SurfaceTexture mSurface; field in class:GLTextureViewActivity.RenderThread
149 mSurface = surface;
383 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null);
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
H A DImageFlipRenderThread.java92 private final SurfaceTexture mSurface; field in class:ImageFlipRenderThread
102 mSurface = surface;
336 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null);
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.h142 sp<IBinder> mSurface; member in class:android::CameraClient
H A DCameraClient.cpp51 mSurface = 0;
286 if (binder == mSurface) {
312 mSurface = binder;
384 if (mSurface == 0 && mPreviewWindow == 0) {
385 LOG1("mSurface is not set yet.");
390 if (mSurface == 0 && mPreviewWindow == 0) {
391 ALOGE("mSurface or mPreviewWindow must be set before startRecordingMode.");
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.h220 EGLSurface mSurface; member in class:android::DisplayDevice
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java89 private Surface mSurface; field in class:MediaRecorder
182 mSurface = sv;
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp1416 mSurface != NULL &&
1429 mSurface.get(), (android_dataspace)dataSpace);
1434 mSoftRenderer = new SoftwareRenderer(mSurface, mRotationDegrees);
1786 if (mSurface == NULL) {
1802 pushBlankBuffersToNativeWindow(mSurface.get());
1812 mSurface = surface;
1962 pushBlankBuffersToNativeWindow(mSurface.get());
2691 if (mSurface != NULL
2693 && mSurface->getUniqueId(&oldId) == NO_ERROR
2728 if (mSurface !
[all...]
H A DCameraSource.cpp193 mSurface(surface),
637 // Set the preview display. Skip this if mSurface is null because
639 if (mSurface != NULL) {
642 CHECK_EQ((status_t)OK, mCamera->setPreviewTarget(mSurface));
/frameworks/base/media/java/android/media/tv/
H A DTvInputService.java279 private Surface mSurface; field in class:TvInputService.Session
1130 if (mSurface != null) {
1131 mSurface.release();
1132 mSurface = null;
1156 if (mSurface != null) {
1157 mSurface.release();
1159 mSurface = surface;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp103 : mSurface(surface) {
107 player->performSetSurface(mSurface);
111 sp<Surface> mSurface; member in struct:android::NuPlayer::SetSurfaceAction
662 // NOTE: mVideoDecoder's mSurface is always non-null
890 if (mSurface != NULL) {
1301 if (mSurface != NULL) {
1651 notify, mSource, mPID, mRenderer, mSurface, mCCDecoder);
1847 if (mSurface != NULL) {
1848 status_t ret = native_window_set_scaling_mode(mSurface.get(), mVideoScalingMode);
2073 mSurface
[all...]
H A DNuPlayer.h146 sp<Surface> mSurface; member in struct:android::NuPlayer
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp296 mSurface = surface;
334 eglDestroySurface(mDisplay, mSurface);
353 eglSwapBuffers(mDisplay, mSurface);
390 EGLBoolean res = eglSwapBuffers(mDisplay, mSurface);
842 eglSwapBuffers(mDisplay, mSurface);
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp135 mSurface = static_cast<Surface *>(obj.get());
324 isVideo ? mSurface : NULL,
411 mSurface.clear();
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java308 final Surface mSurface = new Surface(); field in class:ViewRootImpl
600 mSurface.setCompatibilityTranslator(mTranslator);
1712 final int surfaceGenerationId = mSurface.getGenerationId();
1739 boolean hadSurface = mSurface.isValid();
1748 // relayoutWindow may decide to destroy mSurface. As that decision
1751 if (mAttachInfo.mHardwareRenderer.pauseSurface(mSurface)) {
1766 + " surface=" + mSurface);
1829 if (mSurface.isValid()) {
1847 mSurface);
1852 mSurface
[all...]
H A DThreadedRenderer.java784 attachInfo.mViewRootImpl.mSurface.release();
/frameworks/av/include/media/stagefright/
H A DCameraSource.h195 sp<IGraphicBufferProducer> mSurface; member in class:android::CameraSource
H A DMediaCodec.h299 sp<Surface> mSurface; member in struct:android::MediaCodec
/frameworks/base/services/core/java/com/android/server/wm/
H A DAccessibilityController.java662 private final Surface mSurface = new Surface(); field in class:AccessibilityController.DisplayMagnifier.MagnifiedViewport.ViewportWindow
688 mSurface.copyFrom(mSurfaceControl);
784 canvas = mSurface.lockCanvas(mDirtyRect);
804 mSurface.unlockCanvasAndPost(canvas);
816 mSurface.release();
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java682 mConfiguration, mSurfaceHolder.mSurface);
684 if (DEBUG) Log.v(TAG, "New surface: " + mSurfaceHolder.mSurface
729 if (!mSurfaceHolder.mSurface.isValid()) {
1045 mSurfaceHolder.mSurface.release();
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityStackSupervisor.java4221 Surface mSurface; field in class:ActivityStackSupervisor.VirtualActivityContainer
4260 if (mSurface != null) {
4261 mSurface.release();
4264 mSurface = surface;
4283 return mSurface != null && super.isAttachedLocked();
4302 " mContainerState=" + mContainerState + " mSurface=" + mSurface);
4303 if (mDrawn && mSurface != null && mContainerState == CONTAINER_STATE_NO_SURFACE) {
4304 ((VirtualActivityDisplay) mActivityDisplay).setSurface(mSurface);

Completed in 564 milliseconds

123