Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DImageView.java88 private Matrix mDrawMatrix = null; field in ImageView
573 if (mDrawMatrix == null) { in getImageMatrix()
576 return mDrawMatrix; in getImageMatrix()
931 mDrawMatrix = null; in configureBounds()
940 mDrawMatrix = null; in configureBounds()
942 mDrawMatrix = mMatrix; in configureBounds()
946 mDrawMatrix = null; in configureBounds()
949 mDrawMatrix = mMatrix; in configureBounds()
950 mDrawMatrix.setTranslate((int) ((vwidth - dwidth) * 0.5f + 0.5f), in configureBounds()
953 mDrawMatrix = mMatrix; in configureBounds()
[all …]
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java92 private Matrix mDrawMatrix; field in PhotoView
564 final Matrix matrix = new Matrix(mDrawMatrix); in getCroppedPhoto()
613 if (mDrawMatrix != null) { in onDraw()
614 canvas.concat(mDrawMatrix); in onDraw()
629 if (mDrawMatrix != null) { in onDraw()
630 mDrawMatrix.mapRect(mTranslateRect); in onDraw()
639 if (mDrawMatrix != null) { in onDraw()
640 canvas.concat(mDrawMatrix); in onDraw()
735 mDrawMatrix = null; in configureBounds()
737 mDrawMatrix = mMatrix; in configureBounds()