/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | SlideInRemoteTransition.kt | 79 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/ |
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/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/ |
D | BubbleBarView.java | 800 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/ |
D | SwipeUpAnimationLogic.java | 186 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/ |
D | Workspace.java | 303 int targetX = (pageWidth / 2) + pageWidth * pageDelta; in dragIcon() local 308 () -> new Point(targetX, targetY), in dragIcon()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | QuickstepTransitionManager.java | 1377 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/ |
D | FilmstripView.java | 317 float targetX, long duration_ms, TimeInterpolator interpolator) { in animateTranslationX() argument 331 runAnimation(mTranslationXAnimator, getTranslationX(), targetX, duration_ms, in animateTranslationX()
|