Home
last modified time | relevance | path

Searched refs:startScale (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DScaleTransition.java27 public Animator createAnimation(View view, float startScale, float endScale) { in createAnimation() argument
28 view.setScaleX(startScale); in createAnimation()
29 view.setScaleY(startScale); in createAnimation()
30 PropertyValuesHolder holderX = PropertyValuesHolder.ofFloat("scaleX", startScale, endScale); in createAnimation()
31 PropertyValuesHolder holderY = PropertyValuesHolder.ofFloat("scaleY", startScale, endScale); in createAnimation()
/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/
DUIAnimation.java92 float startScale; in zoomImageFromThumb() local
95 startScale = (float) startBounds.height() / finalBounds.height(); in zoomImageFromThumb()
96 float startWidth = startScale * finalBounds.width(); in zoomImageFromThumb()
101 startScale = (float) startBounds.width() / finalBounds.width(); in zoomImageFromThumb()
102 float startHeight = startScale * finalBounds.height(); in zoomImageFromThumb()
121 ObjectAnimator.ofFloat(expandedImageView, View.SCALE_X, startScale, 1f)) in zoomImageFromThumb()
122 .with(ObjectAnimator.ofFloat(expandedImageView, View.SCALE_Y, startScale, 1f)); in zoomImageFromThumb()
143 final float startScaleFinal = startScale; in zoomImageFromThumb()
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DZoomActivity.java137 float startScale; in zoomImageFromThumb() local
141 startScale = (float) startBounds.height() / finalBounds.height(); in zoomImageFromThumb()
142 float startWidth = startScale * finalBounds.width(); in zoomImageFromThumb()
148 startScale = (float) startBounds.width() / finalBounds.width(); in zoomImageFromThumb()
149 float startHeight = startScale * finalBounds.height(); in zoomImageFromThumb()
173 .with(ObjectAnimator.ofFloat(expandedImageView, View.SCALE_X, startScale, 1f)) in zoomImageFromThumb()
174 .with(ObjectAnimator.ofFloat(expandedImageView, View.SCALE_Y, startScale, 1f)); in zoomImageFromThumb()
193 final float startScaleFinal = startScale; in zoomImageFromThumb()