/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/ |
D | MainFragmentTest.java | 85 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_wifi_signal_off_white); in testUpdateWifi_NoNetwork() 102 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_wifi_signal_off_white); in testUpdateWifi_hasEthernet() 119 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_ethernet_white); in testUpdateWifi_hasEthernetConnected() 138 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_wifi_signal_0_white); in testUpdateWifi_wifiSignal() 144 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_wifi_signal_1_white); in testUpdateWifi_wifiSignal() 150 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_wifi_signal_2_white); in testUpdateWifi_wifiSignal() 156 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_wifi_signal_3_white); in testUpdateWifi_wifiSignal() 162 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_wifi_signal_4_white); in testUpdateWifi_wifiSignal() 168 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_wifi_not_connected); in testUpdateWifi_wifiSignal() 185 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_wifi_signal_off_white); in testUpdateWifi_notConnected() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | MainFragment.java | 263 networkPref.setIcon(R.drawable.ic_cell_signal_4_white); in updateWifi() 266 networkPref.setIcon(R.drawable.ic_cell_signal_3_white); in updateWifi() 269 networkPref.setIcon(R.drawable.ic_cell_signal_2_white); in updateWifi() 272 networkPref.setIcon(R.drawable.ic_cell_signal_1_white); in updateWifi() 276 networkPref.setIcon(R.drawable.ic_cell_signal_0_white); in updateWifi() 280 networkPref.setIcon(R.drawable.ic_ethernet_white); in updateWifi() 287 networkPref.setIcon(R.drawable.ic_wifi_signal_4_white); in updateWifi() 290 networkPref.setIcon(R.drawable.ic_wifi_signal_3_white); in updateWifi() 293 networkPref.setIcon(R.drawable.ic_wifi_signal_2_white); in updateWifi() 296 networkPref.setIcon(R.drawable.ic_wifi_signal_1_white); in updateWifi() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceDataTest.java | 51 .setIcon(ICON) in testBuilder_buildsMatchingObject() 81 .setIcon(ICON) in testBuilder_noKey_throwsIllegalStateException() 94 .setIcon(ICON) in testBuilder_noTitle_throwsIllegalStateException() 108 .setIcon(ICON) in testBuilder_noFragment_throwsIllegalStateException() 121 .setIcon(ICON) in testBuilder_noPrefController_throwsIllegalStateException() 133 .setIcon(ICON) in testBuilder_noSubtitle_buildsMatchingObject() 156 .setIcon(ICON) in testBuilder_noScreenTitle_buildsMatchingObject() 203 .setIcon(ICON) in testBuilder_noUri_buildsMatchingObject() 227 .setIcon(ICON) in testEquality_identicalObjects() 246 .setIcon(ICON) in testEquality_matchingKey_EqualObjects() [all …]
|
/packages/apps/Protips/src/com/android/protips/ |
D | ProtipWidget.java | 89 setIcon(R.drawable.droidman_down_closed); in goodmorning() 91 setIcon(R.drawable.droidman_down_open); in goodmorning() 93 setIcon(R.drawable.droidman_down_closed); in goodmorning() 95 setIcon(R.drawable.droidman_down_open); in goodmorning() 165 private void setIcon(int resId) { in setIcon() method in ProtipWidget 178 setIcon(R.drawable.droidman_closed); in blink() 182 setIcon(R.drawable.droidman_open); in blink() 184 setIcon(R.drawable.droidman_closed); in blink() 188 setIcon(R.drawable.droidman_open); in blink()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
D | StorageItemPreferenceControllerTest.java | 334 audio.setIcon(R.drawable.ic_media_stream); in settingUserIdAppliesNewIcons() 336 video.setIcon(R.drawable.ic_local_movies); in settingUserIdAppliesNewIcons() 338 image.setIcon(R.drawable.ic_photo_library); in settingUserIdAppliesNewIcons() 340 games.setIcon(R.drawable.ic_videogame_vd_theme_24); in settingUserIdAppliesNewIcons() 342 apps.setIcon(R.drawable.ic_storage_apps); in settingUserIdAppliesNewIcons() 344 system.setIcon(R.drawable.ic_system_update); in settingUserIdAppliesNewIcons() 346 files.setIcon(R.drawable.ic_folder_vd_theme_24); in settingUserIdAppliesNewIcons() 366 verify(audio, times(2)).setIcon(nullable(Drawable.class)); in settingUserIdAppliesNewIcons() 367 verify(video, times(2)).setIcon(nullable(Drawable.class)); in settingUserIdAppliesNewIcons() 368 verify(image, times(2)).setIcon(nullable(Drawable.class)); in settingUserIdAppliesNewIcons() [all …]
|
/packages/apps/Gallery/src/com/android/camera/ |
D | MenuHelper.java | 460 builder.setIcon( in onDetailsClicked() 596 .setIcon(android.R.drawable.ic_menu_rotate); in addImageMenuItems() 629 autoCrop.setIcon(android.R.drawable.ic_menu_crop); in addImageMenuItems() 643 setMenu.setIcon(android.R.drawable.ic_menu_set_as); in addImageMenuItems() 662 item1.setIcon(android.R.drawable.ic_menu_share); in addImageMenuItems() 679 .setIcon(android.R.drawable.ic_menu_delete); in addImageMenuItems() 690 detailsMenu.setIcon(R.drawable.ic_menu_view_details); in addImageMenuItems() 702 }).setIcon(R.drawable.ic_menu_3d_globe); in addImageMenuItems() 715 videoPlayItem.setIcon( in addImageMenuItems() 812 .setIcon(android.R.drawable.ic_dialog_alert) [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | SyncPreference.java | 71 setIcon(R.drawable.ic_sync_anim); in updateIcon() 75 setIcon(R.drawable.ic_sync); in updateIcon() 79 setIcon(R.drawable.ic_sync_problem); in updateIcon() 83 setIcon(null); in updateIcon()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | ContentFragment.java | 172 public void setIcon(int iconResourceId) { in setIcon() method in ContentFragment 173 mBase.setIcon(iconResourceId); in setIcon() 176 public void setIcon(Drawable iconDrawable) { in setIcon() method in ContentFragment 177 mBase.setIcon(iconDrawable); in setIcon()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | SubscriptionsPreferenceControllerTest.java | 365 mController.setIcon(pref, 1, true /* isDefaultForData */); in setIcon_nullStrength_noCrash() 377 mController.setIcon(pref, 1, true /* isDefaultForData */); in setIcon_noSignal_correctLevels() 380 mController.setIcon(pref, 2, false /* isDefaultForData */); in setIcon_noSignal_correctLevels() 392 mController.setIcon(pref, 1, true /* isDefaultForData */); in setIcon_noSignal_withInflation_correctLevels() 395 mController.setIcon(pref, 2, false /* isDefaultForData */); in setIcon_noSignal_withInflation_correctLevels() 406 mController.setIcon(pref, 1, true /* isDefaultForData */); in setIcon_greatSignal_correctLevels() 409 mController.setIcon(pref, 2, false /* isDefaultForData */); in setIcon_greatSignal_correctLevels()
|
/packages/apps/DeskClock/src/com/android/deskclock/controller/ |
D | ShortcutController.java | 91 .setIcon(Icon.createWithResource(mContext, R.drawable.shortcut_new_alarm)) in createNewAlarmShortcut() 108 .setIcon(Icon.createWithResource(mContext, R.drawable.shortcut_new_timer)) in createNewTimerShortcut() 123 .setIcon(Icon.createWithResource(mContext, R.drawable.shortcut_stopwatch)) in createStopwatchShortcut() 153 .setIcon(Icon.createWithResource(mContext, R.drawable.shortcut_screensaver)) in createScreensaverShortcut()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/alertdialog/ |
D | AlertDialogTestFragment.java | 72 .setIcon(android.R.drawable.ic_dialog_alert) in onCreateView() 96 .setIcon(android.R.drawable.ic_dialog_alert) in onCreateView() 120 .setIcon(android.R.drawable.ic_dialog_alert) in onCreateView()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | CallServiceNotifier.java | 138 .setIcon(Icon.createWithResource( in registerPhoneAccount() 160 .setIcon(Icon.createWithResource( in registerPhoneAccount() 180 .setIcon(Icon.createWithResource( in registerPhoneAccount() 195 .setIcon(Icon.createWithResource( in registerPhoneAccount()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | AdvancedPowerUsageDetailTest.java | 159 .setIcon(nullable(Drawable.class)); in setUp() 160 doReturn(mEntityHeaderController).when(mEntityHeaderController).setIcon(nullable( in setUp() 225 verify(mEntityHeaderController).setIcon(nullable(Drawable.class)); in testInitHeader_NoAppEntry_BuildByBundle() 241 verify(mEntityHeaderController).setIcon(mAppEntry); in testInitHeader_HasAppEntry_BuildByAppEntry() 258 verify(mEntityHeaderController).setIcon(mAppEntry); in testInitHeader_HasAppEntry_InstantApp()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserSettings.java | 382 mMePreference.setIcon(getEncircledDefaultIcon()); in loadProfile() 411 mMePreference.setIcon(encircle(b)); in finishLoadProfile() 876 pref.setIcon(getEncircledDefaultIcon()); in updateUserList() 882 pref.setIcon(getEncircledDefaultIcon()); in updateUserList() 892 pref.setIcon(getEncircledDefaultIcon()); in updateUserList() 905 pref.setIcon(getEncircledDefaultIcon()); in updateUserList() 1043 pref.setIcon(encircle(bitmap)); in setPhotoId() 1127 mMePreference.setIcon(photo); in onPhotoChanged()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/ |
D | UserSettings.java | 378 mMePreference.setIcon(getEncircledDefaultIcon()); in loadProfile() 407 mMePreference.setIcon(encircle(b)); in finishLoadProfile() 872 pref.setIcon(getEncircledDefaultIcon()); in updateUserList() 878 pref.setIcon(getEncircledDefaultIcon()); in updateUserList() 888 pref.setIcon(getEncircledDefaultIcon()); in updateUserList() 901 pref.setIcon(getEncircledDefaultIcon()); in updateUserList() 1039 pref.setIcon(encircle(bitmap)); in setPhotoId() 1123 mMePreference.setIcon(photo); in onPhotoChanged()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/ |
D | DevicePrefFragment.java | 152 mSoundsPref.setIcon(SoundFragment.getSoundEffectsEnabled(getContext().getContentResolver()) in updateSounds() 163 googleSettingsPref.setIcon( in updateGoogleSettings() 182 castPref.setIcon(targetContext.getDrawable(info.getIconResource())); in updateCastSettings()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | EmergencyNamePreference.java | 63 setIcon(getCircularUserIcon()); in EmergencyNamePreference() 91 setIcon(getCircularUserIcon()); in reloadFromUserManager() 199 setIcon(drawable); in onDialogClosed()
|
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
D | FdnList.java | 141 .setIcon(android.R.drawable.ic_menu_add); in onCreateOptionsMenu() 143 .setIcon(android.R.drawable.ic_menu_edit); in onCreateOptionsMenu() 145 .setIcon(android.R.drawable.ic_menu_delete); in onCreateOptionsMenu()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcessStatsPreference.java | 45 setIcon(entry.mUiTargetApp.loadIcon(pm)); in init() 47 setIcon(pm.getDefaultActivityIcon()); in init()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | ProcessStatsPreference.java | 45 setIcon(entry.mUiTargetApp.loadIcon(pm)); in init() 47 setIcon(pm.getDefaultActivityIcon()); in init()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | StatusBarNotifier.java | 71 mStatusBarManager.setIcon( in notifyMute() 96 mStatusBarManager.setIcon( in notifySpeakerphone()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | NetworkOperatorPreferenceTest.java | 66 preference.setIcon(LEVEL); in setIcon_useOldApi_doNothing() 68 verify(preference, never()).setIcon(any(Drawable.class)); in setIcon_useOldApi_doNothing()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | AccessPointPreference.java | 48 setIcon(getAccessPointIcon()); in AccessPointPreference() 61 setIcon(getAccessPointIcon()); in onBindViewHolder()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/print/ |
D | PrintSettingsFragment.java | 215 preference.setIcon(drawable); in onLoadFinished() 245 preference.setIcon(R.drawable.ic_menu_add); in newAddServicePreferenceOrNull() 370 preference.setIcon(icon); in onLoadFinished() 379 preference.setIcon(icon); in onLoadFinished()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationSettingsBase.java | 296 channelPref.setIcon(null); in populateSingleChannelPrefs() 298 channelPref.setIcon(getAlertingIcon()); in populateSingleChannelPrefs() 326 channelPref1.setIcon(null); in populateSingleChannelPrefs() 328 channelPref1.setIcon(getAlertingIcon()); in populateSingleChannelPrefs()
|