| /packages/apps/Gallery/src/com/android/camera/ |
| D | ImageViewTouchBase.java | 107 if (getScale() > 1.0f) { in onKeyUp() 250 protected float getScale(Matrix matrix) { in getScale() method in ImageViewTouchBase 254 protected float getScale() { in getScale() method in ImageViewTouchBase 255 return getScale(mSuppMatrix); in getScale() 312 float oldScale = getScale(); in zoomTo() 322 final float incrementPerMs = (scale - getScale()) / durationMs; in zoomTo() 323 final float oldScale = getScale(); in zoomTo() 364 if (getScale() >= mMaxZoom) { in zoomIn() 390 if (getScale(tmp) < 1F) { in zoomOut()
|
| D | CropImage.java | 196 if (mImageView.getScale() == 1F) { in startFaceDetection() 727 if (getScale() == 1F) { in onTouchEvent() 769 zoom = zoom * this.getScale(); in centerBasedOnHighlightView() 772 if ((Math.abs(zoom - getScale()) / zoom) > .1) { in centerBasedOnHighlightView()
|
| D | ViewImage.java | 240 float scale = imageView.getScale(); 334 if (imageView.getScale() > 1F) { 361 if (imageView.getScale() > 2F) { in onDoubleTap() 1140 if (getScale() <= 1F && event.getEventTime() 1151 if (getScale() <= 1F && event.getEventTime()
|
| /packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/ |
| D | IconNormalizer.java | 117 private static float getScale(float hullArea, float boundingArea, float fullArea) { in getScale() method in IconNormalizer 156 return getScale(hullArea, hullArea, size * size); in normalizeAdaptiveIcon() 239 public synchronized float getScale(@NonNull Drawable d, @Nullable RectF outBounds, in getScale() method in IconNormalizer 347 return getScale(area, rectArea, width * height); in getScale()
|
| D | BaseIconFactory.java | 304 scale = getNormalizer().getScale(icon, outIconBounds, dr.getIconMask(), outShape); in normalizeAndWrapToAdaptiveIcon() 310 scale = getNormalizer().getScale(icon, outIconBounds, null, null); in normalizeAndWrapToAdaptiveIcon() 315 scale = getNormalizer().getScale(icon, outIconBounds, null, null); in normalizeAndWrapToAdaptiveIcon()
|
| /packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
| D | ImagePreviewFragment.java | 225 mFullResImageView.getScale(), cropRect, mWallpaperScreenSize.x, in setWallpaper() 238 mFullResImageView.getScale() * screenScale, in setWallpaper() 315 mBitmapCropper.cropAndScaleBitmap(mWallpaperAsset, mFullResImageView.getScale(), in recalculateColors() 434 float wallpaperZoom = mFullResImageView.getScale(); in calculateCropRect() 456 if (WallpaperManager.isMultiCropEnabled()) result.scale(1f / mFullResImageView.getScale()); in calculateCropRect()
|
| /packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/ |
| D | PreviewActivityTest.java | 394 assertTrue(mWallpaperPersister.getScale() < 0); in testClickSetWallpaper_CropsAndScalesWallpaper() 405 float zoom = imageView.getScale(); in testClickSetWallpaper_CropsAndScalesWallpaper() 406 assertEquals(mWallpaperPersister.getScale(), zoom, FLOAT_ERROR_MARGIN); in testClickSetWallpaper_CropsAndScalesWallpaper() 478 assertEquals(expectedWallpaperZoom, fullResImageView.getScale(), FLOAT_ERROR_MARGIN); in testSetsDefaultWallpaperZoomAndScroll()
|
| /packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
| D | SimpleIconFactory.java | 281 scale = getScale(icon, null); in createAppBadgedIconBitmap() 438 scale = getScale(icon, outIconBounds); in normalizeAndWrapToAdaptiveIcon() 444 scale = getScale(icon, outIconBounds); in normalizeAndWrapToAdaptiveIcon() 494 private synchronized float getScale(@NonNull Drawable d, @Nullable RectF outBounds) { in getScale() method in SimpleIconFactory
|
| /packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
| D | WallpaperConnection.java | 550 float[] values = getScale(parentSurface); in mirrorAndReparent() 566 private float[] getScale(SurfaceView parentSurface) { in getScale() method in WallpaperConnection
|
| /packages/apps/EmergencyInfo/src/com/android/emergency/ |
| D | CircleFramedDrawable.java | 107 public float getScale() { in getScale() method in CircleFramedDrawable
|
| /packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/wallpaperconnection/ |
| D | WallpaperConnectionUtils.kt | 369 val values = getScale(parentSurface, displayMetrics) in <lambda>() 406 private fun getScale(parentSurface: SurfaceView, displayMetrics: Point): FloatArray { in <lambda>() method in com.android.wallpaper.util.wallpaperconnection.WallpaperConnectionUtils
|
| /packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/ |
| D | SwipeButtonHelper.java | 525 float scale = getScale(alpha, view); in updateIconAlpha() 531 private float getScale(float alpha, SwipeButtonView icon) { in getScale() method in SwipeButtonHelper
|
| /packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/ |
| D | TestWallpaperPersister.java | 202 public float getScale() { in getScale() method in TestWallpaperPersister
|