Home
last modified time | relevance | path

Searched refs:setIcon (Results 1 – 25 of 424) sorted by relevance

12345678910>>...17

/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/
DMainFragmentTest.java85 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/
DMainFragment.java263 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/
DCarUiListItemActivity.java84 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/
DSliceDataTest.java51 .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/
DProtipWidget.java89 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/
DStorageItemPreferenceControllerTest.java334 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/
DMenuItem.java290 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/
DMenuHelper.java460 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/
DSyncPreference.java71 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/
DContentFragment.java172 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/
DSubscriptionsPreferenceControllerTest.java367 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/
DToolbarActivity.java110 .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/
DShortcutController.kt81 .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()
DShortcutController.java91 .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/
DAlertDialogTestFragment.java72 .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/
DLoadingFrameLayout.java159 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/
DChannelListPreferenceController.java182 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/
DCallServiceNotifier.java138 .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/
DAlertDialogBuilder.java139 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/
DAdvancedPowerUsageDetailTest.java159 .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/
DUserSettings.java378 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/
DUserSettings.java382 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/
DMoreOptionsFragment.java192 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/
DDevicePrefFragment.java152 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/
DQuickSettingFragment.java150 .setIcon(R.drawable.ic_user) in onCreate()
159 .setIcon(R.drawable.ic_settings_gear) in onCreate()
216 mUserSwitcherBtn.setIcon(userIcon); in setupUserButton()

12345678910>>...17