Home
last modified time | relevance | path

Searched refs:dimensions (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DCropRectRotator.java34 public static Rect rotateCropRectForExifOrientation(Point dimensions, Rect srcRect, in rotateCropRectForExifOrientation() argument
41 return new Rect(srcRect.top, dimensions.x - srcRect.right, srcRect.bottom, in rotateCropRectForExifOrientation()
42 dimensions.x - srcRect.left); in rotateCropRectForExifOrientation()
44 return new Rect(dimensions.x - srcRect.right, dimensions.y - srcRect.bottom, in rotateCropRectForExifOrientation()
45 dimensions.x - srcRect.left, dimensions.y - srcRect.top); in rotateCropRectForExifOrientation()
47 … return new Rect(dimensions.y - srcRect.bottom, srcRect.left, dimensions.y - srcRect.top, in rotateCropRectForExifOrientation()
DBitmapUtils.java93 public static float calculateHorizontalAlignment(Point dimensions, Rect rect) { in calculateHorizontalAlignment() argument
95 int paddingRight = dimensions.x - rect.right; in calculateHorizontalAlignment()
110 public static float calculateVerticalAlignment(Point dimensions, Rect rect) { in calculateVerticalAlignment() argument
112 int paddingBottom = dimensions.y - rect.bottom; in calculateVerticalAlignment()
DBuiltInWallpaperAsset.java180 Point dimensions = calculateRawDimensions(); in doInBackground() local
182 float horizontalCenter = BitmapUtils.calculateHorizontalAlignment(dimensions, mRect); in doInBackground()
183 float verticalCenter = BitmapUtils.calculateVerticalAlignment(dimensions, mRect); in doInBackground()
218 protected void onPostExecute(Point dimensions) { in onPostExecute() argument
219 mReceiver.onDimensionsDecoded(dimensions); in onPostExecute()
DContentUriAsset.java125 public void onDimensionsDecoded(@Nullable Point dimensions) { in decodeBitmapRegion()
126 if (dimensions == null) { in decodeBitmapRegion()
133 decodeBitmap(dimensions.x, dimensions.y, new BitmapReceiver() { in decodeBitmapRegion()
DCurrentWallpaperAssetV16.java136 protected void onPostExecute(Point dimensions) { in onPostExecute() argument
137 mReceiver.onDimensionsDecoded(dimensions); in onPostExecute()
DStreamableAsset.java392 protected void onPostExecute(Point dimensions) { in onPostExecute() argument
393 mReceiver.onDimensionsDecoded(dimensions); in onPostExecute()
DAsset.java264 void onDimensionsDecoded(@Nullable Point dimensions); in onDimensionsDecoded() argument
/packages/apps/UnifiedEmail/src/com/android/mail/photomanager/
DLetterTileProvider.java83 public Bitmap getLetterTile(final Dimensions dimensions, final String displayName, in getLetterTile() argument
89 final Bitmap bitmap = getBitmap(dimensions, false /* getDefault */); in getLetterTile()
92 + "address %s.", dimensions.width, dimensions.height, displayName, address); in getLetterTile()
105 dimensions.fontSize > 0 ? dimensions.fontSize : getFontSize(dimensions.scale)); in getLetterTile()
107 c.drawText(mFirstChar, 0, 1, 0 + dimensions.width / 2, in getLetterTile()
108 0 + dimensions.height / 2 + (mBounds.bottom - mBounds.top) / 2, mPaint); in getLetterTile()
110 c.drawBitmap(getBitmap(dimensions, true /* getDefault */), 0, 0, null); in getLetterTile()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPersister.java160 public void onDimensionsDecoded(@Nullable Point dimensions) { in setIndividualWallpaperWithPosition()
161 if (dimensions == null) { in setIndividualWallpaperWithPosition()
172 wallpaper, asset, dimensions, screenSize, callback); in setIndividualWallpaperWithPosition()
178 wallpaper, asset, dimensions, screenSize, callback); in setIndividualWallpaperWithPosition()
211 … Point dimensions, Point screenSize, SetWallpaperCallback callback) { in setIndividualWallpaperWithCenterPosition() argument
212 if (dimensions.x >= screenSize.x && dimensions.y >= screenSize.y) { in setIndividualWallpaperWithCenterPosition()
214 (dimensions.x - screenSize.x) / 2, in setIndividualWallpaperWithCenterPosition()
215 (dimensions.y - screenSize.y) / 2, in setIndividualWallpaperWithCenterPosition()
216 dimensions.x - ((dimensions.x - screenSize.x) / 2), in setIndividualWallpaperWithCenterPosition()
217 dimensions.y - ((dimensions.y - screenSize.y) / 2)); in setIndividualWallpaperWithCenterPosition()
[all …]
/packages/apps/Camera2/src/com/android/camera/data/
DVideoDataFactory.java48 Size dimensions; in fromCursor() local
58 dimensions = new Size(profile.videoFrameWidth, profile.videoFrameHeight); in fromCursor()
61 dimensions = UNKNOWN_SIZE; in fromCursor()
64 dimensions = new Size(width, height); in fromCursor()
83 dimensions, in fromCursor()
DPhotoDataFactory.java46 Size dimensions; in fromCursor() local
54 dimensions = decodeBitmapDimensions(filePath); in fromCursor()
55 if (dimensions == null) { in fromCursor()
62 dimensions = new Size(width, height); in fromCursor()
80 dimensions, in fromCursor()
DFilmstripItemData.java56 Size dimensions, in FilmstripItemData() argument
67 mDimensions = dimensions; in FilmstripItemData()
261 public Builder withDimensions(Size dimensions) { in withDimensions() argument
262 mDimensions = dimensions; in withDimensions()
DVideoItemData.java33 Size dimensions, long sizeInBytes, int orientation, in VideoItemData() argument
35 super(contentId, title, mimeType, creationDate, lastModifiedDate, filePath, uri, dimensions, in VideoItemData()
DPlaceholderItem.java53 Size dimensions = new Size(width, height); in PlaceholderItem() local
71 dimensions, in PlaceholderItem()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortModel.java454 List<SortDimension> dimensions = new ArrayList<>(4); in createModel() local
458 dimensions.add(builder in createModel()
470 dimensions.add(builder in createModel()
480 dimensions.add(builder in createModel()
491 dimensions.add(builder in createModel()
501 dimensions.add(builder in createModel()
511 return new SortModel(dimensions); in createModel()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeManager.java133 dimensions -> {
136 if (dimensions != null && dimensions.y > 0) {
137 scale = (float) defaultCropSurfaceSize.y / dimensions.y;
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DActualKeyboardBuilder.java75 final int[] dimensions = new int[rows.size()]; in buildKeyboard() local
76 for (int rowIndex = 0; rowIndex < dimensions.length; rowIndex++) { in buildKeyboard()
77 dimensions[rowIndex] = rows.get(rowIndex).size(); in buildKeyboard()
/packages/apps/Launcher3/
Dbuild.gradle42 // The flavor dimensions for build variants (e.g. aospWithQuickstep, aospWithoutQuickstep)
43 // See: https://developer.android.com/studio/build/build-variants#flavor-dimensions
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DPreviewFragment.java315 public void onDimensionsDecoded(Point dimensions) { in onCreateView() argument
323 if (dimensions == null) { in onCreateView()
328 mRawWallpaperSize = dimensions; in onCreateView()
/packages/services/Car/evs/app/
Dconfig.json.readme21 "display" : { // This configures the dimensions of the surround view display
/packages/apps/Dialer/java/com/android/dialer/theme/
DREADME.md58 * Drawables, images, animations, dimensions, styles, ect. that can be (or are)
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageHeaderView.java876 final ImageCanvas.Dimensions dimensions = new ImageCanvas.Dimensions( in makeLetterTile() local
878 return mLetterTileProvider.getLetterTile(dimensions, displayName, senderAddress); in makeLetterTile()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationUtils.java1714 final Dimensions dimensions = new Dimensions(idealIconWidth, idealIconHeight, in getContactIcon() local
1718 .getLetterTile(dimensions, displayName, senderAddress); in getContactIcon()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz

12