Home
last modified time | relevance | path

Searched refs:getTranslationX (Results 1 – 25 of 25) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripLayout.java340 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()
DFilmstripView.java274 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;
DCling.java91 int currentLeft = mLocation[0] - (int) getTranslationX(); in adjustPosition()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DTranslationAnimationCreator.java57 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()
DFadeAndShortSlide.java63 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/
DNotificationMainView.java63 return view.mTextAndBackground.getTranslationX();
194 final float startTranslation = mTextAndBackground.getTranslationX(); in onDragEnd()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java339 if (getTranslationX() + l < 0 || getTranslationX() + r > dragLayer.getWidth()) { in onLayout()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAnimUtils.java106 return view.getTranslationX();
DPagedView.java1701 float left = child.getLeft() + child.getTranslationX() - getScrollX(); in getVisibleChildrenRange()
DCellLayout.java2003 initDeltaX = child.getTranslationX(); in setInitialAnimationValues()
/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewAnimationTestActivity.java125 if (mWebView.getTranslationX() == 0f) { in runTranslate()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DButtonSwitcher.java161 final float innerX = button.getX() - button.getTranslationX(); in animateButton()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java231 ev.offsetLocation(getTranslationX(), 0); in dispatchTouchEvent()
235 ev.offsetLocation(-getTranslationX(), 0); in dispatchTouchEvent()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTaskViewUtils.java146 mThumbnailRect.offset(-v.getTranslationX(), -v.getTranslationY()); in getRecentsWindowAnimator()
DLauncherActivityControllerHelper.java254 fromTranslationX = recentsView.getTranslationX();
DWindowTransformSwipeHandler.java482 float prevTranslationX = mRecentsView.getTranslationX(); in maybeUpdateRecentsAttachedState()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBaseViewHolder.java289 return itemView.getTranslationX(); in getSwipeTranslationX()
/packages/apps/DeskClock/src/com/android/deskclock/
DItemAnimator.java116 final float prevTranslationX = view.getTranslationX(); in animateMove()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java577 final float oldTranslateX = v.getTranslationX(); in realTimeReorder()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListItemView.java513 return mSwipeableContainer.getTranslationX(); in getSwipeTranslationX()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.kt553 View.TRANSLATION_X, mAlarmButton.getTranslationX(), translationX, 0.0f) in getAlarmBounceAnimator()
DAlarmActivity.java575 View.TRANSLATION_X, mAlarmButton.getTranslationX(), translationX, 0.0f); in getAlarmBounceAnimator()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
DFlingUpDownMethod.java118 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/
DRecentsView.java713 float pageCenter = page.getLeft() + page.getTranslationX() + halfPageWidth; in updateCurveProperties()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java2319 h.mLocationInParent = h.mLocation + view.getTranslationX();