Searched refs:targetX (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PositionController.java | 488 int targetX = Utils.clamp(x, mBoundLeft, mBoundRight); in zoomIn() local 492 startAnimation(targetX, targetY, targetScale, ANIM_KIND_ZOOM); in zoomIn() 685 int targetX = mPageScroller.getFinalX(); in flingPage() local 688 return startAnimation(targetX, targetY, b.mCurrentScale, ANIM_KIND_FLING); in flingPage() 706 int targetX = mFilmScroller.getFinalX(); in flingFilmX() local 708 targetX, b.mCurrentY, b.mCurrentScale, ANIM_KIND_FLING_X); in flingFilmX() 794 private boolean startAnimation(int targetX, int targetY, float targetScale, in startAnimation() argument 797 changed |= mPlatform.doAnimation(targetX, mPlatform.mDefaultY, kind); in startAnimation() 1502 private boolean doAnimation(int targetX, int targetY, int kind) { in doAnimation() argument 1503 if (mCurrentX == targetX && mCurrentY == targetY) return false; in doAnimation() [all …]
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | FilmstripView.java | 317 float targetX, long duration_ms, TimeInterpolator interpolator) { in animateTranslationX() argument 331 runAnimation(mTranslationXAnimator, getTranslationX(), targetX, duration_ms, in animateTranslationX()
|