Searched refs:newScale (Results 1 – 2 of 2) sorted by relevance
2140 float newScale = (Float) animation.getAnimatedValue(); in zoomAt()2141 float postScale = newScale / mScale; in zoomAt()2142 mScale = newScale; in zoomAt()2939 float newScale = mScale * scale;2940 if (mScale < FULL_SCREEN_SCALE && newScale < FULL_SCREEN_SCALE) {2941 if (newScale <= FILM_STRIP_SCALE) {2942 newScale = FILM_STRIP_SCALE;2946 if (mScale != newScale) {2950 if (newScale == FILM_STRIP_SCALE) {2954 mScale = newScale;[all …]
143 private static void scaleToward(View view, float newScale) { in scaleToward() argument144 view.setScaleX(MathUtil.lerp(view.getScaleX(), newScale, ANIMATE_LERP_PROGRESS)); in scaleToward() local145 view.setScaleY(MathUtil.lerp(view.getScaleY(), newScale, ANIMATE_LERP_PROGRESS)); in scaleToward() local