Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
DExportDialog.java55 Rect mOriginalBounds; field in ExportDialog
108 mOriginalBounds = MasterImage.getImage().getOriginalBounds(); in onCreateView()
110 mOriginalBounds = preset.finalGeometryRect(mOriginalBounds.width(), in onCreateView()
111 mOriginalBounds.height()); in onCreateView()
112 mRatio = mOriginalBounds.width() / (float) mOriginalBounds.height(); in onCreateView()
113 mWidthText.setText("" + mOriginalBounds.width()); in onCreateView()
114 mHeightText.setText("" + mOriginalBounds.height()); in onCreateView()
115 mExportWidth = mOriginalBounds.width(); in onCreateView()
116 mExportHeight = mOriginalBounds.height(); in onCreateView()
161 float scaleFactor = mExportWidth / (float) mOriginalBounds.width(); in onClick()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropActivity.java69 private RectF mOriginalBounds = null; field in CropActivity
204 mOriginalBounds = bounds; in doneLoadBitmap()
254 Rect mOriginalBounds; field in CropActivity.LoadBitmapTask
260 mOriginalBounds = new Rect(); in LoadBitmapTask()
268 mOriginalBounds, false); in doInBackground()
275 doneLoadBitmap(result, new RectF(mOriginalBounds), mOrientation); in onPostExecute()
312 photo, mOriginalBounds, in startFinishOutput()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DMasterImage.java76 private Rect mOriginalBounds; field in MasterImage
158 return mOriginalBounds; in getOriginalBounds()
162 mOriginalBounds = r; in setOriginalBounds()
559 float maxWidth = mOriginalBounds.width() / (float) w; in setImageShowSize()
560 float maxHeight = mOriginalBounds.height() / (float) h; in setImageShowSize()