Home
last modified time | relevance | path

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

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceDataTest.java66 assertThat(data.getIconResource()).isEqualTo(ICON); in testBuilder_buildsMatchingObject()
144 assertThat(data.getIconResource()).isEqualTo(ICON); in testBuilder_noSubtitle_buildsMatchingObject()
167 assertThat(data.getIconResource()).isEqualTo(ICON); in testBuilder_noScreenTitle_buildsMatchingObject()
190 assertThat(data.getIconResource()).isEqualTo(0); in testBuilder_noIcon_buildsMatchingObject()
214 assertThat(data.getIconResource()).isEqualTo(ICON); in testBuilder_noUri_buildsMatchingObject()
DSlicesDatabaseAccessorTest.java107 assertThat(data.getIconResource()).isEqualTo(FAKE_ICON); in testGetSliceDataFromKey_validKey_validSliceReturned()
127 assertThat(data.getIconResource()).isEqualTo(FAKE_ICON); in testGetSliceDataFromKey_allowDynamicSummary_validSliceReturned()
154 assertThat(data.getIconResource()).isEqualTo(FAKE_ICON); in testGetSliceFromUri_validUri_validSliceReturned()
240 assertThat(data.getIconResource()).isEqualTo(FAKE_ICON); in testGetSliceDataFromKey_defaultUnavailableSlice_validSliceReturned()
260 assertThat(data.getIconResource()).isEqualTo(FAKE_ICON); in testGetSliceDataFromKey_customizeSubtitleOfUnavailableSlice_validSliceReturned()
DSliceDataConverterTest.java121 assertThat(fakeSlice.getIconResource()).isNotNull(); in assertFakeSlice()
137 assertThat(fakeSlice.getIconResource()).isEqualTo(FAKE_ICON); in assertFakeA11ySlice()
153 doReturn(FAKE_ICON).when(resolveInfo).getIconResource(); in getFakeService()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaChooser.java93 mTabButton.setImageResource(getIconResource()); in onCreateTabButton()
129 abstract int getIconResource(); in getIconResource() method in MediaChooser
DAudioMediaChooser.java47 public int getIconResource() { in getIconResource() method in AudioMediaChooser
DContactMediaChooser.java56 public int getIconResource() { in getIconResource() method in ContactMediaChooser
DGalleryMediaChooser.java91 public int getIconResource() { in getIconResource() method in GalleryMediaChooser
DCameraMediaChooser.java226 public int getIconResource() { in getIconResource() method in CameraMediaChooser
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DSliceTester.java148 sliceData.getIconResource()); in testSettingsSliderSlice()
187 sliceData.getIconResource()); in testSettingsCopyableSlice()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java142 int getIconResource() { in getIconResource() method in SelectFromListWizardFragment.ListItem
278 int iconResource = item.getIconResource(); in init()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DSlicesIndexer.java108 values.put(IndexColumns.ICON_RESOURCE, dataRow.getIconResource()); in insertSliceData()
DSliceData.java98 public int getIconResource() { in getIconResource() method in SliceData
DSliceDataConverter.java272 int iconResource = resolveInfo.getIconResource(); in getAccessibilitySliceData()
DSliceBuilderUtils.java449 int iconResource = data.getIconResource(); in getSafeIcon()
/packages/apps/Settings/src/com/android/settings/slices/
DSlicesIndexer.java108 values.put(IndexColumns.ICON_RESOURCE, dataRow.getIconResource()); in insertSliceData()
DSliceData.java98 public int getIconResource() { in getIconResource() method in SliceData
DSliceDataConverter.java290 int iconResource = resolveInfo.getIconResource(); in getAccessibilitySliceData()
DSliceBuilderUtils.java455 int iconResource = data.getIconResource(); in getSafeIcon()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityServiceWarning.java126 if (info.getResolveInfo().getIconResource() == 0) { in createEnableDialogContentView()
DShortcutServicePickerFragment.java257 return (resolveInfo.getIconResource() == 0) in loadIcon()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DDevicePrefFragment.java182 castPref.setIcon(targetContext.getDrawable(info.getIconResource())); in updateCastSettings()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DShortcutServicePickerFragment.java257 return (resolveInfo.getIconResource() == 0) in loadIcon()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DUriUtils.java214 public static ShortcutIconResource getIconResource(Context context, Uri uri) { in getIconResource() method in UriUtils
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/imaging/
DLocalImageFetcher.java265 UriUtils.getIconResource(context, imageUri)); in doInBackground()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java181 info.getIconResource()); in getFullResIcon()

12