Home
last modified time | relevance | path

Searched refs:iconRes (Results 1 – 24 of 24) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DSubMenuWrapperICS.java58 public SubMenu setHeaderIcon(int iconRes) { in setHeaderIcon() argument
59 getWrappedObject().setHeaderIcon(iconRes); in setHeaderIcon()
81 public SubMenu setIcon(int iconRes) { in setIcon() argument
82 getWrappedObject().setIcon(iconRes); in setIcon()
DSubMenuBuilder.java97 public SubMenu setIcon(int iconRes) { in setIcon() argument
98 mItem.setIcon(iconRes); in setIcon()
106 public SubMenu setHeaderIcon(int iconRes) { in setHeaderIcon() argument
107 return (SubMenu) super.setHeaderIconInt(iconRes); in setHeaderIcon()
DActionMenuItem.java172 public MenuItem setIcon(int iconRes) { in setIcon() argument
173 mIconResId = iconRes; in setIcon()
174 mIconDrawable = ContextCompat.getDrawable(mContext, iconRes); in setIcon()
DMenuItemWrapperICS.java106 public MenuItem setIcon(int iconRes) { in setIcon() argument
107 mWrappedObject.setIcon(iconRes); in setIcon()
DMenuBuilder.java1204 private void setHeaderInternal(final int titleRes, final CharSequence title, final int iconRes, in setHeaderInternal() argument
1221 if (iconRes > 0) { in setHeaderInternal()
1222 mHeaderIcon = ContextCompat.getDrawable(getContext(), iconRes); in setHeaderInternal()
1278 protected MenuBuilder setHeaderIconInt(int iconRes) { in setHeaderIconInt() argument
1279 setHeaderInternal(0, null, iconRes, null, null); in setHeaderIconInt()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockIcon.java130 int iconRes = getAnimationResForTransition(mLastState, state, mLastDeviceInteractive, in update() local
132 if (iconRes == R.drawable.lockscreen_fingerprint_draw_off_animation) { in update()
136 } else if (iconRes == R.drawable.trusted_state_to_error_animation) { in update()
140 } else if (iconRes == R.drawable.error_to_trustedstate_animation) { in update()
145 if (iconRes == -1) { in update()
146 iconRes = getIconForState(state, mScreenOn, mDeviceInteractive); in update()
149 Drawable icon = mContext.getDrawable(iconRes); in update()
178 if (iconRes == R.drawable.lockscreen_fingerprint_draw_off_animation) { in update()
/frameworks/base/core/java/com/android/internal/view/menu/
DSubMenuBuilder.java90 public SubMenu setIcon(int iconRes) { in setIcon() argument
91 mItem.setIcon(iconRes); in setIcon()
99 public SubMenu setHeaderIcon(int iconRes) { in setHeaderIcon() argument
100 return (SubMenu) super.setHeaderIconInt(iconRes); in setHeaderIcon()
DActionMenuItem.java164 public MenuItem setIcon(int iconRes) { in setIcon() argument
165 mIconResId = iconRes; in setIcon()
166 mIconDrawable = mContext.getDrawable(iconRes); in setIcon()
DContextMenuBuilder.java50 public ContextMenu setHeaderIcon(int iconRes) { in setHeaderIcon() argument
51 return (ContextMenu) super.setHeaderIconInt(iconRes); in setHeaderIcon()
DMenuBuilder.java1128 private void setHeaderInternal(final int titleRes, final CharSequence title, final int iconRes, in setHeaderInternal() argument
1145 if (iconRes > 0) { in setHeaderInternal()
1146 mHeaderIcon = getContext().getDrawable(iconRes); in setHeaderInternal()
1202 protected MenuBuilder setHeaderIconInt(int iconRes) { in setHeaderIconInt() argument
1203 setHeaderInternal(0, null, iconRes, null, null); in setHeaderIconInt()
/frameworks/base/core/java/android/content/pm/
DLauncherActivityInfo.java104 final int iconRes = mActivityInfo.getIconResource(); in getIcon() local
107 if (density != 0 && iconRes != 0) { in getIcon()
111 icon = resources.getDrawableForDensity(iconRes, density); in getIcon()
DPackageParser.java272 final int iconRes; field in PackageParser.ParsePackageItemArgs
287 iconRes = _iconRes; in ParsePackageItemArgs()
3335 int nameRes, int labelRes, int iconRes, int roundIconRes, int logoRes, int bannerRes) { in parsePackageItemInfo() argument
3357 int iconVal = sa.getResourceId(iconRes, 0); in parsePackageItemInfo()
5201 true /*nameRequired*/, args.nameRes, args.labelRes, args.iconRes, in Component()
/frameworks/base/core/java/android/view/
DSubMenu.java60 public SubMenu setHeaderIcon(@DrawableRes int iconRes); in setHeaderIcon() argument
93 public SubMenu setIcon(@DrawableRes int iconRes); in setIcon() argument
DContextMenu.java66 public ContextMenu setHeaderIcon(@DrawableRes int iconRes); in setHeaderIcon() argument
DMenuItem.java220 public MenuItem setIcon(@DrawableRes int iconRes); in setIcon() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialog.java309 private void addRow(int stream, int iconRes, int iconMuteRes, boolean important) { in addRow() argument
311 initRow(row, stream, iconRes, iconMuteRes, important); in addRow()
320 initRow(row, row.stream, row.iconRes, row.iconMuteRes, row.important); in addExistingRows()
371 private void initRow(final VolumeRow row, final int stream, int iconRes, int iconMuteRes, in initRow() argument
374 row.iconRes = iconRes; in initRow()
414 row.icon.setImageResource(iconRes); in initRow()
765 final int iconRes = in updateVolumeRowH() local
772 : (ss.muted ? row.iconMuteRes : row.iconRes); in updateVolumeRowH()
773 if (iconRes != row.cachedIconRes) { in updateVolumeRowH()
777 row.cachedIconRes = iconRes; in updateVolumeRowH()
[all …]
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java298 if (header.iconRes == 0) { in getView()
302 holder.icon.setImageResource(header.iconRes); in getView()
305 holder.icon.setImageResource(header.iconRes); in getView()
395 public int iconRes; field in PreferenceActivity.Header
489 dest.writeInt(iconRes); in writeToParcel()
511 iconRes = in.readInt(); in readFromParcel()
880 header.iconRes = sa.getResourceId( in loadHeadersFromResource()
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java332 private void showNotification(int titleRes, int iconRes) { in showNotification() argument
335 .setSmallIcon(iconRes) in showNotification()
/frameworks/base/docs/html/training/wearables/ui/
D2d-picker.jd88 int iconRes;
115 CardFragment fragment = CardFragment.create(title, text, page.iconRes);
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java533 final int iconRes = ri.getIconResource(); in loadIconForResolveInfo() local
534 if (iconRes != 0) { in loadIconForResolveInfo()
535 dr = getIcon(mPm.getResourcesForApplication(ri.activityInfo.packageName), iconRes); in loadIconForResolveInfo()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22708 field public int iconRes;
/frameworks/base/api/
Dcurrent.txt29868 field public int iconRes;
Dsystem-current.txt32465 field public int iconRes;
Dtest-current.txt29944 field public int iconRes;