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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
H A DDisplayDensityUtils.java105 final float maxScale = Math.min(MAX_SCALE, maxDensity / (float) defaultDensity);
107 final int numLarger = (int) MathUtils.constrain((maxScale - 1) / MIN_SCALE_INTERVAL,
138 final float interval = (maxScale - 1) / numLarger;
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DPhotoPagerAdapter.java43 float maxScale, boolean thumbsFullScreen) {
45 mMaxScale = maxScale;
41 PhotoPagerAdapter( Context context, android.support.v4.app.FragmentManager fm, Cursor c, float maxScale, boolean thumbsFullScreen) argument
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DIntents.java222 public PhotoViewIntentBuilder setMaxInitialScale(float maxScale) { argument
223 mMaxInitialScale = maxScale;
H A DPhotoViewController.java229 android.support.v4.app.FragmentManager fm, Cursor c, float maxScale) {
230 return new PhotoPagerAdapter(context, fm, c, maxScale, mDisplayThumbsFullScreen);
228 createPhotoPagerAdapter(Context context, android.support.v4.app.FragmentManager fm, Cursor c, float maxScale) argument
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dpsy_main.c265 Word16 maxScale; local
268 maxScale = 0;
284 and get maxScale (max mdctScaling) for all channels */
292 maxScale = max(maxScale, mdctScalingArray[ch]);
297 Word16 scaleDiff = maxScale - mdctScalingArray[ch];
306 psyData[ch].mdctScale = maxScale;
/frameworks/base/libs/hwui/
H A DVectorDrawable.cpp86 float maxScale = fmax(scaleX, scaleY); local
89 if (maxScale > 0) {
90 matrixScale = fabs(crossProduct) / maxScale;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java1197 float maxScale = MathUtils.max(scaleX, scaleY);
1200 if (maxScale > 0) {
1201 matrixScale = MathUtils.abs(crossProduct) / maxScale;
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCompat.java1106 float maxScale = Math.max(scaleX, scaleY);
1109 if (maxScale > 0) {
1110 matrixScale = Math.abs(crossProduct) / maxScale;

Completed in 1777 milliseconds