/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/Car/libs/car-ui-lib/tests/paintbooth/src/com/android/car/ui/paintbooth/caruirecyclerview/ |
D | CarUiListItemActivity.java | 84 item.setIcon(getDrawable(R.drawable.ic_launcher)); in generateDummyData() 90 item.setIcon(getDrawable(R.drawable.ic_launcher)); in generateDummyData() 96 item.setIcon(getDrawable(R.drawable.ic_sample_logo)); in generateDummyData() 102 item.setIcon(getDrawable(R.drawable.ic_sample_logo)); in generateDummyData() 108 item.setIcon(getDrawable(R.drawable.ic_launcher)); in generateDummyData() 115 item.setIcon(getDrawable(R.drawable.ic_launcher)); in generateDummyData() 124 item.setIcon(getDrawable(R.drawable.ic_launcher)); in generateDummyData() 134 item.setIcon(getDrawable(R.drawable.ic_launcher)); in generateDummyData() 142 item.setIcon(getDrawable(R.drawable.ic_launcher)); in generateDummyData() 164 radioItem2.setIcon(getDrawable(R.drawable.ic_launcher)); in generateDummyData() [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/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/ |
D | MenuItem.java | 290 public void setIcon(Drawable icon) { in setIcon() method in MenuItem 297 public void setIcon(int resId) { in setIcon() method in MenuItem 298 setIcon(resId == 0 in setIcon() 402 public Builder setIcon(int resId) { in setIcon() method in MenuItem.Builder 414 public Builder setIcon(Drawable icon) { in setIcon() method in MenuItem.Builder 534 setIcon(mSearchIcon); in setToSearch() 552 setIcon(mSettingsIcon); in setToSettings()
|
/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 | 367 mController.setIcon(pref, 1, true /* isDefaultForData */); in setIcon_nullStrength_noCrash() 379 mController.setIcon(pref, 1, true /* isDefaultForData */); in setIcon_noSignal_correctLevels() 382 mController.setIcon(pref, 2, false /* isDefaultForData */); in setIcon_noSignal_correctLevels() 394 mController.setIcon(pref, 1, true /* isDefaultForData */); in setIcon_noSignal_withInflation_correctLevels() 397 mController.setIcon(pref, 2, false /* isDefaultForData */); in setIcon_noSignal_withInflation_correctLevels() 408 mController.setIcon(pref, 1, true /* isDefaultForData */); in setIcon_greatSignal_correctLevels() 411 mController.setIcon(pref, 2, false /* isDefaultForData */); in setIcon_greatSignal_correctLevels()
|
/packages/apps/Car/libs/car-ui-lib/tests/paintbooth/src/com/android/car/ui/paintbooth/toolbar/ |
D | ToolbarActivity.java | 110 .setIcon(R.drawable.ic_tracklist) in onCreate() 157 .setIcon(R.drawable.ic_tracklist) in onCreate() 169 .setIcon(R.drawable.ic_tracklist) in onCreate() 182 .setIcon(R.drawable.ic_tracklist) in onCreate() 195 i.setIcon(i.getIcon() == null ? R.drawable.ic_tracklist : 0)) in onCreate() 218 item.setIcon(newIcon); in onCreate()
|
/packages/apps/DeskClock/src/com/android/deskclock/controller/ |
D | ShortcutController.kt | 81 .setIcon(Icon.createWithResource(context, R.drawable.shortcut_new_alarm)) in createNewAlarmShortcut() 98 .setIcon(Icon.createWithResource(context, R.drawable.shortcut_new_timer)) in createNewTimerShortcut() 116 .setIcon(Icon.createWithResource(context, R.drawable.shortcut_stopwatch)) in createStopwatchShortcut() 146 .setIcon(Icon.createWithResource(context, R.drawable.shortcut_screensaver)) in createScreensaverShortcut()
|
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/apps/Car/Dialer/src/com/android/car/dialer/widget/ |
D | LoadingFrameLayout.java | 159 mErrorView.setIcon(iconResId); in showError() 204 mEmptyView.setIcon(iconResId); in showEmpty() 306 setIcon(mIconResId); in inflateView() 378 private void setIcon(@DrawableRes int iconResId) { in setIcon() method in LoadingFrameLayout.ViewContainer
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ChannelListPreferenceController.java | 182 channelPref.setIcon(null); in populateSingleChannelPrefs() 184 channelPref.setIcon(getAlertingIcon()); in populateSingleChannelPrefs() 212 channelPref1.setIcon(null); in populateSingleChannelPrefs() 214 channelPref1.setIcon(getAlertingIcon()); in populateSingleChannelPrefs()
|
/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/Car/libs/car-ui-lib/src/com/android/car/ui/ |
D | AlertDialogBuilder.java | 139 public AlertDialogBuilder setIcon(@DrawableRes int iconId) { in setIcon() method in AlertDialogBuilder 140 return setIcon(mContext.getDrawable(iconId)); in setIcon() 153 public AlertDialogBuilder setIcon(Drawable icon) { in setIcon() method in AlertDialogBuilder 155 mBuilder.setIcon(icon); in setIcon()
|
/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/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/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() 1124 mMePreference.setIcon(photo); in onPhotoChanged()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ui/ |
D | MoreOptionsFragment.java | 192 mPreference.setIcon(mPackageManager.getApplicationIcon( in updateEnabler() 195 mPreference.setIcon(null); in updateEnabler() 209 mPreference.setIcon(R.drawable.ic_download_from_market); in updateDownloader()
|
/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/Car/Settings/src/com/android/car/settings/quicksettings/ |
D | QuickSettingFragment.java | 150 .setIcon(R.drawable.ic_user) in onCreate() 159 .setIcon(R.drawable.ic_settings_gear) in onCreate() 216 mUserSwitcherBtn.setIcon(userIcon); in setupUserButton()
|