Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DImageView.java100 private Matrix mDrawMatrix = null; field in ImageView
682 if (mDrawMatrix == null) { in getImageMatrix()
685 return mDrawMatrix; in getImageMatrix()
1044 mDrawMatrix = null; in configureBounds()
1053 mDrawMatrix = null; in configureBounds()
1055 mDrawMatrix = mMatrix; in configureBounds()
1059 mDrawMatrix = null; in configureBounds()
1062 mDrawMatrix = mMatrix; in configureBounds()
1063 mDrawMatrix.setTranslate((int) ((vwidth - dwidth) * 0.5f + 0.5f), in configureBounds()
1066 mDrawMatrix = mMatrix; in configureBounds()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DUserAvatarView.java47 private final Matrix mDrawMatrix = new Matrix(); field in UserAvatarView
162 mDrawMatrix.setScale(scale, scale); in configureBounds()
163 mDrawMatrix.postTranslate(dx, dy); in configureBounds()
177 canvas.concat(mDrawMatrix); in onDraw()
188 canvas.concat(mDrawMatrix); in onDraw()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java101 private Matrix mDrawMatrix; field in PhotoView
664 final Matrix matrix = new Matrix(mDrawMatrix); in getCroppedPhoto()
713 if (mDrawMatrix != null) { in onDraw()
714 canvas.concat(mDrawMatrix); in onDraw()
729 if (mDrawMatrix != null) { in onDraw()
730 mDrawMatrix.mapRect(mTranslateRect); in onDraw()
739 if (mDrawMatrix != null) { in onDraw()
740 canvas.concat(mDrawMatrix); in onDraw()
854 mDrawMatrix = null; in configureBounds()
856 mDrawMatrix = mMatrix; in configureBounds()