/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPersister.java | 38 import com.android.wallpaper.asset.Asset; 39 import com.android.wallpaper.asset.Asset.BitmapReceiver; 40 import com.android.wallpaper.asset.Asset.DimensionsReceiver; 41 import com.android.wallpaper.asset.BitmapUtils; 42 import com.android.wallpaper.asset.StreamableAsset; 43 import com.android.wallpaper.asset.StreamableAsset.StreamReceiver; 90 public void setIndividualWallpaper(final WallpaperInfo wallpaper, Asset asset, in setIndividualWallpaper() argument 95 if (cropRect == null && asset instanceof StreamableAsset) { in setIndividualWallpaper() 96 ((StreamableAsset) asset).fetchInputStream(new StreamReceiver() { in setIndividualWallpaper() 115 asset.decodeBitmap(screenSize.x, screenSize.y, new BitmapReceiver() { in setIndividualWallpaper() [all …]
|
D | DefaultBitmapCropper.java | 23 import com.android.wallpaper.asset.Asset; 24 import com.android.wallpaper.asset.Asset.BitmapReceiver; 34 public void cropAndScaleBitmap(Asset asset, float scale, Rect cropRect, in cropAndScaleBitmap() argument 43 asset.decodeBitmapRegion(scaledCropRect, cropRect.width(), cropRect.height(), isRtl, in cropAndScaleBitmap()
|
D | BitmapCropper.java | 23 import com.android.wallpaper.asset.Asset; 34 void cropAndScaleBitmap(Asset asset, float scale, Rect cropRect, boolean adjustForRtl, in cropAndScaleBitmap() argument
|
D | WallpaperPersister.java | 25 import com.android.wallpaper.asset.Asset; 55 void setIndividualWallpaper(WallpaperInfo wallpaper, Asset asset, @Nullable Rect cropRect, in setIndividualWallpaper() argument
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | WallpaperColorsLoader.java | 30 import com.android.wallpaper.asset.Asset; 31 import com.android.wallpaper.asset.BitmapCachingAsset; 49 public static void getWallpaperColors(Context context, @NonNull Asset asset, in getWallpaperColors() argument 51 WallpaperColors cached = sCache.get(asset); in getWallpaperColors() 59 new BitmapCachingAsset(context, asset).decodeBitmap(screen.y / 2, screen.x / 2, bitmap -> { in getWallpaperColors() 67 sCache.put(asset, colors); in getWallpaperColors()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | WallpaperGlideModule.java | 1 package com.android.wallpaper.asset; 6 import com.android.wallpaper.asset.CurrentWallpaperAssetVNLoader.CurrentWallpaperAssetVNLoaderFacto… 7 import com.android.wallpaper.asset.LiveWallpaperThumbAssetLoader.LiveWallpaperThumbAssetLoaderFacto… 8 import com.android.wallpaper.asset.ResourceAssetLoader.ResourceAssetLoaderFactory; 9 import com.android.wallpaper.asset.SystemStaticAssetLoader.SystemStaticAssetLoaderFactory; 10 import com.android.wallpaper.asset.WallpaperModelLoader.WallpaperModelLoaderFactory;
|
D | BitmapCachingAsset.java | 16 package com.android.wallpaper.asset; 47 CacheKey(Asset asset, int width, int height) { in CacheKey() argument 48 this(asset, width, height, false, null); in CacheKey() 51 CacheKey(Asset asset, int width, int height, boolean rtl, Rect rect) { in CacheKey() argument 52 mAsset = asset; in CacheKey()
|
D | CurrentWallpaperAssetVNLoader.java | 16 package com.android.wallpaper.asset; 76 public CurrentWallpaperAssetVNDataFetcher(CurrentWallpaperAssetVN asset) { in CurrentWallpaperAssetVNDataFetcher() argument 77 mAsset = asset; in CurrentWallpaperAssetVNDataFetcher()
|
D | SystemStaticAssetLoader.java | 16 package com.android.wallpaper.asset; 20 import com.android.wallpaper.asset.ResourceAssetLoader.ResourceAssetFetcher;
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/ |
D | MyPhotosViewHolder.java | 33 import com.android.wallpaper.asset.Asset; 34 import com.android.wallpaper.asset.ContentUriAsset; 88 Asset asset = null; in fetchThumbnail() local 91 asset = new ContentUriAsset(context, Uri.parse( in fetchThumbnail() 97 return asset; in fetchThumbnail() 163 void onAssetRetrieved(@Nullable Asset asset); in onAssetRetrieved() argument
|
D | DesktopRotationHolder.java | 25 import com.android.wallpaper.asset.Asset; 26 import com.android.wallpaper.asset.Asset.DrawableLoadedListener;
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | ImageCategory.java | 28 import com.android.wallpaper.asset.Asset; 29 import com.android.wallpaper.asset.ContentUriAsset; 85 Asset asset = null; in getThumbnail() local 88 asset = new ContentUriAsset(context, in getThumbnail() 94 return asset; in getThumbnail()
|
D | ImageWallpaperInfo.java | 28 import com.android.wallpaper.asset.Asset; 29 import com.android.wallpaper.asset.ContentUriAsset; 113 ContentUriAsset asset = (ContentUriAsset) getAsset(context); in getAttributions() local 115 if (!asset.isJpeg()) { in getAttributions() 123 String attribute = asset.readExifTag(tag); in getAttributions()
|
D | DefaultWallpaperInfo.java | 25 import com.android.wallpaper.asset.Asset; 26 import com.android.wallpaper.asset.BuiltInWallpaperAsset; 27 import com.android.wallpaper.asset.ResourceAsset;
|
D | CurrentWallpaperInfoVN.java | 27 import com.android.wallpaper.asset.Asset; 28 import com.android.wallpaper.asset.BuiltInWallpaperAsset; 29 import com.android.wallpaper.asset.CurrentWallpaperAssetVN;
|
D | SystemStaticWallpaperInfo.java | 29 import com.android.wallpaper.asset.Asset; 30 import com.android.wallpaper.asset.ResourceAsset; 31 import com.android.wallpaper.asset.SystemStaticAsset;
|
D | PartnerWallpaperInfo.java | 25 import com.android.wallpaper.asset.Asset; 26 import com.android.wallpaper.asset.ResourceAsset;
|
D | WallpaperCategory.java | 27 import com.android.wallpaper.asset.Asset; 28 import com.android.wallpaper.asset.ResourceAsset;
|
D | AppResourceWallpaperInfo.java | 28 import com.android.wallpaper.asset.Asset; 29 import com.android.wallpaper.asset.ResourceAsset;
|
D | LegacyPartnerWallpaperInfo.java | 27 import com.android.wallpaper.asset.Asset; 28 import com.android.wallpaper.asset.FileAsset;
|
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/ |
D | TestBitmapCropper.java | 21 import com.android.wallpaper.asset.Asset; 22 import com.android.wallpaper.asset.Asset.BitmapReceiver; 37 public void cropAndScaleBitmap(Asset asset, float scale, Rect cropRect, boolean adjustRtl, in cropAndScaleBitmap() argument 50 asset.decodeBitmapRegion(scaledCropRect, cropRect.width(), cropRect.height(), adjustRtl, in cropAndScaleBitmap()
|
D | TestWallpaperPersister.java | 25 import com.android.wallpaper.asset.Asset; 26 import com.android.wallpaper.asset.Asset.BitmapReceiver; 74 public void setIndividualWallpaper(final WallpaperInfo wallpaperInfo, Asset asset, in setIndividualWallpaper() argument 77 asset.decodeBitmap(50, 50, bitmap -> { in setIndividualWallpaper()
|
/packages/apps/ThemePicker/src/com/google/android/apps/wallpaper/asset/ |
D | ThemeBundleThumbAsset.java | 16 package com.google.android.apps.wallpaper.asset; 29 import com.android.wallpaper.asset.Asset;
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/ |
D | ThemeBundledWallpaperInfo.java | 29 import com.android.wallpaper.asset.Asset; 30 import com.android.wallpaper.asset.ResourceAsset;
|
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/ |
D | PreviewActivityTest.java | 417 TestAsset asset = (TestAsset) mMockWallpaper.getAsset(activity); in testSetsDefaultWallpaperZoomAndScroll() local 418 Point wallpaperSize = new Point(asset.getBitmap().getWidth(), in testSetsDefaultWallpaperZoomAndScroll() 419 asset.getBitmap().getHeight()); in testSetsDefaultWallpaperZoomAndScroll()
|