Home
last modified time | relevance | path

Searched refs:LiveWallpaperInfo (Results 1 – 25 of 27) sorted by relevance

12

/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperListAdapter.java58 private List<LiveWallpaperInfo> mWallpapers;
74 private List<LiveWallpaperInfo> generatePlaceholderViews(int amount) { in generatePlaceholderViews()
75 ArrayList<LiveWallpaperInfo> list = new ArrayList<LiveWallpaperInfo>(amount); in generatePlaceholderViews()
77 LiveWallpaperInfo info = new LiveWallpaperInfo(); in generatePlaceholderViews()
111 LiveWallpaperInfo wallpaperInfo = mWallpapers.get(position); in getView()
127 public class LiveWallpaperInfo { class in LiveWallpaperListAdapter
138 AsyncTask<List<ResolveInfo>, LiveWallpaperInfo, Void> {
186 LiveWallpaperInfo wallpaper = new LiveWallpaperInfo(); in doInBackground()
227 protected void onProgressUpdate(LiveWallpaperInfo...infos) { in onProgressUpdate()
228 for (LiveWallpaperInfo info : infos) { in onProgressUpdate()
DLiveWallpaperActivity.java54 LiveWallpaperListAdapter.LiveWallpaperInfo wallpaperInfo = in onListItemClick()
55 (LiveWallpaperListAdapter.LiveWallpaperInfo) mAdapter.getItem(position); in onListItemClick()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DLiveWallpaperInfo.java57 public class LiveWallpaperInfo extends WallpaperInfo { class
58 public static final Creator<LiveWallpaperInfo> CREATOR =
59 new Creator<LiveWallpaperInfo>() {
61 public LiveWallpaperInfo createFromParcel(Parcel in) {
62 return new LiveWallpaperInfo(in);
66 public LiveWallpaperInfo[] newArray(int size) {
67 return new LiveWallpaperInfo[size];
87 public static LiveWallpaperInfo fromAttributeSet(Context context, String categoryId, in fromAttributeSet()
105 public static LiveWallpaperInfo fromPackageAndServiceName(Context context, String categoryId, in fromPackageAndServiceName()
138 return new LiveWallpaperInfo(wallpaperInfo, false, categoryId); in fromPackageAndServiceName()
[all …]
DThirdPartyLiveWallpaperCategory.java59 List<WallpaperInfo> liveWallpapers = LiveWallpaperInfo.getAll(context, in fetchWallpapers()
DCreativeCategory.java74 LiveWallpaperInfo wallpaper, Uri saveWallpaperUri, int destination) { in saveCreativeCategoryWallpaper()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultLiveWallpaperInfoFactory.java20 import com.android.wallpaper.model.LiveWallpaperInfo;
31 return new LiveWallpaperInfo(info); in getLiveWallpaperInfo()
37 return new LiveWallpaperInfo(info, shouldShowTitle, collectionId); in getLiveWallpaperInfo()
DWallpaperSetter.java27 import com.android.wallpaper.model.LiveWallpaperInfo;
92 if (wallpaper instanceof LiveWallpaperInfo) { in setCurrentWallpaper()
93 setCurrentLiveWallpaper(containerActivity, (LiveWallpaperInfo) wallpaper, in setCurrentWallpaper()
161 private void setCurrentLiveWallpaper(Activity activity, LiveWallpaperInfo wallpaper, in setCurrentLiveWallpaper()
170 LiveWallpaperInfo updatedWallpaperInfo = wallpaper.saveWallpaper( in setCurrentLiveWallpaper()
197 LiveWallpaperInfo wallpaper, int destination) throws IOException { in setWallpaperComponent()
220 public void setCurrentLiveWallpaperFromRestore(Context context, LiveWallpaperInfo wallpaper, in setCurrentLiveWallpaperFromRestore()
DDefaultCategoryProvider.java37 import com.android.wallpaper.model.LiveWallpaperInfo;
243 List<WallpaperInfo> liveWallpapers = LiveWallpaperInfo.getAll( in doInBackground()
285 .filter(wallpaperInfo -> wallpaperInfo instanceof LiveWallpaperInfo) in getExcludedLiveWallpaperPackageNames()
287 ((LiveWallpaperInfo) wallpaperInfo).getWallpaperComponent() in getExcludedLiveWallpaperPackageNames()
351 } else if (LiveWallpaperInfo.TAG_NAME.equals(parser.getName())) { in getSystemCategories()
352 wallpaper = LiveWallpaperInfo.fromAttributeSet(mAppContext, in getSystemCategories()
DWallpaperPreferences.kt25 import com.android.wallpaper.model.LiveWallpaperInfo
341 wallpaper: LiveWallpaperInfo, in getWallpaperPresentationMode()
DLiveWallpaperInfoFactory.java20 import com.android.wallpaper.model.LiveWallpaperInfo;
DWallpaperPicker2Injector.kt35 import com.android.wallpaper.model.LiveWallpaperInfo
224 val isLiveWallpaper = wallpaperInfo is LiveWallpaperInfo in getPreviewFragment()
DDefaultWallpaperPreferences.kt29 import com.android.wallpaper.model.LiveWallpaperInfo in <lambda>()
874 wallpaper: LiveWallpaperInfo, in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DVideoWallpaperUtils.java18 import com.android.wallpaper.model.LiveWallpaperInfo;
38 return info instanceof LiveWallpaperInfo; in needsFadeIn()
DWallpaperParserImpl.kt23 import com.android.wallpaper.model.LiveWallpaperInfo
149 } else if (LiveWallpaperInfo.TAG_NAME == parser.name) { in parseXmlForWallpapersForASingleCategory()
151 LiveWallpaperInfo.fromAttributeSet( in parseXmlForWallpapersForASingleCategory()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/converter/
DWallpaperModelFactory.kt27 import com.android.wallpaper.model.LiveWallpaperInfo
74 if (this is LiveWallpaperInfo) { in getWallpaperModel()
105 fun LiveWallpaperInfo.getLiveWallpaperData( in getWallpaperModel() method
DDefaultWallpaperModelFactory.kt22 import com.android.wallpaper.model.LiveWallpaperInfo
37 return if (wallpaperInfo is LiveWallpaperInfo) { in getWallpaperModel()
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DFakeDefaultWallpaperModelFactory.kt21 import com.android.wallpaper.model.LiveWallpaperInfo
36 is LiveWallpaperInfo -> { in getWallpaperModel()
DTestLiveWallpaperInfo.java26 import com.android.wallpaper.model.LiveWallpaperInfo;
34 public class TestLiveWallpaperInfo extends LiveWallpaperInfo {
DTestWallpaperPreferences.kt23 import com.android.wallpaper.model.LiveWallpaperInfo
455 wallpaper: LiveWallpaperInfo, in storeLatestWallpaper()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DCreativeCategoryAdapter.kt25 import com.android.wallpaper.model.LiveWallpaperInfo
47 val wallpaperInfo = items[position] as LiveWallpaperInfo in onBindViewHolder()
DPreviewIndividualHolder.java25 import com.android.wallpaper.model.LiveWallpaperInfo;
63 wallpaperInfo instanceof LiveWallpaperInfo ? PREVIEW_LIVE_WALLPAPER_REQUEST_CODE in showPreview()
DCreativeCategoryIndividualHolder.java25 import com.android.wallpaper.model.LiveWallpaperInfo;
71 wallpaperInfo instanceof LiveWallpaperInfo ? PREVIEW_LIVE_WALLPAPER_REQUEST_CODE in showPreview()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/binder/
DScreenPreviewBinder.kt50 import com.android.wallpaper.model.LiveWallpaperInfo in <lambda>()
327 wallpaperInfo != null && wallpaperInfo !is LiveWallpaperInfo in <lambda>()
469 if (showLoadingAnimation && wallpaperInfo !is LiveWallpaperInfo) { in <lambda>()
472 (wallpaperInfo as? LiveWallpaperInfo)?.let { liveWallpaperInfo -> in <lambda>()
544 liveWallpaperInfo: LiveWallpaperInfo, in <lambda>()
612 if (wallpaperInfo !is LiveWallpaperInfo) { in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DPreviewFragment.java70 import com.android.wallpaper.model.LiveWallpaperInfo;
654 if (wallpaperInfo instanceof LiveWallpaperInfo) {
666 wallpaperInfo instanceof LiveWallpaperInfo, isHomeOption, isLockOption);
DCategorySelectorFragment.java57 import com.android.wallpaper.model.LiveWallpaperInfo;
406 wallpaper instanceof LiveWallpaperInfo ? PREVIEW_LIVE_WALLPAPER_REQUEST_CODE in onClick()
614 wallpaper instanceof LiveWallpaperInfo in onClickListenerForCreativeCategory()

12