Home
last modified time | relevance | path

Searched refs:getScale (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Gallery/src/com/android/camera/
DImageViewTouchBase.java107 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()
DCropImage.java196 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()
DViewImage.java240 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/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DIconNormalizer.java117 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()
DBaseIconFactory.java219 scale = getNormalizer().getScale(icon, outIconBounds, dr.getIconMask(), outShape); in normalizeAndWrapToAdaptiveIcon()
225 scale = getNormalizer().getScale(icon, outIconBounds, null, null); in normalizeAndWrapToAdaptiveIcon()
230 scale = getNormalizer().getScale(icon, outIconBounds, null, null); in normalizeAndWrapToAdaptiveIcon()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DIconView.java101 listener.onScaleUpdate(((FastBitmapDrawable) drawable).getScale()); in invalidateDrawable()
124 listener.onScaleUpdate(((FastBitmapDrawable) mDrawable).getScale()); in addUpdateScaleListener()
DTaskMenuView.java64 if (scale != ((FastBitmapDrawable) drawable).getScale()) {
76 final float currentScale = ((FastBitmapDrawable) taskViewDrawable).getScale();
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperCropActivity.java282 mCropView.setScale(req.scaleAndOffsetProvider.getScale(wallpaperSize, crop)); in onLoadRequestComplete()
476 float getScale(Point wallpaperSize, RectF crop);
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
DResourceWallpaperInfo.java32 public float getScale(Point wallpaperSize, RectF crop) { in onClick()
DDefaultWallpaperInfo.java45 public float getScale(Point wallpaperSize, RectF crop) { in onClick()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/
DSwipeButtonHelper.java525 float scale = getScale(alpha, view); in updateIconAlpha()
531 private float getScale(float alpha, SwipeButtonView icon) { in getScale() method in SwipeButtonHelper
/packages/apps/EmergencyInfo/src/com/android/emergency/
DCircleFramedDrawable.java107 public float getScale() { in getScale() method in CircleFramedDrawable
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationContainer.java470 mScale = mWebView.getScale(); in positionOverlays()
474 traceLayout("in positionOverlays, raw scale=%f, effective scale=%f", mWebView.getScale(), in positionOverlays()
/packages/apps/Launcher3/src/com/android/launcher3/
DFastBitmapDrawable.java172 public float getScale() { in getScale() method in FastBitmapDrawable
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationViewFragment.java513 final int webH = (int) (mWebView.getContentHeight() * mWebView.getScale()); in calculateScrollYPercent()
1245 mWebView.getScale()); in onKey()
1372 int scale = (int) (mWebView.getScale() / mWebView.getInitialScale()); in onWebContentGeometryChange()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DPreviewFragment.java784 float wallpaperZoom = mFullResImageView.getScale(); in calculateCropRect()
835 destination, mFullResImageView.getScale(), calculateCropRect(), in setCurrentWallpaper()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragView.java246 li.getNormalizer().getScale(nDr, null, null, null)); in setItemInfo()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java617 Utilities.scaleRectAboutCenter(bounds, li.getNormalizer().getScale(drawable, null, in getOffsetForIconBounds()