Home
last modified time | relevance | path

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

12345

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DWallpaperCategory.java42 private final List<WallpaperInfo> mWallpapers;
46 public WallpaperCategory(String title, String collectionId, List<WallpaperInfo> wallpapers, in WallpaperCategory()
51 public WallpaperCategory(String title, String collectionId, List<WallpaperInfo> wallpapers, in WallpaperCategory()
57 List<WallpaperInfo> wallpapers, int priority) { in WallpaperCategory()
62 List<WallpaperInfo> wallpapers, int priority, boolean isDownloadable, in WallpaperCategory()
71 List<WallpaperInfo> wallpapers, int priority) { in WallpaperCategory()
92 public List<WallpaperInfo> getWallpapers() { in getWallpapers()
115 public WallpaperInfo getSingleWallpaper() { in getSingleWallpaper()
123 protected List<WallpaperInfo> getMutableWallpapers() { in getMutableWallpapers()
130 public List<WallpaperInfo> getUnmodifiableWallpapers() { in getUnmodifiableWallpapers()
[all …]
DLiveWallpaperInfo.java57 public class LiveWallpaperInfo extends WallpaperInfo {
130 android.app.WallpaperInfo wallpaperInfo; in fromPackageAndServiceName()
132 wallpaperInfo = new android.app.WallpaperInfo(context, resolveInfos.get(0)); in fromPackageAndServiceName()
141 public android.app.WallpaperInfo getInfo() { in getInfo()
158 protected android.app.WallpaperInfo mInfo;
169 public LiveWallpaperInfo(android.app.WallpaperInfo info) { in LiveWallpaperInfo()
177 public LiveWallpaperInfo(android.app.WallpaperInfo info, boolean visibleTitle, in LiveWallpaperInfo()
186 mInfo = in.readParcelable(android.app.WallpaperInfo.class.getClassLoader()); in LiveWallpaperInfo()
195 public static List<WallpaperInfo> getAll(Context context, in getAll()
198 List<WallpaperInfo> wallpaperInfos = new ArrayList<>(); in getAll()
[all …]
DThirdPartyLiveWallpaperCategory.java40 List<WallpaperInfo> wallpapers, in ThirdPartyLiveWallpaperCategory()
48 List<WallpaperInfo> wallpapers, in ThirdPartyLiveWallpaperCategory()
58 List<WallpaperInfo> mCategoryWallpapers = getMutableWallpapers(); in fetchWallpapers()
59 List<WallpaperInfo> liveWallpapers = LiveWallpaperInfo.getAll(context, in fetchWallpapers()
84 for (WallpaperInfo wallpaper : getMutableWallpapers()) { in containsThirdParty()
85 android.app.WallpaperInfo wallpaperComponent = wallpaper.getWallpaperComponent(); in containsThirdParty()
DCreativeCategory.java50 public final android.app.WallpaperInfo mWallpaperInfo;
102 List<WallpaperInfo> wallpaperInfos, int priority, in CreativeCategory()
103 android.app.WallpaperInfo wallpaperInfo) { in CreativeCategory()
124 List<WallpaperInfo> wallpapers = readCreativeWallpapers( in fetchWallpapers()
144 public static List<WallpaperInfo> readCreativeWallpapers(Context context, in readCreativeWallpapers()
145 String collectionId, android.app.WallpaperInfo wallpaperInfo) { in readCreativeWallpapers()
146 List<WallpaperInfo> wallpapers = new ArrayList<>(); in readCreativeWallpapers()
DWallpaperMetadata.java18 import android.app.WallpaperInfo;
36 protected final android.app.WallpaperInfo mWallpaperComponent;
39 android.app.WallpaperInfo wallpaperComponent, Map<Point, Rect> cropHints) { in WallpaperMetadata()
72 public WallpaperInfo getWallpaperComponent() { in getWallpaperComponent()
DLiveWallpaperMetadata.java18 import android.app.WallpaperInfo;
34 public LiveWallpaperMetadata(android.app.WallpaperInfo wallpaperComponent, in LiveWallpaperMetadata()
56 public WallpaperInfo getWallpaperComponent() { in getWallpaperComponent()
DWallpaperInfo.java52 public abstract class WallpaperInfo implements Parcelable { class
61 public WallpaperInfo() { in WallpaperInfo() method in WallpaperInfo
64 protected WallpaperInfo(Parcel in) { in WallpaperInfo() method in WallpaperInfo
168 public android.app.WallpaperInfo getWallpaperComponent() { in getWallpaperComponent()
228 synchronized (WallpaperInfo.this) { in computeColorInfo()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
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()
DDefaultCurrentWallpaperInfoFactory.java30 import com.android.wallpaper.model.WallpaperInfo;
49 private WallpaperInfo mHomeWallpaper;
51 private WallpaperInfo mLockWallpaper;
120 WallpaperInfo homeWallpaper; in createCurrentWallpaperInfos()
137 WallpaperInfo lockWallpaper = null; in createCurrentWallpaperInfos()
171 private void updateIfCreative(WallpaperInfo info, WallpaperMetadata metadata) { in updateIfCreative()
218 private boolean wallpaperSynced(Context context, @Nullable WallpaperInfo wallpaperInfo, in wallpaperSynced()
220 android.app.WallpaperInfo currentWallpaperInfo = WallpaperManager.getInstance(context) in wallpaperSynced()
224 android.app.WallpaperInfo info = wallpaperInfo != null in wallpaperSynced()
DWallpaperPersister.java32 import com.android.wallpaper.model.WallpaperInfo;
60 void setIndividualWallpaper(WallpaperInfo wallpaper, Asset asset, @Nullable Rect cropRect, in setIndividualWallpaper()
182 void setWallpaperInfoInPreview(WallpaperInfo wallpaper); in setWallpaperInfoInPreview()
200 void setLiveWallpaperMetadata(WallpaperInfo wallpaperInfo, String effects, in setLiveWallpaperMetadata()
207 void onSuccess(WallpaperInfo wallpaperInfo, @Destination int destination); in onSuccess()
DDefaultWallpaperPersister.java49 import com.android.wallpaper.model.WallpaperInfo;
83 private WallpaperInfo mWallpaperInfoInPreview;
109 public void setIndividualWallpaper(final WallpaperInfo wallpaper, Asset asset, in setIndividualWallpaper()
181 private void setIndividualWallpaper(WallpaperInfo wallpaper, Bitmap croppedBitmap, in setIndividualWallpaper()
188 private void setIndividualWallpaper(WallpaperInfo wallpaper, Bitmap fullBitmap, Rect cropHint, in setIndividualWallpaper()
203 private void setIndividualWallpaper(WallpaperInfo wallpaper, InputStream inputStream, in setIndividualWallpaper()
421 public void setWallpaperInfoInPreview(WallpaperInfo wallpaper) { in setWallpaperInfoInPreview()
427 android.app.WallpaperInfo currentWallpaperComponent = mWallpaperManager.getWallpaperInfo(); in onLiveWallpaperSet()
428 android.app.WallpaperInfo previewedWallpaperComponent = mWallpaperInfoInPreview != null in onLiveWallpaperSet()
453 public void setLiveWallpaperMetadata(WallpaperInfo wallpaperInfo, String effects, in setLiveWallpaperMetadata()
[all …]
DCurrentWallpaperInfoFactory.java22 import com.android.wallpaper.model.WallpaperInfo;
53 … void onWallpaperInfoCreated(WallpaperInfo homeWallpaper, @Nullable WallpaperInfo lockWallpaper, in onWallpaperInfoCreated()
DDefaultCategoryProvider.java43 import com.android.wallpaper.model.WallpaperInfo;
243 List<WallpaperInfo> liveWallpapers = LiveWallpaperInfo.getAll( in doInBackground()
305 protected List<WallpaperInfo> getPrivateDeviceWallpapers() { in getPrivateDeviceWallpapers()
344 WallpaperInfo wallpaper = null; in getSystemCategories()
383 List<WallpaperInfo> onDeviceWallpapers = new ArrayList<>(); in getOnDeviceCategory()
390 List<WallpaperInfo> partnerWallpaperInfos = PartnerWallpaperInfo.getAll(mAppContext); in getOnDeviceCategory()
393 List<WallpaperInfo> legacyPartnerWallpaperInfos = LegacyPartnerWallpaperInfo.getAll( in getOnDeviceCategory()
397 List<WallpaperInfo> privateWallpapers = getPrivateDeviceWallpapers(); in getOnDeviceCategory()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperParserImpl.kt27 import com.android.wallpaper.model.WallpaperInfo
91 override fun parsePartnerWallpaperInfoResources(): List<WallpaperInfo> { in parsePartnerWallpaperInfoResources()
92 val wallpaperInfos: MutableList<WallpaperInfo> = ArrayList() in parsePartnerWallpaperInfoResources()
114 val wallpaperInfo: WallpaperInfo = PartnerWallpaperInfo(thumbRes, wpResId) in parsePartnerWallpaperInfoResources()
132 ): List<WallpaperInfo> { in parseXmlForWallpapersForASingleCategory()
133 val outputWallpaperInfo = mutableListOf<WallpaperInfo>() in parseXmlForWallpapersForASingleCategory()
141 var wallpaper: WallpaperInfo? = null in parseXmlForWallpapersForASingleCategory()
DDeletableUtils.kt18 import android.app.WallpaperInfo
35 fun canBeDeleted(context: Context, wallpaperInfo: WallpaperInfo): Boolean { in canBeDeleted()
43 wallpaperInfo: com.android.wallpaper.model.WallpaperInfo in deleteLiveWallpaper()
51 private fun getDeleteActionIntent(context: Context, wallpaperInfo: WallpaperInfo): Intent? { in getDeleteActionIntent()
62 private fun getDeleteAction(context: Context, wallpaperInfo: WallpaperInfo): String? { in getDeleteAction()
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DFakeWallpaperParser.kt22 import com.android.wallpaper.model.WallpaperInfo
29 var wallpapers: List<WallpaperInfo> = emptyList()
43 override fun parsePartnerWallpaperInfoResources(): List<WallpaperInfo> { in parsePartnerWallpaperInfoResources()
47 fun setPartnerWallpapers(wallpapers: List<WallpaperInfo>) { in setPartnerWallpapers()
DTestCurrentWallpaperInfoFactory.java20 import com.android.wallpaper.model.WallpaperInfo;
44 WallpaperInfo homeWallpaper = createTestWallpaperInfo( in createCurrentWallpaperInfos()
49 WallpaperInfo lockWallpaper = null; in createCurrentWallpaperInfos()
64 private static WallpaperInfo createTestWallpaperInfo(List<String> attributions, in createTestWallpaperInfo()
DTestStaticWallpaperInfo.java26 import com.android.wallpaper.model.WallpaperInfo;
34 public class TestStaticWallpaperInfo extends WallpaperInfo {
53 private android.app.WallpaperInfo mWallpaperComponent;
181 public android.app.WallpaperInfo getWallpaperComponent() { in getWallpaperComponent()
185 public void setWallpaperComponent(android.app.WallpaperInfo wallpaperComponent) { in setWallpaperComponent()
DTestWallpaperCategory.java20 import com.android.wallpaper.model.WallpaperInfo;
34 public TestWallpaperCategory(String title, String collectionId, List<WallpaperInfo> wallpapers, in TestWallpaperCategory()
47 public List<WallpaperInfo> getMutableWallpapers() { in getMutableWallpapers()
DTestWallpaperPersister.java28 import com.android.wallpaper.model.WallpaperInfo;
59 private WallpaperInfo mWallpaperInfo;
78 public void setIndividualWallpaper(final WallpaperInfo wallpaperInfo, Asset asset, in setIndividualWallpaper()
189 public void setWallpaperInfoInPreview(WallpaperInfo wallpaperInfo) { in setWallpaperInfoInPreview()
197 public void setLiveWallpaperMetadata(WallpaperInfo wallpaperInfo, String effects, in setLiveWallpaperMetadata()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DViewOnlyPreviewActivity.java28 import com.android.wallpaper.model.WallpaperInfo;
45 public static Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent()
55 public static Intent newIntent(Context context, WallpaperInfo wallpaper, in newIntent()
73 WallpaperInfo wallpaper = intent.getParcelableExtra(EXTRA_WALLPAPER_INFO); in onCreate()
107 public Intent newIntent(Context context, WallpaperInfo wallpaper, in newIntent()
DFullPreviewActivity.java30 import com.android.wallpaper.model.WallpaperInfo;
45 public static Intent newIntent(Context packageContext, WallpaperInfo wallpaperInfo) { in newIntent()
56 public static Intent newIntent(Context packageContext, WallpaperInfo wallpaperInfo, in newIntent()
78 WallpaperInfo wallpaper = intent.getParcelableExtra(EXTRA_WALLPAPER_INFO); in onCreate()
/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/WallpaperPicker2/src/com/android/wallpaper/widget/
DWallpaperInfoView.java31 import com.android.wallpaper.model.WallpaperInfo;
59 public void populateWallpaperInfo(@NonNull WallpaperInfo wallpaperInfo, in populateWallpaperInfo()
101 private boolean shouldShowMetadata(WallpaperInfo wallpaperInfo) { in shouldShowMetadata()
102 android.app.WallpaperInfo wallpaperComponent = wallpaperInfo.getWallpaperComponent(); in shouldShowMetadata()

12345