Home
last modified time | relevance | path

Searched refs:targetX (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DSlideInRemoteTransition.kt79 val targetX = (if (isRtl) -1 else 1) * (startBounds!!.right + pageSpacing) in startAnimation() constant
80 t.setPosition(it, anim.animatedValue as Float * targetX, 0f) in startAnimation()
89 val targetX = (if (isRtl) -1 else 1) * (endBounds!!.right + pageSpacing) in startAnimation() constant
90 t.setPosition(it, (1f - anim.animatedValue as Float) * -targetX, 0f) in startAnimation()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPositionController.java488 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/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleBarView.java800 final float targetX = expandedX + expandedBarShift; in updateBubblesLayoutProperties() local
801 bv.setTranslationX(widthState * (targetX - collapsedX) + collapsedX); in updateBubblesLayoutProperties()
808 final float targetX = collapsedX + collapsedBarShift; in updateBubblesLayoutProperties() local
809 bv.setTranslationX(widthState * (expandedX - targetX) + targetX); in updateBubblesLayoutProperties()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DSwipeUpAnimationLogic.java186 final float targetX = primaryDimension / 2f; in getWindowTargetRect() local
189 return new RectF(targetX - halfIconSize, targetY - halfIconSize, in getWindowTargetRect()
190 targetX + halfIconSize, targetY + halfIconSize); in getWindowTargetRect()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DWorkspace.java303 int targetX = (pageWidth / 2) + pageWidth * pageDelta; in dragIcon() local
308 () -> new Point(targetX, targetY), in dragIcon()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepTransitionManager.java1377 final float targetX = primaryDimension / 2f; in getDefaultWindowTargetRect() local
1379 return new RectF(targetX - halfIconSize, targetY - halfIconSize, in getDefaultWindowTargetRect()
1380 targetX + halfIconSize, targetY + halfIconSize); in getDefaultWindowTargetRect()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java317 float targetX, long duration_ms, TimeInterpolator interpolator) { in animateTranslationX() argument
331 runAnimation(mTranslationXAnimator, getTranslationX(), targetX, duration_ms, in animateTranslationX()