Home
last modified time | relevance | path

Searched refs:Asset (Results 1 – 25 of 48) sorted by relevance

12

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DMyPhotosViewHolder.java33 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/
DBitmapCachingAsset.java40 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/
DDefaultWallpaperInfo.java23 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()
DCurrentWallpaperInfo.java25 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()
DWallpaperCategory.java27 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()
DWallpaperInfo.java35 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()
DImageCategory.java28 import com.android.wallpaper.asset.Asset;
66 public Asset getThumbnail(Context context) { in getThumbnail()
85 Asset asset = null; in getThumbnail()
DPlaceholderCategory.java21 import com.android.wallpaper.asset.Asset;
44 public Asset getThumbnail(Context context) { in getThumbnail()
DPartnerWallpaperInfo.java25 import com.android.wallpaper.asset.Asset;
126 public Asset getAsset(Context context) { in getAsset()
135 public Asset getThumbAsset(Context context) { in getThumbAsset()
DImageWallpaperInfo.java28 import com.android.wallpaper.asset.Asset;
145 public Asset getAsset(Context context) { in getAsset()
161 public Asset getThumbAsset(Context context) { in getThumbAsset()
DAppResourceWallpaperInfo.java28 import com.android.wallpaper.asset.Asset;
122 public Asset getAsset(Context context) { in getAsset()
131 public Asset getThumbAsset(Context context) { in getThumbAsset()
DLegacyPartnerWallpaperInfo.java27 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/
DStaticWallpaperPreviewViewModel.kt24 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>()
DFullResWallpaperViewModel.kt20 import com.android.wallpaper.asset.Asset
26 val asset: Asset,
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DTestBitmapCropper.java21 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()
DWallpaperModelUtils.kt26 import com.android.wallpaper.asset.Asset
61 asset: Asset = DEFAULT_ASSET, in getStaticWallpaperModel()
107 asset: Asset = DEFAULT_ASSET, in getLiveWallpaperModel()
DTestStaticWallpaperInfo.java24 import com.android.wallpaper.asset.Asset;
146 public Asset getAsset(Context context) { in getAsset()
154 public Asset getThumbAsset(Context context) { in getThumbAsset()
DTestLiveWallpaperInfo.java24 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/
DDefaultBitmapCropper.java24 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()
DBitmapCropper.java23 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/
DWallpaperColorsLoader.java30 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/
DTileViewModel.kt19 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/
DStaticWallpaperData.kt21 import com.android.wallpaper.asset.Asset
25 val asset: Asset,
DCommonWallpaperData.kt19 import com.android.wallpaper.asset.Asset
27 val thumbAsset: Asset,
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/data/category/
DCollectionCategoryData.kt19 import com.android.wallpaper.asset.Asset
25 val thumbAsset: Asset,

12