/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/floatingsheetcontent/ |
D | WallpaperInfoView.kt | 63 attributions: List<String?>?, in loadWallpaperInfoData() 83 if (attributions != null && attributions.size > 0 && attributions[0] != null) { in loadWallpaperInfoData() 84 title?.text = attributions[0] in loadWallpaperInfoData() 87 if (attributions != null && attributions.size > 1 && attributions[1] != null) { in loadWallpaperInfoData() 89 subtitle1?.text = attributions[1] in loadWallpaperInfoData() 91 if (attributions != null && attributions.size > 2 && attributions[2] != null) { in loadWallpaperInfoData() 93 subtitle2?.text = attributions[2] in loadWallpaperInfoData()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | WallpaperInfoView.java | 64 final List<String> attributions = wallpaperInfo.getAttributions(getContext()); in populateWallpaperInfo() local 76 if (attributions.size() > 0 && attributions.get(0) != null) { in populateWallpaperInfo() 77 mTitle.setText(attributions.get(0)); in populateWallpaperInfo() 81 if (attributions.size() > 1 && attributions.get(1) != null) { in populateWallpaperInfo() 83 mSubtitle1.setText(attributions.get(1)); in populateWallpaperInfo() 86 if (attributions.size() > 2 && attributions.get(2) != null) { in populateWallpaperInfo() 88 mSubtitle2.setText(attributions.get(2)); in populateWallpaperInfo()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | AttributionFormatter.java | 40 List<String> attributions = wallpaper.getAttributions(context); in formatWallpaperSubtitle() local 42 if (attributions.size() > 1 && attributions.get(1) != null) { in formatWallpaperSubtitle() 43 subtitle += attributions.get(1); in formatWallpaperSubtitle() 45 if (attributions.size() > 2 && attributions.get(2) != null) { in formatWallpaperSubtitle() 46 subtitle += " • " + attributions.get(2); in formatWallpaperSubtitle()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPreferences.kt | 229 override fun setHomeWallpaperAttributions(attributions: List<String?>?) { in <lambda>() 230 if (attributions.isNullOrEmpty()) { in <lambda>() 234 attributions.take(3).forEachIndexed { index, attr -> in <lambda>() 289 val attributions = metadata.attributions in <lambda>() constant 290 if (!attributions.isNullOrEmpty()) { in <lambda>() 291 attributions.take(3).forEachIndexed { index, attr -> in <lambda>() 333 val attributions = metadata.attributions in <lambda>() constant 334 if (!attributions.isNullOrEmpty()) { in <lambda>() 335 attributions.take(3).forEachIndexed { index, attr -> in <lambda>() 447 override fun setLockWallpaperAttributions(attributions: List<String?>?) { in <lambda>() [all …]
|
D | WallpaperPersister.java | 78 boolean setWallpaperInRotation(Bitmap wallpaperBitmap, List<String> attributions, in setWallpaperInRotation() argument 95 int setWallpaperBitmapInNextRotation(Bitmap wallpaperBitmap, List<String> attributions, in setWallpaperBitmapInNextRotation() argument 110 boolean finalizeWallpaperForNextRotation(List<String> attributions, String actionUrl, in finalizeWallpaperForNextRotation() argument 127 boolean saveStaticWallpaperMetadata(List<String> attributions, in saveStaticWallpaperMetadata() argument
|
D | DefaultWallpaperPersister.java | 211 public boolean setWallpaperInRotation(Bitmap wallpaperBitmap, List<String> attributions, in setWallpaperInRotation() argument 214 attributions, actionUrl, collectionId, getDefaultWhichWallpaper()); in setWallpaperInRotation() 220 return saveStaticWallpaperMetadata(attributions, actionUrl, collectionId, wallpaperId, in setWallpaperInRotation() 225 public int setWallpaperBitmapInNextRotation(Bitmap wallpaperBitmap, List<String> attributions, in setWallpaperBitmapInNextRotation() argument 232 return cropAndSetWallpaperBitmapInRotationStatic(wallpaperBitmap, attributions, actionUrl, in setWallpaperBitmapInNextRotation() 237 public boolean finalizeWallpaperForNextRotation(List<String> attributions, String actionUrl, in finalizeWallpaperForNextRotation() argument 239 return saveStaticWallpaperMetadata(attributions, actionUrl, collectionId, wallpaperId, in finalizeWallpaperForNextRotation() 244 public boolean saveStaticWallpaperMetadata(List<String> attributions, in saveStaticWallpaperMetadata() argument 259 mWallpaperPreferences.setHomeWallpaperAttributions(attributions); in saveStaticWallpaperMetadata() 271 mWallpaperPreferences.setLockWallpaperAttributions(attributions); in saveStaticWallpaperMetadata() [all …]
|
D | WallpaperPreferences.kt | 49 fun setHomeWallpaperAttributions(attributions: List<String?>?) in getWallpaperPresentationMode() 123 fun setLockWallpaperAttributions(attributions: List<String?>?) in getWallpaperPresentationMode() 376 attributions: List<String>?, in getWallpaperPresentationMode()
|
D | DefaultWallpaperRefresher.java | 382 List<String> attributions = mWallpaperPreferences.getLockWallpaperAttributions(); in isLockScreenAttributionsEmpty() local 383 return attributions.get(0) == null in isLockScreenAttributionsEmpty() 384 && attributions.get(1) == null in isLockScreenAttributionsEmpty() 385 && attributions.get(2) == null; in isLockScreenAttributionsEmpty()
|
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/ |
D | TestWallpaperPersister.java | 103 public boolean setWallpaperInRotation(Bitmap wallpaperBitmap, List<String> attributions, in setWallpaperInRotation() argument 111 mHomeAttributions = attributions; in setWallpaperInRotation() 117 public int setWallpaperBitmapInNextRotation(Bitmap wallpaperBitmap, List<String> attributions, in setWallpaperBitmapInNextRotation() argument 121 mHomeAttributions = attributions; in setWallpaperBitmapInNextRotation() 127 public boolean finalizeWallpaperForNextRotation(List<String> attributions, String actionUrl, in finalizeWallpaperForNextRotation() argument 129 mHomeAttributions = attributions; in finalizeWallpaperForNextRotation() 212 public boolean saveStaticWallpaperMetadata(List<String> attributions, String actionUrl, in saveStaticWallpaperMetadata() argument
|
D | TestWallpaperPreferences.kt | 113 override fun setHomeWallpaperAttributions(attributions: List<String?>?) { in setHomeWallpaperAttributions() 114 homeScreenAttributions = attributions in setHomeWallpaperAttributions() 203 override fun setLockWallpaperAttributions(attributions: List<String?>?) { in setLockWallpaperAttributions() 204 lockScreenAttributions = attributions in setLockWallpaperAttributions() 470 attributions: List<String>?, in storeLatestWallpaper()
|
D | TestCurrentWallpaperInfoFactory.java | 64 private static WallpaperInfo createTestWallpaperInfo(List<String> attributions, in createTestWallpaperInfo() argument 68 wallpaper.setAttributions(attributions); in createTestWallpaperInfo()
|
D | WallpaperModelUtils.kt | 79 attributions = attribution, in getStaticWallpaperModel() 125 attributions = attribution, in getLiveWallpaperModel()
|
D | TestStaticWallpaperInfo.java | 101 public void setAttributions(List<String> attributions) { in setAttributions() argument 102 mAttributions = attributions; in setAttributions()
|
D | TestLiveWallpaperInfo.java | 100 public void setAttributions(List<String> attributions) { in setAttributions() argument 101 mAttributions = attributions; in setAttributions()
|
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPersisterTest.java | 135 List<String> attributions = new ArrayList<>(); in newStaticWallpaperInfo() local 136 attributions.add("Title"); in newStaticWallpaperInfo() 137 attributions.add("Subtitle 1"); in newStaticWallpaperInfo() 138 attributions.add("Subtitle 2"); in newStaticWallpaperInfo() 141 wallpaperInfo.setAttributions(attributions); in newStaticWallpaperInfo()
|
D | DefaultWallpaperPreferencesTest.kt | 38 attributions = listOf("attr1", "attr2"), in setHomeStaticImageWallpaperMetadata_metadataShouldBeSavedToPreferences() 80 attributions = listOf("attr1", "attr2"), in setHomeLiveWallpaperMetadata_metadataShouldBeSavedToPreferences() 118 attributions = listOf("attr1", "attr2"), in setLockStaticImageWallpaperMetadata_metadataShouldBeSavedToPreferences() 160 attributions = listOf("attr1", "attr2"), in setLockLiveWallpaperMetadata_metadataShouldBeSavedToPreferences()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/ |
D | IndividualHolder.java | 67 List<String> attributions = wallpaper.getAttributions(mActivity); in bindWallpaper() local 68 String firstAttribution = attributions.size() > 0 ? attributions.get(0) : null; in bindWallpaper()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/ |
D | LightPackageInfo.kt | 75 if (SdkLevel.isAtLeastS()) buildAttributionTagsToLabelsMap(pI.attributions) else emptyMap(), in <lambda>() 145 fun buildAttributionTagsToLabelsMap(attributions: Array<Attribution>?): Map<String, Int> { in <lambda>() 147 attributions?.forEach { attributionTagToLabel[it.tag] = it.label } in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | WallpaperMetadata.java | 38 public WallpaperMetadata(List<String> attributions, String actionUrl, String collectionId, in WallpaperMetadata() argument 40 mAttributions = attributions; in WallpaperMetadata()
|
D | CreativeWallpaperInfo.java | 231 List<String> attributions = new ArrayList<>(); 232 attributions.add(labelCharSeq == null ? null : labelCharSeq.toString()); 233 attributions.add(mAuthor == null ? "" : mAuthor); 234 attributions.add(mDescription == null ? "" : mDescription); 236 return attributions;
|
D | LiveWallpaperInfo.java | 363 List<String> attributions = new ArrayList<>(); in getAttributions() local 366 attributions.add(labelCharSeq == null ? null : labelCharSeq.toString()); in getAttributions() 372 attributions.add(author); in getAttributions() 382 attributions.add(desc); in getAttributions() 388 return attributions; in getAttributions()
|
D | CurrentWallpaperInfo.java | 67 public CurrentWallpaperInfo(List<String> attributions, String actionUrl, String collectionId, in CurrentWallpaperInfo() argument 69 mAttributions = attributions; in CurrentWallpaperInfo()
|
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/ |
D | PreviewActivityTest.java | 115 List<String> attributions = new ArrayList<>(); in setUp() local 116 attributions.add("Title"); in setUp() 117 attributions.add("Subtitle 1"); in setUp() 118 attributions.add("Subtitle 2"); in setUp() 120 mTestStaticWallpaper.setAttributions(attributions); in setUp() 126 mTestLiveWallpaper.setAttributions(attributions); in setUp()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/viewmodel/ |
D | PreviewActionsViewModel.kt | 90 wallpaperModel.commonWallpaperData.attributions, in <lambda>() 516 val attributions = commonWallpaperData.attributions in <lambda>() constant 520 return (!attributions.isNullOrEmpty() && attributions.any { !it.isNullOrEmpty() }) || in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/viewmodel/floatingSheet/ |
D | InformationFloatingSheetViewModel.kt | 21 val attributions: List<String?>?, constant in com.android.wallpaper.picker.preview.ui.viewmodel.floatingSheet.InformationFloatingSheetViewModel
|