Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/ui/
DOrientedBitmapDrawable.java35 private final ExifInterface.OrientationParams mOrientationParams; field in OrientedBitmapDrawable
53 mOrientationParams = ExifInterface.getOrientationParams(orientation); in OrientedBitmapDrawable()
60 if (mOrientationParams.invertDimensions) { in getIntrinsicWidth()
68 if (mOrientationParams.invertDimensions) { in getIntrinsicHeight()
87 if (mOrientationParams.invertDimensions) { in draw()
89 matrix.setRotate(mOrientationParams.rotation, mCenterX, mCenterY); in draw()
99 canvas.scale(mOrientationParams.scaleX, mOrientationParams.scaleY, mCenterX, mCenterY); in draw()
100 canvas.rotate(mOrientationParams.rotation, mCenterX, mCenterY); in draw()
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java396 private final ExifInterface.OrientationParams mOrientationParams; field in ImageUtils.ImageResizer
444 mOrientationParams = ExifInterface.getOrientationParams(orientation); in ImageResizer()
715 if (mScaleFactor > 1.0 || mOrientationParams.rotation != 0) { in recodeImage()
717 mMatrix.postRotate(mOrientationParams.rotation); in recodeImage()
718 mMatrix.postScale(mOrientationParams.scaleX / mScaleFactor, in recodeImage()
719 mOrientationParams.scaleY / mScaleFactor); in recodeImage()