Home
last modified time | relevance | path

Searched refs:dimensions (Results 1 – 25 of 26) 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.java387 protected void onPostExecute(Point dimensions) { in onPostExecute() argument
388 mReceiver.onDimensionsDecoded(dimensions); in onPostExecute()
DAsset.java262 void onDimensionsDecoded(@Nullable Point dimensions); in onDimensionsDecoded() argument
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPersister.java149 public void onDimensionsDecoded(@Nullable Point dimensions) { in setIndividualWallpaperWithPosition()
150 if (dimensions == null) { in setIndividualWallpaperWithPosition()
162 wallpaper, asset, dimensions, screenSize, callback); in setIndividualWallpaperWithPosition()
168 wallpaper, asset, dimensions, screenSize, callback); in setIndividualWallpaperWithPosition()
204 Point dimensions, Point screenSize, SetWallpaperCallback callback) { in setIndividualWallpaperWithCenterPosition() argument
205 if (dimensions.x >= screenSize.x && dimensions.y >= screenSize.y) { in setIndividualWallpaperWithCenterPosition()
207 (dimensions.x - screenSize.x) / 2, in setIndividualWallpaperWithCenterPosition()
208 (dimensions.y - screenSize.y) / 2, in setIndividualWallpaperWithCenterPosition()
209 dimensions.x - ((dimensions.x - screenSize.x) / 2), in setIndividualWallpaperWithCenterPosition()
210 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/WallpaperPicker2/src/com/android/wallpaper/picker/
DImagePreviewFragment.java119 mWallpaperAsset.decodeRawDimensions(getActivity(), dimensions -> { in onCreateView()
126 if (dimensions == null) { in onCreateView()
131 mRawWallpaperSize = dimensions; in onCreateView()
/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/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/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...

12