Home
last modified time | relevance | path

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

123

/frameworks/base/telephony/java/com/android/internal/telephony/cat/
DCommandParams.java36 boolean setIcon(Bitmap icon) { return true; } in setIcon() method in CommandParams
47 boolean setIcon(Bitmap icon) { in setIcon() method in DisplayTextParams
69 boolean setIcon(Bitmap icon) { in setIcon() method in LaunchBrowserParams
89 boolean setIcon(Bitmap icon) { in setIcon() method in PlayToneParams
109 boolean setIcon(Bitmap icon) { in setIcon() method in CallSetupParams
134 boolean setIcon(Bitmap icon) { in setIcon() method in SelectItemParams
161 boolean setIcon(Bitmap icon) { in setIcon() method in GetInputParams
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java148 mService.setIcon("tty", R.drawable.stat_sys_tty_mode, 0, null); in PhoneStatusBarPolicy()
152 mService.setIcon("cdma_eri", R.drawable.stat_sys_roaming_cdma_0, 0, null); in PhoneStatusBarPolicy()
156 mService.setIcon("bluetooth", R.drawable.stat_sys_data_bluetooth, 0, null); in PhoneStatusBarPolicy()
166 mService.setIcon("alarm_clock", R.drawable.stat_sys_alarm, 0, null); in PhoneStatusBarPolicy()
170 mService.setIcon("sync_active", R.drawable.stat_sys_sync, 0, null); in PhoneStatusBarPolicy()
171 mService.setIcon("sync_failing", R.drawable.stat_sys_sync_error, 0, null); in PhoneStatusBarPolicy()
176 mService.setIcon("volume", R.drawable.stat_sys_ringer_silent, 0, null); in PhoneStatusBarPolicy()
249 mService.setIcon("volume", iconId, 0, contentDescription); in updateVolume()
278 mService.setIcon("bluetooth", iconId, 0, contentDescription); in updateBluetooth()
291 mService.setIcon("tty", R.drawable.stat_sys_tty_mode, 0, in updateTTY()
/frameworks/base/core/java/com/android/internal/view/menu/
DSubMenuBuilder.java85 public SubMenu setIcon(Drawable icon) { in setIcon() method in SubMenuBuilder
86 mItem.setIcon(icon); in setIcon()
90 public SubMenu setIcon(int iconRes) { in setIcon() method in SubMenuBuilder
91 mItem.setIcon(iconRes); in setIcon()
DMenuView.java104 public void setIcon(Drawable icon); in setIcon() method
DActionMenuItem.java158 public MenuItem setIcon(Drawable icon) { in setIcon() method in ActionMenuItem
164 public MenuItem setIcon(int iconRes) { in setIcon() method in ActionMenuItem
DActionMenuItemView.java86 setIcon(itemData.getIcon()); in initialize()
140 public void setIcon(Drawable icon) { in setIcon() method in ActionMenuItemView
DIconMenuItemView.java103 setIcon(icon); in initialize()
174 public void setIcon(Drawable icon) { in setIcon() method in IconMenuItemView
/frameworks/base/core/java/android/view/
DSubMenu.java91 public SubMenu setIcon(int iconRes); in setIcon() method
100 public SubMenu setIcon(Drawable icon); in setIcon() method
DMenuItem.java204 public MenuItem setIcon(Drawable icon); in setIcon() method
217 public MenuItem setIcon(int iconRes); in setIcon() method
/frameworks/base/core/java/android/app/
DActionBar.java200 public abstract void setIcon(int resId); in setIcon() method in ActionBar
215 public abstract void setIcon(Drawable icon); in setIcon() method in ActionBar
743 public abstract Tab setIcon(Drawable icon); in setIcon() method in ActionBar.Tab
751 public abstract Tab setIcon(int resId); in setIcon() method in ActionBar.Tab
DAlertDialog.java310 public void setIcon(int resId) { in setIcon() method in AlertDialog
311 mAlert.setIcon(resId); in setIcon()
314 public void setIcon(Drawable icon) { in setIcon() method in AlertDialog
315 mAlert.setIcon(icon); in setIcon()
326 mAlert.setIcon(out.resourceId); in setIconAttribute()
452 public Builder setIcon(int iconId) { in setIcon() method in AlertDialog.Builder
462 public Builder setIcon(Drawable icon) { in setIcon() method in AlertDialog.Builder
DStatusBarManager.java124 public void setIcon(String slot, int iconId, int iconLevel, String contentDescription) { in setIcon() method in StatusBarManager
128 svc.setIcon(slot, mContext.getPackageName(), iconId, iconLevel, in setIcon()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DStatusBarTest.java125 mStatusBarManager.setIcon("speakerphone", R.drawable.stat_sys_phone, 0, null);
132 mStatusBarManager.setIcon("tty", R.drawable.stat_sys_phone, 0, null);
135 mStatusBarManager.setIcon("tty", R.drawable.stat_sys_phone, 0, null);
140 mStatusBarManager.setIcon("speakerphone", R.drawable.stat_sys_phone, 0, null);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListWithEmptyView.java77 .setIcon(android.R.drawable.ic_menu_add); in onCreateOptionsMenu()
79 .setIcon(android.R.drawable.ic_menu_delete); in onCreateOptionsMenu()
/frameworks/base/services/input/
DSpriteController.h106 virtual void setIcon(const SpriteIcon& icon) = 0;
109 setIcon(SpriteIcon()); in clearIcon()
221 virtual void setIcon(const SpriteIcon& icon);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCommandQueue.java100 public void setIcon(int index, StatusBarIcon icon) { in setIcon() method in CommandQueue
211 mList.setIcon(index, icon); in handleMessage()
214 mList.setIcon(index, icon); in handleMessage()
/frameworks/base/core/java/android/widget/
DShareActionProvider.java209 .setIcon(activity.loadIcon(packageManager)) in onPrepareSubMenu()
221 .setIcon(activity.loadIcon(packageManager)) in onPrepareSubMenu()
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
DInputMethodSettingsImpl.java186 mSubtypeEnablerPreference.setIcon(mSubtypeEnablerIconRes); in updateSubtypeEnabler()
188 mSubtypeEnablerPreference.setIcon(mSubtypeEnablerIcon); in updateSubtypeEnabler()
/frameworks/base/core/java/com/android/internal/statusbar/
DIStatusBar.aidl25 void setIcon(int index, in StatusBarIcon icon); in setIcon() method
DIStatusBarService.aidl30 …void setIcon(String slot, String iconPackage, int iconId, int iconLevel, String contentDescription… in setIcon() method
/frameworks/base/core/tests/coretests/src/android/view/
DListContextMenu.java101 item.setIcon(R.drawable.black_square); in onCreateOptionsMenu()
103 …SubMenu sm = menu.addSubMenu(0, 0, 0, "The 2nd item, a sub menu").setIcon(R.drawable.black_square_… in onCreateOptionsMenu()
/frameworks/base/core/java/com/android/internal/app/
DActionBarImpl.java864 public Tab setIcon(Drawable icon) {
873 public Tab setIcon(int resId) {
874 return setIcon(mContext.getResources().getDrawable(resId));
994 public void setIcon(int resId) { in setIcon() method
995 mActionView.setIcon(resId); in setIcon()
999 public void setIcon(Drawable icon) { in setIcon() method
1000 mActionView.setIcon(icon); in setIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DTaskDescription.java61 public void setIcon(Drawable icon) { in setIcon() method in TaskDescription
/frameworks/base/services/java/com/android/server/
DStatusBarManagerService.java173 public void setIcon(String slot, String iconPackage, int iconId, int iconLevel, in setIcon() method in StatusBarManagerService
186 mIcons.setIcon(index, icon); in setIcon()
190 mBar.setIcon(index, icon); in setIcon()
216 mBar.setIcon(index, icon); in setIconVisibility()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DManageDialog.java84 .setIcon(android.R.drawable.ic_dialog_info) in onResume()
94 .setIcon(app.loadIcon(pm)) in onResume()

123