/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/UnifiedEmail/src/com/android/mail/ui/ |
D | SwipeHelper.java | 150 float pos = view.getTranslationX(); in getAlphaForOffset() 164 float pos = view.getTranslationX(); in getTextAlphaForOffset() 244 mInitialTouchPosX = ev.getX() - mCurrAnimView.getTranslationX(); in onInterceptTouchEvent() 298 (int) (Math.abs(newPos - animView.getTranslationX()) * 1000f / Math in determineDuration() 308 if (velocity < 0 || (velocity == 0 && animView.getTranslationX() < 0) in determinePos() 310 || (velocity == 0 && animView.getTranslationX() == 0 && mSwipeDirection == Y)) { in determinePos() 412 float translation = Math.abs(mCurrAnimView.getTranslationX()); in onTouchEvent() 421 && (velocity > 0) == (mCurrAnimView.getTranslationX() > 0) in onTouchEvent()
|
/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 | 62 return view.mTextAndBackground.getTranslationX(); 193 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 | 1653 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 | 228 ev.offsetLocation(getTranslationX(), 0); in dispatchTouchEvent() 232 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 | 310 fromTranslationX = recentsView.getTranslationX();
|
D | WindowTransformSwipeHandler.java | 644 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/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListItemView.java | 513 return mSwipeableContainer.getTranslationX(); in getSwipeTranslationX()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderPagedView.java | 638 final float oldTranslateX = v.getTranslationX(); in realTimeReorder()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
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 | 694 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();
|