Searched refs:maxScale (Results 1 – 8 of 8) sorted by relevance
/frameworks/support/transition/src/main/java/androidx/transition/ |
D | ChangeImageTransform.java | 225 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/ |
D | ChangeImageTransformTest.java | 128 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/ |
D | DisplayDensityUtils.java | 109 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/ |
D | PhotoPagerAdapter.java | 43 float maxScale, boolean thumbsFullScreen) { in PhotoPagerAdapter() argument 45 mMaxScale = maxScale; in PhotoPagerAdapter()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | Intents.java | 222 public PhotoViewIntentBuilder setMaxInitialScale(float maxScale) { in setMaxInitialScale() argument 223 mMaxInitialScale = maxScale; in setMaxInitialScale()
|
D | PhotoViewController.java | 229 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/ |
D | VectorDrawable_Delegate.java | 1259 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/ |
D | VectorDrawableCompat.java | 1272 float maxScale = Math.max(scaleX, scaleY); in getMatrixScale() local 1275 if (maxScale > 0) { in getMatrixScale() 1276 matrixScale = Math.abs(crossProduct) / maxScale; in getMatrixScale()
|