Home
last modified time | relevance | path

Searched refs:ResourceAsset (Results 1 – 9 of 9) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DResourceAssetLoader.java33 public class ResourceAssetLoader implements ModelLoader<ResourceAsset, InputStream> {
36 public boolean handles(ResourceAsset resourceAsset) { in handles()
42 public LoadData<InputStream> buildLoadData(ResourceAsset resourceAsset, int unusedWidth, in buildLoadData()
51 implements ModelLoaderFactory<ResourceAsset, InputStream> {
56 public ModelLoader<ResourceAsset, InputStream> build(MultiModelLoaderFactory multiFactory) { in build()
71 private ResourceAsset mResourceAsset;
73 public ResourceAssetFetcher(ResourceAsset resourceAsset) { in ResourceAssetFetcher()
DResourceAsset.java34 public class ResourceAsset extends StreamableAsset { class
46 public ResourceAsset(Resources res, int resId, RequestOptions requestOptions) { in ResourceAsset() method in ResourceAsset
56 public ResourceAsset(Resources res, int resId) { in ResourceAsset() method in ResourceAsset
65 .load(ResourceAsset.this) in loadDrawable()
79 if (object instanceof ResourceAsset) { in equals()
80 ResourceAsset otherAsset = (ResourceAsset) object; in equals()
DNexusStaticAsset.java25 public final class NexusStaticAsset extends ResourceAsset {
48 private static class PackageResourceKey extends ResourceAsset.PackageResourceKey {
DWallpaperGlideModule.java53 registry.append(ResourceAsset.class, InputStream.class, new ResourceAssetLoaderFactory()); in registerComponents()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DPartnerWallpaperInfo.java26 import com.android.wallpaper.asset.ResourceAsset;
52 private ResourceAsset mAsset;
53 private ResourceAsset mThumbAsset;
128 mAsset = new ResourceAsset(partnerRes, mFullRes); in getAsset()
137 mThumbAsset = new ResourceAsset(partnerRes, mThumbRes); in getThumbAsset()
DAppResourceWallpaperInfo.java29 import com.android.wallpaper.asset.ResourceAsset;
57 private ResourceAsset mAsset;
58 private ResourceAsset mThumbAsset;
124 mAsset = new ResourceAsset(res, mFullRes); in getAsset()
133 mThumbAsset = new ResourceAsset(res, mThumbRes); in getThumbAsset()
DDefaultWallpaperInfo.java27 import com.android.wallpaper.asset.ResourceAsset;
62 mAsset = new ResourceAsset( in getAsset()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeBundledWallpaperInfo.java30 import com.android.wallpaper.asset.ResourceAsset;
126 mAsset = new ResourceAsset(res, mDrawableResId); in getAsset()
DDefaultThemeProvider.java52 import com.android.wallpaper.asset.ResourceAsset;
481 private ResourceAsset getDrawableResourceAsset(String prefix, String themeName) { in getDrawableResourceAsset()
484 return drawableResId == 0 ? null : new ResourceAsset(mStubApkResources, drawableResId, in getDrawableResourceAsset()