Searched refs:cropped (Results 1 - 3 of 3) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropObject.java265 RectF cropped = mBoundedRect.getInner();
267 float left = Math.abs(x - cropped.left);
268 float right = Math.abs(x - cropped.right);
269 float top = Math.abs(y - cropped.top);
270 float bottom = Math.abs(y - cropped.bottom);
274 if ((left <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top)
275 && ((y - mTouchTolerance) <= cropped.bottom) && (left < right)) {
278 else if ((right <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top)
279 && ((y - mTouchTolerance) <= cropped.bottom)) {
284 if ((top <= mTouchTolerance) && ((x + mTouchTolerance) >= cropped
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DBitmapUtil.java72 * @return an exactly-sized decoded Bitmap that is center-cropped.
103 * so the entire cropped bitmap will fit inside the src. May return the input bitmap if no
165 final Bitmap cropped = Bitmap.createBitmap(src, srcX, srcY, srcCroppedW, srcCroppedH, m,
172 cropped.getWidth(), cropped.getHeight());
173 if (DEBUG && (w != cropped.getWidth() || h != cropped.getHeight())) {
177 return cropped;
/packages/apps/Settings/src/com/android/settings/users/
H A DEditUserPhotoController.java255 private void onPhotoCropped(final Uri data, final boolean cropped) { argument
259 if (cropped) {

Completed in 5867 milliseconds