Home
last modified time | relevance | path

Searched refs:getTranslation (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/notification/
DSwipeHelper.java130 protected float getTranslation(View v) { in getTranslation() method in SwipeHelper
194 updateSwipeProgressFromOffset(animView, dismissable, getTranslation(animView)); in updateSwipeProgressFromOffset()
270 mTranslation = getTranslation(mCurrView); in onInterceptTouchEvent()
305 mTranslation = getTranslation(mCurrView); in onInterceptTouchEvent()
350 boolean animateUpForMenu = velocity == 0 && (getTranslation(animView) == 0 || isDismissAll) in dismissChild()
353 boolean animateLeftForRtl = velocity == 0 && (getTranslation(animView) == 0 || isDismissAll) in dismissChild()
356 || (velocity == 0 && getTranslation(animView) < 0 && !isDismissAll); in dismissChild()
368 (int) (Math.abs(newPos - getTranslation(animView)) * 1000f / Math in dismissChild()
395 mFlingAnimationUtils.applyDismissing(anim, getTranslation(animView), in dismissChild()
513 } else if (getTranslation(view) != 0) {
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageShow.java230 Point translate = master.getTranslation(); in getImageToScreenMatrix()
637 MasterImage.getImage().setOriginalTranslation(MasterImage.getImage().getTranslation()); in onTouchEvent()
649 Point translation = MasterImage.getImage().getTranslation(); in onTouchEvent()
678 Point translation = MasterImage.getImage().getTranslation(); in onTouchEvent()
704 Point translation = MasterImage.getImage().getTranslation(); in startAnimTranslation()
713 Point translation = MasterImage.getImage().getTranslation(); in startAnimTranslation()
725 Point translation = MasterImage.getImage().getTranslation(); in applyTranslationConstraints()
760 Point translation = MasterImage.getImage().getTranslation(); in onDoubleTap()
941 Point translation = MasterImage.getImage().getTranslation();
951 Point pos = MasterImage.getImage().getTranslation();
DMasterImage.java606 Point translation = getTranslation(); in computeImageToScreen()
630 Point translate = getTranslation(); in getImageToScreenMatrix()
742 public Point getTranslation() { in getTranslation() method in MasterImage