Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DImageView.java145 private Matrix mDrawMatrix = null; field in ImageView
900 if (mDrawMatrix == null) {
903 return mDrawMatrix;
1290 mDrawMatrix = null; in configureBounds()
1299 mDrawMatrix = null; in configureBounds()
1301 mDrawMatrix = mMatrix; in configureBounds()
1305 mDrawMatrix = null; in configureBounds()
1308 mDrawMatrix = mMatrix; in configureBounds()
1309 mDrawMatrix.setTranslate(Math.round((vwidth - dwidth) * 0.5f), in configureBounds()
1312 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()