/packages/apps/Camera2/src/com/android/camera/widget/ |
D | FilmstripLayout.java | 340 if (mFilmstripContentLayout.getTranslationX() == 0f && in onScroll() 345 if (dx < 0 && mFilmstripContentLayout.getTranslationX() == 0) { in onScroll() 356 if (dx > 0 && mFilmstripContentLayout.getTranslationX() == getMeasuredWidth()) { in onScroll() 362 float translate = mFilmstripContentLayout.getTranslationX() - dx; in onScroll() 446 if (mFilmstripContentLayout.getTranslationX() == 0f) { in onDown() 454 if (mFilmstripContentLayout.getTranslationX() == 0f) { in onUp() 461 if (mFilmstripContentLayout.getTranslationX() >= getMeasuredWidth() / 2) { in onUp() 479 if (mFilmstripContentLayout.getTranslationX() == 0f) { in onScaleEnd() 526 float translation = mFilmstripContentLayout.getTranslationX() - mOffset; in draw()
|
D | FilmstripView.java | 274 public float getTranslationX() { in getTranslationX() method in FilmstripView.ViewItem 275 return mView.getTranslationX() / mFilmstrip.mScale; in getTranslationX() 331 runAnimation(mTranslationXAnimator, getTranslationX(), targetX, duration_ms, in animateTranslationX() 392 setTranslationX(getTranslationX() + transX * mFilmstrip.mScale); in translateXScaledBy() 545 float transX = mView.getTranslationX(); in postScale() 1206 currItem.setTranslationX(currItem.getTranslationX() * scaleFraction); in layoutViewItems() 1458 && mViewItems[i].getTranslationX() != 0f) { in animateItemRemoval() 2223 final float translationX = current.getTranslationX() * mScale; 2759 float transX = curr.getTranslationX() * mScale - dx;
|
D | Cling.java | 91 int currentLeft = mLocation[0] - (int) getTranslationX(); in adjustPosition()
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/ |
D | TranslationAnimationCreator.java | 57 float terminalX = view.getTranslationX(); in createAnimation() 99 mStartX = startX - Math.round(mMovingView.getTranslationX()); in TransitionPositionListener() 109 mTransitionPosition = Math.round(mStartX + mMovingView.getTranslationX()); in onAnimationCancel() 118 mPausedX = mMovingView.getTranslationX(); in onAnimationPause()
|
D | FadeAndShortSlide.java | 63 x = view.getTranslationX() + distance; 65 x = view.getTranslationX() - distance; 80 x = view.getTranslationX() - distance; 82 x = view.getTranslationX() + distance; 229 float endX = view.getTranslationX(); in onAppear() 258 float startX = view.getTranslationX(); in onDisappear()
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
D | NotificationMainView.java | 63 return view.mTextAndBackground.getTranslationX(); 194 final float startTranslation = mTextAndBackground.getTranslationX(); in onDragEnd()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | ArrowPopup.java | 339 if (getTranslationX() + l < 0 || getTranslationX() + r > dragLayer.getWidth()) { in onLayout()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherAnimUtils.java | 106 return view.getTranslationX();
|
D | PagedView.java | 1701 float left = child.getLeft() + child.getTranslationX() - getScrollX(); in getVisibleChildrenRange()
|
D | CellLayout.java | 2003 initDeltaX = child.getTranslationX(); in setInitialAnimationValues()
|
/packages/apps/Browser2/src/org/chromium/webview_shell/ |
D | WebViewAnimationTestActivity.java | 125 if (mWebView.getTranslationX() == 0f) { in runTranslate()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | ButtonSwitcher.java | 161 final float innerX = button.getX() - button.getTranslationX(); in animateButton()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragLayer.java | 231 ev.offsetLocation(getTranslationX(), 0); in dispatchTouchEvent() 235 ev.offsetLocation(-getTranslationX(), 0); in dispatchTouchEvent()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | TaskViewUtils.java | 146 mThumbnailRect.offset(-v.getTranslationX(), -v.getTranslationY()); in getRecentsWindowAnimator()
|
D | LauncherActivityControllerHelper.java | 254 fromTranslationX = recentsView.getTranslationX();
|
D | WindowTransformSwipeHandler.java | 482 float prevTranslationX = mRecentsView.getTranslationX(); in maybeUpdateRecentsAttachedState()
|
/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
D | CarNotificationBaseViewHolder.java | 289 return itemView.getTranslationX(); in getSwipeTranslationX()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | ItemAnimator.java | 116 final float prevTranslationX = view.getTranslationX(); in animateMove()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderPagedView.java | 577 final float oldTranslateX = v.getTranslationX(); in realTimeReorder()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListItemView.java | 513 return mSwipeableContainer.getTranslationX(); in getSwipeTranslationX()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmActivity.kt | 553 View.TRANSLATION_X, mAlarmButton.getTranslationX(), translationX, 0.0f) in getAlarmBounceAnimator()
|
D | AlarmActivity.java | 575 View.TRANSLATION_X, mAlarmButton.getTranslationX(), translationX, 0.0f); in getAlarmBounceAnimator()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
D | FlingUpDownMethod.java | 118 view.setTranslationX(MathUtil.lerp(view.getTranslationX(), newX, SWIPE_LERP_PROGRESS_FACTOR)); in moveTowardX()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | RecentsView.java | 713 float pageCenter = page.getLeft() + page.getTranslationX() + halfPageWidth; in updateCurveProperties()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollAdapterView.java | 2319 h.mLocationInParent = h.mLocation + view.getTranslationX();
|