Home
last modified time | relevance | path

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

12

/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()
DCling.java91 int currentLeft = mLocation[0] - (int) getTranslationX(); in adjustPosition()
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;
/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/util/
DMultiTranslateDelegate.java68 getTranslationX(index).setValue(x); in setTranslation()
75 public MultiProperty getTranslationX(int index) { in getTranslationX() method in MultiTranslateDelegate
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarViewController.java378 translateDelegate.getTranslationX(INDEX_TASKBAR_PINNING_ANIM).setValue( in updateTaskbarIconTranslationXForPinning()
381 translateDelegate.getTranslationX(INDEX_TASKBAR_PINNING_ANIM).setValue( in updateTaskbarIconTranslationXForPinning()
408 float right = iconViews[rightIndex].getRight() + iconViews[rightIndex].getTranslationX(); in getCurrentVisualTaskbarWidth()
605 reveal.play(ObjectAnimator.ofFloat(mtd.getTranslationX(INDEX_TASKBAR_REVEAL_ANIM), in addRevealAnimToIsStashed()
735 childCenter += ((Reorderable) child).getTranslateDelegate().getTranslationX( in createIconAlignmentController()
748 setter.addFloat(mtd.getTranslationX(INDEX_TASKBAR_ALIGNMENT_ANIM), in createIconAlignmentController()
802 childCenter += ((Reorderable) child).getTranslateDelegate().getTranslationX( in createIconAlignmentController()
807 setter.setFloat(mtd.getTranslationX(INDEX_TASKBAR_ALIGNMENT_ANIM), in createIconAlignmentController()
DStashedHandleView.java81 mTmpArr[0] -= Math.round(getTranslationX()); in updateSampledRegion()
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutAndWidgetContainer.java248 final float tx = mTranslationProvider.getTranslationX(child); in layoutChild()
251 .getTranslationX(INDEX_BUBBLE_ADJUSTMENT_ANIM) in layoutChild()
333 float getTranslationX(View child); in getTranslationX() method
DLauncherAnimUtils.java156 return view.getTranslationX();
DHotseat.java164 mtd.getTranslationX(INDEX_BUBBLE_ADJUSTMENT_ANIM).animateToValue(tx)); in adjustForBubbleBar()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DTaskMenuView.java290 mMenuTranslationXBeforeOpen = getTranslationX();
347 getTranslationX() + getWidth() - (mContainer.getDeviceProfile().widthPx
415 mContainer.getDeviceProfile(), getTranslationX(), getTranslationY());
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleDragController.java60 return view.getTranslationX();
370 mViewInitialPosition.set(view.getTranslationX(), view.getTranslationY()); in onTouchDown()
/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewAnimationTestActivity.java125 if (mWebView.getTranslationX() == 0f) { in runTranslate()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DIconButtonView.java114 getTranslateDelegate().getTranslationX(INDEX_TASKBAR_ALL_APPS_ICON).setValue(translationX); in setTranslationXForTaskbarAllAppsIcon()
/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.java225 ev.offsetLocation(getTranslationX(), 0); in dispatchTouchEvent()
229 ev.offsetLocation(-getTranslationX(), 0); in dispatchTouchEvent()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/
DReorderPreviewAnimationTest.kt60 (translateDelegate.getTranslationX(INDEX_REORDER_BOUNCE_OFFSET).value * 100).toInt(), in toAnimationValues()
/packages/apps/Launcher3/src/com/android/launcher3/celllayout/
DReorderPreviewAnimation.kt60 child.getTranslateDelegate().getTranslationX(INDEX_REORDER_BOUNCE_OFFSET).value
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java531 if (getTranslationX() + l < insets.left in onLayout()
532 || getTranslationX() + r > dragLayer.getWidth() - insets.right) { in onLayout()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/viewcapture_analysis/
DViewCaptureAnalyzer.java205 + (viewCaptureNode.getLeft() + viewCaptureNode.getTranslationX()) * parentScaleX in analyzeView()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBaseViewHolder.java417 return itemView.getTranslationX(); in getSwipeTranslationX()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DNoButtonNavbarToOverviewTouchController.java294 Math.abs(mRecentsView.getTranslationX()), in goToOverviewOrHomeOnDragEnd()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/orientation/
DPortraitPagedViewHandler.java787 float currentTranslationX = floatingTask.getTranslationX(); in getFloatingTaskOffscreenTranslationTarget()
811 ? floatingTask.getTranslationX() in getFloatingTaskPrimaryTranslation()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DSwipeUpAnimationLogic.java544 mTaskViewTranslationX = mTargetTaskView.getTranslationX(); in setUp()

12