Home
last modified time | relevance | path

Searched refs:META_DATA_PREFERENCE_ICON (Results 1 – 4 of 4) sorted by relevance

/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/model/
DCandidateSuggestion.java83 public static final String META_DATA_PREFERENCE_ICON = "com.android.settings.icon"; field in CandidateSuggestion
185 icon = getIconFromBundle(overrideData, META_DATA_PREFERENCE_ICON); in updateBuilder()
187 if (metaData.containsKey(META_DATA_PREFERENCE_ICON)) { in updateBuilder()
188 iconRes = metaData.getInt(META_DATA_PREFERENCE_ICON); in updateBuilder()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DExtraSettingsUtil.java20 import static com.android.settingslib.drawer.TileUtils.META_DATA_PREFERENCE_ICON;
54 if (metaData.containsKey(META_DATA_PREFERENCE_ICON)) { in createIcon()
55 int iconRes = metaData.getInt(META_DATA_PREFERENCE_ICON); in createIcon()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DExtraSettingsLoaderTest.java20 import static com.android.settingslib.drawer.TileUtils.META_DATA_PREFERENCE_ICON;
139 assertThat(b.getInt(META_DATA_PREFERENCE_ICON)).isNotNull(); in testLoadPreference_metadataBundleIsValue()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFeatureProviderImplTest.java24 import static com.android.settingslib.drawer.TileUtils.META_DATA_PREFERENCE_ICON;
454 mActivityInfo.metaData.putInt(META_DATA_PREFERENCE_ICON, R.drawable.ic_add_40dp); in bindIcon_withStaticIcon_shouldLoadStaticIcon()
487 mActivityInfo.metaData.putInt(META_DATA_PREFERENCE_ICON, R.drawable.ic_add_40dp); in bindIcon_withStaticIconAndIconUri_shouldLoadIconFromContentProvider()