Home
last modified time | relevance | path

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

12345678910>>...16

/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/
DMainFragmentTest.java77 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_wifi_signal_off_white); in testUpdateConnectivity_NoNetwork()
94 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_wifi_signal_off_white); in testUpdateConnectivity_hasEthernet()
111 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_ethernet_white); in testUpdateConnectivity_hasEthernetConnected()
130 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_wifi_signal_0_white); in testUpdateConnectivity_wifiSignal()
136 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_wifi_signal_1_white); in testUpdateConnectivity_wifiSignal()
142 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_wifi_signal_2_white); in testUpdateConnectivity_wifiSignal()
148 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_wifi_signal_3_white); in testUpdateConnectivity_wifiSignal()
154 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_wifi_signal_4_white); in testUpdateConnectivity_wifiSignal()
160 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_wifi_not_connected); in testUpdateConnectivity_wifiSignal()
177 verify(networkPref, atLeastOnce()).setIcon(R.drawable.ic_wifi_signal_off_white); in testUpdateConnectivity_notConnected()
[all …]
/packages/apps/Settings/tests/unit/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/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/caruirecyclerview/
DCarUiListItemActivity.java88 item.setIcon(getDrawable(R.drawable.ic_launcher)); in generateSampleData()
94 item.setIcon(getDrawable(R.drawable.ic_launcher)); in generateSampleData()
100 item.setIcon(getDrawable(R.drawable.ic_sample_logo)); in generateSampleData()
106 item.setIcon(getDrawable(R.drawable.ic_sample_logo)); in generateSampleData()
112 item.setIcon(getDrawable(R.drawable.ic_launcher)); in generateSampleData()
119 item.setIcon(getDrawable(R.drawable.ic_launcher)); in generateSampleData()
128 item.setIcon(getDrawable(R.drawable.ic_launcher)); in generateSampleData()
138 item.setIcon(getDrawable(R.drawable.ic_launcher)); in generateSampleData()
146 item.setIcon(getDrawable(R.drawable.ic_launcher)); in generateSampleData()
168 radioItem2.setIcon(getDrawable(R.drawable.ic_launcher)); in generateSampleData()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DMainFragment.java228 networkPref.setIcon(R.drawable.ic_cell_signal_4_white); in updateConnectivity()
231 networkPref.setIcon(R.drawable.ic_cell_signal_3_white); in updateConnectivity()
234 networkPref.setIcon(R.drawable.ic_cell_signal_2_white); in updateConnectivity()
237 networkPref.setIcon(R.drawable.ic_cell_signal_1_white); in updateConnectivity()
241 networkPref.setIcon(R.drawable.ic_cell_signal_0_white); in updateConnectivity()
245 networkPref.setIcon(R.drawable.ic_ethernet_white); in updateConnectivity()
252 networkPref.setIcon(R.drawable.ic_wifi_signal_4_white); in updateConnectivity()
255 networkPref.setIcon(R.drawable.ic_wifi_signal_3_white); in updateConnectivity()
258 networkPref.setIcon(R.drawable.ic_wifi_signal_2_white); in updateConnectivity()
261 networkPref.setIcon(R.drawable.ic_wifi_signal_1_white); in updateConnectivity()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceControllerTest.java111 publicStorage.setIcon(R.drawable.ic_folder_vd_theme_24); in getPreferenceScreen()
113 images.setIcon(R.drawable.ic_photo_library); in getPreferenceScreen()
115 videos.setIcon(R.drawable.ic_local_movies); in getPreferenceScreen()
117 audio.setIcon(R.drawable.ic_media_stream); in getPreferenceScreen()
119 apps.setIcon(R.drawable.ic_storage_apps); in getPreferenceScreen()
121 games.setIcon(R.drawable.ic_videogame_vd_theme_24); in getPreferenceScreen()
123 documentsAndOther.setIcon(R.drawable.ic_folder_vd_theme_24); in getPreferenceScreen()
125 system.setIcon(R.drawable.ic_system_update); in getPreferenceScreen()
127 trash.setIcon(R.drawable.ic_trash_can); in getPreferenceScreen()
363 verify(mController.mPublicStoragePreference, times(2)).setIcon(nullable(Drawable.class)); in settingUserIdAppliesNewIcons()
[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/TvSettings/Settings/src/com/android/tv/settings/widget/
DTvAccessPointPreference.java47 setIcon(R.drawable.ic_wifi_signal_4_white); in updateIcon()
50 setIcon(R.drawable.ic_wifi_signal_3_white); in updateIcon()
53 setIcon(R.drawable.ic_wifi_signal_2_white); in updateIcon()
56 setIcon(R.drawable.ic_wifi_signal_1_white); in updateIcon()
61 setIcon(R.drawable.ic_wifi_signal_0_white); in updateIcon()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DActionButtonsPreferenceTest.java97 mPref.getButton(ActionButtons.BUTTON1).setIcon(R.drawable.ic_lock); in onBindViewHolder_setIcon_shouldShowButtonByDefault()
98 mPref.getButton(ActionButtons.BUTTON2).setIcon(R.drawable.ic_lock); in onBindViewHolder_setIcon_shouldShowButtonByDefault()
99 mPref.getButton(ActionButtons.BUTTON3).setIcon(R.drawable.ic_lock); in onBindViewHolder_setIcon_shouldShowButtonByDefault()
100 mPref.getButton(ActionButtons.BUTTON4).setIcon(R.drawable.ic_lock); in onBindViewHolder_setIcon_shouldShowButtonByDefault()
149 mPref.getButton(ActionButtons.BUTTON1).setIcon(R.drawable.ic_lock).setVisible(false); in onBindViewHolder_setVisibleIsGoneAndSetIcon_shouldNotShowButton()
150 mPref.getButton(ActionButtons.BUTTON2).setIcon(R.drawable.ic_lock).setVisible(false); in onBindViewHolder_setVisibleIsGoneAndSetIcon_shouldNotShowButton()
151 mPref.getButton(ActionButtons.BUTTON3).setIcon(R.drawable.ic_lock).setVisible(false); in onBindViewHolder_setVisibleIsGoneAndSetIcon_shouldNotShowButton()
152 mPref.getButton(ActionButtons.BUTTON4).setIcon(R.drawable.ic_lock).setVisible(false); in onBindViewHolder_setVisibleIsGoneAndSetIcon_shouldNotShowButton()
245 mPref.getButton(ActionButtons.BUTTON1).setText(R.string.settings_label).setIcon( in onBindViewHolder_setButtonIcon_iconMustDisplayAboveText()
313 mPref.getButton(ActionButtons.BUTTON1).setText(R.string.settings_label).setIcon(0); in setButtonIcon_iconResourceIdIsZero_shouldNotDisplayIcon()
[all …]
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DMenuItem.java295 public void setIcon(Drawable icon) { in setIcon() method in MenuItem
302 public void setIcon(int resId) { in setIcon() method in MenuItem
303 setIcon(resId == 0 in setIcon()
416 public Builder setIcon(int resId) { in setIcon() method in MenuItem.Builder
428 public Builder setIcon(Drawable icon) { in setIcon() method in MenuItem.Builder
556 setIcon(mSearchIcon); in setToSearch()
574 setIcon(mSettingsIcon); in setToSettings()
/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/Car/Settings/src/com/android/car/settings/profiles/
DProfileDetailsActionButtonsPreferenceController.java148 .setIcon(R.drawable.ic_edit) in onStartInternal()
155 .setIcon(R.drawable.ic_person) in onStartInternal()
174 profilesButton.setIcon(R.drawable.ic_add); in onStartInternal()
176 profilesButton.setIcon(R.drawable.ic_people); in onStartInternal()
182 .setIcon(R.drawable.ic_delete) in onStartInternal()
/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/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/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/toolbar/
DToolbarActivity.java194 .setIcon(R.drawable.ic_tracklist) in onCreate()
228 .setIcon(R.drawable.ic_tracklist) in onCreate()
251 .setIcon(R.drawable.ic_tracklist) in onCreate()
264 .setIcon(R.drawable.ic_tracklist) in onCreate()
277 .setIcon(R.drawable.ic_tracklist) in onCreate()
290 i.setIcon(i.getIcon() == null ? R.drawable.ic_tracklist : 0)) in onCreate()
325 .setIcon(R.drawable.ic_tracklist) in onCreate()
354 item.setIcon(newIcon); in onCreate()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDeviceActionButtonsPreferenceController.java61 button.setText(R.string.disconnect).setIcon(R.drawable.ic_close).setOnClickListener( in updateConnectionButton()
64 button.setText(R.string.connect).setIcon(R.drawable.ic_add).setOnClickListener( in updateConnectionButton()
70 button.setText(R.string.forget).setIcon(R.drawable.ic_delete).setOnClickListener(v -> { in updateForgetButton()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/toolbar/
DToolbarMenuItemsTest.java130 .setIcon(R.drawable.ic_add) in menuItems_icon_shouldShow()
157 .setIcon(R.drawable.ic_add) in menuItems_textAndIcon_shouldShow()
171 menuItem[0].setIcon(R.drawable.ic_launcher); in menuItems_textAndIcon_shouldShow()
184 .setIcon(R.drawable.ic_add) in menuItems_removeIcon_shouldShowText()
193 runWithActivityAndToolbar((activity, toolbar) -> menuItem[0].setIcon(0)); in menuItems_removeIcon_shouldShowText()
259 .setIcon(R.drawable.ic_add) in menuItems_overflowIconAndText_shouldWork()
369 .setIcon(R.drawable.ic_add) in menuItems_activatable_test()
/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()
/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/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsListHeader.java164 setIcon(info); in applyIconAndLabel()
173 private void setIcon(PackageItemInfo info) { in setIcon() method in WidgetsListHeader
246 setIcon(info); in applyIconAndLabel()
272 setIcon((PackageItemInfo) info); in reapplyItemInfo()
/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/Settings/src/com/android/settings/users/
DUserSettings.java405 mMePreference.setIcon(getEncircledDefaultIcon()); in loadProfile()
441 mMePreference.setIcon(encircle(b)); in finishLoadProfile()
707 mMePreference.setIcon(newUserIcon); in buildEditCurrentUserDialog()
954 pref.setIcon(getEncircledDefaultIcon());
990 pref.setIcon(getEncircledDefaultIcon());
996 pref.setIcon(getEncircledDefaultIcon());
1006 pref.setIcon(getEncircledDefaultIcon());
1068 mAddGuest.setIcon(getEncircledDefaultIcon());
1149 pref.setIcon(encircle(bitmap));
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/imewidescreen/
DCarUiImeSearchListItem.java49 public void setIcon(@Nullable Drawable icon) { in setIcon() method in CarUiImeSearchListItem
51 super.setIcon(icon); in setIcon()
/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/Car/Media/src/com/android/car/media/widgets/
DAppBarController.java111 .setIcon(R.drawable.ic_equalizer) in AppBarController()
117 .setIcon(mUseSourceLogoForAppSelector in AppBarController()
220 mAppSelector.setIcon(drawable); in setLogo()

12345678910>>...16