Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DImageView.java143 private Matrix mDrawMatrix = null; field in ImageView
898 if (mDrawMatrix == null) {
901 return mDrawMatrix;
1288 mDrawMatrix = null; in configureBounds()
1297 mDrawMatrix = null; in configureBounds()
1299 mDrawMatrix = mMatrix; in configureBounds()
1303 mDrawMatrix = null; in configureBounds()
1306 mDrawMatrix = mMatrix; in configureBounds()
1307 mDrawMatrix.setTranslate(Math.round((vwidth - dwidth) * 0.5f), in configureBounds()
1310 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()