/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | BaseRecentsViewStateController.java | 66 float translationX = scaleAndTranslation.translationX; in setState() local 68 translationX = -translationX; in setState() 70 mRecentsView.setTranslationX(translationX); in setState() 109 float translationX = scaleAndTranslation.translationX; in setStateWithAnimationInternal() local 111 translationX = -translationX; in setStateWithAnimationInternal() 113 setter.setFloat(mRecentsView, View.TRANSLATION_X, translationX, translateXInterpolator); in setStateWithAnimationInternal()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListSwipeHelper.java | 193 final float translationX = mListItemView.getSwipeTranslationX(); in onTouchEvent() local 196 if (translationX != 0) { in onTouchEvent() 198 translationX > 0 ? SWIPE_DIRECTION_RIGHT : SWIPE_DIRECTION_LEFT; in onTouchEvent() 367 final float translationX = itemView.getSwipeTranslationX(); in animateRestore() local 370 && velocityX > 0 != translationX > 0) { // Right direction. in animateRestore() 371 duration = calculateTranslationDuration(translationX, velocityX); in animateRestore() 406 final float translationX = mListItemView.getSwipeTranslationX(); in isTargetSwipedFastEnough() local 410 && (velocityX > 0) == (translationX > 0) // Right direction. in isTargetSwipedFastEnough() 411 && Math.abs(translationX) > in isTargetSwipedFastEnough() 422 final float translationX = mListItemView.getSwipeTranslationX(); in isTargetSwipedFarEnough() local [all …]
|
D | ConversationListItemView.java | 517 public void setSwipeTranslationX(final float translationX) { in setSwipeTranslationX() argument 518 mSwipeableContainer.setTranslationX(translationX); in setSwipeTranslationX() 519 if (translationX == 0) { in setSwipeTranslationX() 527 if (translationX > 0) { in setSwipeTranslationX()
|
D | ConversationListFragment.java | 408 return getNormalizedFabAnimator().translationX(direction * fabWidthWithLeftRightMargin); in dismissFab() 412 return getNormalizedFabAnimator().translationX(0).withEndAction(new Runnable() { in showFab()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarNotificationItemTouchListener.java | 332 float translationX = mViewHolder.getSwipeTranslationX(); in onTouchEvent() local 336 if (translationX != 0) { in onTouchEvent() 338 (translationX > 0) in onTouchEvent() 416 float translationX = mViewHolder.getSwipeTranslationX(); in isTargetSwipedFastEnough() local 422 boolean isSameDirection = (velocityX > 0) == (translationX > 0); in isTargetSwipedFastEnough() 423 boolean hasEnoughMovement = Math.abs(translationX) > minWidthToTranslate; in isTargetSwipedFastEnough() 443 float translationX = mViewHolder.getSwipeTranslationX(); in isTargetSwipedFarEnough() local 450 boolean isSameDirection = !isVelocityHighEnough || ((velocityX > 0) == (translationX > 0)); in isTargetSwipedFarEnough() 451 boolean hasEnoughMovement = Math.abs(translationX) > minWidthToTranslate; in isTargetSwipedFarEnough()
|
D | DismissAnimationHelper.java | 102 .translationX(swipeDirection == Direction.RIGHT ? viewWidth : -viewWidth) in animateDismiss() 120 .translationX(0) in animateRestore()
|
D | HeadsUpNotificationOnTouchListener.java | 115 .translationX(dismissRight ? viewWidth : -viewWidth) in onTouch() 182 .translationX(0) in animateToCenter()
|
/packages/apps/Dialer/java/com/android/dialer/widget/ |
D | FloatingActionButtonController.java | 133 int translationX = getTranslationXForAlignment(align); in align() local 138 .translationX(translationX + offsetX) in align() 144 fab.setTranslationX(translationX + offsetX); in align()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | FloatingActionButtonController.java | 132 int translationX = getTranslationXForAlignment(align); in align() local 137 .translationX(translationX + offsetX) in align() 143 mFloatingActionButtonContainer.setTranslationX(translationX + offsetX); in align()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmActivity.kt | 426 val translationX = (Math.max(mSnoozeButton.getLeft() - alarmRight, 0) + in hintSnooze() constant 428 getAlarmBounceAnimator(translationX, if (translationX < 0.0f) { in hintSnooze() 438 val translationX = (Math.max(mDismissButton.getLeft() - alarmRight, 0) + in hintDismiss() constant 440 getAlarmBounceAnimator(translationX, if (translationX < 0.0f) { in hintDismiss() 551 private fun getAlarmBounceAnimator(translationX: Float, hintResId: Int): ValueAnimator { in getAlarmBounceAnimator() 553 View.TRANSLATION_X, mAlarmButton.getTranslationX(), translationX, 0.0f) in getAlarmBounceAnimator()
|
D | AlarmActivity.java | 454 final float translationX = Math.max(mSnoozeButton.getLeft() - alarmRight, 0) in hintSnooze() local 456 getAlarmBounceAnimator(translationX, translationX < 0.0f ? in hintSnooze() 463 final float translationX = Math.max(mDismissButton.getLeft() - alarmRight, 0) in hintDismiss() local 465 getAlarmBounceAnimator(translationX, translationX < 0.0f ? in hintDismiss() 573 private ValueAnimator getAlarmBounceAnimator(float translationX, final int hintResId) { in getAlarmBounceAnimator() argument 575 View.TRANSLATION_X, mAlarmButton.getTranslationX(), translationX, 0.0f); in getAlarmBounceAnimator()
|
/packages/apps/Dialer/java/com/android/incallui/video/impl/ |
D | SurfaceViewVideoCallFragment.java | 357 .translationX(0) in exitFullscreenMode() 366 .translationX(0) in exitFullscreenMode() 382 .translationX(0) in exitFullscreenMode() 396 .translationX(0) in exitFullscreenMode() 417 .translationX(previewOffsetStartShown.x) in exitFullscreenMode() 530 .translationX(offset.x) in enterFullscreenMode() 540 .translationX(offset.x) in enterFullscreenMode() 550 .translationX(offset.x) in enterFullscreenMode() 561 .translationX(offset.x) in enterFullscreenMode() 582 .translationX(0) in enterFullscreenMode()
|
D | VideoCallFragment.java | 449 .translationX(0) in exitFullscreenMode() 465 .translationX(0) in exitFullscreenMode() 481 .translationX(0) in exitFullscreenMode() 495 .translationX(0) in exitFullscreenMode() 516 .translationX(previewOffsetStartShown.x) in exitFullscreenMode() 631 .translationX(offset.x) in enterFullscreenMode() 641 .translationX(offset.x) in enterFullscreenMode() 651 .translationX(offset.x) in enterFullscreenMode() 662 .translationX(offset.x) in enterFullscreenMode() 683 .translationX(0) in enterFullscreenMode()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderAnimationManager.java | 334 Animator translationX = getAnimator(btv, View.TRANSLATION_X, xDistance, 0f); in addPreviewItemAnimators() local 335 translationX.setInterpolator(previewItemInterpolator); in addPreviewItemAnimators() 336 play(animatorSet, translationX); in addPreviewItemAnimators() 351 translationX.setStartDelay(delay); in addPreviewItemAnimators() 355 translationX.setDuration(translationX.getDuration() - delay); in addPreviewItemAnimators()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherState.java | 347 public float translationX; 350 public ScaleAndTranslation(float scale, float translationX, float translationY) { 352 this.translationX = translationX;
|
D | WorkspaceStateTransitionAnimation.java | 127 scaleAndTranslation.translationX, translationInterpolator); in setWorkspaceProperty()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/ |
D | OverviewPeekState.java | 37 result.translationX = NORMAL.getOverviewScaleAndTranslation(launcher).translationX in getOverviewScaleAndTranslation()
|
/packages/apps/Browser2/src/org/chromium/webview_shell/ |
D | WebViewAnimationTestActivity.java | 126 mWebView.animate().translationX(100f).translationY(100f); in runTranslate() 128 mWebView.animate().translationX(0f).translationY(0f); in runTranslate()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | ButtonSwitcher.java | 165 return button.animate().translationX(0); in animateButton() 168 return button.animate().translationX(outerX - innerX); in animateButton()
|
/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
D | CarNotificationBaseViewHolder.java | 295 public void setSwipeTranslationX(float translationX) { in setSwipeTranslationX() argument 296 itemView.setTranslationX(translationX); in setSwipeTranslationX()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | NoButtonQuickSwitchTouchController.java | 239 fromScaleAndTranslation.translationX = recentsView.getOffscreenTranslationX(startScale); in setupOverviewAnimators() 244 recentsView.setTranslationX(fromScaleAndTranslation.translationX); in setupOverviewAnimators() 253 toScaleAndTranslation.translationX)); in setupOverviewAnimators()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | TiledImageView.java | 203 public void setTranslationX(float translationX) { in setTranslationX() argument 207 super.setTranslationX(translationX); in setTranslationX()
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
D | PropertyListBuilder.java | 16 public PropertyListBuilder translationX(float value) { in translationX() method in PropertyListBuilder
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | FilmstripView.java | 501 final float translationX = in layoutWithTranslationX() local 505 (int) (drawArea.centerX() + (mLeftPosition - refCenter + translationX) * scale); in layoutWithTranslationX() 2223 final float translationX = current.getTranslationX() * mScale; 2226 final ValueAnimator decelerationX = ValueAnimator.ofFloat(translationX, 2227 translationX + duration / factor * velocityX);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | BaseDialogFragment.java | 212 v.animate().alpha(1f).translationX(0).setDuration(duration).setStartDelay(delay); in prepareAndAnimateView()
|