Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DImagePersistWorker.java120 final int clippedWidth; in writeClippedBitmap() local
125 clippedWidth = (int) (height * heightPercent); in writeClippedBitmap()
130 clippedWidth = width; in writeClippedBitmap()
135 int offsetLeft = (bitmap.getWidth() - clippedWidth) / 2; in writeClippedBitmap()
136 width = clippedWidth; in writeClippedBitmap()
140 Bitmap.createBitmap(bitmap, offsetLeft, offsetTop, clippedWidth, clippedHeight); in writeClippedBitmap()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DImagePersistTask.java97 final int clippedWidth; in doInBackgroundTimed() local
102 clippedWidth = (int) (mHeight * mHeightPercent); in doInBackgroundTimed()
107 clippedWidth = mWidth; in doInBackgroundTimed()
111 final int offsetLeft = (bitmap.getWidth() - clippedWidth) / 2; in doInBackgroundTimed()
112 mWidth = clippedWidth; in doInBackgroundTimed()
114 clippedBitmap = Bitmap.createBitmap(clippedWidth, clippedHeight, in doInBackgroundTimed()