Home
last modified time | relevance | path

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

123

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DLiveWallpaperInfo.java58 public class LiveWallpaperInfo extends WallpaperInfo {
120 android.app.WallpaperInfo wallpaperInfo; in fromAttributeSet()
122 wallpaperInfo = new android.app.WallpaperInfo(context, resolveInfos.get(0)); in fromAttributeSet()
131 protected android.app.WallpaperInfo mInfo;
142 public LiveWallpaperInfo(android.app.WallpaperInfo info) { in LiveWallpaperInfo()
150 public LiveWallpaperInfo(android.app.WallpaperInfo info, boolean visibleTitle, in LiveWallpaperInfo()
159 mInfo = in.readParcelable(android.app.WallpaperInfo.class.getClassLoader()); in LiveWallpaperInfo()
168 public static List<WallpaperInfo> getAll(Context context, in getAll()
171 List<WallpaperInfo> wallpaperInfos = new ArrayList<>(); in getAll()
176 android.app.WallpaperInfo wallpaperInfo; in getAll()
[all …]
DWallpaperCategory.java42 private final List<WallpaperInfo> mWallpapers;
46 public WallpaperCategory(String title, String collectionId, List<WallpaperInfo> wallpapers, in WallpaperCategory()
52 List<WallpaperInfo> wallpapers, int priority) { in WallpaperCategory()
60 List<WallpaperInfo> wallpapers, int priority) { in WallpaperCategory()
94 public WallpaperInfo getSingleWallpaper() { in getSingleWallpaper()
102 protected List<WallpaperInfo> getMutableWallpapers() { in getMutableWallpapers()
109 public List<WallpaperInfo> getUnmodifiableWallpapers() { in getUnmodifiableWallpapers()
138 private final List<WallpaperInfo> mWallpapers = new ArrayList<>();
160 public Builder addWallpaper(WallpaperInfo info) { in addWallpaper()
DThirdPartyLiveWallpaperCategory.java35 List<WallpaperInfo> wallpapers, in ThirdPartyLiveWallpaperCategory()
62 for (WallpaperInfo wallpaper : getMutableWallpapers()) { in containsThirdParty()
63 android.app.WallpaperInfo wallpaperComponent = wallpaper.getWallpaperComponent(); in containsThirdParty()
76 private final List<WallpaperInfo> mCategoryWallpapers;
80 FetchLiveWallpapersTask(Context context, List<WallpaperInfo> wallpapers, in FetchLiveWallpapersTask()
90 List<WallpaperInfo> liveWallpapers = LiveWallpaperInfo.getAll(mContext, in doInBackground()
DWallpaperInfo.java44 public abstract class WallpaperInfo implements Parcelable { class
50 public WallpaperInfo() {} in WallpaperInfo() method in WallpaperInfo
52 protected WallpaperInfo(Parcel in) { in WallpaperInfo() method in WallpaperInfo
170 public android.app.WallpaperInfo getWallpaperComponent() { in getWallpaperComponent()
220 synchronized (WallpaperInfo.this) { in computePlaceholderColor()
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()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPersister.java46 import com.android.wallpaper.model.WallpaperInfo;
75 private WallpaperInfo mWallpaperInfoInPreview;
90 public void setIndividualWallpaper(final WallpaperInfo wallpaper, Asset asset, in setIndividualWallpaper()
143 public void setIndividualWallpaperWithPosition(Activity activity, WallpaperInfo wallpaper, in setIndividualWallpaperWithPosition()
206 private void setIndividualWallpaperWithCenterPosition(WallpaperInfo wallpaper, Asset asset, in setIndividualWallpaperWithCenterPosition()
244 private void setIndividualWallpaperWithCenterCropPosition(WallpaperInfo wallpaper, Asset asset, in setIndividualWallpaperWithCenterCropPosition()
271 private void setIndividualWallpaper(WallpaperInfo wallpaper, Bitmap croppedBitmap, in setIndividualWallpaper()
291 private void setIndividualWallpaperFill(WallpaperInfo wallpaper, Bitmap croppedBitmap, in setIndividualWallpaperFill()
311 private void setIndividualWallpaperStretch(WallpaperInfo wallpaper, Bitmap croppedBitmap, in setIndividualWallpaperStretch()
327 private void setIndividualWallpaper(WallpaperInfo wallpaper, InputStream inputStream, in setIndividualWallpaper()
[all …]
DLiveWallpaperInfoFactory.java21 import com.android.wallpaper.model.WallpaperInfo;
31 WallpaperInfo getLiveWallpaperInfo(android.app.WallpaperInfo info); in getLiveWallpaperInfo()
36 WallpaperInfo getLiveWallpaperInfo(android.app.WallpaperInfo info, boolean shouldShowTitle, in getLiveWallpaperInfo()
DDefaultLiveWallpaperInfoFactory.java21 import com.android.wallpaper.model.WallpaperInfo;
30 public WallpaperInfo getLiveWallpaperInfo(android.app.WallpaperInfo info) { in getLiveWallpaperInfo()
35 public WallpaperInfo getLiveWallpaperInfo(android.app.WallpaperInfo info, in getLiveWallpaperInfo()
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;
70 WallpaperInfo homeWallpaper; in createCurrentWallpaperInfos()
84 WallpaperInfo lockWallpaper = null; in createCurrentWallpaperInfos()
DDefaultCategoryProvider.java44 import com.android.wallpaper.model.WallpaperInfo;
214 List<WallpaperInfo> liveWallpapers = LiveWallpaperInfo.getAll( in doInBackground()
278 protected List<WallpaperInfo> getPrivateDeviceWallpapers() { in getPrivateDeviceWallpapers()
317 WallpaperInfo wallpaper = null; in getSystemCategories()
356 List<WallpaperInfo> onDeviceWallpapers = new ArrayList<>(); in getOnDeviceCategory()
363 List<WallpaperInfo> partnerWallpaperInfos = PartnerWallpaperInfo.getAll(mAppContext); in getOnDeviceCategory()
366 List<WallpaperInfo> legacyPartnerWallpaperInfos = LegacyPartnerWallpaperInfo.getAll( in getOnDeviceCategory()
370 List<WallpaperInfo> privateWallpapers = getPrivateDeviceWallpapers(); in getOnDeviceCategory()
383 List<WallpaperInfo> onDeviceWallpapers = new ArrayList<>(); in getDesktopOnDeviceCategory()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerFragment.java65 import com.android.wallpaper.model.WallpaperInfo;
145 void updateThumbnail(WallpaperInfo wallpaperInfo); in updateThumbnail()
219 List<WallpaperInfo> mWallpapers;
254 @Nullable WallpaperInfo mSelectedWallpaperInfo;
302 private WallpaperInfo mAppliedWallpaperInfo;
451 public void onWallpapersReceived(List<WallpaperInfo> wallpapers) { in fetchWallpapers()
454 for (WallpaperInfo wallpaper : wallpapers) { in fetchWallpapers()
958 public void onSuccess(WallpaperInfo wallpaperInfo) {
1006 private void updateThumbnail(WallpaperInfo selectedWallpaperInfo) { in updateThumbnail()
1029 void onWallpaperSelected(@Nullable WallpaperInfo newSelectedWallpaperInfo, in onWallpaperSelected()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DViewOnlyPreviewActivity.java27 import com.android.wallpaper.model.WallpaperInfo;
40 public static Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent()
45 protected static Intent newIntent(Context context, WallpaperInfo wallpaper, in newIntent()
62 WallpaperInfo wallpaper = intent.getParcelableExtra(EXTRA_WALLPAPER_INFO); in onCreate()
95 public Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent()
DPreviewActivity.java27 import com.android.wallpaper.model.WallpaperInfo;
41 public static Intent newIntent(Context packageContext, WallpaperInfo wallpaperInfo) { in newIntent()
59 WallpaperInfo wallpaper = intent.getParcelableExtra(EXTRA_WALLPAPER_INFO); in onCreate()
89 public Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent()
DLivePreviewFragment.java31 import android.app.WallpaperInfo;
125 android.app.WallpaperInfo info = mWallpaper.getWallpaperComponent(); in onCreate()
150 protected String getSettingsActivity(WallpaperInfo info) { in getSettingsActivity()
154 protected Intent getWallpaperIntent(WallpaperInfo info) { in getWallpaperIntent()
308 com.android.wallpaper.model.WallpaperInfo homeWallpaper) { in setUpLiveWallpaperPreview()
432 protected Uri getSettingsSliceUri(android.app.WallpaperInfo info) { in getSettingsSliceUri()
449 public void onSuccess(com.android.wallpaper.model.WallpaperInfo wallpaperInfo) { in setCurrentWallpaper()
461 protected String getDeleteAction(android.app.WallpaperInfo wallpaperInfo) { in getDeleteAction()
462 android.app.WallpaperInfo currentInfo = in getDeleteAction()
DCategoryFragment.java51 import com.android.wallpaper.model.WallpaperInfo;
102 void showViewOnlyPreview(WallpaperInfo wallpaperInfo, boolean isViewAsHome); in showViewOnlyPreview()
139 private WallpaperInfo mHomePreviewWallpaperInfo;
141 private WallpaperInfo mLockPreviewWallpaperInfo;
444 public void updateThumbnail(WallpaperInfo wallpaperInfo) { in updateThumbnail()
582 private Intent getWallpaperIntent(android.app.WallpaperInfo info) { in getWallpaperIntent()
598 final WallpaperInfo homeWallpaper, in refreshCurrentWallpapers()
599 @Nullable final WallpaperInfo lockWallpaper, in refreshCurrentWallpapers()
627 private void setUpLiveWallpaperPreview(WallpaperInfo homeWallpaper) { in setUpLiveWallpaperPreview()
660 private void updateThumbnail(WallpaperInfo wallpaperInfo, ImageView thumbnailView, in updateThumbnail()
DTopLevelPickerActivity.java56 import com.android.wallpaper.model.WallpaperInfo;
153 private WallpaperInfo mPendingSetWallpaperInfo;
528 final WallpaperInfo homeWallpaper, in refreshCurrentWallpapers()
529 @Nullable final WallpaperInfo lockWallpaper, in refreshCurrentWallpapers()
795 public void showViewOnlyPreview(WallpaperInfo wallpaperInfo, boolean isViewAsHome) { in showViewOnlyPreview()
910 private void setCustomPhotoWallpaper(final WallpaperInfo wallpaper) { in setCustomPhotoWallpaper()
919 public void onSuccess(WallpaperInfo wallpaperInfo) { in setCustomPhotoWallpaper()
966 private void initializeWallpaperPositionOptionClickHandlers(final WallpaperInfo wallpaperInfo) { in initializeWallpaperPositionOptionClickHandlers()
980 public void onSuccess(WallpaperInfo wallpaperInfo) { in initializeWallpaperPositionOptionClickHandlers()
1014 public void onSuccess(WallpaperInfo wallpaperInfo) { in initializeWallpaperPositionOptionClickHandlers()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DLiveWallpaperThumbAsset.java60 protected final android.app.WallpaperInfo mInfo;
65 public LiveWallpaperThumbAsset(Context context, android.app.WallpaperInfo info) { in LiveWallpaperThumbAsset()
70 public LiveWallpaperThumbAsset(Context context, android.app.WallpaperInfo info, Uri uri) { in LiveWallpaperThumbAsset()
205 private android.app.WallpaperInfo mInfo;
207 public LiveWallpaperThumbKey(android.app.WallpaperInfo info) { in LiveWallpaperThumbKey()
255 private android.app.WallpaperInfo mInfo;
258 public LoadThumbnailTask(Context context, android.app.WallpaperInfo info, in LoadThumbnailTask()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/
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()
DTestWallpaperInfo.java26 import com.android.wallpaper.model.WallpaperInfo;
34 public class TestWallpaperInfo extends WallpaperInfo {
52 private android.app.WallpaperInfo mWallpaperComponent;
178 public android.app.WallpaperInfo getWallpaperComponent() { in getWallpaperComponent()
182 public void setWallpaperComponent(android.app.WallpaperInfo wallpaperComponent) { in setWallpaperComponent()
DTestWallpaperPersister.java27 import com.android.wallpaper.model.WallpaperInfo;
57 private WallpaperInfo mWallpaperInfo;
74 public void setIndividualWallpaper(final WallpaperInfo wallpaperInfo, Asset asset, in setIndividualWallpaper()
99 public void setIndividualWallpaperWithPosition(Activity activity, WallpaperInfo wallpaper, in setIndividualWallpaperWithPosition()
207 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/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DWallpaperInfoView.java29 import com.android.wallpaper.model.WallpaperInfo;
54 public void populateWallpaperInfo(@NonNull WallpaperInfo wallpaperInfo, in populateWallpaperInfo()
93 private boolean shouldShowMetadata(WallpaperInfo wallpaperInfo) { in shouldShowMetadata()
94 android.app.WallpaperInfo wallpaperComponent = wallpaperInfo.getWallpaperComponent(); in shouldShowMetadata()
/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/picker/
DWallpaperPreviewer.java37 import com.android.wallpaper.model.WallpaperInfo;
58 private WallpaperInfo mWallpaper;
138 public void setWallpaper(WallpaperInfo wallpaperInfo, in setWallpaper()
185 private void setUpLiveWallpaperPreview(WallpaperInfo homeWallpaper) { in setUpLiveWallpaperPreview()
241 private static Intent getWallpaperIntent(android.app.WallpaperInfo info) { in getWallpaperIntent()

123