Home
last modified time | relevance | path

Searched refs:maxScale (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/transition/src/main/java/androidx/transition/
DChangeImageTransform.java225 final float maxScale = Math.max(scaleX, scaleY); in centerCropMatrix() local
227 final float width = imageWidth * maxScale; in centerCropMatrix()
228 final float height = imageHeight * maxScale; in centerCropMatrix()
233 matrix.postScale(maxScale, maxScale); in centerCropMatrix()
/frameworks/support/transition/src/androidTest/java/androidx/transition/
DChangeImageTransformTest.java128 float maxScale = Math.max(scaleX, scaleY); in centerCropMatrix() local
130 float width = imageWidth * maxScale; in centerCropMatrix()
131 float height = imageHeight * maxScale; in centerCropMatrix()
136 matrix.postScale(maxScale, maxScale); in centerCropMatrix()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
DDisplayDensityUtils.java109 final float maxScale = Math.min(MAX_SCALE, maxDensity / (float) defaultDensity); in DisplayDensityUtils() local
111 final int numLarger = (int) MathUtils.constrain((maxScale - 1) / MIN_SCALE_INTERVAL, in DisplayDensityUtils()
142 final float interval = (maxScale - 1) / numLarger; in DisplayDensityUtils()
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DPhotoPagerAdapter.java43 float maxScale, boolean thumbsFullScreen) { in PhotoPagerAdapter() argument
45 mMaxScale = maxScale; in PhotoPagerAdapter()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DIntents.java222 public PhotoViewIntentBuilder setMaxInitialScale(float maxScale) { in setMaxInitialScale() argument
223 mMaxInitialScale = maxScale; in setMaxInitialScale()
DPhotoViewController.java229 android.support.v4.app.FragmentManager fm, Cursor c, float maxScale) { in createPhotoPagerAdapter() argument
230 return new PhotoPagerAdapter(context, fm, c, maxScale, mDisplayThumbsFullScreen); in createPhotoPagerAdapter()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java1259 float maxScale = MathUtils.max(scaleX, scaleY); in getMatrixScale() local
1262 if (maxScale > 0) { in getMatrixScale()
1263 matrixScale = MathUtils.abs(crossProduct) / maxScale; in getMatrixScale()
/frameworks/support/graphics/drawable/static/src/main/java/androidx/vectordrawable/graphics/drawable/
DVectorDrawableCompat.java1272 float maxScale = Math.max(scaleX, scaleY); in getMatrixScale() local
1275 if (maxScale > 0) { in getMatrixScale()
1276 matrixScale = Math.abs(crossProduct) / maxScale; in getMatrixScale()