Home
last modified time | relevance | path

Searched refs:getScale (Results 1 – 7 of 7) 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/VideoEditor/src/com/android/videoeditor/widgets/
DImageViewTouchBase.java246 public float getScale() { in getScale() method in ImageViewTouchBase
362 float oldScale = getScale(); in zoomTo()
408 float oldScale = getScale(); in zoomToOffset()
430 if (getScale() < mMaxZoom && mBitmapDisplayed != null) { in zoomIn()
452 if (getScale() > MIN_ZOOM_SCALE && mBitmapDisplayed != null) { in zoomOut()
/packages/apps/VideoEditor/src/com/android/videoeditor/
DKenBurnsActivity.java86 if (mImageView.getScale() > 1F) { in onScroll()
102 if (mImageView.getScale() > 2F) { in onDoubleTap()
125 final float newAbsoluteScale = relativeScaleFactor * mImageView.getScale(); in onScale()
485 final float scale = mImageView.getScale(); in saveBitmapRectangle()
512 final float scale = mImageView.getScale(); in saveBitmapRectangle()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DCropView.java172 setImageViewPosition(a.getCenterX(), a.getCenterY(), a.getScale()); in render()
373 public float getScale() { in getScale() method in CropView.AnimationController
452 float scale = mAnimation.getScale(); in moveEdges()
/packages/apps/Browser/src/com/android/browser/
DController.java2066 float overviewScale = scaledWidth / (view.getScale() * contentWidth); in createScreenshot()