Home
last modified time | relevance | path

Searched refs:mAsset (Results 1 – 12 of 12) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DDefaultWallpaperInfo.java48 private Asset mAsset; field in DefaultWallpaperInfo
63 if (mAsset == null) { in getAsset()
65 mAsset = new BuiltInWallpaperAsset(context); in getAsset()
68 mAsset = new ResourceAsset( in getAsset()
76 return mAsset; in getAsset()
DImageWallpaperInfo.java63 private ContentUriAsset mAsset; field in ImageWallpaperInfo
147 mAsset = new ContentUriAsset( in getAsset()
152 if (mAsset == null) { in getAsset()
153 mAsset = new ContentUriAsset(context, mUri); in getAsset()
157 return mAsset; in getAsset()
DPartnerWallpaperInfo.java52 private ResourceAsset mAsset; field in PartnerWallpaperInfo
127 if (mAsset == null) { in getAsset()
129 mAsset = new ResourceAsset(partnerRes, mFullRes); in getAsset()
131 return mAsset; in getAsset()
DCurrentWallpaperInfoVN.java54 private Asset mAsset; field in CurrentWallpaperInfoVN
107 if (mAsset == null) { in getAsset()
108 mAsset = createCurrentWallpaperAssetVN(context); in getAsset()
110 return mAsset; in getAsset()
DLegacyPartnerWallpaperInfo.java57 private FileAsset mAsset; field in LegacyPartnerWallpaperInfo
145 if (mAsset == null) { in getAsset()
148 mAsset = new FileAsset(fullSizeImage); in getAsset()
150 return mAsset; in getAsset()
DAppResourceWallpaperInfo.java57 private ResourceAsset mAsset; field in AppResourceWallpaperInfo
123 if (mAsset == null) { in getAsset()
125 mAsset = new ResourceAsset(res, mFullRes); in getAsset()
127 return mAsset; in getAsset()
DSystemStaticWallpaperInfo.java154 private ResourceAsset mAsset; field in SystemStaticWallpaperInfo
201 if (mAsset == null) { in getAsset()
203 mAsset = new SystemStaticAsset(res, mDrawableResId, mWallpaperId); in getAsset()
206 return mAsset; in getAsset()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DBitmapCachingAsset.java41 final Asset mAsset; field in BitmapCachingAsset.CacheKey
52 mAsset = asset; in CacheKey()
61 return Objects.hash(mAsset, mWidth, mHeight); in hashCode()
67 && (Objects.equals(this.mAsset, ((CacheKey) obj).mAsset)) in equals()
DCurrentWallpaperAssetVNLoader.java74 private CurrentWallpaperAssetVN mAsset; field in CurrentWallpaperAssetVNLoader.CurrentWallpaperAssetVNDataFetcher
77 mAsset = asset; in CurrentWallpaperAssetVNDataFetcher()
82 ParcelFileDescriptor pfd = mAsset.getWallpaperPfd(); in loadData()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/
DTestStaticWallpaperInfo.java49 private TestAsset mAsset; field in TestStaticWallpaperInfo
146 if (mAsset == null) { in getAsset()
147 mAsset = new TestAsset(mPixelColor, mIsAssetCorrupt); in getAsset()
149 return mAsset; in getAsset()
DTestLiveWallpaperInfo.java48 private TestAsset mAsset; field in TestLiveWallpaperInfo
151 if (mAsset == null) { in getAsset()
152 mAsset = new TestAsset(mPixelColor, mIsAssetCorrupt); in getAsset()
154 return mAsset; in getAsset()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeBundledWallpaperInfo.java66 private Asset mAsset; field in ThemeBundledWallpaperInfo
125 if (mAsset == null) { in getAsset()
127 mAsset = new ResourceAsset(res, mDrawableResId); in getAsset()
130 return mAsset; in getAsset()