Home
last modified time | relevance | path

Searched refs:newScale (Results 1 – 5 of 5) 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/modules/Uwb/service/tests/src/com/android/server/uwb/correction/math/
DMatrixTest.java129 Matrix scaleMat = Matrix.newScale(scale); in newTrs_isEquivalentToMultiplyingTranslationRotationScale()
148 assertThat(Matrix.newScale(scale).data).usingTolerance(EPSILON) in newScale_uniformScaleMatricesAreEqual()
149 .containsExactly(Matrix.newScale(new Vector3(scale, scale, scale)).data) in newScale_uniformScaleMatricesAreEqual()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DOnFullResImageViewStateChangedListener.kt54 override fun onScaleChanged(newScale: Float, origin: Int) {} in onScaleChanged()
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/math/
DMatrix.java288 public static Matrix newScale(float scale) { in newScale() method in Matrix
295 public static Matrix newScale(Vector3 scale) { in newScale() method in Matrix
/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