Searched refs:maxScale (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
D | DisplayDensityUtils.java | 108 final float maxScale = Math.min(MAX_SCALE, maxDensity / (float) defaultDensity); in DisplayDensityUtils() local 110 final int numLarger = (int) MathUtils.constrain((maxScale - 1) / MIN_SCALE_INTERVAL, in DisplayDensityUtils() 141 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 androidx.fragment.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 | 1267 float maxScale = MathUtils.max(scaleX, scaleY); in getMatrixScale() local 1270 if (maxScale > 0) { in getMatrixScale() 1271 matrixScale = MathUtils.abs(crossProduct) / maxScale; in getMatrixScale()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayContent.java | 2370 final int maxScale = 2; in setForcedSize() local 2371 width = Math.min(Math.max(width, minSize), mInitialDisplayWidth * maxScale); in setForcedSize() 2372 height = Math.min(Math.max(height, minSize), mInitialDisplayHeight * maxScale); in setForcedSize()
|