/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
H A D | SurfaceControlCompat.java | 22 SurfaceControl mSurfaceControl; field in class:SurfaceControlCompat 25 mSurfaceControl = surfaceControl;
|
H A D | TransactionCompat.java | 41 mTransaction.show(surfaceControl.mSurfaceControl); 46 mTransaction.hide(surfaceControl.mSurfaceControl); 51 mTransaction.setPosition(surfaceControl.mSurfaceControl, x, y); 56 mTransaction.setSize(surfaceControl.mSurfaceControl, w, h); 61 mTransaction.setLayer(surfaceControl.mSurfaceControl, z); 66 mTransaction.setAlpha(surfaceControl.mSurfaceControl, alpha); 72 mTransaction.setMatrix(surfaceControl.mSurfaceControl, dsdx, dtdx, dtdy, dsdy); 77 mTransaction.setMatrix(surfaceControl.mSurfaceControl, matrix, mTmpValues); 82 mTransaction.setWindowCrop(surfaceControl.mSurfaceControl, crop); 87 mTransaction.setFinalCrop(surfaceControl.mSurfaceControl, cro [all...] |
H A D | SyncRtSurfaceTransactionApplier.java | 98 this.surface = surface.mSurfaceControl;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowSurfaceController.java | 56 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 D | AppWindowThumbnail.java | 49 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 D | EmulatorDisplayOverlay.java | 43 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 D | StrictModeFlash.java | 37 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 D | CircularDisplayMask.java | 45 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 D | ScreenRotationAnimation.java | 66 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 D | WindowContainer.java | 107 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...] |
H A D | DragState.java | 91 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 D | Watermark.java | 50 private final SurfaceControl mSurfaceControl; field in class:Watermark 129 mSurfaceControl = ctrl; 136 mSurfaceControl.setSize(dw, dh);
|
H A D | AccessibilityController.java | 692 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();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | WindowAnimationSpecTest.java | 49 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/opengl/tests/lib/include/ |
H A D | WindowSurface.h | 44 sp<SurfaceControl> mSurfaceControl; member in class:android::WindowSurface
|
/frameworks/native/cmds/surfacereplayer/replayer/ |
H A D | BufferQueueScheduler.cpp | 27 : mSurfaceControl(surfaceControl), mColor(color), mSurfaceId(id), mContinueScheduling(true) {} 32 if (mSurfaceControl == nullptr) { 33 mCondition.wait(lock, [&] { return (mSurfaceControl != nullptr); }); 70 mSurfaceControl = surfaceControl; 76 sp<Surface> s = mSurfaceControl->getSurface(); 82 sp<Surface> s = mSurfaceControl->getSurface();
|
H A D | BufferQueueScheduler.h | 70 sp<SurfaceControl> mSurfaceControl; member in class:android::BufferQueueScheduler
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestContext.cpp | 80 mSurfaceControl = mSurfaceComposerClient->createSurface(String8("HwuiTest"), gDisplay.w, 84 t.setLayer(mSurfaceControl, 0x7FFFFFF).show(mSurfaceControl).apply(); 85 mSurface = mSurfaceControl->getSurface();
|
H A D | TestContext.h | 62 sp<SurfaceControl> mSurfaceControl; member in class:android::uirenderer::test::TestContext
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 85 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/opengl/tests/lib/ |
H A D | WindowSurface.cpp | 70 mSurfaceControl = sc; 74 sp<ANativeWindow> anw = mSurfaceControl->getSurface();
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceView.java | 117 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...] |
/frameworks/native/libs/gui/tests/ |
H A D | GLTest.cpp | 66 mSurfaceControl = mComposerClient->createSurface( 70 ASSERT_TRUE(mSurfaceControl != NULL); 71 ASSERT_TRUE(mSurfaceControl->isValid()); 74 ASSERT_EQ(NO_ERROR, t.setLayer(mSurfaceControl, 0x7FFFFFFF) 75 .show(mSurfaceControl) 78 sp<ANativeWindow> window = mSurfaceControl->getSurface();
|
H A D | GLTest.h | 62 sp<SurfaceControl> mSurfaceControl; member in class:android::GLTest
|
/frameworks/base/core/java/android/widget/ |
H A D | Magnifier.java | 445 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();
|