/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/ |
D | MyPhotosViewHolder.java | 33 import com.android.wallpaper.asset.Asset; 74 new AsyncTask<Void, Void, Asset>() { in fetchThumbnail() 76 protected Asset doInBackground(Void... params) { in fetchThumbnail() 89 Asset asset = null; in fetchThumbnail() 102 protected void onPostExecute(Asset thumbnail) { in fetchThumbnail() 149 public void onAssetRetrieved(@Nullable Asset thumbnail) { in drawThumbnail() 164 void onAssetRetrieved(@Nullable Asset asset); in onAssetRetrieved()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | BitmapCachingAsset.java | 40 public class BitmapCachingAsset extends Asset { 43 final Asset mAsset; 51 CacheKey(Asset asset, int width, int height) { in CacheKey() 55 CacheKey(Asset asset, int width, int height, boolean rtl, Rect rect) { in CacheKey() 87 private final Asset mOriginalAsset; 89 public BitmapCachingAsset(Context context, Asset originalAsset) { in BitmapCachingAsset()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | DefaultWallpaperInfo.java | 23 import com.android.wallpaper.asset.Asset; 45 private Asset mAsset; 59 public Asset getAsset(Context context) { in getAsset() 67 public Asset getThumbAsset(Context context) { in getThumbAsset()
|
D | CurrentWallpaperInfo.java | 25 import com.android.wallpaper.asset.Asset; 54 private Asset mAsset; 97 public Asset getAsset(Context context) { in getAsset() 105 public Asset getThumbAsset(Context context) { in getThumbAsset() 122 private Asset createCurrentWallpaperAssetVN(Context context) { in createCurrentWallpaperAssetVN()
|
D | WallpaperCategory.java | 27 import com.android.wallpaper.asset.Asset; 43 private Asset mThumbAsset; 70 public WallpaperCategory(String title, String collectionId, Asset thumbAsset, in WallpaperCategory() 96 public Asset getThumbAsset() { in getThumbAsset() 135 public Asset getThumbnail(Context context) { in getThumbnail()
|
D | WallpaperInfo.java | 35 import com.android.wallpaper.asset.Asset; 145 public abstract Asset getAsset(Context context); in getAsset() 151 public abstract Asset getThumbAsset(Context context); in getThumbAsset() 160 public Asset getDesktopAsset(Context context) { in getDesktopAsset() 234 Asset thumbAsset = getThumbAsset(appContext); in computeColorInfo()
|
D | ImageCategory.java | 28 import com.android.wallpaper.asset.Asset; 66 public Asset getThumbnail(Context context) { in getThumbnail() 85 Asset asset = null; in getThumbnail()
|
D | PlaceholderCategory.java | 21 import com.android.wallpaper.asset.Asset; 44 public Asset getThumbnail(Context context) { in getThumbnail()
|
D | PartnerWallpaperInfo.java | 25 import com.android.wallpaper.asset.Asset; 126 public Asset getAsset(Context context) { in getAsset() 135 public Asset getThumbAsset(Context context) { in getThumbAsset()
|
D | ImageWallpaperInfo.java | 28 import com.android.wallpaper.asset.Asset; 145 public Asset getAsset(Context context) { in getAsset() 161 public Asset getThumbAsset(Context context) { in getThumbAsset()
|
D | AppResourceWallpaperInfo.java | 28 import com.android.wallpaper.asset.Asset; 122 public Asset getAsset(Context context) { in getAsset() 131 public Asset getThumbAsset(Context context) { in getThumbAsset()
|
D | LegacyPartnerWallpaperInfo.java | 27 import com.android.wallpaper.asset.Asset; 144 public Asset getAsset(Context context) { in getAsset() 154 public Asset getThumbAsset(Context context) { in getThumbAsset()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/viewmodel/ |
D | StaticWallpaperPreviewViewModel.kt | 24 import com.android.wallpaper.asset.Asset in <lambda>() 100 private val assetDetail: Flow<Triple<Point, Bitmap?, Asset>?> = in <lambda>() 191 private suspend fun Asset.decodeRawDimensions(): Point? = in <lambda>() 193 val callback = Asset.DimensionsReceiver { k.resumeWith(Result.success(it)) } in <lambda>() 198 private suspend fun Asset.decodeBitmap(dimensions: Point): Bitmap? = in <lambda>() 200 val callback = Asset.BitmapReceiver { k.resumeWith(Result.success(it)) } in <lambda>()
|
D | FullResWallpaperViewModel.kt | 20 import com.android.wallpaper.asset.Asset 26 val asset: Asset,
|
/packages/apps/WallpaperPicker2/tests/common/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()
|
D | WallpaperModelUtils.kt | 26 import com.android.wallpaper.asset.Asset 61 asset: Asset = DEFAULT_ASSET, in getStaticWallpaperModel() 107 asset: Asset = DEFAULT_ASSET, in getLiveWallpaperModel()
|
D | TestStaticWallpaperInfo.java | 24 import com.android.wallpaper.asset.Asset; 146 public Asset getAsset(Context context) { in getAsset() 154 public Asset getThumbAsset(Context context) { in getThumbAsset()
|
D | TestLiveWallpaperInfo.java | 24 import com.android.wallpaper.asset.Asset; 150 public Asset getAsset(Context context) { in getAsset() 158 public Asset getThumbAsset(Context context) { in getThumbAsset()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultBitmapCropper.java | 24 import com.android.wallpaper.asset.Asset; 25 import com.android.wallpaper.asset.Asset.BitmapReceiver; 39 public void cropAndScaleBitmap(Asset asset, float scale, Rect cropRect, 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()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | WallpaperColorsLoader.java | 30 import com.android.wallpaper.asset.Asset; 46 private static LruCache<Asset, WallpaperColors> sCache = new LruCache<>(/* maxSize= */ 6); 49 public static void getWallpaperColors(Context context, @NonNull Asset asset, in getWallpaperColors()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/category/ui/viewmodel/ |
D | TileViewModel.kt | 19 import com.android.wallpaper.asset.Asset 22 class TileViewModel(val thumbAsset: Asset?, val text: String, val onClicked: (() -> Unit)? = null)
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/data/ |
D | StaticWallpaperData.kt | 21 import com.android.wallpaper.asset.Asset 25 val asset: Asset,
|
D | CommonWallpaperData.kt | 19 import com.android.wallpaper.asset.Asset 27 val thumbAsset: Asset,
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/data/category/ |
D | CollectionCategoryData.kt | 19 import com.android.wallpaper.asset.Asset 25 val thumbAsset: Asset,
|