/frameworks/base/core/java/android/transition/ |
D | TransitionSet.java | 73 ArrayList<Transition> mTransitions = new ArrayList<Transition>(); field in TransitionSet 187 mTransitions.add(transition); in addTransitionInternal() 199 return mTransitions.size(); in getTransitionCount() 210 if (index < 0 || index >= mTransitions.size()) { in getTransitionAt() 213 return mTransitions.get(index); in getTransitionAt() 226 if (mDuration >= 0 && mTransitions != null) { in setDuration() 227 int numTransitions = mTransitions.size(); in setDuration() 229 mTransitions.get(i).setDuration(duration); in setDuration() 243 if (mTransitions != null) { in setInterpolator() 244 int numTransitions = mTransitions.size(); in setInterpolator() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/ |
D | NavigationBarTransitionsTest.java | 63 private NavigationBarTransitions mTransitions; field in NavigationBarTransitionsTest 87 mTransitions = new NavigationBarTransitions( in setup() 93 mTransitions.setAutoDim(false); in setIsLightsOut_NoAutoDim() 95 assertFalse(mTransitions.isLightsOut(BarTransitions.MODE_OPAQUE)); in setIsLightsOut_NoAutoDim() 97 assertTrue(mTransitions.isLightsOut(BarTransitions.MODE_LIGHTS_OUT)); in setIsLightsOut_NoAutoDim() 102 mTransitions.setAutoDim(true); in setIsLightsOut_AutoDim() 104 assertTrue(mTransitions.isLightsOut(BarTransitions.MODE_OPAQUE)); in setIsLightsOut_AutoDim() 106 assertTrue(mTransitions.isLightsOut(BarTransitions.MODE_LIGHTS_OUT)); in setIsLightsOut_AutoDim()
|
/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/ |
D | ChatActivity.java | 54 final ArrayList<Transition> mTransitions = new ArrayList<>(); field in ChatActivity 67 mTransitions.add(new Transition(findViewById(R.id.scrollView))); in onCreate() 68 mTransitions.add(new Transition(findViewById(R.id.editText))); in onCreate() 170 mTransitions.forEach(it -> it.onPrepare(animation)); in onCreate() 176 mTransitions.forEach(it -> it.onProgress(insets)); in onCreate() 183 mTransitions.forEach(Transition::onStart); in onCreate() 189 mTransitions.forEach(it -> it.onFinish(animation)); in onCreate()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimatedStateListDrawable.java | 565 LongSparseLongArray mTransitions; field in AnimatedStateListDrawable.AnimatedStateListState 576 mTransitions = orig.mTransitions; in AnimatedStateListState() 579 mTransitions = new LongSparseLongArray(); in AnimatedStateListState() 585 mTransitions = mTransitions.clone(); in mutate() 596 mTransitions.append(keyFromTo, pos | reversibleBit); in addTransition() 600 mTransitions.append(keyToFrom, pos | REVERSED_BIT | reversibleBit); in addTransition() 627 return (int) mTransitions.get(keyFromTo, -1); in indexOfTransition() 632 return (mTransitions.get(keyFromTo, -1) & REVERSED_BIT) != 0; in isTransitionReversed() 637 return (mTransitions.get(keyFromTo, -1) & REVERSIBLE_FLAG_BIT) != 0; in transitionHasReversibleFlag()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/ |
D | SplitScreenTransitions.java | 65 private final Transitions mTransitions; field in SplitScreenTransitions 90 mTransitions = transitions; in SplitScreenTransitions() 250 mTransitions.getMainExecutor().execute(() -> { in playDragDismissAnimation() 296 mTransitions.getMainExecutor().execute(() -> { in playResizeAnimation() 350 new OneShotRemoteHandler(mTransitions.getMainExecutor(), handler); in startFullscreenTransition() 351 fullscreenHandler.setTransition(mTransitions in startFullscreenTransition() 372 final IBinder transition = mTransitions.startTransition(transitType, wct, handler); in startEnterTransition() 415 IBinder transition = mTransitions.startTransition(type, wct, handler); in startDismissTransition() 449 IBinder transition = mTransitions.startTransition(TRANSIT_CHANGE, wct, handler); in startResizeTransition() 463 mTransitions.getAnimExecutor().execute(anim::end); in mergeAnimation() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/ |
D | ExitDesktopTaskTransitionHandlerTest.java | 66 private Transitions mTransitions; field in ExitDesktopTaskTransitionHandlerTest 89 doReturn(mExecutor).when(mTransitions).getMainExecutor(); in setUp() 96 mExitDesktopTaskTransitionHandler = new ExitDesktopTaskTransitionHandler(mTransitions, in setUp() 106 doReturn(mToken).when(mTransitions) in testTransitExitDesktopModeAnimation()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/freeform/ |
D | FreeformTaskTransitionHandler.java | 57 private final Transitions mTransitions; field in FreeformTaskTransitionHandler 75 mTransitions = transitions; in FreeformTaskTransitionHandler() 105 final IBinder token = mTransitions.startTransition(type, wct, this); in startWindowingModeTransition() 112 mPendingTransitionTokens.add(mTransitions.startTransition(type, wct, this)); in startMinimizedModeTransition() 119 mPendingTransitionTokens.add(mTransitions.startTransition(type, wct, this)); in startRemoveTransition()
|
D | FreeformTaskTransitionObserver.java | 46 private final Transitions mTransitions; field in FreeformTaskTransitionObserver 57 mTransitions = transitions; in FreeformTaskTransitionObserver() 66 mTransitions.registerObserver(this); in onInit()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/ |
D | EnterDesktopTaskTransitionHandler.java | 57 private final Transitions mTransitions; field in EnterDesktopTaskTransitionHandler 74 mTransitions = transitions; in EnterDesktopTaskTransitionHandler() 92 final IBinder token = mTransitions.startTransition(getEnterTransitionType(transitionSource), in moveToDesktop() 176 mTransitions.getMainExecutor().execute( in animateMoveToDesktop()
|
D | ExitDesktopTaskTransitionHandler.java | 62 private final Transitions mTransitions; field in ExitDesktopTaskTransitionHandler 78 mTransitions = transitions; in ExitDesktopTaskTransitionHandler() 96 final IBinder token = mTransitions.startTransition(getExitTransitionType(transitionSource), in startTransition() 178 mTransitions.getMainExecutor().execute( in startChangeTransition()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/tv/ |
D | TvSplitScreenController.java | 59 private final Transitions mTransitions; field in TvSplitScreenController 100 mTransitions = transitions; in TvSplitScreenController() 118 mDisplayInsetsController, mTransitions, mTransactionPool, in createStageCoordinator()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | VeiledResizeTaskPositioner.java | 53 private final Transitions mTransitions; field in VeiledResizeTaskPositioner 82 mTransitions = transitions; in VeiledResizeTaskPositioner() 143 mTransitions.startTransition(TRANSIT_CHANGE, wct, this); in onDragPositioningEnd() 154 mTransitions.startTransition(TRANSIT_CHANGE, wct, this); in onDragPositioningEnd()
|
D | FluidResizeTaskPositioner.java | 55 private final Transitions mTransitions; field in FluidResizeTaskPositioner 83 mTransitions = transitions; in FluidResizeTaskPositioner() 153 mDragResizeEndTransition = mTransitions.startTransition(TRANSIT_CHANGE, wct, this); in onDragPositioningEnd() 159 mTransitions.startTransition(TRANSIT_CHANGE, wct, this); in onDragPositioningEnd()
|
D | CaptionWindowDecorViewModel.java | 65 private final Transitions mTransitions; field in CaptionWindowDecorViewModel 86 mTransitions = transitions; in CaptionWindowDecorViewModel() 238 new FluidResizeTaskPositioner(mTaskOrganizer, mTransitions, windowDecoration, in createWindowDecoration() 351 mTransitions.startTransition(TRANSIT_CHANGE, wct, null); in handleMotionEvent()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/ |
D | TaskViewTransitions.java | 55 private final Transitions mTransitions; field in TaskViewTransitions 97 mTransitions = transitions; in TaskViewTransitions() 107 mTransitions.addHandler(this); in addTaskView() 119 return mTransitions.isRegistered(); in isEnabled() 143 mTransitions.startTransition(type, wct, null); in startInstantTransition() 328 pending.mClaimed = mTransitions.startTransition(pending.mType, pending.mWct, this); in startNextTransition()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/ |
D | RestartDialogWindowManagerTest.java | 57 @Mock private Transitions mTransitions; field in RestartDialogWindowManagerTest 74 mTaskListener, new DisplayLayout(), mTransitions, mOnRestartCallback, in setUp()
|
D | LetterboxEduWindowManagerTest.java | 112 @Mock private Transitions mTransitions; field in LetterboxEduWindowManagerTest 261 clearInvocations(mTransitions, mAnimationController); in testCreateLayout_alreadyShownToUser_createsLayoutForOtherUserOnly() 280 verify(mTransitions).runOnIdle(mRunOnIdleCaptor.capture()); in testCreateLayout_windowManagerReleasedBeforeTransitionsIsIdle_doesNotStartAnim() 409 verify(mTransitions).runOnIdle(mRunOnIdleCaptor.capture()); in verifyAndFinishEnterAnimation() 444 createDisplayLayout(), mTransitions, mOnDismissCallback, mAnimationController, in createWindowManager()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/ |
D | RestartDialogWindowManager.java | 52 private final Transitions mTransitions; field in RestartDialogWindowManager 94 mTransitions = transitions; in RestartDialogWindowManager() 132 mTransitions.runOnIdle(this::startEnterAnimation); in createLayout()
|
D | LetterboxEduWindowManager.java | 51 private final Transitions mTransitions; field in LetterboxEduWindowManager 98 mTransitions = transitions; in LetterboxEduWindowManager() 144 mTransitions.runOnIdle(this::startEnterAnimation); in createLayout()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/ |
D | ActivityEmbeddingController.java | 57 final Transitions mTransitions; field in ActivityEmbeddingController 71 mTransitions = requireNonNull(transitions); in ActivityEmbeddingController() 91 mTransitions.addHandler(this); in onInit()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/activityembedding/ |
D | ActivityEmbeddingAnimationTestBase.java | 52 Transitions mTransitions; field in ActivityEmbeddingAnimationTestBase 72 mController = ActivityEmbeddingController.create(mContext, mShellInit, mTransitions); in setUp()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/taskview/ |
D | TaskViewTransitionsTest.java | 63 Transitions mTransitions; field in TaskViewTransitionsTest 78 doReturn(true).when(mTransitions).isRegistered(); in setUp() 86 mTaskViewTransitions = spy(new TaskViewTransitions(mTransitions)); in setUp()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/freeform/ |
D | FreeformTaskTransitionObserverTest.java | 60 private Transitions mTransitions; field in FreeformTaskTransitionObserverTest 77 context, mShellInit, mTransitions, mWindowDecorViewModel); in setUp() 91 verify(mTransitions).registerObserver(same(mTransitionObserver)); in testRegistersObserverAtInit()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/ |
D | UnfoldTransitionHandler.java | 60 private final Transitions mTransitions; field in UnfoldTransitionHandler 80 mTransitions = transitions; in UnfoldTransitionHandler() 101 mTransitions.addHandler(this); in onInit()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PipTransitionController.java | 68 protected final Transitions mTransitions; field in PipTransitionController 159 mTransitions = transitions; in PipTransitionController() 166 mTransitions.addHandler(this); in onInit()
|