Home
last modified time | relevance | path

Searched refs:animationType (Results 1 – 22 of 22) sorted by relevance

/aosp12/frameworks/base/core/java/android/view/
H A DInsetsController.java530 this.animationType = animationType; in PendingControlRequest()
540 final @AnimationType int animationType; field in InsetsController.PendingControlRequest
719 if (animationType == ANIMATION_TYPE_USER) { in updateState()
721 animationType = ANIMATION_TYPE_NONE; in updateState()
938 pendingRequest.animationType, in show()
953 || animationType == ANIMATION_TYPE_SHOW) { in show()
1014 @AnimationType int animationType) { in controlWindowInsetsAnimation() argument
1034 @AnimationType int animationType, in controlAnimationUnchecked() argument
1043 if (animationType == ANIMATION_TYPE_USER) { in controlAnimationUnchecked()
1142 @AnimationType int animationType) { in collectSourceControls() argument
[all …]
H A DInsetsSourceConsumer.java232 void hide(boolean animationFinished, @AnimationType int animationType) { in hide() argument
330 public void updateSource(InsetsSource newSource, @AnimationType int animationType) { in updateSource() argument
332 if (source == null || animationType == ANIMATION_TYPE_NONE in updateSource()
H A DInsetsAnimationThreadControlRunner.java113 Interpolator interpolator, @AnimationType int animationType, in InsetsAnimationThreadControlRunner() argument
119 mCallbacks, durationMs, interpolator, animationType, layoutInsetsDuringAnimation, in InsetsAnimationThreadControlRunner()
H A DImeInsetsSourceConsumer.java73 void hide(boolean animationFinished, @AnimationType int animationType) { in hide() argument
H A DInsetsAnimationControlImpl.java115 Interpolator interpolator, @AnimationType int animationType, in InsetsAnimationControlImpl() argument
152 mAnimationType = animationType; in InsetsAnimationControlImpl()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DStackStateAnimator.java225 switch (event.animationType) { in calculateChildAnimationDelay()
340 if (event.animationType == in processAnimationEvents()
352 } else if (event.animationType == in processAnimationEvents()
393 } else if (event.animationType == in processAnimationEvents()
399 } else if (event.animationType == NotificationStackScrollLayout in processAnimationEvents()
403 } else if (event.animationType == NotificationStackScrollLayout in processAnimationEvents()
416 } else if (event.animationType == NotificationStackScrollLayout in processAnimationEvents()
418 event.animationType == NotificationStackScrollLayout in processAnimationEvents()
H A DAnimationFilter.java116 if (ev.animationType == in applyCombination()
H A DNotificationStackScrollLayout.java3195 final int type = animationEvent.animationType; in generateViewResizeEvent()
3243 int animationType = childWasSwipedOut in generateChildRemovalEvents() local
3246 AnimationEvent event = new AnimationEvent(child, animationType); in generateChildRemovalEvents()
5953 final int animationType;
5974 animationType = type;
5992 if (event.animationType == ANIMATION_TYPE_GO_TO_FULL_SHADE) {
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipMenuView.java378 void hideMenu(boolean resize, @AnimationType int animationType) { in hideMenu() argument
380 animationType); in hideMenu()
384 boolean resize, @AnimationType int animationType) { in hideMenu() argument
403 mMenuContainerAnimator.setDuration(getFadeOutDuration(animationType)); in hideMenu()
583 private long getFadeOutDuration(@AnimationType int animationType) { in getFadeOutDuration() argument
584 switch (animationType) { in getFadeOutDuration()
592 throw new IllegalStateException("Invalid animation type " + animationType); in getFadeOutDuration()
H A DPhonePipMenuController.java436 public void hideMenu(@PipMenuView.AnimationType int animationType, boolean resize) { in hideMenu() argument
441 + " animationType=" + animationType in hideMenu()
446 mPipMenuView.hideMenu(resize, animationType); in hideMenu()
H A DPipController.java564 private void setPinnedStackAnimationType(int animationType) { in setPinnedStackAnimationType() argument
565 mPipTaskOrganizer.setOneShotAnimationType(animationType); in setPinnedStackAnimationType()
567 animationType == PipAnimationController.ANIM_TYPE_BOUNDS); in setPinnedStackAnimationType()
839 public void setPinnedStackAnimationType(int animationType) { in setPinnedStackAnimationType() argument
841 PipController.this.setPinnedStackAnimationType(animationType); in setPinnedStackAnimationType()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DFadeAnimationController.java67 public void fadeWindowToken(boolean show, WindowToken windowToken, int animationType) { in fadeWindowToken() argument
86 show /* hidden */, animationType, finishedCallback); in fadeWindowToken() local
H A DSurfaceAnimator.java340 final @AnimationType int animationType = mAnimationType;
355 mStaticAnimationFinishedCallback.onAnimationFinished(animationType, animation);
358 animationFinishedCallback.onAnimationFinished(animationType, animation);
H A DActivityRecord.java4448 final int animationType = pendingOptions.getAnimationType(); in applyOptionsAnimation() local
4453 switch (animationType) { in applyOptionsAnimation()
4498 final boolean scaleUp = (animationType == ANIM_THUMBNAIL_SCALE_UP); in applyOptionsAnimation()
4522 animationType == ANIM_THUMBNAIL_ASPECT_SCALE_UP); in applyOptionsAnimation()
4523 } else if (animationType == ANIM_THUMBNAIL_ASPECT_SCALE_DOWN in applyOptionsAnimation()
4534 (animationType == ANIM_THUMBNAIL_ASPECT_SCALE_UP)); in applyOptionsAnimation()
4552 Slog.e(TAG_WM, "applyOptionsLocked: Unknown animationType=" + animationType); in applyOptionsAnimation()
/aosp12/frameworks/base/core/java/com/android/internal/widget/helper/
H A DItemTouchHelper.java574 int animationType; in select() local
593 animationType = ANIMATION_TYPE_DRAG; in select()
595 animationType = ANIMATION_TYPE_SWIPE_SUCCESS; in select()
597 animationType = ANIMATION_TYPE_SWIPE_CANCEL; in select()
602 final RecoverAnimation rv = new RecoverAnimation(prevSelected, animationType, in select()
631 final long duration = mCallback.getAnimationDuration(mRecyclerView, animationType, in select()
2077 public long getAnimationDuration(RecyclerView recyclerView, int animationType, in getAnimationDuration() argument
2081 return animationType == ANIMATION_TYPE_DRAG ? DEFAULT_DRAG_ANIMATION_DURATION in getAnimationDuration()
2084 return animationType == ANIMATION_TYPE_DRAG ? itemAnimator.getMoveDuration() in getAnimationDuration()
2312 RecoverAnimation(ViewHolder viewHolder, int animationType, in RecoverAnimation() argument
[all …]
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
H A DPip.java106 default void setPinnedStackAnimationType(int animationType) { in setPinnedStackAnimationType() argument
H A DPipTaskOrganizer.java149 final int animationType = animator.getAnimationType();
155 if (mWaitForFixedRotation && animationType == ANIM_TYPE_BOUNDS
176 finishResize(tx, destinationBounds, direction, animationType);
326 public void setOneShotAnimationType(@PipAnimationController.AnimationType int animationType) { in setOneShotAnimationType() argument
327 mOneShotAnimationType = animationType; in setOneShotAnimationType()
328 if (animationType == ANIM_TYPE_ALPHA) { in setOneShotAnimationType()
H A DPipTransition.java95 private void setOneShotAnimationType(@PipAnimationController.AnimationType int animationType) { in setOneShotAnimationType() argument
96 mOneShotAnimationType = animationType; in setOneShotAnimationType()
H A DPipAnimationController.java264 @AnimationType int animationType, Rect destinationBounds, T baseValue, T startValue, in PipTransitionAnimator() argument
268 mAnimationType = animationType; in PipTransitionAnimator()
/aosp12/packages/apps/Camera2/src/com/android/camera/ui/
H A DModeTransitionView.java416 private void prepareShadeAnimation(int animationType, int shadeColorId, int iconResId, in prepareShadeAnimation() argument
422 mAnimationType = animationType; in prepareShadeAnimation()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DWorkspace.java2137 int animationType = resizeOnDrop ? ANIMATE_INTO_POSITION_AND_RESIZE : in onDrop() local
2139 animateWidgetDrop(info, parent, d.dragView, null, animationType, cell, false); in onDrop()
2882 final Runnable onCompleteRunnable, int animationType, final View finalView, in animateWidgetDrop() argument
2895 if ((animationType == ANIMATE_INTO_POSITION_AND_RESIZE || external) in animateWidgetDrop()
2905 if (animationType == CANCEL_TWO_STAGE_WIDGET_DROP_ANIMATION) { in animateWidgetDrop()
2910 if (animationType == ANIMATE_INTO_POSITION_AND_REMAIN) { in animateWidgetDrop()
H A DLauncher.java916 int animationType = 0; in completeTwoStageWidgetDrop() local
920 animationType = Workspace.COMPLETE_TWO_STAGE_WIDGET_DROP_ANIMATION; in completeTwoStageWidgetDrop()
933 animationType = Workspace.CANCEL_TWO_STAGE_WIDGET_DROP_ANIMATION; in completeTwoStageWidgetDrop()
938 animationType, boundWidget, true); in completeTwoStageWidgetDrop()