Home
last modified time | relevance | path

Searched refs:mSurfaceControl (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DWindowSurfaceController.java53 private SurfaceControlWithBackground mSurfaceControl; field in WindowSurfaceController
101 mSurfaceControl = new SurfaceControlWithBackground( in WindowSurfaceController()
106 mSurfaceControl = new RemoteSurfaceTrace( in WindowSurfaceController()
107 mService.mRoot.mSurfaceTraceFd.getFileDescriptor(), mSurfaceControl, win); in WindowSurfaceController()
112 mSurfaceControl = new RemoteSurfaceTrace(fd, mSurfaceControl, mAnimator.mWin); in installRemoteTrace()
116 mSurfaceControl = new SurfaceControlWithBackground(mSurfaceControl); in removeRemoteTrace()
131 if ((mSurfaceControl != null) && (other.mSurfaceControl != null)) { in reparentChildrenInTransaction()
132 mSurfaceControl.reparentChildren(other.getHandle()); in reparentChildrenInTransaction()
138 if (mSurfaceControl != null) { in detachChildren()
139 mSurfaceControl.detachChildren(); in detachChildren()
[all …]
DCircularDisplayMask.java47 private final SurfaceControl mSurfaceControl; field in CircularDisplayMask
85 mSurfaceControl = ctrl; in CircularDisplayMask()
114 mSurfaceControl.setPosition(0, 0); in drawIfNeeded()
118 mSurfaceControl.setPosition(0, -mScreenOffset); in drawIfNeeded()
122 mSurfaceControl.setPosition(-mScreenOffset, 0); in drawIfNeeded()
137 if (mSurfaceControl == null) { in setVisibility()
143 mSurfaceControl.show(); in setVisibility()
145 mSurfaceControl.hide(); in setVisibility()
DStrictModeFlash.java37 private final SurfaceControl mSurfaceControl; field in StrictModeFlash
56 mSurfaceControl = ctrl; in StrictModeFlash()
98 if (mSurfaceControl == null) { in setVisibility()
103 mSurfaceControl.show(); in setVisibility()
105 mSurfaceControl.hide(); in setVisibility()
115 mSurfaceControl.setSize(dw, dh); in positionSurface()
DEmulatorDisplayOverlay.java44 private final SurfaceControl mSurfaceControl; field in EmulatorDisplayOverlay
75 mSurfaceControl = ctrl; in EmulatorDisplayOverlay()
98 mSurfaceControl.setPosition(0, 0); in drawIfNeeded()
109 if (mSurfaceControl == null) { in setVisibility()
115 mSurfaceControl.show(); in setVisibility()
117 mSurfaceControl.hide(); in setVisibility()
DScreenRotationAnimation.java65 SurfaceControl mSurfaceControl; field in ScreenRotationAnimation
153 pw.print(prefix); pw.print("mSurface="); pw.print(mSurfaceControl); in printTo()
270 mSurfaceControl = new SurfaceTrace(session, "ScreenshotSurface", in ScreenRotationAnimation()
276 mSurfaceControl = new SurfaceControl(session, "ScreenshotSurface", in ScreenRotationAnimation()
282 sur.copyFrom(mSurfaceControl); in ScreenRotationAnimation()
286 mSurfaceControl.setLayerStack(display.getLayerStack()); in ScreenRotationAnimation()
287 mSurfaceControl.setLayer(SCREEN_FREEZE_LAYER_SCREENSHOT); in ScreenRotationAnimation()
288 mSurfaceControl.setAlpha(0); in ScreenRotationAnimation()
289 mSurfaceControl.show(); in ScreenRotationAnimation()
296 " FREEZE " + mSurfaceControl + ": CREATE"); in ScreenRotationAnimation()
[all …]
DDragState.java83 SurfaceControl mSurfaceControl; field in DragState
113 mSurfaceControl = surface; in DragState()
120 if (mSurfaceControl != null) { in reset()
121 mSurfaceControl.destroy(); in reset()
123 mSurfaceControl = null; in reset()
436 mSurfaceControl.setPosition(x - mThumbOffsetX, y - mThumbOffsetY); in notifyMoveLw()
438 + mSurfaceControl + ": pos=(" + in notifyMoveLw()
578 mSurfaceControl.setPosition(tmpFloats[Matrix.MTRANS_X], tmpFloats[Matrix.MTRANS_Y]); in stepAnimationLocked()
579 mSurfaceControl.setAlpha(mTransformation.getAlpha()); in stepAnimationLocked()
580 mSurfaceControl.setMatrix(tmpFloats[Matrix.MSCALE_X], tmpFloats[Matrix.MSKEW_Y], in stepAnimationLocked()
DWatermark.java50 private final SurfaceControl mSurfaceControl; field in Watermark
126 mSurfaceControl = ctrl; in Watermark()
133 mSurfaceControl.setSize(dw, dh); in positionSurface()
DAccessibilityController.java694 private final SurfaceControl mSurfaceControl; field in AccessibilityController.DisplayMagnifier.MagnifiedViewport.ViewportWindow
714 mSurfaceControl = surfaceControl; in ViewportWindow()
715 mSurfaceControl.setLayerStack(mWindowManager.getDefaultDisplay() in ViewportWindow()
717 mSurfaceControl.setLayer(mWindowManagerService.mPolicy.getWindowLayerFromTypeLw( in ViewportWindow()
720 mSurfaceControl.setPosition(0, 0); in ViewportWindow()
721 mSurface.copyFrom(mSurfaceControl); in ViewportWindow()
788 mSurfaceControl.setSize(mTempPoint.x, mTempPoint.y); in updateSize()
840 mSurfaceControl.show(); in drawIfNeeded()
842 mSurfaceControl.hide(); in drawIfNeeded()
848 mSurfaceControl.release(); in releaseSurface()
DSession.java377 final SurfaceControl surfaceControl = mService.mDragState.mSurfaceControl; in performDrag()
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java85 private SurfaceControl mSurfaceControl; field in ColorFade
580 if (mSurfaceControl == null) {
588 mSurfaceControl = new SurfaceControl(mSurfaceSession,
596 mSurfaceControl.setLayerStack(mDisplayLayerStack);
597 mSurfaceControl.setSize(mDisplayWidth, mDisplayHeight);
599 mSurface.copyFrom(mSurfaceControl);
602 mDisplayId, mSurfaceControl);
637 if (mSurfaceControl != null) {
642 mSurfaceControl.destroy();
647 mSurfaceControl = null;
[all …]
/frameworks/base/core/java/android/view/
DSurfaceView.java117 SurfaceControl mSurfaceControl; field in SurfaceView
318 if (mSurfaceControl != null) { in onDetachedFromWindow()
319 mSurfaceControl.destroy(); in onDetachedFromWindow()
321 mSurfaceControl = null; in onDetachedFromWindow()
494 final boolean creating = (mSurfaceControl == null || formatChanged || visibleChanged) in updateSurface()
532 mDeferredDestroySurfaceControl = mSurfaceControl; in updateSurface()
535 mSurfaceControl = new SurfaceControlWithBackground(mSurfaceSession, in updateSurface()
539 } else if (mSurfaceControl == null) { in updateSurface()
554 mSurfaceControl.setLayer(mSubLayer); in updateSurface()
556 mSurfaceControl.show(); in updateSurface()
[all …]
/frameworks/native/cmds/surfacereplayer/replayer/
DBufferQueueScheduler.cpp27 : mSurfaceControl(surfaceControl), mColor(color), mSurfaceId(id), mContinueScheduling(true) {} in BufferQueueScheduler()
32 if (mSurfaceControl == nullptr) { in startScheduling()
33 mCondition.wait(lock, [&] { return (mSurfaceControl != nullptr); }); in startScheduling()
70 mSurfaceControl = surfaceControl; in setSurfaceControl()
76 sp<Surface> s = mSurfaceControl->getSurface(); in bufferUpdate()
82 sp<Surface> s = mSurfaceControl->getSurface(); in fillSurface()
DBufferQueueScheduler.h70 sp<SurfaceControl> mSurfaceControl; variable
/frameworks/base/libs/hwui/tests/common/
DTestContext.cpp81 mSurfaceControl = mSurfaceComposerClient->createSurface(String8("HwuiTest"), in createWindowSurface()
85 mSurfaceControl->setLayer(0x7FFFFFF); in createWindowSurface()
86 mSurfaceControl->show(); in createWindowSurface()
88 mSurface = mSurfaceControl->getSurface(); in createWindowSurface()
DTestContext.h63 sp<SurfaceControl> mSurfaceControl; variable
/frameworks/native/libs/gui/tests/
DGLTest.cpp64 mSurfaceControl = mComposerClient->createSurface( in SetUp()
68 ASSERT_TRUE(mSurfaceControl != NULL); in SetUp()
69 ASSERT_TRUE(mSurfaceControl->isValid()); in SetUp()
72 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7FFFFFFF)); in SetUp()
73 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); in SetUp()
76 sp<ANativeWindow> window = mSurfaceControl->getSurface(); in SetUp()
DGLTest.h62 sp<SurfaceControl> mSurfaceControl; variable
DSurface_test.cpp66 mSurfaceControl = mComposerClient->createSurface( in SetUp()
69 ASSERT_TRUE(mSurfaceControl != NULL); in SetUp()
70 ASSERT_TRUE(mSurfaceControl->isValid()); in SetUp()
73 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7fffffff)); in SetUp()
74 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); in SetUp()
77 mSurface = mSurfaceControl->getSurface(); in SetUp()
87 sp<SurfaceControl> mSurfaceControl; member in android::SurfaceTest
100 mSurfaceControl.clear(); in TEST_F()
/frameworks/native/opengl/tests/lib/
DWindowSurface.cpp79 mSurfaceControl = sc; in WindowSurface()
83 sp<ANativeWindow> anw = mSurfaceControl->getSurface(); in getSurface()
/frameworks/native/opengl/tests/lib/include/
DWindowSurface.h44 sp<SurfaceControl> mSurfaceControl; variable
/frameworks/av/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp89 mSurfaceControl = mComposerClient->createSurface( in SetUp()
94 ASSERT_TRUE(mSurfaceControl != NULL); in SetUp()
95 ASSERT_TRUE(mSurfaceControl->isValid()); in SetUp()
98 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7FFFFFFF)); in SetUp()
99 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); in SetUp()
102 sp<ANativeWindow> window = mSurfaceControl->getSurface(); in SetUp()
334 sp<SurfaceControl> mSurfaceControl; member in android::GLTest
/frameworks/native/cmds/flatland/
DMain.cpp428 result = mGLHelper->createWindowSurface(w, h, &mSurfaceControl, in setUp()
457 mSurfaceControl.clear(); in tearDown()
580 sp<SurfaceControl> mSurfaceControl; member in BenchmarkRunner