Home
last modified time | relevance | path

Searched refs:targetY (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPositionController.java489 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/
DPinnedHeaderListView.java94 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/UnifiedEmail/src/com/android/mail/utils/
DBitmapUtil.java191 int targetX, targetY, targetSize; in frameBitmapInCircle() local
194 targetY = 0; in frameBitmapInCircle()
198 targetY = inputHeight / 2 - inputWidth / 2; in frameBitmapInCircle()
215 canvas.drawBitmap(input, targetX /* left */, targetY /* top */, paint); in frameBitmapInCircle()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java343 float targetY, long duration_ms, TimeInterpolator interpolator) { in animateTranslationY() argument
353 runAnimation(mTranslationYAnimator, getTranslationY(), targetY, duration_ms, in animateTranslationY()