Home
last modified time | relevance | path

Searched refs:getScale (Results 1 – 14 of 14) 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/WallpaperPicker2/tests/src/com/android/wallpaper/picker/
DPreviewActivityTest.java356 assertTrue(mWallpaperPersister.getScale() < 0); in testClickSetWallpaper_CropsAndScalesWallpaper()
365 mActivityRule.getActivity().findViewById(R.id.full_res_image)).getScale(); in testClickSetWallpaper_CropsAndScalesWallpaper()
366 assertEquals(mWallpaperPersister.getScale(), zoom, FLOAT_ERROR_MARGIN); in testClickSetWallpaper_CropsAndScalesWallpaper()
426 assertEquals(expectedWallpaperZoom, fullResImageView.getScale(), FLOAT_ERROR_MARGIN); in testSetsDefaultWallpaperZoomAndScroll()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperConnection.java323 float[] values = getScale(parentSurface); in mirrorAndReparent()
335 private float[] getScale(SurfaceView parentSurface) { in getScale() method in WallpaperConnection
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DImagePreviewFragment.java348 bitmapCropper.cropAndScaleBitmap(mWallpaperAsset, mFullResImageView.getScale(), in recalculateColors()
460 float wallpaperZoom = mFullResImageView.getScale(); in calculateCropRect()
482 destination, mFullResImageView.getScale(), calculateCropRect(getContext()), in setCurrentWallpaper()
/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/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/EmergencyInfo/src/com/android/emergency/
DCircleFramedDrawable.java107 public float getScale() { in getScale() method in CircleFramedDrawable
/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/WallpaperPicker2/tests/src/com/android/wallpaper/testing/
DTestWallpaperPersister.java215 public float getScale() { in getScale() method in TestWallpaperPersister
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragView.java251 li.getNormalizer().getScale(nDr, null, null, null)); in setItemInfo()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java413 Utilities.scaleRectAboutCenter(bounds, li.getNormalizer().getScale(drawable, null, in getOffsetForIconBounds()