Searched defs:mSurfaceControl (Results 1 - 21 of 21) sorted by relevance

/frameworks/native/opengl/tests/lib/include/
H A DWindowSurface.h44 sp<SurfaceControl> mSurfaceControl; member in class:android::WindowSurface
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DSurfaceControlCompat.java22 SurfaceControl mSurfaceControl; field in class:SurfaceControlCompat
25 mSurfaceControl = surfaceControl;
/frameworks/native/libs/gui/tests/
H A DGLTest.h62 sp<SurfaceControl> mSurfaceControl; member in class:android::GLTest
H A DSurface_test.cpp72 mSurfaceControl = mComposerClient->createSurface(
75 ASSERT_TRUE(mSurfaceControl != NULL);
76 ASSERT_TRUE(mSurfaceControl->isValid());
79 ASSERT_EQ(NO_ERROR, t.setLayer(mSurfaceControl, 0x7fffffff)
80 .show(mSurfaceControl)
83 mSurface = mSurfaceControl->getSurface();
93 sp<SurfaceControl> mSurfaceControl; member in class:android::SurfaceTest
116 mSurfaceControl.clear();
/frameworks/base/libs/hwui/tests/common/
H A DTestContext.h62 sp<SurfaceControl> mSurfaceControl; member in class:android::uirenderer::test::TestContext
/frameworks/base/services/core/java/com/android/server/wm/
H A DStrictModeFlash.java37 private final SurfaceControl mSurfaceControl; field in class:StrictModeFlash
58 mSurfaceControl = ctrl;
108 if (mSurfaceControl == null) {
113 mSurfaceControl.show();
115 mSurfaceControl.hide();
125 mSurfaceControl.setSize(dw, dh);
H A DEmulatorDisplayOverlay.java43 private final SurfaceControl mSurfaceControl; field in class:EmulatorDisplayOverlay
71 mSurfaceControl = ctrl;
94 mSurfaceControl.setPosition(0, 0);
105 if (mSurfaceControl == null) {
111 mSurfaceControl.show();
113 mSurfaceControl.hide();
H A DWatermark.java50 private final SurfaceControl mSurfaceControl; field in class:Watermark
129 mSurfaceControl = ctrl;
136 mSurfaceControl.setSize(dw, dh);
H A DAppWindowThumbnail.java49 private final SurfaceControl mSurfaceControl; field in class:AppWindowThumbnail
66 mSurfaceControl = appToken.makeSurface()
75 Slog.i(TAG, " THUMBNAIL " + mSurfaceControl + ": CREATE");
80 drawSurface.copyFrom(mSurfaceControl);
83 t.show(mSurfaceControl);
87 t.setLayer(mSurfaceControl, Integer.MAX_VALUE);
109 pendingTransaction.show(mSurfaceControl);
111 pendingTransaction.hide(mSurfaceControl);
117 mSurfaceControl.destroy();
156 t.hide(mSurfaceControl);
[all...]
H A DCircularDisplayMask.java45 private final SurfaceControl mSurfaceControl; field in class:CircularDisplayMask
83 mSurfaceControl = ctrl;
112 mSurfaceControl.setPosition(0, 0);
116 mSurfaceControl.setPosition(0, -mScreenOffset);
120 mSurfaceControl.setPosition(-mScreenOffset, 0);
135 if (mSurfaceControl == null) {
141 mSurfaceControl.show();
143 mSurfaceControl.hide();
H A DDragState.java91 SurfaceControl mSurfaceControl; field in class:DragState
126 mSurfaceControl = surface;
188 if (mSurfaceControl != null) {
189 mSurfaceControl.destroy();
190 mSurfaceControl = null;
194 "Unexpectedly destroying mSurfaceControl while animation is running");
453 mSurfaceControl.setPosition(x - mThumbOffsetX, y - mThumbOffsetY);
455 + mSurfaceControl + ": pos=(" +
654 mSurfaceControl,
658 mSurfaceControl,
[all...]
H A DWindowSurfaceController.java56 SurfaceControl mSurfaceControl; field in class:WindowSurfaceController
113 mSurfaceControl = b.build();
128 if ((mSurfaceControl != null) && (other.mSurfaceControl != null)) {
129 mSurfaceControl.reparentChildren(other.getHandle());
135 if (mSurfaceControl != null) {
136 mSurfaceControl.detachChildren();
151 if (mSurfaceControl == null) {
156 transaction.hide(mSurfaceControl);
167 if (mSurfaceControl !
[all...]
H A DAccessibilityController.java692 private final SurfaceControl mSurfaceControl; field in class:AccessibilityController.DisplayMagnifier.MagnifiedViewport.ViewportWindow
714 mSurfaceControl = surfaceControl;
715 mSurfaceControl.setLayer(mService.mPolicy.getWindowLayerFromTypeLw(
718 mSurfaceControl.setPosition(0, 0);
719 mSurface.copyFrom(mSurfaceControl);
786 mSurfaceControl.setSize(mTempPoint.x, mTempPoint.y);
837 mSurfaceControl.show();
839 mSurfaceControl.hide();
845 mSurfaceControl.release();
H A DScreenRotationAnimation.java66 SurfaceControl mSurfaceControl; field in class:ScreenRotationAnimation
154 pw.print(prefix); pw.print("mSurface="); pw.print(mSurfaceControl);
265 mSurfaceControl = displayContent.makeOverlay()
280 sur.copyFrom(mSurfaceControl);
282 t.setLayer(mSurfaceControl, SCREEN_FREEZE_LAYER_SCREENSHOT);
283 t.setAlpha(mSurfaceControl, 0);
284 t.show(mSurfaceControl);
294 " FREEZE " + mSurfaceControl + ": CREATE");
300 return mSurfaceControl != null;
304 if (mSurfaceControl !
[all...]
H A DWindowContainer.java107 protected SurfaceControl mSurfaceControl; field in class:WindowContainer
181 if (mSurfaceControl == null) {
184 mSurfaceControl = makeSurface().build();
185 getPendingTransaction().show(mSurfaceControl);
190 // mSurfaceControl stays attached to the leash and we just reparent the leash to the
192 reparentSurfaceControl(getPendingTransaction(), mParent.mSurfaceControl);
309 if (mSurfaceControl != null) {
310 mPendingTransaction.destroy(mSurfaceControl);
318 mSurfaceControl = null;
909 .setParent(mSurfaceControl);
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DWindowAnimationSpecTest.java49 private final SurfaceControl mSurfaceControl = mock(SurfaceControl.class); field in class:WindowAnimationSpecTest
61 windowAnimationSpec.apply(mTransaction, mSurfaceControl, 0);
62 verify(mTransaction).setWindowCrop(eq(mSurfaceControl),
71 windowAnimationSpec.apply(mTransaction, mSurfaceControl, 0);
72 verify(mTransaction).setWindowCrop(eq(mSurfaceControl), argThat(Rect::isEmpty));
73 verify(mTransaction).setFinalCrop(eq(mSurfaceControl),
84 windowAnimationSpec.apply(mTransaction, mSurfaceControl, 0);
85 verify(mTransaction).setWindowCrop(eq(mSurfaceControl), argThat(Rect::isEmpty));
86 verify(mTransaction).setFinalCrop(eq(mSurfaceControl),
97 windowAnimationSpec.apply(mTransaction, mSurfaceControl,
[all...]
/frameworks/native/cmds/surfacereplayer/replayer/
H A DBufferQueueScheduler.h70 sp<SurfaceControl> mSurfaceControl; member in class:android::BufferQueueScheduler
/frameworks/base/core/java/android/widget/
H A DMagnifier.java445 private final SurfaceControl mSurfaceControl; field in class:Magnifier.InternalPopupWindow
499 mSurfaceControl = new SurfaceControl.Builder(mSurfaceSession)
506 mSurface.copyFrom(mSurfaceControl);
612 mSurfaceControl.destroy();
667 mSurfaceControl.deferTransactionUntil(mSurface, frame);
669 mSurfaceControl.setPosition(pendingX, pendingY);
672 mSurfaceControl.setLayer(SURFACE_Z);
673 mSurfaceControl.show();
/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java85 private SurfaceControl mSurfaceControl; field in class:ColorFade
573 if (mSurfaceControl == null) {
581 mSurfaceControl = new SurfaceControl.Builder(mSurfaceSession)
591 mSurfaceControl.setLayerStack(mDisplayLayerStack);
592 mSurfaceControl.setSize(mDisplayWidth, mDisplayHeight);
594 mSurface.copyFrom(mSurfaceControl);
597 mDisplayId, mSurfaceControl);
632 if (mSurfaceControl != null) {
637 mSurfaceControl.destroy();
642 mSurfaceControl
730 private SurfaceControl mSurfaceControl; field in class:ColorFade.NaturalSurfaceLayout
[all...]
/frameworks/native/cmds/flatland/
H A DMain.cpp424 result = mGLHelper->createWindowSurface(w, h, &mSurfaceControl,
453 mSurfaceControl.clear();
575 sp<SurfaceControl> mSurfaceControl; member in class:BenchmarkRunner
/frameworks/base/core/java/android/view/
H A DSurfaceView.java117 SurfaceControlWithBackground mSurfaceControl; field in class:SurfaceView
320 if (mSurfaceControl != null) {
321 mSurfaceControl.destroy();
323 mSurfaceControl = null;
496 final boolean creating = (mSurfaceControl == null || formatChanged || visibleChanged)
534 mDeferredDestroySurfaceControl = mSurfaceControl;
539 mSurfaceControl = new SurfaceControlWithBackground(
546 } else if (mSurfaceControl == null) {
561 mSurfaceControl.setLayer(mSubLayer);
563 mSurfaceControl
[all...]

Completed in 683 milliseconds