Home
last modified time | relevance | path

Searched refs:getAsset (Results 1 – 16 of 16) sorted by relevance

/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/
DPreviewActivityTest.java161 Bitmap srcBitmap = ((TestAsset) mMockWallpaper.getAsset(context)).getBitmap(); in testClickSetWallpaper_Success_HomeScreen()
189 Bitmap srcBitmap = ((TestAsset) mMockWallpaper.getAsset(context)).getBitmap(); in testClickSetWallpaper_Success_LockScreen()
219 Bitmap srcBitmap = ((TestAsset) mMockWallpaper.getAsset(context)).getBitmap(); in testClickSetWallpaper_Success_BothHomeAndLockScreen()
264 Bitmap srcBitmap = ((TestAsset) mMockWallpaper.getAsset(context)).getBitmap(); in testClickSetWallpaper_Fails_HomeScreen_ShowsErrorDialog()
303 Bitmap srcBitmap = ((TestAsset) mMockWallpaper.getAsset(context)).getBitmap(); in testClickSetWallpaper_Fails_LockScreen_ShowsErrorDialog()
344 Bitmap srcBitmap = ((TestAsset) mMockWallpaper.getAsset(context)).getBitmap(); in testClickSetWallpaper_Fails_BothHomeAndLock_ShowsErrorDialog()
417 TestAsset asset = (TestAsset) mMockWallpaper.getAsset(activity); in testSetsDefaultWallpaperZoomAndScroll()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DImageWallpaperInfo.java113 ContentUriAsset asset = (ContentUriAsset) getAsset(context); in getAttributions()
145 public Asset getAsset(Context context) { in getAsset() method in ImageWallpaperInfo
162 return getAsset(context); in getThumbAsset()
DDefaultWallpaperInfo.java62 public Asset getAsset(Context context) { in getAsset() method in DefaultWallpaperInfo
82 return getAsset(context); in getThumbAsset()
DWallpaperInfo.java147 public abstract Asset getAsset(Context context); in getAsset() method in WallpaperInfo
163 return getAsset(context); in getDesktopAsset()
DCurrentWallpaperInfoVN.java103 public Asset getAsset(Context context) { in getAsset() method in CurrentWallpaperInfoVN
112 return getAsset(context); in getThumbAsset()
DSystemStaticWallpaperInfo.java200 public Asset getAsset(Context context) { in getAsset() method in SystemStaticWallpaperInfo
211 return getAsset(context); in getThumbAsset()
DPartnerWallpaperInfo.java126 public Asset getAsset(Context context) { in getAsset() method in PartnerWallpaperInfo
DAppResourceWallpaperInfo.java122 public Asset getAsset(Context context) { in getAsset() method in AppResourceWallpaperInfo
DLegacyPartnerWallpaperInfo.java144 public Asset getAsset(Context context) { in getAsset() method in LegacyPartnerWallpaperInfo
DLiveWallpaperInfo.java385 public Asset getAsset(Context context) { in getAsset() method in LiveWallpaperInfo
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeBundledWallpaperInfo.java124 public Asset getAsset(Context context) { in getAsset() method in ThemeBundledWallpaperInfo
135 return getAsset(context); in getThumbAsset()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/
DTestWallpaperInfo.java145 public Asset getAsset(Context context) { in getAsset() method in TestWallpaperInfo
DTestWallpaperPersister.java101 wallpaper.getAsset(activity).decodeBitmap(50, 50, new BitmapReceiver() { in setIndividualWallpaperWithPosition()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DWallpaperSetter.java82 Asset wallpaperAsset = wallpaper.getAsset(containerActivity.getApplicationContext()); in setCurrentWallpaper()
DDefaultWallpaperPersister.java149 Asset asset = wallpaper.getAsset(activity); in setIndividualWallpaperWithPosition()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DImagePreviewFragment.java124 mWallpaperAsset = mWallpaper.getAsset(requireContext().getApplicationContext()); in onCreate()