Home
last modified time | relevance | path

Searched refs:newScale (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java2140 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 …]
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DAnswerFragment.java143 private static void scaleToward(View view, float newScale) { in scaleToward() argument
144 view.setScaleX(MathUtil.lerp(view.getScaleX(), newScale, ANIMATE_LERP_PROGRESS)); in scaleToward() local
145 view.setScaleY(MathUtil.lerp(view.getScaleY(), newScale, ANIMATE_LERP_PROGRESS)); in scaleToward() local