Home
last modified time | relevance | path

Searched refs:WallpaperInfo (Results 1 – 25 of 64) sorted by relevance

123

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DLiveWallpaperInfo.java55 public class LiveWallpaperInfo extends WallpaperInfo {
69 protected android.app.WallpaperInfo mInfo;
79 public LiveWallpaperInfo(android.app.WallpaperInfo info) { in LiveWallpaperInfo()
87 public LiveWallpaperInfo(android.app.WallpaperInfo info, boolean visibleTitle) { in LiveWallpaperInfo()
93 mInfo = in.readParcelable(android.app.WallpaperInfo.class.getClassLoader()); in LiveWallpaperInfo()
101 public static List<WallpaperInfo> getAll(Context context, in getAll()
104 List<WallpaperInfo> wallpaperInfos = new ArrayList<>(); in getAll()
109 android.app.WallpaperInfo wallpaperInfo; in getAll()
111 wallpaperInfo = new android.app.WallpaperInfo(context, resolveInfo); in getAll()
135 public static List<WallpaperInfo> getFromSpecifiedPackage( in getFromSpecifiedPackage()
[all …]
DLiveWallpaperCategory.java31 public LiveWallpaperCategory(String title, String collectionId, List<WallpaperInfo> wallpapers, in LiveWallpaperCategory()
58 for (WallpaperInfo wallpaper : getMutableWallpapers()) { in containsThirdParty()
59 android.app.WallpaperInfo wallpaperComponent = wallpaper.getWallpaperComponent(); in containsThirdParty()
72 final private List<WallpaperInfo> mCategoryWallpapers;
76 public FetchLiveWallpapersTask(Context context, List<WallpaperInfo> wallpapers, in FetchLiveWallpapersTask()
86 List<WallpaperInfo> liveWallpapers = LiveWallpaperInfo.getAll(mContext, in doInBackground()
DWallpaperMetadata.java18 import android.app.WallpaperInfo;
35 private final android.app.WallpaperInfo mWallpaperComponent;
43 android.app.WallpaperInfo wallpaperComponent) { in WallpaperMetadata()
103 public WallpaperInfo getWallpaperComponent() { in getWallpaperComponent()
DWallpaperCategory.java32 private final List<WallpaperInfo> mWallpapers;
36 public WallpaperCategory(String title, String collectionId, List<WallpaperInfo> wallpapers, in WallpaperCategory()
42 List<WallpaperInfo> wallpapers, int priority) { in WallpaperCategory()
73 protected List<WallpaperInfo> getMutableWallpapers() { in getMutableWallpapers()
DPartnerWallpaperInfo.java37 public class PartnerWallpaperInfo extends WallpaperInfo {
71 public static List<WallpaperInfo> getAll(Context ctx) { in getAll()
74 List<WallpaperInfo> wallpaperInfos = new ArrayList<>(); in getAll()
98 WallpaperInfo wallpaperInfo = new PartnerWallpaperInfo(thumbRes, fullRes); in getAll()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPersister.java44 import com.android.wallpaper.model.WallpaperInfo;
72 private WallpaperInfo mWallpaperInfoInPreview;
87 public void setIndividualWallpaper(final WallpaperInfo wallpaper, Asset asset, in setIndividualWallpaper()
140 public void setIndividualWallpaperWithPosition(Activity activity, WallpaperInfo wallpaper, in setIndividualWallpaperWithPosition()
203 private void setIndividualWallpaperWithCenterPosition(WallpaperInfo wallpaper, Asset asset, in setIndividualWallpaperWithCenterPosition()
245 private void setIndividualWallpaperWithCenterCropPosition(WallpaperInfo wallpaper, Asset asset, in setIndividualWallpaperWithCenterCropPosition()
272 private void setIndividualWallpaper(WallpaperInfo wallpaper, Bitmap croppedBitmap, in setIndividualWallpaper()
292 private void setIndividualWallpaperFill(WallpaperInfo wallpaper, Bitmap croppedBitmap, in setIndividualWallpaperFill()
312 private void setIndividualWallpaperStretch(WallpaperInfo wallpaper, Bitmap croppedBitmap, in setIndividualWallpaperStretch()
328 private void setIndividualWallpaper(WallpaperInfo wallpaper, InputStream inputStream, in setIndividualWallpaper()
[all …]
DLiveWallpaperInfoFactory.java18 import com.android.wallpaper.model.WallpaperInfo;
25 WallpaperInfo getLiveWallpaperInfo(android.app.WallpaperInfo info); in getLiveWallpaperInfo()
27 WallpaperInfo getLiveWallpaperInfo(android.app.WallpaperInfo info, boolean shouldShowTitle); in getLiveWallpaperInfo()
DDefaultLiveWallpaperInfoFactory.java19 import com.android.wallpaper.model.WallpaperInfo;
28 public WallpaperInfo getLiveWallpaperInfo(android.app.WallpaperInfo info) { in getLiveWallpaperInfo()
33 public WallpaperInfo getLiveWallpaperInfo(android.app.WallpaperInfo info, in getLiveWallpaperInfo()
DDefaultCategoryProvider.java35 import com.android.wallpaper.model.WallpaperInfo;
150 List<WallpaperInfo> liveWallpapers = LiveWallpaperInfo.getAll( in doInBackground()
200 protected List<WallpaperInfo> getPrivateDeviceWallpapers() { in getPrivateDeviceWallpapers()
208 List<WallpaperInfo> onDeviceWallpapers = new ArrayList<>(); in getOnDeviceCategory()
217 List<WallpaperInfo> partnerWallpaperInfos = PartnerWallpaperInfo.getAll(mAppContext); in getOnDeviceCategory()
220 List<WallpaperInfo> legacyPartnerWallpaperInfos = LegacyPartnerWallpaperInfo.getAll( in getOnDeviceCategory()
224 List<WallpaperInfo> privateWallpapers = getPrivateDeviceWallpapers(); in getOnDeviceCategory()
237 List<WallpaperInfo> onDeviceWallpapers = new ArrayList<>(); in getDesktopOnDeviceCategory()
DWallpaperPersister.java26 import com.android.wallpaper.model.WallpaperInfo;
55 void setIndividualWallpaper(WallpaperInfo wallpaper, Asset asset, @Nullable Rect cropRect, in setIndividualWallpaper()
68 void setIndividualWallpaperWithPosition(Activity activity, WallpaperInfo wallpaper, in setIndividualWallpaperWithPosition()
118 void setWallpaperInfoInPreview(WallpaperInfo wallpaper); in setWallpaperInfoInPreview()
131 void onSuccess(WallpaperInfo wallpaperInfo); in onSuccess()
DDefaultCurrentWallpaperInfoFactory.java24 import com.android.wallpaper.model.WallpaperInfo;
38 private WallpaperInfo mHomeWallpaper;
40 private WallpaperInfo mLockWallpaper;
69 WallpaperInfo homeWallpaper; in createCurrentWallpaperInfos()
83 WallpaperInfo lockWallpaper = null; in createCurrentWallpaperInfos()
DCurrentWallpaperInfoFactory.java18 import com.android.wallpaper.model.WallpaperInfo;
45 … void onWallpaperInfoCreated(WallpaperInfo homeWallpaper, @Nullable WallpaperInfo lockWallpaper, in onWallpaperInfoCreated()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DLiveWallpaperThumbAsset.java49 protected final android.app.WallpaperInfo mInfo;
54 public LiveWallpaperThumbAsset(Context context, android.app.WallpaperInfo info) { in LiveWallpaperThumbAsset()
59 public LiveWallpaperThumbAsset(Context context, android.app.WallpaperInfo info, Uri uri) { in LiveWallpaperThumbAsset()
144 private android.app.WallpaperInfo mInfo;
146 public LiveWallpaperThumbKey(android.app.WallpaperInfo info) { in LiveWallpaperThumbKey()
194 private android.app.WallpaperInfo mInfo;
197 public LoadThumbnailTask(Context context, android.app.WallpaperInfo info, in LoadThumbnailTask()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCategoryFragment.java69 import com.android.wallpaper.model.WallpaperInfo;
116 void showViewOnlyPreview(WallpaperInfo wallpaperInfo); in showViewOnlyPreview()
320 public void updateThumbnail(WallpaperInfo wallpaperInfo) { in updateThumbnail()
465 private Intent getWallpaperIntent(android.app.WallpaperInfo info) { in getWallpaperIntent()
482 final WallpaperInfo homeWallpaper, in refreshCurrentWallpapers()
483 @Nullable final WallpaperInfo lockWallpaper, in refreshCurrentWallpapers()
514 private void setUpLiveWallpaperPreview(WallpaperInfo homeWallpaper, ImageView previewView, in setUpLiveWallpaperPreview()
651 private void updateThumbnail(WallpaperInfo wallpaperInfo, ImageView thumbnailView, in updateThumbnail()
752 void bindWallpapers(WallpaperInfo homeWallpaper, WallpaperInfo lockWallpaper, in bindWallpapers()
767 private WallpaperInfo mWallpaperInfo;
[all …]
DLivePreviewFragment.java21 import android.app.WallpaperInfo;
101 android.app.WallpaperInfo info = mWallpaper.getWallpaperComponent(); in onCreate()
105 android.app.WallpaperInfo currentWallpaper = in onCreate()
131 protected String getSettingsActivity(WallpaperInfo info) { in getSettingsActivity()
135 protected Intent getWallpaperIntent(WallpaperInfo info) { in getWallpaperIntent()
319 protected Uri getSettingsSliceUri(android.app.WallpaperInfo info) { in getSettingsSliceUri()
346 public void onSuccess(com.android.wallpaper.model.WallpaperInfo wallpaperInfo) { in setCurrentWallpaper()
364 protected String getDeleteAction(android.app.WallpaperInfo wallpaperInfo, in getDeleteAction()
365 @Nullable android.app.WallpaperInfo currentInfo) { in getDeleteAction()
DViewOnlyPreviewActivity.java24 import com.android.wallpaper.model.WallpaperInfo;
38 public static Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent()
58 WallpaperInfo wallpaper = intent.getParcelableExtra(EXTRA_WALLPAPER_INFO); in onAttachedToWindow()
76 public Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent()
DTopLevelPickerActivity.java57 import com.android.wallpaper.model.WallpaperInfo;
150 private WallpaperInfo mPendingSetWallpaperInfo;
515 final WallpaperInfo homeWallpaper, in refreshCurrentWallpapers()
516 @Nullable final WallpaperInfo lockWallpaper, in refreshCurrentWallpapers()
780 public void showViewOnlyPreview(WallpaperInfo wallpaperInfo) { in showViewOnlyPreview()
880 private void setCustomPhotoWallpaper(final WallpaperInfo wallpaper) { in setCustomPhotoWallpaper()
889 public void onSuccess(WallpaperInfo wallpaperInfo) { in setCustomPhotoWallpaper()
936 private void initializeWallpaperPositionOptionClickHandlers(final WallpaperInfo wallpaperInfo) { in initializeWallpaperPositionOptionClickHandlers()
950 public void onSuccess(WallpaperInfo wallpaperInfo) { in initializeWallpaperPositionOptionClickHandlers()
984 public void onSuccess(WallpaperInfo wallpaperInfo) { in initializeWallpaperPositionOptionClickHandlers()
[all …]
DPreviewActivity.java28 import com.android.wallpaper.model.WallpaperInfo;
40 public static Intent newIntent(Context packageContext, WallpaperInfo wallpaperInfo) { in newIntent()
60 WallpaperInfo wallpaper = intent.getParcelableExtra(EXTRA_WALLPAPER_INFO); in onCreate()
79 public Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerFragment.java63 import com.android.wallpaper.model.WallpaperInfo;
138 void updateThumbnail(WallpaperInfo wallpaperInfo); in updateThumbnail()
152 List<WallpaperInfo> mWallpapers;
231 @Nullable private WallpaperInfo mSelectedWallpaperInfo;
232 private WallpaperInfo mAppliedWallpaperInfo;
354 public void onWallpapersReceived(List<WallpaperInfo> wallpapers) { in fetchWallpapers()
355 for (WallpaperInfo wallpaper : wallpapers) { in fetchWallpapers()
792 public void onSuccess(WallpaperInfo wallpaperInfo) {
838 private void updateThumbnail(WallpaperInfo selectedWallpaperInfo) { in updateThumbnail()
851 private void onWallpaperSelected(@Nullable WallpaperInfo newSelectedWallpaperInfo) { in onWallpaperSelected()
[all …]
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/
DTestWallpaperInfo.java26 import com.android.wallpaper.model.WallpaperInfo;
34 public class TestWallpaperInfo extends WallpaperInfo {
52 private android.app.WallpaperInfo mWallpaperComponent;
177 public android.app.WallpaperInfo getWallpaperComponent() { in getWallpaperComponent()
181 public void setWallpaperComponent(android.app.WallpaperInfo wallpaperComponent) { in setWallpaperComponent()
DTestCurrentWallpaperInfoFactory.java21 import com.android.wallpaper.model.WallpaperInfo;
45 WallpaperInfo homeWallpaper = createTestWallpaperInfo( in createCurrentWallpaperInfos()
50 WallpaperInfo lockWallpaper = null; in createCurrentWallpaperInfos()
62 private static WallpaperInfo createTestWallpaperInfo(List<String> attributions, in createTestWallpaperInfo()
DTestWallpaperPersister.java27 import com.android.wallpaper.model.WallpaperInfo;
57 private WallpaperInfo mWallpaperInfo;
74 public void setIndividualWallpaper(final WallpaperInfo wallpaperInfo, Asset asset, in setIndividualWallpaper()
98 public void setIndividualWallpaperWithPosition(Activity activity, WallpaperInfo wallpaper, in setIndividualWallpaperWithPosition()
205 public void setWallpaperInfoInPreview(WallpaperInfo wallpaperInfo) { in setWallpaperInfoInPreview()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
DLiveWallpaperInfo.java3 import android.app.WallpaperInfo;
36 private WallpaperInfo mInfo;
38 public LiveWallpaperInfo(Drawable thumbnail, WallpaperInfo info, Intent intent) { in LiveWallpaperInfo()
100 WallpaperInfo info = null; in doInBackground()
102 info = new WallpaperInfo(mContext, resolveInfo); in doInBackground()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperChange.java19 import android.app.WallpaperInfo;
56 WallpaperInfo currentWallpaper = WallpaperManager.getInstance(this).getWallpaperInfo(); in init()
69 WallpaperInfo info; in init()
71 info = new WallpaperInfo(this, ri); in init()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeBundle.java55 import com.android.wallpaper.model.WallpaperInfo;
86 @Nullable private final WallpaperInfo mWallpaperInfo;
88 private WallpaperInfo mOverrideWallpaper;
93 boolean isDefault, @Nullable WallpaperInfo wallpaperInfo, in ThemeBundle()
167 public void setOverrideThemeWallpaper(WallpaperInfo homeWallpaper) { in setOverrideThemeWallpaper()
190 public WallpaperInfo getWallpaperInfo() { in getWallpaperInfo()
327 private WallpaperInfo mWallpaperInfo;

123