Home
last modified time | relevance | path

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

123456

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarIconListTest.java54 statusBarIconList.setIcon(0, sbHolder); in testAddSlotSlidesIcons()
65 statusBarIconList.setIcon(0, sbHolderA); in testGetAndSetIcon()
66 statusBarIconList.setIcon(1, sbHolderB); in testGetAndSetIcon()
77 statusBarIconList.setIcon(0, sbHolderA); in testRemoveIcon()
78 statusBarIconList.setIcon(1, sbHolderB); in testRemoveIcon()
87 statusBarIconList.setIcon(2, sbHolder); in testGetViewIndex_NoMultiples()
90 statusBarIconList.setIcon(0, sbHolder); in testGetViewIndex_NoMultiples()
102 statusBarIconList.setIcon(2, sbHolder); // item 2, one icon 0th child in testGetViewIndex_MultipleIconsPerSlot()
115 statusBarIconList.setIcon(1, sbHolder2); in testGetViewIndex_MultipleIconsPerSlot()
119 statusBarIconList.setIcon(1, sbHolder3); in testGetViewIndex_MultipleIconsPerSlot()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCommandParams.java42 boolean setIcon(Bitmap icon) { return true; } in setIcon() method in CommandParams
61 boolean setIcon(Bitmap icon) { in setIcon() method in DisplayTextParams
89 boolean setIcon(Bitmap icon) { in setIcon() method in LaunchBrowserParams
124 boolean setIcon(Bitmap icon) { in setIcon() method in PlayToneParams
145 boolean setIcon(Bitmap icon) { in setIcon() method in CallSetupParams
181 boolean setIcon(Bitmap icon) { in setIcon() method in SelectItemParams
210 boolean setIcon(Bitmap icon) { in setIcon() method in GetInputParams
237 boolean setIcon(Bitmap icon) { in setIcon() method in BIPClientParams
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconControllerImpl.java136 setIcon(getSlotIndex(item.getName()), holder); in onTuningChanged()
153 public void setIcon(String slot, int resourceId, CharSequence contentDescription) { in setIcon() method in StatusBarIconControllerImpl
161 setIcon(index, holder); in setIcon()
186 setIcon(index, holder); in setSignalIcon()
212 setIcon(slotIndex, holder); in setMobileIcons()
230 public void setIcon(String slot, StatusBarIcon icon) { in setIcon() method in StatusBarIconControllerImpl
231 setIcon(getSlotIndex(slot), icon); in setIcon()
237 private void setIcon(int index, StatusBarIcon icon) { in setIcon() method in StatusBarIconControllerImpl
244 setIcon(index, holder); in setIcon()
248 public void setIcon(int index, @NonNull StatusBarIconHolder holder) { in setIcon() method in StatusBarIconControllerImpl
[all …]
DPhoneStatusBarPolicy.java190 mIconController.setIcon(mSlotAlarmClock, R.drawable.stat_sys_alarm, null); in PhoneStatusBarPolicy()
194 mIconController.setIcon(mSlotZen, R.drawable.stat_sys_dnd, null); in PhoneStatusBarPolicy()
198 mIconController.setIcon(mSlotVolume, R.drawable.stat_sys_ringer_vibrate, null); in PhoneStatusBarPolicy()
203 mIconController.setIcon(mSlotCast, R.drawable.stat_sys_cast, null); in PhoneStatusBarPolicy()
207 mIconController.setIcon(mSlotHotspot, R.drawable.stat_sys_hotspot, in PhoneStatusBarPolicy()
212 mIconController.setIcon(mSlotManagedProfile, R.drawable.stat_sys_managed_profile_status, in PhoneStatusBarPolicy()
217 mIconController.setIcon(mSlotDataSaver, R.drawable.stat_sys_data_saver, in PhoneStatusBarPolicy()
221 mIconController.setIcon(mSlotLocation, LOCATION_STATUS_ICON_ID, in PhoneStatusBarPolicy()
226 mIconController.setIcon(mSlotSensorsOff, R.drawable.stat_sys_sensors_off, in PhoneStatusBarPolicy()
261 mIconController.setIcon(mSlotAlarmClock, zenNone ? R.drawable.stat_sys_alarm_dim in updateAlarm()
[all …]
DUserAvatarView.java110 mDrawable.setIcon(avatar); in setAvatar()
115 mDrawable.setIcon(avatar); in setAvatarWithBadge()
/frameworks/base/core/java/com/android/internal/view/menu/
DSubMenuBuilder.java88 public SubMenu setIcon(Drawable icon) { in setIcon() method in SubMenuBuilder
89 mItem.setIcon(icon); in setIcon()
93 public SubMenu setIcon(int iconRes) { in setIcon() method in SubMenuBuilder
94 mItem.setIcon(iconRes); in setIcon()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DBridgeActionBar.java117 setIcon(); in setupActionBar()
123 protected abstract void setIcon(ResourceValue icon); in setIcon() method in BridgeActionBar
138 private void setIcon() { in setIcon() method in BridgeActionBar
141 setIcon(appIcon); in setIcon()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DIconMixin.java48 setIcon(icon); in IconMixin()
59 public void setIcon(Drawable icon) { in setIcon() method in IconMixin
72 public void setIcon(@DrawableRes int icon) { in setIcon() method in IconMixin
/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.java37 public void setIcon(Drawable icon) { in setIcon() method in SelectablePreference
38 super.setIcon(new ScalingDrawableWrapper(icon, in setIcon()
DShortcutPicker.java58 mNonePreference.setIcon(R.drawable.ic_remove_circle); in onCreatePreferences()
149 setIcon(mInfo.getBadgedIcon( in onBindViewHolder()
183 setIcon(mShortcut.icon.loadDrawable(getContext())); in onBindViewHolder()
/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/
DSuggestionTest.java60 .setIcon(mIcon) in buildSuggestion_allFieldsShouldBeSet()
78 .setIcon(mIcon) in buildSuggestion_emptyKey_shouldCrash()
88 .setIcon(mIcon) in buildSuggestion_fromParcelable()
/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/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/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeStatusBarIconController.java49 public void setIcon(String slot, int resourceId, CharSequence contentDescription) { in setIcon() method in FakeStatusBarIconController
54 public void setIcon(String slot, StatusBarIcon icon) { in setIcon() method in FakeStatusBarIconController
/frameworks/base/core/java/android/app/
DAlertDialog.java413 public void setIcon(@DrawableRes int resId) { in setIcon() method in AlertDialog
414 mAlert.setIcon(resId); in setIcon()
417 public void setIcon(Drawable icon) { in setIcon() method in AlertDialog
418 mAlert.setIcon(icon); in setIcon()
429 mAlert.setIcon(out.resourceId); in setIconAttribute()
583 public Builder setIcon(@DrawableRes int iconId) { in setIcon() method in AlertDialog.Builder
598 public Builder setIcon(Drawable icon) { in setIcon() method in AlertDialog.Builder
DActionBar.java284 public abstract void setIcon(@DrawableRes int resId); in setIcon() method in ActionBar
299 public abstract void setIcon(Drawable icon); in setIcon() method in ActionBar
1195 public abstract Tab setIcon(Drawable icon); in setIcon() method in ActionBar.Tab
1203 public abstract Tab setIcon(@DrawableRes int resId); in setIcon() method in ActionBar.Tab
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DIconMixinTest.java74 mixin.setIcon(drawable); in testSetIcon()
84 mixin.setIcon(icon); in setIcon_resourceId_shouldSetIcon()
94 mixin.setIcon(null); in setIcon_shouldSetVisibilityToGone_whenIconIsNull()
/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/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawable/
DUserIconDrawableTest.java47 mDrawable = new UserIconDrawable(100 /* size */).setIcon(b).bake(); in getConstantState_shouldNotBeNull()
57 UserIconDrawable drawable = new UserIconDrawable().setIcon(b); in setTintList_shouldBeApplied()
/frameworks/base/libs/input/
DSpriteController.h75 virtual void setIcon(const SpriteIcon& icon) = 0;
78 setIcon(SpriteIcon()); in clearIcon()
196 virtual void setIcon(const SpriteIcon& icon);
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendDialogInfoTest.java39 .setIcon(VALID_TEST_RES_ID_1) in createDefaultDialogBuilder()
51 dialogBuilder2.setIcon(VALID_TEST_RES_ID_2); in equalsComparesIcons()
/frameworks/base/libs/input/tests/
DPointerController_test.cpp201 EXPECT_CALL(*mPointerSprite, setIcon( in TEST_F()
217 EXPECT_CALL(*mPointerSprite, setIcon( in TEST_F()
240 EXPECT_CALL(*mPointerSprite, setIcon( in TEST_F()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSIconViewImplTest.java84 mIconView.setIcon(iv, s, true); in testNoFirstFade()
97 mIconView.setIcon(iv, s, false); in testStateSetCorrectly_toString()

123456