Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSlicesDatabaseAccessorTest.java101 assertThat(data.getIconResource()).isEqualTo(SliceTestUtils.FAKE_ICON); in testGetSliceDataFromKey_validKey_validSliceReturned()
121 assertThat(data.getIconResource()).isEqualTo(SliceTestUtils.FAKE_ICON); in testGetSliceDataFromKey_allowDynamicSummary_validSliceReturned()
153 assertThat(data.getIconResource()).isEqualTo(SliceTestUtils.FAKE_ICON); in testGetSliceFromUri_validUri_validSliceReturned()
288 assertThat(data.getIconResource()).isEqualTo(SliceTestUtils.FAKE_ICON); in testGetSliceDataFromKey_defaultUnavailableSlice_validSliceReturned()
308 assertThat(data.getIconResource()).isEqualTo(SliceTestUtils.FAKE_ICON); in testGetSliceDataFromKey_customizeSubtitleOfUnavailableSlice_validSliceReturned()
DSliceDataConverterTest.java123 assertThat(fakeSlice.getIconResource()).isNotNull(); in assertFakeSlice()
140 assertThat(fakeSlice.getIconResource()).isEqualTo(FAKE_ICON); in assertFakeA11ySlice()
156 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.java150 sliceData.getIconResource()); in testSettingsSliderSlice()
190 sliceData.getIconResource()); in testSettingsCopyableSlice()
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/
DSliceTester.java149 sliceData.getIconResource()); in testSettingsSliderSlice()
189 sliceData.getIconResource()); in testSettingsCopyableSlice()
/packages/apps/Settings/src/com/android/settings/slices/
DSlicesIndexer.java112 values.put(IndexColumns.ICON_RESOURCE, dataRow.getIconResource()); in insertSliceData()
DSliceBuilderUtils.java316 if (sliceData.getIconResource() != 0) { in buildSliderSlice()
451 int iconResource = data.getIconResource(); in getSafeIcon()
DSliceData.java98 public int getIconResource() { in getIconResource() method in SliceData
DSliceDataConverter.java291 int iconResource = resolveInfo.getIconResource(); in getAccessibilitySliceData()
/packages/apps/Settings/tests/robotests/src/com/android/settings/tts/
DTtsEnginePreferenceFragmentTest.java66 doReturn(1).when(serviceInfo).getIconResource(); in setUp()
/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/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityServiceWarning.java120 if (info.getResolveInfo().getIconResource() == 0) { in createEnableDialogContentView()
DAccessibilitySettings.java558 if (resolveInfo.getIconResource() == 0) { in createAccessibilityServicePreferenceList()
620 if (activityInfo.getIconResource() == 0) { in createAccessibilityActivityPreferenceList()
/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.java263 UriUtils.getIconResource(context, imageUri)); in doInBackground()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DDevicePrefFragment.java299 castPref.setIcon(targetContext.getDrawable(info.getIconResource())); in updateCastSettings()