Home
last modified time | relevance | path

Searched refs:targetScale (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DDecodedImageResource.java205 final float targetScale = Math.max( in loadMediaBlocking() local
208 final int targetWidth = (int) (bitmapWidth * targetScale); in loadMediaBlocking()
209 final int targetHeight = (int) (bitmapHeight * targetScale); in loadMediaBlocking()
211 if (targetScale < 1.0f && targetWidth > 0 && targetHeight > 0 && in loadMediaBlocking()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DStashedHandleViewController.java332 float targetScale; in animateNavBarLongPress() local
334 targetScale = shrink ? SCALE_TOUCH_ANIMATION_SHRINK : SCALE_TOUCH_ANIMATION_EXPAND; in animateNavBarLongPress()
336 targetScale = 1f; in animateNavBarLongPress()
338 mStashedHandleView.animateScale(targetScale, durationMs); in animateNavBarLongPress()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPositionController.java475 public void zoomIn(float tapX, float tapY, float targetScale) { in zoomIn() argument
484 int x = (int) (-tempX * targetScale + 0.5f); in zoomIn()
485 int y = (int) (-tempY * targetScale + 0.5f); in zoomIn()
487 calculateStableBound(targetScale); in zoomIn()
490 targetScale = Utils.clamp(targetScale, b.mScaleMin, b.mScaleMax); in zoomIn()
492 startAnimation(targetX, targetY, targetScale, ANIM_KIND_ZOOM); in zoomIn()
794 private boolean startAnimation(int targetX, int targetY, float targetScale, in startAnimation() argument
798 changed |= mBoxes.get(0).doAnimation(targetY, targetScale, kind); in startAnimation()
1660 private boolean doAnimation(int targetY, float targetScale, int kind) { in doAnimation() argument
1661 targetScale = clampScale(targetScale); in doAnimation()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleView.java223 final float targetScale = shouldDrawDot() ? 1f : 0f; in updateDotVisibility() local
227 mDotScale = targetScale; in updateDotVisibility()
228 mAnimatingToDotScale = targetScale; in updateDotVisibility()
DBubbleBarView.java271 float targetScale = newIconSize / getScaledIconSize(); in animateBubbleBarIconSize() local
280 initialScale + (targetScale - initialScale) * transitionProgress; in animateBubbleBarIconSize()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DBaseContainerInterface.java301 Rect potentialTaskRect, float targetScale, int gravity, Rect outRect) { in calculateTaskSizeInternal() argument
307 scale = Math.min(scale, targetScale); in calculateTaskSizeInternal()