Home
last modified time | relevance | path

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

123456

/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/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 …]
DImageGallery.java174 }).setIcon(android.R.drawable.ic_menu_slideshow); in addSlideShowMenu()
294 .setIcon(android.R.drawable.ic_dialog_info)
506 item.setIcon(android.R.drawable.ic_menu_preferences);
522 item.setIcon(R.drawable.ic_menu_multiselect_gallery);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DContentFragment.java177 public void setIcon(int iconResourceId) { in setIcon() method in ContentFragment
178 mBase.setIcon(iconResourceId); in setIcon()
181 public void setIcon(Uri iconUri) { in setIcon() method in ContentFragment
182 mBase.setIcon(iconUri); in setIcon()
185 public void setIcon(Drawable iconDrawable) { in setIcon() method in ContentFragment
186 mBase.setIcon(iconDrawable); in setIcon()
DBaseContentFragment.java321 public void setIcon(Drawable iconDrawable) { in setIcon() method in BaseContentFragment
334 public void setIcon(int iconResourceId) { in setIcon() method in BaseContentFragment
348 public void setIcon(Uri iconUri) { in setIcon() method in BaseContentFragment
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java316 mMePreference.setIcon(getEncircledDefaultIcon()); in loadProfile()
344 mMePreference.setIcon(encircle(b)); in finishLoadProfile()
762 pref.setIcon(getEncircledDefaultIcon()); in updateUserList()
768 pref.setIcon(getEncircledDefaultIcon()); in updateUserList()
778 pref.setIcon(getEncircledDefaultIcon()); in updateUserList()
789 pref.setIcon(getEncircledDefaultIcon()); in updateUserList()
894 pref.setIcon(encircle(bitmap)); in setPhotoId()
1019 mMePreference.setIcon(photo); in onPhotoChanged()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java175 setIcon(iconDrawable, mIconSize); in applyFromShortcutInfo()
188 setIcon(mLauncher.createIconDrawable(info.iconBitmap), mIconSize); in applyFromApplicationInfo()
201 setIcon(mLauncher.createIconDrawable(info.iconBitmap), mIconSize); in applyFromPackageItemInfo()
478 setIcon(preloadDrawable, mIconSize); in applyState()
507 private Drawable setIcon(Drawable icon, int iconSize) { in setIcon() method in BubbleTextView
/packages/apps/Music/src/com/android/music/
DMediaPlaybackActivity.java519 … menu.add(0, GOTO_START, 0, R.string.goto_start).setIcon(R.drawable.ic_menu_music_library); in onCreateOptionsMenu()
522 R.string.add_to_playlist).setIcon(android.R.drawable.ic_menu_add); in onCreateOptionsMenu()
526 .setIcon(R.drawable.ic_menu_set_as_ringtone); in onCreateOptionsMenu()
528 .setIcon(R.drawable.ic_menu_delete); in onCreateOptionsMenu()
532 menu.add(0, EFFECTS_PANEL, 0, R.string.effectspanel).setIcon(R.drawable.ic_menu_eq); in onCreateOptionsMenu()
547 item.setIcon(R.drawable.ic_menu_party_shuffle); in onPrepareOptionsMenu()
550 item.setIcon(R.drawable.ic_menu_party_shuffle); in onPrepareOptionsMenu()
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DFdnList.java80 .setIcon(android.R.drawable.ic_menu_add); in onCreateOptionsMenu()
82 .setIcon(android.R.drawable.ic_menu_edit); in onCreateOptionsMenu()
84 .setIcon(android.R.drawable.ic_menu_delete); in onCreateOptionsMenu()
/packages/apps/Settings/src/com/android/settings/wifi/
DAccessPointPreference.java115 setIcon(null); in updateIcon()
128 setIcon(drawable); in updateIcon()
130 setIcon(null); in updateIcon()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DUserDictionaryToolsList.java261 .setIcon(android.R.drawable.ic_menu_add) in onCreateOptionsMenu()
265 .setIcon(android.R.drawable.ic_menu_edit) in onCreateOptionsMenu()
269 .setIcon(android.R.drawable.ic_menu_delete) in onCreateOptionsMenu()
273 .setIcon(android.R.drawable.ic_menu_delete) in onCreateOptionsMenu()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.java169 alarmTab.setIcon(R.drawable.ic_tab_alarm); in createTabs()
178 clockTab.setIcon(R.drawable.ic_tab_clock); in createTabs()
183 timerTab.setIcon(R.drawable.ic_tab_timer); in createTabs()
188 stopwatchTab.setIcon(R.drawable.ic_tab_stopwatch); in createTabs()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DCallServiceNotifier.java116 .setIcon(Icon.createWithResource( in registerPhoneAccount()
135 .setIcon(Icon.createWithResource( in registerPhoneAccount()
150 .setIcon(Icon.createWithResource( in registerPhoneAccount()
/packages/apps/FMRadio/src/com/android/fmradio/
DFmMainActivity.java255 mMenuItemHeadset.setIcon(R.drawable.btn_fm_headset_selector);
773 mMenuItemHeadset.setIcon(isSpeakerUsed ? R.drawable.btn_fm_speaker_selector in onPrepareOptionsMenu()
802 mMenuItemHeadset.setIcon(R.drawable.btn_fm_headset_selector); in onOptionsItemSelected()
808 mMenuItemHeadset.setIcon(R.drawable.btn_fm_speaker_selector); in onOptionsItemSelected()
1114 mMenuItemHeadset.setIcon(isSpeakerUsed ? R.drawable.btn_fm_speaker_selector in updateMenuStatus()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSettings.java305 preference.setIcon(R.drawable.ic_menu_add); in newAddAccountPreference()
314 preference.setIcon(R.drawable.ic_menu_delete); in newRemoveWorkProfilePreference()
373 mProfileNotAvailablePreference.setIcon(R.drawable.empty_icon); in updateAccountTypes()
505 setIcon(icon); in AccountPreference()
DAccountSyncSettings.java258 .setIcon(R.drawable.ic_menu_refresh_holo_dark); in onCreateOptionsMenu()
261 .setIcon(com.android.internal.R.drawable.ic_menu_close_clear_cancel); in onCreateOptionsMenu()
266 .setIcon(R.drawable.ic_menu_delete); in onCreateOptionsMenu()
/packages/apps/Settings/src/com/android/settings/print/
DPrintSettingsFragment.java249 preference.setIcon(drawable); in updateServicesPreferences()
307 preference.setIcon(R.drawable.ic_menu_add); in newAddServicePreferenceOrNull()
484 preference.setIcon(R.drawable.ic_print); in onLoadFinished()
489 preference.setIcon(R.drawable.ic_print_error); in onLoadFinished()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DPhoneAccountRegistrarTest.java199 .setIcon(Icon.createWithResource( in testPhoneAccountParceling()
211 .setIcon(Icon.createWithBitmap( in testPhoneAccountParceling()
245 .setIcon(Icon.createWithResource( in makeQuickAccount()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsPreference.java40 setIcon(entry.mUiTargetApp.loadIcon(pm)); in init()
42 setIcon(new ColorDrawable(0)); in init()
/packages/services/Telecomm/src/com/android/server/telecom/
DStatusBarNotifier.java66 mStatusBarManager.setIcon( in notifyMute()
90 mStatusBarManager.setIcon( in notifySpeakerphone()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApnEditorActivity.java304 .setIcon(R.drawable.ic_delete_small_dark); in onCreateOptionsMenu()
307 .setIcon(android.R.drawable.ic_menu_save); in onCreateOptionsMenu()
309 .setIcon(android.R.drawable.ic_menu_close_clear_cancel); in onCreateOptionsMenu()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DSettingsLayoutActivity.java77 protected void setIcon(int resId) { in setIcon() method in SettingsLayoutActivity
78 mSettingsLayoutFragment.setIcon(resId); in setIcon()
DProgressDialogFragment.java58 public void setIcon(@DrawableRes int resId) { in setIcon() method in ProgressDialogFragment
63 public void setIcon(@Nullable Drawable icon) { in setIcon() method in ProgressDialogFragment
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DHomeXLarge.java84 .setIcon(resources.getDrawable(android.R.drawable.ic_menu_search)); in onCreateActionMenu()
86 .setIcon(resources.getDrawable(android.R.drawable.ic_menu_add)); in onCreateActionMenu()
/packages/apps/Settings/src/com/android/settings/
DAccountPreference.java52 setIcon(icon); in AccountPreference()
54 setIcon(getSyncStatusIcon(SYNC_DISABLED)); in AccountPreference()

123456