/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowSurfaceController.java | 51 SurfaceControl mSurfaceControl; field in WindowSurfaceController 110 mSurfaceControl = b.build(); in WindowSurfaceController() 125 if ((mSurfaceControl != null) && (other.mSurfaceControl != null)) { in reparentChildrenInTransaction() 126 mSurfaceControl.reparentChildren(other.getHandle()); in reparentChildrenInTransaction() 132 if (mSurfaceControl != null) { in detachChildren() 133 mSurfaceControl.detachChildren(); in detachChildren() 148 if (mSurfaceControl == null) { in hideSurface() 153 transaction.hide(mSurfaceControl); in hideSurface() 164 if (mSurfaceControl != null) { in destroyNotInTransaction() 165 mTmpTransaction.remove(mSurfaceControl).apply(); in destroyNotInTransaction() [all …]
|
D | TaskScreenshotAnimatable.java | 36 private SurfaceControl mSurfaceControl; field in TaskScreenshotAnimatable 65 mSurfaceControl = new SurfaceControl.Builder(new SurfaceSession()) in TaskScreenshotAnimatable() 71 surface.copyFrom(mSurfaceControl); in TaskScreenshotAnimatable() 75 getPendingTransaction().show(mSurfaceControl); in TaskScreenshotAnimatable() 95 if (mSurfaceControl != null) { in onAnimationLeashLost() 96 t.remove(mSurfaceControl); in onAnimationLeashLost() 97 mSurfaceControl = null; in onAnimationLeashLost() 113 return mSurfaceControl; in getSurfaceControl() 118 return mTask.mSurfaceControl; in getParentSurfaceControl()
|
D | AppWindowThumbnail.java | 52 private SurfaceControl mSurfaceControl; field in AppWindowThumbnail 95 mSurfaceControl = appToken.makeSurface() in AppWindowThumbnail() 105 Slog.i(TAG, " THUMBNAIL " + mSurfaceControl + ": CREATE"); in AppWindowThumbnail() 109 drawSurface.copyFrom(mSurfaceControl); in AppWindowThumbnail() 112 t.show(mSurfaceControl); in AppWindowThumbnail() 116 t.setLayer(mSurfaceControl, Integer.MAX_VALUE); in AppWindowThumbnail() 118 t.reparent(mSurfaceControl, appToken.getSurfaceControl()); in AppWindowThumbnail() 149 pendingTransaction.show(mSurfaceControl); in setShowing() 151 pendingTransaction.hide(mSurfaceControl); in setShowing() 157 getPendingTransaction().remove(mSurfaceControl); in destroy() [all …]
|
D | CircularDisplayMask.java | 45 private final SurfaceControl mSurfaceControl; field in CircularDisplayMask 83 mSurfaceControl = ctrl; in CircularDisplayMask() 112 mSurfaceControl.setPosition(0, 0); in drawIfNeeded() 116 mSurfaceControl.setPosition(0, -mScreenOffset); in drawIfNeeded() 120 mSurfaceControl.setPosition(-mScreenOffset, 0); in drawIfNeeded() 135 if (mSurfaceControl == null) { in setVisibility() 141 mSurfaceControl.show(); in setVisibility() 143 mSurfaceControl.hide(); in setVisibility()
|
D | StrictModeFlash.java | 33 private final SurfaceControl mSurfaceControl; field in StrictModeFlash 54 mSurfaceControl = ctrl; in StrictModeFlash() 104 if (mSurfaceControl == null) { in setVisibility() 109 mSurfaceControl.show(); in setVisibility() 111 mSurfaceControl.hide(); in setVisibility() 121 mSurfaceControl.setBufferSize(dw, dh); in positionSurface()
|
D | EmulatorDisplayOverlay.java | 41 private final SurfaceControl mSurfaceControl; field in EmulatorDisplayOverlay 69 mSurfaceControl = ctrl; in EmulatorDisplayOverlay() 92 mSurfaceControl.setPosition(0, 0); in drawIfNeeded() 103 if (mSurfaceControl == null) { in setVisibility() 109 mSurfaceControl.show(); in setVisibility() 111 mSurfaceControl.hide(); in setVisibility()
|
D | WindowContainer.java | 115 protected SurfaceControl mSurfaceControl; field in WindowContainer 186 if (mSurfaceControl == null) { in onParentChanged() 189 mSurfaceControl = makeSurface().build(); in onParentChanged() 190 getPendingTransaction().show(mSurfaceControl); in onParentChanged() 197 reparentSurfaceControl(getPendingTransaction(), mParent.mSurfaceControl); in onParentChanged() 329 if (mSurfaceControl != null) { in removeImmediately() 330 getPendingTransaction().remove(mSurfaceControl); in removeImmediately() 338 mSurfaceControl = null; in removeImmediately() 1019 .setParent(mSurfaceControl); in makeChildSurface() 1038 if (mSurfaceControl == null) { in shouldMagnify() [all …]
|
D | ScreenRotationAnimation.java | 63 SurfaceControl mSurfaceControl; field in ScreenRotationAnimation 151 pw.print(prefix); pw.print("mSurface="); pw.print(mSurfaceControl); in printTo() 262 mSurfaceControl = displayContent.makeOverlay() in ScreenRotationAnimation() 271 t2.setOverrideScalingMode(mSurfaceControl, Surface.SCALING_MODE_SCALE_TO_WINDOW); in ScreenRotationAnimation() 277 surface.copyFrom(mSurfaceControl); in ScreenRotationAnimation() 291 t.setSecure(mSurfaceControl, true); in ScreenRotationAnimation() 293 t.setLayer(mSurfaceControl, SCREEN_FREEZE_LAYER_SCREENSHOT); in ScreenRotationAnimation() 294 t.setAlpha(mSurfaceControl, 0); in ScreenRotationAnimation() 295 t.show(mSurfaceControl); in ScreenRotationAnimation() 305 " FREEZE " + mSurfaceControl + ": CREATE"); in ScreenRotationAnimation() [all …]
|
D | SeamlessRotator.java | 99 t.setMatrix(win.mSurfaceControl, mTransform, mFloat9); in finish() 100 t.setPosition(win.mSurfaceControl, win.mLastSurfacePosition.x, win.mLastSurfacePosition.y); in finish() 102 t.deferTransactionUntil(win.mSurfaceControl, in finish() 104 t.deferTransactionUntil(win.mWinAnimator.mSurfaceController.mSurfaceControl, in finish()
|
D | DragState.java | 90 SurfaceControl mSurfaceControl; field in DragState 138 mSurfaceControl = surface; in DragState() 240 if (mSurfaceControl != null) { in closeLocked() 241 mTransaction.reparent(mSurfaceControl, null).apply(); in closeLocked() 242 mSurfaceControl = null; in closeLocked() 505 mTransaction.setPosition(mSurfaceControl, x - mThumbOffsetX, y - mThumbOffsetY).apply(); in notifyMoveLocked() 507 Slog.i(TAG_WM, " DRAG " + mSurfaceControl + ": pos=(" + (int) (x - mThumbOffsetX) + "," in notifyMoveLocked() 702 mSurfaceControl, in onAnimationUpdate() 706 mSurfaceControl, in onAnimationUpdate() 709 mSurfaceControl, in onAnimationUpdate()
|
D | Watermark.java | 49 private final SurfaceControl mSurfaceControl; field in Watermark 128 mSurfaceControl = ctrl; in Watermark() 135 mSurfaceControl.setBufferSize(dw, dh); in positionSurface()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | TransactionCompat.java | 40 mTransaction.show(surfaceControl.mSurfaceControl); in show() 45 mTransaction.hide(surfaceControl.mSurfaceControl); in hide() 50 mTransaction.setPosition(surfaceControl.mSurfaceControl, x, y); in setPosition() 55 mTransaction.setBufferSize(surfaceControl.mSurfaceControl, w, h); in setSize() 60 mTransaction.setLayer(surfaceControl.mSurfaceControl, z); in setLayer() 65 mTransaction.setAlpha(surfaceControl.mSurfaceControl, alpha); in setAlpha() 71 mTransaction.setMatrix(surfaceControl.mSurfaceControl, dsdx, dtdx, dtdy, dsdy); in setMatrix() 76 mTransaction.setMatrix(surfaceControl.mSurfaceControl, matrix, mTmpValues); in setMatrix() 81 mTransaction.setWindowCrop(surfaceControl.mSurfaceControl, crop); in setWindowCrop() 86 mTransaction.setCornerRadius(surfaceControl.mSurfaceControl, radius); in setCornerRadius() [all …]
|
D | SurfaceControlCompat.java | 22 SurfaceControl mSurfaceControl; field in SurfaceControlCompat 25 mSurfaceControl = surfaceControl; in SurfaceControlCompat()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowAnimationSpecTest.java | 52 private final SurfaceControl mSurfaceControl = mock(SurfaceControl.class); field in WindowAnimationSpecTest 64 windowAnimationSpec.apply(mTransaction, mSurfaceControl, 0); in testApply_clipNone() 65 verify(mTransaction).setWindowCrop(eq(mSurfaceControl), in testApply_clipNone() 74 windowAnimationSpec.apply(mTransaction, mSurfaceControl, 0); in testApply_clipAfter() 75 verify(mTransaction).setWindowCrop(eq(mSurfaceControl), in testApply_clipAfter() 85 windowAnimationSpec.apply(mTransaction, mSurfaceControl, 0); in testApply_clipAfterOffsetPosition() 86 verify(mTransaction).setWindowCrop(eq(mSurfaceControl), in testApply_clipAfterOffsetPosition() 96 windowAnimationSpec.apply(mTransaction, mSurfaceControl, 0); in testApply_clipBeforeNoAnimationBounds() 97 verify(mTransaction).setWindowCrop(eq(mSurfaceControl), in testApply_clipBeforeNoAnimationBounds() 110 windowAnimationSpec.apply(mTransaction, mSurfaceControl, 0); in testApply_clipBeforeNoStackBounds() [all …]
|
D | WindowStateTests.java | 424 app.mSurfaceControl = mock(SurfaceControl.class); in testSeamlesslyRotateWindow() 439 verify(t).setMatrix(eq(app.mSurfaceControl), eq(matrix), any(float[].class)); in testSeamlesslyRotateWindow() 444 verify(t).setPosition(eq(app.mSurfaceControl), eq(currentSurfacePos[0]), in testSeamlesslyRotateWindow() 447 app.mSurfaceControl = null; in testSeamlesslyRotateWindow() 512 win1.mSurfaceControl = mock(SurfaceControl.class); in testGetTransformationMatrix()
|
/frameworks/base/core/java/android/view/ |
D | SurfaceView.java | 123 SurfaceControl mSurfaceControl; field in SurfaceView 353 if (mSurfaceControl == null) { in updateSurfaceAlpha() 389 if (mSurfaceControl == null) { in updateSurfaceAlpha() 401 t.setAlpha(mSurfaceControl, alpha); in updateSurfaceAlpha() 402 t.deferTransactionUntilSurface(mSurfaceControl, parent, frame); in updateSurfaceAlpha() 421 mSurfaceControl.setAlpha(alpha); in updateSurfaceAlpha() 662 if (mSurfaceControl != null) { in releaseSurfaces() 663 mTmpTransaction.remove(mSurfaceControl); in releaseSurfaces() 664 mSurfaceControl = null; in releaseSurfaces() 706 final boolean creating = (mSurfaceControl == null || formatChanged || visibleChanged) in updateSurface() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | ColorFade.java | 91 private SurfaceControl mSurfaceControl; field in ColorFade 586 if (mSurfaceControl == null) { 596 mSurfaceControl = builder.build(); 602 t.setLayerStack(mSurfaceControl, mDisplayLayerStack); 603 t.setWindowCrop(mSurfaceControl, mDisplayWidth, mDisplayHeight); 605 mSurface.copyFrom(mSurfaceControl); 608 mDisplayId, mSurfaceControl); 649 if (mSurfaceControl != null) { 652 new Transaction().remove(mSurfaceControl).apply(); 654 mSurfaceControl = null; [all …]
|
/frameworks/native/cmds/surfacereplayer/replayer/ |
D | BufferQueueScheduler.cpp | 27 : 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()
|
/frameworks/native/libs/gui/tests/ |
D | EndToEndNativeInputTest.cpp | 69 mSurfaceControl = sc; in InputSurface() 143 transactionBody(t, mSurfaceControl); in doTransaction() 149 t.show(mSurfaceControl); in showAt() 150 t.setInputWindowInfo(mSurfaceControl, mInputInfo); in showAt() 151 t.setLayer(mSurfaceControl, LAYER_BASE); in showAt() 152 t.setPosition(mSurfaceControl, x, y); in showAt() 153 t.setCrop_legacy(mSurfaceControl, Rect(0, 0, 100, 100)); in showAt() 154 t.setAlpha(mSurfaceControl, 1); in showAt() 195 sp<SurfaceControl> mSurfaceControl; member in android::test::InputSurface 354 t.reparent(sc, parentSurface->mSurfaceControl->getHandle()); in TEST_F() [all …]
|
D | GLTest.cpp | 66 mSurfaceControl = mComposerClient->createSurface( in SetUp() 70 ASSERT_TRUE(mSurfaceControl != nullptr); in SetUp() 71 ASSERT_TRUE(mSurfaceControl->isValid()); in SetUp() 74 ASSERT_EQ(NO_ERROR, t.setLayer(mSurfaceControl, 0x7FFFFFFF) in SetUp() 75 .show(mSurfaceControl) in SetUp() 78 sp<ANativeWindow> window = mSurfaceControl->getSurface(); in SetUp()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestContext.cpp | 82 mSurfaceControl = mSurfaceComposerClient->createSurface(String8("HwuiTest"), gDisplay.w, in createWindowSurface() 86 t.setLayer(mSurfaceControl, 0x7FFFFFF).show(mSurfaceControl).apply(); in createWindowSurface() 87 mSurface = mSurfaceControl->getSurface(); in createWindowSurface()
|
D | TestContext.h | 62 sp<SurfaceControl> mSurfaceControl; variable
|
/frameworks/native/opengl/tests/lib/ |
D | WindowSurface.cpp | 74 mSurfaceControl = sc; in WindowSurface() 78 sp<ANativeWindow> anw = mSurfaceControl->getSurface(); in getSurface()
|
/frameworks/base/core/java/android/widget/ |
D | Magnifier.java | 274 mParentSurface.mSurfaceControl, mWindowWidth, mWindowHeight, in show() 756 private SurfaceControl mSurfaceControl; field in Magnifier.SurfaceInfo 765 mSurfaceControl = surfaceControl; in SurfaceInfo() 800 private final SurfaceControl mSurfaceControl; field in Magnifier.InternalPopupWindow 854 mSurfaceControl = new SurfaceControl.Builder(mSurfaceSession) in InternalPopupWindow() 862 mSurface.copyFrom(mSurfaceControl); in InternalPopupWindow() 1036 new SurfaceControl.Transaction().remove(mSurfaceControl).apply(); in destroy() 1083 mSurfaceControl.deferTransactionUntil(mSurface, frame); in doDraw() 1085 mSurfaceControl.setPosition(pendingX, pendingY); in doDraw() 1088 mSurfaceControl.setLayer(SURFACE_Z); in doDraw() [all …]
|
/frameworks/native/opengl/tests/lib/include/ |
D | WindowSurface.h | 44 sp<SurfaceControl> mSurfaceControl; variable
|