Home
last modified time | relevance | path

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

12345678

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarIconListTest.java45 statusBarIconList.setIcon(0, sbIcon); in testAddSlotSlidesIcons()
56 statusBarIconList.setIcon(0, sbIconA); in testGetAndSetIcon()
57 statusBarIconList.setIcon(1, sbIconB); in testGetAndSetIcon()
68 statusBarIconList.setIcon(0, sbIconA); in testRemoveIcon()
69 statusBarIconList.setIcon(1, sbIconB); in testRemoveIcon()
78 statusBarIconList.setIcon(2, sbIcon); in testGetViewIndex()
80 statusBarIconList.setIcon(0, sbIcon); in testGetViewIndex()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCommandParams.java38 boolean setIcon(Bitmap icon) { return true; } in setIcon() method in CommandParams
55 boolean setIcon(Bitmap icon) { in setIcon() method in DisplayTextParams
83 boolean setIcon(Bitmap icon) { in setIcon() method in LaunchBrowserParams
117 boolean setIcon(Bitmap icon) { in setIcon() method in PlayToneParams
138 boolean setIcon(Bitmap icon) { in setIcon() method in CallSetupParams
164 boolean setIcon(Bitmap icon) { in setIcon() method in SelectItemParams
192 boolean setIcon(Bitmap icon) { in setIcon() method in GetInputParams
219 boolean setIcon(Bitmap icon) { in setIcon() method in BIPClientParams
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DSubMenuWrapperICS.java83 public SubMenu setIcon(int iconRes) { in setIcon() method in SubMenuWrapperICS
84 getWrappedObject().setIcon(iconRes); in setIcon()
89 public SubMenu setIcon(Drawable icon) { in setIcon() method in SubMenuWrapperICS
90 getWrappedObject().setIcon(icon); in setIcon()
DSubMenuBuilder.java93 public SubMenu setIcon(Drawable icon) { in setIcon() method in SubMenuBuilder
94 mItem.setIcon(icon); in setIcon()
99 public SubMenu setIcon(int iconRes) { in setIcon() method in SubMenuBuilder
100 mItem.setIcon(iconRes); in setIcon()
/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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconControllerImpl.java111 setIcon(currentSlots.get(i), current.get(i)); in onTuningChanged()
128 public void setIcon(String slot, int resourceId, CharSequence contentDescription) { in setIcon() method in StatusBarIconControllerImpl
134 setIcon(slot, icon); in setIcon()
151 public void setIcon(String slot, StatusBarIcon icon) { in setIcon() method in StatusBarIconControllerImpl
152 setIcon(getSlotIndex(slot), icon); in setIcon()
183 public void setIcon(int index, StatusBarIcon icon) { in setIcon() method in StatusBarIconControllerImpl
189 super.setIcon(index, icon); in setIcon()
DPhoneStatusBarPolicy.java205 mIconController.setIcon(mSlotAlarmClock, R.drawable.stat_sys_alarm, null); in PhoneStatusBarPolicy()
209 mIconController.setIcon(mSlotZen, R.drawable.stat_sys_zen_important, null); in PhoneStatusBarPolicy()
213 mIconController.setIcon(mSlotVolume, R.drawable.stat_sys_ringer_vibrate, null); in PhoneStatusBarPolicy()
218 mIconController.setIcon(mSlotCast, R.drawable.stat_sys_cast, null); in PhoneStatusBarPolicy()
222 mIconController.setIcon(mSlotHotspot, R.drawable.stat_sys_hotspot, in PhoneStatusBarPolicy()
227 mIconController.setIcon(mSlotManagedProfile, R.drawable.stat_sys_managed_profile_status, in PhoneStatusBarPolicy()
232 mIconController.setIcon(mSlotDataSaver, R.drawable.stat_sys_data_saver, in PhoneStatusBarPolicy()
295 mIconController.setIcon(mSlotLocation, LOCATION_STATUS_ICON_ID, in updateLocation()
307 mIconController.setIcon(mSlotAlarmClock, zenNone ? R.drawable.stat_sys_alarm_dim in updateAlarm()
377 mIconController.setIcon(mSlotZen, zenIconId, zenDescription); in updateVolumeZen()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DBridgeActionBar.java125 setIcon(); in setupActionBar()
131 protected abstract void setIcon(String icon); in setIcon() method in BridgeActionBar
153 private void setIcon() { in setIcon() method in BridgeActionBar
156 setIcon(appIcon); in setIcon()
/frameworks/base/core/java/android/view/
DSubMenu.java93 public SubMenu setIcon(@DrawableRes int iconRes); in setIcon() method
102 public SubMenu setIcon(Drawable icon); in setIcon() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DSelectablePreference.java36 public void setIcon(Drawable icon) { in setIcon() method in SelectablePreference
37 super.setIcon(new ScalingDrawableWrapper(icon, in setIcon()
/frameworks/base/core/java/com/android/internal/widget/
DDecorContentParent.java39 void setIcon(int resId); in setIcon() method
40 void setIcon(Drawable d); in setIcon() method
DDecorToolbar.java62 void setIcon(int resId); in setIcon() method
63 void setIcon(Drawable d); in setIcon() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeStatusBarIconController.java46 public void setIcon(String slot, int resourceId, CharSequence contentDescription) { in setIcon() method in FakeStatusBarIconController
51 public void setIcon(String slot, StatusBarIcon icon) { in setIcon() method in FakeStatusBarIconController
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DDecorContentParent.java45 void setIcon(int resId); in setIcon() method
46 void setIcon(Drawable d); in setIcon() method
DDecorToolbar.java60 void setIcon(int resId); in setIcon() method
61 void setIcon(Drawable d); in setIcon() method
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAlertDialog.java233 public void setIcon(int resId) { in setIcon() method in AlertDialog
234 mAlert.setIcon(resId); in setIcon()
242 public void setIcon(Drawable icon) { in setIcon() method in AlertDialog
243 mAlert.setIcon(icon); in setIcon()
254 mAlert.setIcon(out.resourceId); in setIconAttribute()
410 public Builder setIcon(@DrawableRes int iconId) { in setIcon() method in AlertDialog.Builder
425 public Builder setIcon(@Nullable Drawable icon) { in setIcon() method in AlertDialog.Builder
DActionBar.java270 public abstract void setIcon(@DrawableRes int resId); in setIcon() method in ActionBar
285 public abstract void setIcon(Drawable icon); in setIcon() method in ActionBar
1207 public abstract Tab setIcon(Drawable icon); in setIcon() method in ActionBar.Tab
1215 public abstract Tab setIcon(@DrawableRes int resId); in setIcon() method in ActionBar.Tab
/frameworks/support/v7/preference/tests/src/android/support/v7/preference/tests/
DSimplePreferenceComparisonCallbackTest.java184 mPref1.setIcon(drawable1); in testIconComparison()
191 mPref2.setIcon(drawable1); in testIconComparison()
196 mPref2.setIcon(drawable1a); in testIconComparison()
201 mPref2.setIcon(drawable2); in testIconComparison()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DIconMixin.java49 setIcon(icon); in IconMixin()
60 public void setIcon(Drawable icon) { in setIcon() method in IconMixin
/frameworks/base/core/java/android/app/
DAlertDialog.java399 public void setIcon(@DrawableRes int resId) { in setIcon() method in AlertDialog
400 mAlert.setIcon(resId); in setIcon()
403 public void setIcon(Drawable icon) { in setIcon() method in AlertDialog
404 mAlert.setIcon(icon); in setIcon()
415 mAlert.setIcon(out.resourceId); in setIconAttribute()
568 public Builder setIcon(@DrawableRes int iconId) { in setIcon() method in AlertDialog.Builder
583 public Builder setIcon(Drawable icon) { in setIcon() method in AlertDialog.Builder
DActionBar.java278 public abstract void setIcon(@DrawableRes int resId); in setIcon() method in ActionBar
293 public abstract void setIcon(Drawable icon); in setIcon() method in ActionBar
1187 public abstract Tab setIcon(Drawable icon); in setIcon() method in ActionBar.Tab
1195 public abstract Tab setIcon(@DrawableRes int resId); in setIcon() method in ActionBar.Tab
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DStatusBarTest.java111 mStatusBarManager.setIcon("speakerphone", R.drawable.stat_sys_phone, 0, null);
118 mStatusBarManager.setIcon("tty", R.drawable.stat_sys_phone, 0, null);
121 mStatusBarManager.setIcon("tty", R.drawable.stat_sys_phone, 0, null);
126 mStatusBarManager.setIcon("speakerphone", R.drawable.stat_sys_phone, 0, null);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DAction.java78 setIcon(icon); in Action()
126 public final void setIcon(Drawable icon) { in setIcon() method in Action
/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/libs/input/
DSpriteController.h107 virtual void setIcon(const SpriteIcon& icon) = 0;
110 setIcon(SpriteIcon()); in clearIcon()
222 virtual void setIcon(const SpriteIcon& icon);

12345678