Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DImageView.java107 private Matrix mDrawMatrix = null; field in ImageView
769 if (mDrawMatrix == null) { in getImageMatrix()
772 return mDrawMatrix; in getImageMatrix()
1152 mDrawMatrix = null; in configureBounds()
1161 mDrawMatrix = null; in configureBounds()
1163 mDrawMatrix = mMatrix; in configureBounds()
1167 mDrawMatrix = null; in configureBounds()
1170 mDrawMatrix = mMatrix; in configureBounds()
1171 mDrawMatrix.setTranslate(Math.round((vwidth - dwidth) * 0.5f), in configureBounds()
1174 mDrawMatrix = mMatrix; in configureBounds()
[all …]
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java103 private Matrix mDrawMatrix; field in PhotoView
635 final Matrix matrix = new Matrix(mDrawMatrix); in getCroppedPhoto()
684 if (mDrawMatrix != null) { in onDraw()
685 canvas.concat(mDrawMatrix); in onDraw()
700 if (mDrawMatrix != null) { in onDraw()
701 mDrawMatrix.mapRect(mTranslateRect); in onDraw()
710 if (mDrawMatrix != null) { in onDraw()
711 canvas.concat(mDrawMatrix); in onDraw()
825 mDrawMatrix = null; in configureBounds()
827 mDrawMatrix = mMatrix; in configureBounds()