Home
last modified time | relevance | path

Searched refs:mDisplayMatrixInverse (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageCrop.java52 private Matrix mDisplayMatrixInverse = null; field in ImageCrop
110 if (mDisplayMatrix == null || mDisplayMatrixInverse == null) { in onTouchEvent()
116 mDisplayMatrixInverse.mapPoints(touchPoint); in onTouchEvent()
158 mDisplayMatrixInverse = null; in clearDisplay()
267 if (mDisplayCropMatrix == null || mDisplayMatrix == null || mDisplayMatrixInverse == null) { in onDraw()
276 mDisplayMatrixInverse = new Matrix(); in onDraw()
277 mDisplayMatrixInverse.reset(); in onDraw()
278 if (!mDisplayCropMatrix.invert(mDisplayMatrixInverse)) { in onDraw()
280 mDisplayMatrixInverse = null; in onDraw()
284 mCropObj.setMinInnerSideSize(mDisplayMatrixInverse.mapRadius(mMinSideSize)); in onDraw()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropView.java57 private Matrix mDisplayMatrixInverse = null; field in CropView
143 if (mDisplayMatrix == null || mDisplayMatrixInverse == null) { in onTouchEvent()
149 mDisplayMatrixInverse.mapPoints(touchPoint); in onTouchEvent()
199 mDisplayMatrixInverse = null; in clearDisplay()
310 if (mDisplayMatrix == null || mDisplayMatrixInverse == null) { in onDraw()
319 mDisplayMatrixInverse = new Matrix(); in onDraw()
320 mDisplayMatrixInverse.reset(); in onDraw()
321 if (!mDisplayMatrix.invert(mDisplayMatrixInverse)) { in onDraw()
323 mDisplayMatrixInverse = null; in onDraw()
327 mCropObj.setMinInnerSideSize(mDisplayMatrixInverse.mapRadius(mMinSideSize)); in onDraw()
[all …]