/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/ |
H A D | UnfoldAnimationController.java | 50 private final TransactionPool mTransactionPool; field in UnfoldAnimationController 72 mTransactionPool = transactionPool; in UnfoldAnimationController() 178 if (transaction == null) transaction = mTransactionPool.acquire(); in onStateChangeStarted() 185 mTransactionPool.release(transaction); in onStateChangeStarted() 199 if (transaction == null) transaction = mTransactionPool.acquire(); in onStateChangeProgress() 206 mTransactionPool.release(transaction); in onStateChangeProgress() 216 final SurfaceControl.Transaction transaction = mTransactionPool.acquire(); in onStateChangeFinished() 226 mTransactionPool.release(transaction); in onStateChangeFinished() 235 final SurfaceControl.Transaction transaction = mTransactionPool.acquire(); in maybeResetTask() 238 mTransactionPool.release(transaction); in maybeResetTask()
|
H A D | UnfoldTransitionHandler.java | 59 private final TransactionPool mTransactionPool; field in UnfoldTransitionHandler 77 mTransactionPool = transactionPool; in UnfoldTransitionHandler() 157 transaction = mTransactionPool.acquire(); in onStateChangeProgress() 166 mTransactionPool.release(transaction); in onStateChangeProgress()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | TransactionPool.java | 26 private final Pools.SynchronizedPool<SurfaceControl.Transaction> mTransactionPool = field in TransactionPool 34 SurfaceControl.Transaction t = mTransactionPool.acquire(); in acquire() 46 if (!mTransactionPool.release(t)) { in release()
|
H A D | DisplayImeController.java | 79 private final TransactionPool mTransactionPool; field in DisplayImeController 96 mTransactionPool = transactionPool; in DisplayImeController() 317 SurfaceControl.Transaction t = mTransactionPool.acquire(); in applyVisibilityToLeash() 324 mTransactionPool.release(t); in applyVisibilityToLeash() 447 SurfaceControl.Transaction t = mTransactionPool.acquire(); in startAnimation() 455 mTransactionPool.release(t); in startAnimation() 466 SurfaceControl.Transaction t = mTransactionPool.acquire(); in startAnimation() 495 mTransactionPool.release(t); in startAnimation() 511 SurfaceControl.Transaction t = mTransactionPool.acquire(); in startAnimation() 539 mTransactionPool.release(t); in startAnimation()
|
H A D | SyncTransactionQueue.java | 43 private final TransactionPool mTransactionPool; field in SyncTransactionQueue 63 mTransactionPool = pool; in SyncTransactionQueue() 141 SurfaceControl.Transaction t = mTransactionPool.acquire(); in runInSync() 144 mTransactionPool.release(t); in runInSync()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
H A D | WindowlessSnapshotWindowCreator.java | 49 private final TransactionPool mTransactionPool; field in WindowlessSnapshotWindowCreator 60 mTransactionPool = transactionPool; in WindowlessSnapshotWindowCreator() 126 final SurfaceControl.Transaction t = mTransactionPool.acquire(); in fadeoutThenRelease() 146 mTransactionPool.release(t); in fadeoutThenRelease() 148 final SurfaceControl.Transaction t = mTransactionPool.acquire(); in fadeoutThenRelease() 150 mTransactionPool.release(t); in fadeoutThenRelease()
|
H A D | WindowlessSplashWindowCreator.java | 44 private final TransactionPool mTransactionPool; field in WindowlessSplashWindowCreator 54 mTransactionPool = pool; in WindowlessSplashWindowCreator() 140 final SurfaceControl.Transaction t = mTransactionPool.acquire(); in release() 142 mTransactionPool.release(t); in release()
|
H A D | SplashScreenExitAnimationUtils.java | 302 private final TransactionPool mTransactionPool; field in SplashScreenExitAnimationUtils.ShiftUpAnimation 316 mTransactionPool = transactionPool; in ShiftUpAnimation() 334 final SurfaceControl.Transaction tx = mTransactionPool.acquire(); in onAnimationProgress() 347 mTransactionPool.release(tx); in onAnimationProgress() 354 final SurfaceControl.Transaction tx = mTransactionPool.acquire(); in finish() 369 mTransactionPool.release(tx); in finish()
|
H A D | SplashScreenExitAnimation.java | 52 private final TransactionPool mTransactionPool; field in SplashScreenExitAnimation 97 mTransactionPool = pool; in SplashScreenExitAnimation() 102 mMainWindowShiftLength, mTransactionPool, mFirstWindowFrame, mAnimationDuration, in startAnimations()
|
H A D | SplashscreenContentDrawer.java | 138 private final TransactionPool mTransactionPool; field in SplashscreenContentDrawer 147 mTransactionPool = pool; in SplashscreenContentDrawer() 1190 view, leash, frame, mMainWindowShiftLength, mTransactionPool, finishCallback, in applyExitAnimation()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
H A D | ScreenRotationAnimation.java | 80 private final TransactionPool mTransactionPool; field in ScreenRotationAnimation 118 mTransactionPool = pool; in ScreenRotationAnimation() 327 mTransactionPool, mainExecutor, null /* position */, 0 /* cornerRadius */, in startDisplayRotation() 334 mTransactionPool, mainExecutor, null /* position */, 0 /* cornerRadius */, in startScreenshotRotationAnimation() 341 mTransactionPool, mainExecutor, null /* position */, 0 /* cornerRadius */, in buildScreenshotAlphaAnimation() 352 final Transaction t = mTransactionPool.acquire(); in startColorAnimation() 368 mTransactionPool.release(t); in startColorAnimation() 375 mTransactionPool.release(t); in startColorAnimation() 382 final Transaction t = mTransactionPool.acquire(); in kill() 394 mTransactionPool.release(t); in kill()
|
H A D | DefaultTransitionHandler.java | 122 private final TransactionPool mTransactionPool; field in DefaultTransitionHandler 164 mTransactionPool = transactionPool; in DefaultTransitionHandler() 507 mTransactionPool, mMainExecutor, change.getEndRelOffset(), cornerRadius, in startAnimation() 623 mTransactionPool, startTransaction, change, info.getRoot(rootIdx).getLeash(), in startRotationAnimation() 830 final SurfaceControl.Transaction transaction = mTransactionPool.acquire(); in attachCrossProfileThumbnailAnimation() 841 mTransactionPool.release(transaction); in attachCrossProfileThumbnailAnimation() 847 buildSurfaceAnimation(animations, a, wt.getSurface(), finisher, mTransactionPool, in attachCrossProfileThumbnailAnimation() 854 final SurfaceControl.Transaction transaction = mTransactionPool.acquire(); in attachThumbnailAnimation() 865 mTransactionPool.release(transaction); in attachThumbnailAnimation() 871 buildSurfaceAnimation(animations, a, wt.getSurface(), finisher, mTransactionPool, in attachThumbnailAnimation()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/tv/ |
H A D | TvSplitScreenController.java | 59 private final TransactionPool mTransactionPool; field in TvSplitScreenController 100 mTransactionPool = transactionPool; in TvSplitScreenController() 117 mDisplayInsetsController, mTransitions, mTransactionPool, in createStageCoordinator()
|
/aosp14/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteSession.java | 170 private Transaction mTransactionPool; field in SQLiteSession 938 Transaction transaction = mTransactionPool; in obtainTransaction() 940 mTransactionPool = transaction.mParent; in obtainTransaction() 953 transaction.mParent = mTransactionPool; in recycleTransaction() 955 mTransactionPool = transaction; in recycleTransaction()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/startingsurface/ |
H A D | StartingWindowControllerTests.java | 73 private @Mock TransactionPool mTransactionPool; field in StartingWindowControllerTests 87 mTaskOrganizer, mMainExecutor, mTypeAlgorithm, mIconProvider, mTransactionPool); in setUp()
|
H A D | StartingSurfaceDrawerTests.java | 101 private TransactionPool mTransactionPool; field in StartingSurfaceDrawerTests 138 mIconProvider, mTransactionPool); in setUp() 141 mTransactionPool)); in setUp()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/unfold/ |
H A D | UnfoldAnimationControllerTest.java | 68 private TransactionPool mTransactionPool; field in UnfoldAnimationControllerTest 88 when(mTransactionPool.acquire()).thenReturn(mock(SurfaceControl.Transaction.class)); in setUp() 95 mTransactionPool, in setUp()
|
H A D | UnfoldTransitionHandlerTest.java | 59 private final TestTransactionPool mTransactionPool = new TestTransactionPool(); field in UnfoldTransitionHandlerTest 81 mTransactionPool, in before()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/ |
H A D | StageCoordinator.java | 195 private final TransactionPool mTransactionPool; field in StageCoordinator 329 mTransactionPool = transactionPool; in StageCoordinator() 364 mTransactionPool = transactionPool; in StageCoordinator() 979 mTransactionPool.release(startT); in startWithLegacyTransition() 1288 mTransactionPool.release(t); in switchSplitPosition() 2049 mTransactionPool.release(transaction); in applyDividerVisibility() 2059 mTransactionPool.release(transaction); in applyDividerVisibility() 2147 mTransactionPool.release(t); in onLayoutPositionChanging() 2160 mTransactionPool.release(t); in onLayoutSizeChanging() 2175 mTransactionPool.release(t); in onLayoutSizeChanged() [all …]
|
H A D | SplitScreenTransitions.java | 61 private final TransactionPool mTransactionPool; field in SplitScreenTransitions 83 mTransactionPool = pool; in SplitScreenTransitions() 482 final SurfaceControl.Transaction transaction = mTransactionPool.acquire(); in startFadeAnimation() 496 mTransactionPool.release(transaction); in startFadeAnimation()
|
H A D | SplitScreenController.java | 177 private final TransactionPool mTransactionPool; field in SplitScreenController 225 mTransactionPool = transactionPool; in SplitScreenController() 277 mTransactionPool = transactionPool; in SplitScreenController() 322 mDisplayInsetsController, mTransitions, mTransactionPool, mIconProvider, in createStageCoordinator() 916 SurfaceControl.Transaction t = mTransactionPool.acquire(); in onGoingToRecentsLegacy() 923 mTransactionPool.release(t); in onGoingToRecentsLegacy() 940 SurfaceControl.Transaction t = mTransactionPool.acquire(); in onStartingSplitLegacy() 947 mTransactionPool.release(t); in onStartingSplitLegacy()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/ |
H A D | StageCoordinatorTests.java | 110 private TransactionPool mTransactionPool; field in StageCoordinatorTests 135 mDisplayInsetsController, mSplitLayout, mTransitions, mTransactionPool, in setup() 375 mTaskOrganizer, mTransactionPool, mock(DisplayController.class), mMainExecutor, in createTestTransitions()
|
H A D | SplitTransitionTests.java | 102 @Mock private TransactionPool mTransactionPool; field in SplitTransitionTests 126 doReturn(mock(SurfaceControl.Transaction.class)).when(mTransactionPool).acquire(); in setup() 139 mTransactionPool, mMainExecutor, Optional.empty(), in setup()
|
H A D | SplitScreenControllerTests.java | 104 @Mock TransactionPool mTransactionPool; field in SplitScreenControllerTests 125 mDisplayInsetsController, mDragAndDropController, mTransitions, mTransactionPool, in setup()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/transition/ |
H A D | ShellTransitionTests.java | 128 private final TransactionPool mTransactionPool = mock(TransactionPool.class); field in ShellTransitionTests 146 mOrganizer, mTransactionPool, createTestDisplayController(), mMainExecutor, in instantiate_addInitCallback() 156 mOrganizer, mTransactionPool, createTestDisplayController(), mMainExecutor, in instantiateController_addExternalInterface() 1061 mTransactionPool, createTestDisplayController(), mMainExecutor, in testTransitSleep_squashesRecents() 1608 mOrganizer, mTransactionPool, createTestDisplayController(), mMainExecutor, in createTestTransitions()
|