/packages/apps/Settings/tests/unit/src/com/android/settings/slices/ |
D | SliceDataTest.java | 66 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/ |
D | SlicesDatabaseAccessorTest.java | 101 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()
|
D | SliceDataConverterTest.java | 123 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/ |
D | MediaChooser.java | 93 mTabButton.setImageResource(getIconResource()); in onCreateTabButton() 129 abstract int getIconResource(); in getIconResource() method in MediaChooser
|
D | AudioMediaChooser.java | 47 public int getIconResource() { in getIconResource() method in AudioMediaChooser
|
D | ContactMediaChooser.java | 56 public int getIconResource() { in getIconResource() method in ContactMediaChooser
|
D | GalleryMediaChooser.java | 91 public int getIconResource() { in getIconResource() method in GalleryMediaChooser
|
D | CameraMediaChooser.java | 226 public int getIconResource() { in getIconResource() method in CameraMediaChooser
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/ |
D | SliceTester.java | 150 sliceData.getIconResource()); in testSettingsSliderSlice() 190 sliceData.getIconResource()); in testSettingsCopyableSlice()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/ |
D | SliceTester.java | 149 sliceData.getIconResource()); in testSettingsSliderSlice() 189 sliceData.getIconResource()); in testSettingsCopyableSlice()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SlicesIndexer.java | 112 values.put(IndexColumns.ICON_RESOURCE, dataRow.getIconResource()); in insertSliceData()
|
D | SliceBuilderUtils.java | 316 if (sliceData.getIconResource() != 0) { in buildSliderSlice() 451 int iconResource = data.getIconResource(); in getSafeIcon()
|
D | SliceData.java | 98 public int getIconResource() { in getIconResource() method in SliceData
|
D | SliceDataConverter.java | 291 int iconResource = resolveInfo.getIconResource(); in getAccessibilitySliceData()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/tts/ |
D | TtsEnginePreferenceFragmentTest.java | 66 doReturn(1).when(serviceInfo).getIconResource(); in setUp()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | SelectFromListWizardFragment.java | 142 int getIconResource() { in getIconResource() method in SelectFromListWizardFragment.ListItem 278 int iconResource = item.getIconResource(); in init()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilityServiceWarning.java | 120 if (info.getResolveInfo().getIconResource() == 0) { in createEnableDialogContentView()
|
D | AccessibilitySettings.java | 558 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/ |
D | UriUtils.java | 214 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/ |
D | LocalImageFetcher.java | 263 UriUtils.getIconResource(context, imageUri)); in doInBackground()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/ |
D | DevicePrefFragment.java | 299 castPref.setIcon(targetContext.getDrawable(info.getIconResource())); in updateCastSettings()
|