Home
last modified time | relevance | path

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

12

/packages/apps/ThemePicker/src/com/android/customization/model/clock/
DClockface.java25 import com.android.wallpaper.asset.Asset;
31 private final Asset mPreview;
32 private final Asset mThumbnail;
34 private Clockface(String title, String id, Asset preview, Asset thumbnail) { in Clockface()
66 public Asset getPreviewAsset() { in getPreviewAsset()
77 private Asset mPreview;
78 private Asset mThumbnail;
94 public Builder setPreview(Asset preview) { in setPreview()
99 public Builder setThumbnail(Asset thumbnail) { in setThumbnail()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DMyPhotosViewHolder.java33 import com.android.wallpaper.asset.Asset;
73 new AsyncTask<Void, Void, Asset>() { in fetchThumbnail()
75 protected Asset doInBackground(Void... params) { in fetchThumbnail()
88 Asset asset = null; in fetchThumbnail()
101 protected void onPostExecute(Asset thumbnail) { in fetchThumbnail()
148 public void onAssetRetrieved(@Nullable Asset thumbnail) { in drawThumbnail()
163 void onAssetRetrieved(@Nullable Asset asset); in onAssetRetrieved()
DDesktopRotationHolder.java25 import com.android.wallpaper.asset.Asset;
26 import com.android.wallpaper.asset.Asset.DrawableLoadedListener;
110 Asset newThumbnailAsset, DrawableLoadedListener drawableLoadedListener) { in updateThumbnail()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DBitmapCachingAsset.java38 public class BitmapCachingAsset extends Asset {
41 final Asset mAsset;
47 CacheKey(Asset asset, int width, int height) { in CacheKey()
51 CacheKey(Asset asset, int width, int height, boolean rtl, Rect rect) { in CacheKey()
83 private final Asset mOriginalAsset;
85 public BitmapCachingAsset(Context context, Asset originalAsset) { in BitmapCachingAsset()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DWallpaperInfo.java33 import com.android.wallpaper.asset.Asset;
147 public abstract Asset getAsset(Context context); in getAsset()
153 public abstract Asset getThumbAsset(Context context); in getThumbAsset()
162 public Asset getDesktopAsset(Context context) { in getDesktopAsset()
224 Asset thumbAsset = getThumbAsset(appContext); in computePlaceholderColor()
DCurrentWallpaperInfoVN.java27 import com.android.wallpaper.asset.Asset;
57 private Asset mAsset;
103 public Asset getAsset(Context context) { in getAsset()
111 public Asset getThumbAsset(Context context) { in getThumbAsset()
142 private Asset createCurrentWallpaperAssetVN(Context context) { in createCurrentWallpaperAssetVN()
DDefaultWallpaperInfo.java25 import com.android.wallpaper.asset.Asset;
48 private Asset mAsset;
62 public Asset getAsset(Context context) { in getAsset()
80 public Asset getThumbAsset(Context context) { in getThumbAsset()
DWallpaperCategory.java27 import com.android.wallpaper.asset.Asset;
43 private Asset mThumbAsset;
59 public WallpaperCategory(String title, String collectionId, Asset thumbAsset, in WallpaperCategory()
114 public Asset getThumbnail(Context context) { in getThumbnail()
DImageCategory.java28 import com.android.wallpaper.asset.Asset;
66 public Asset getThumbnail(Context context) { in getThumbnail()
85 Asset asset = null; 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()
DPlaceholderCategory.java21 import com.android.wallpaper.asset.Asset;
44 public Asset getThumbnail(Context context) { in getThumbnail()
DDesktopCustomCategory.java21 import com.android.wallpaper.asset.Asset;
37 public Asset getThumbnail(Context context) { in getThumbnail()
DCategory.java25 import com.android.wallpaper.asset.Asset;
136 public abstract Asset getThumbnail(Context context); in getThumbnail()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeBundledWallpaperInfo.java29 import com.android.wallpaper.asset.Asset;
66 private Asset mAsset;
124 public Asset getAsset(Context context) { in getAsset()
134 public Asset getThumbAsset(Context context) { in getThumbAsset()
/packages/apps/WallpaperPicker2/tests/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()
DTestWallpaperInfo.java24 import com.android.wallpaper.asset.Asset;
145 public Asset getAsset(Context context) { in getAsset()
153 public Asset getThumbAsset(Context context) { in getThumbAsset()
DTestWallpaperPersister.java25 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()
/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/module/
DDefaultBitmapCropper.java23 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()
DDefaultWallpaperPersister.java38 import com.android.wallpaper.asset.Asset;
39 import com.android.wallpaper.asset.Asset.BitmapReceiver;
40 import com.android.wallpaper.asset.Asset.DimensionsReceiver;
90 public void setIndividualWallpaper(final WallpaperInfo wallpaper, Asset asset, in setIndividualWallpaper()
149 Asset asset = wallpaper.getAsset(activity); in setIndividualWallpaperWithPosition()
206 private void setIndividualWallpaperWithCenterPosition(WallpaperInfo wallpaper, Asset asset, in setIndividualWallpaperWithCenterPosition()
244 private void setIndividualWallpaperWithCenterCropPosition(WallpaperInfo wallpaper, Asset asset, in setIndividualWallpaperWithCenterCropPosition()
DBitmapCropper.java23 import com.android.wallpaper.asset.Asset;
34 void cropAndScaleBitmap(Asset asset, float scale, Rect cropRect, boolean adjustForRtl, in cropAndScaleBitmap()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/
DClockFragment.java43 import com.android.wallpaper.asset.Asset;
176 private final Asset mPreviewAsset;
178 public ClockfacePreviewPage(String title, Activity activity, Asset previewAsset) { in ClockfacePreviewPage()

12