Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
DDisplayDensityUtils.java108 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/
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 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/
DVectorDrawable_Delegate.java1267 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/
DDisplayContent.java2370 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()