Home
last modified time | relevance | path

Searched refs:cropped (Results 1 – 7 of 7) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperColorsExtractor.kt51 var cropped = wallpaperBitmap in extractWallpaperColors() variable
52 if (cropped.compress(Bitmap.CompressFormat.PNG, 100, tmpOut)) { in extractWallpaperColors()
56 cropped = BitmapFactory.decodeByteArray(outByteArray, 0, outByteArray.size) in extractWallpaperColors()
58 if (cropped.config == Bitmap.Config.HARDWARE) { in extractWallpaperColors()
59 cropped = cropped.copy(Bitmap.Config.ARGB_8888, false) in extractWallpaperColors()
62 val colors = WallpaperColors.fromBitmap(cropped) in extractWallpaperColors()
64 cropped.recycle() in extractWallpaperColors()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropObject.java265 RectF cropped = mBoundedRect.getInner(); in calculateSelectedEdge() local
267 float left = Math.abs(x - cropped.left); in calculateSelectedEdge()
268 float right = Math.abs(x - cropped.right); in calculateSelectedEdge()
269 float top = Math.abs(y - cropped.top); in calculateSelectedEdge()
270 float bottom = Math.abs(y - cropped.bottom); in calculateSelectedEdge()
274 if ((left <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top) in calculateSelectedEdge()
275 && ((y - mTouchTolerance) <= cropped.bottom) && (left < right)) { in calculateSelectedEdge()
278 else if ((right <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top) in calculateSelectedEdge()
279 && ((y - mTouchTolerance) <= cropped.bottom)) { in calculateSelectedEdge()
284 if ((top <= mTouchTolerance) && ((x + mTouchTolerance) >= cropped.left) in calculateSelectedEdge()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperPreviewBitmapTransformation.java71 Bitmap cropped; in transform() local
74 cropped = toTransform; in transform()
76 cropped = Bitmap.createBitmap(toTransform, cropSize.left, cropSize.top, in transform()
80 return BitmapProcessor.createLowResBitmap(cropped, cropped.getWidth(), cropped.getHeight()); in transform()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEditUserPhotoController.java305 private void onPhotoCropped(final Uri data, final boolean cropped) { in onPhotoCropped() argument
309 if (cropped) { in onPhotoCropped()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz