Searched refs:targetY (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PositionController.java | 489 int targetY = Utils.clamp(y, mBoundTop, mBoundBottom); in zoomIn() local 492 startAnimation(targetX, targetY, targetScale, ANIM_KIND_ZOOM); in zoomIn() 686 int targetY = mPageScroller.getFinalY(); in flingPage() local 688 return startAnimation(targetX, targetY, b.mCurrentScale, ANIM_KIND_FLING); in flingPage() 719 int targetY; in flingFilmY() local 722 targetY = -mViewH / 2 - (h + 1) / 2 - FUZZY; in flingFilmY() 724 targetY = (mViewH + 1) / 2 + h / 2 + FUZZY; in flingFilmY() 730 duration = (int) (Math.abs(targetY - b.mCurrentY) * 1000f in flingFilmY() 739 if (b.doAnimation(targetY, b.mCurrentScale, ANIM_KIND_DELETE)) { in flingFilmY() 794 private boolean startAnimation(int targetX, int targetY, float targetScale, in startAnimation() argument [all …]
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | PinnedHeaderListView.java | 94 int targetY; field in PinnedHeaderListView.PinnedHeader 285 header.targetY = y; in setHeaderPinnedAtBottom() 296 header.targetY = y; in setHeaderPinnedAtBottom() 349 header.targetY = getBottom() + header.height; in setHeaderInvisible() 558 header.y = header.targetY; in drawHeader() 562 header.y = header.targetY + (header.sourceY - header.targetY) * timeLeft in drawHeader()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | FilmstripView.java | 343 float targetY, long duration_ms, TimeInterpolator interpolator) { in animateTranslationY() argument 353 runAnimation(mTranslationYAnimator, getTranslationY(), targetY, duration_ms, in animateTranslationY()
|