Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DBaseContainerInterface.java218 float maxScale = res.getFloat(R.dimen.overview_max_scale); in calculateTaskSize() local
229 maxScale, in calculateTaskSize()
255 float maxScale = res.getFloat(R.dimen.overview_max_scale); in calculateFocusTaskSize() local
258 calculateTaskSizeInternal(context, dp, gridRect, maxScale, Gravity.CENTER, outRect); in calculateFocusTaskSize()
262 int claimedSpaceBelow, int minimumHorizontalPadding, float maxScale, int gravity, in calculateTaskSizeInternal() argument
297 calculateTaskSizeInternal(context, dp, potentialTaskRect, maxScale, gravity, outRect); in calculateTaskSizeInternal()
389 float maxScale = context.getResources().getFloat(R.dimen.overview_modal_max_scale); in calculateModalTaskSize() local
391 Math.round((dp.availableWidthPx - outRect.width() * maxScale) / 2); in calculateModalTaskSize()
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/
DBuglePhotoPageAdapter.java28 public BuglePhotoPageAdapter(Context context, FragmentManager fm, Cursor c, float maxScale, in BuglePhotoPageAdapter() argument
30 super(context, fm, c, maxScale, thumbsFullScreen); in BuglePhotoPageAdapter()
DBuglePhotoViewController.java176 final FragmentManager fm, final Cursor c, final float maxScale) { in createPhotoPagerAdapter() argument
177 return new BuglePhotoPageAdapter(context, fm, c, maxScale, mDisplayThumbsFullScreen); in createPhotoPagerAdapter()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/
DStaticWallpaperPreviewBinder.kt169 maxScale = scaleAndCenter.maxScale in <lambda>()
/packages/apps/Messaging/src/com/android/messaging/ui/
DVideoThumbnailView.java320 final float maxScale = Math.max( in onMeasure() local
327 final float scale = Math.min(maxScale, Math.max(widthScale, heightScale)); in onMeasure()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/util/
DFullResImageViewUtil.kt83 val maxScale: Float, constant in com.android.wallpaper.picker.preview.ui.util.FullResImageViewUtil.ScaleAndCenter
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/preview/ui/util/
DFullResImageViewUtilTest.kt107 assertThat(scaleAndCenter.maxScale).isEqualTo(8F) in getScaleAndCenter_wallpaperSmallerThanScreenEightTimes_getsSameScales()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java844 float maxScale = getFraction(R.fraction.grid_scale_max); in scaleLayout() local
849 "Next scale " + nextScale + ", Min/max scale " + minScale + "/" + maxScale); in scaleLayout()
852 if (nextScale > minScale && nextScale < maxScale) { in scaleLayout()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java2080 final float maxScale = getCurrentDataMaxScale(false); in zoomAt() local
2081 final float endScale = mScale < maxScale - maxScale * TOLERANCE in zoomAt()
2082 ? maxScale : FULL_SCREEN_SCALE; in zoomAt()