Home
last modified time | relevance | path

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

/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()
DContextMenuBuilder.java50 public ContextMenu setHeaderIcon(int iconRes) { in setHeaderIcon() argument
51 return (ContextMenu) super.setHeaderIconInt(iconRes); in setHeaderIcon()
DActionMenuItem.java164 public MenuItem setIcon(int iconRes) { in setIcon() argument
165 mIconResId = iconRes; in setIcon()
166 mIconDrawable = mContext.getResources().getDrawable(iconRes); in setIcon()
DMenuBuilder.java1088 private void setHeaderInternal(final int titleRes, final CharSequence title, final int iconRes, in setHeaderInternal() argument
1105 if (iconRes > 0) { in setHeaderInternal()
1106 mHeaderIcon = r.getDrawable(iconRes); in setHeaderInternal()
1162 protected MenuBuilder setHeaderIconInt(int iconRes) { in setHeaderIconInt() argument
1163 setHeaderInternal(0, null, iconRes, null, null); in setHeaderIconInt()
/frameworks/base/core/java/android/view/
DSubMenu.java58 public SubMenu setHeaderIcon(int iconRes); in setHeaderIcon() argument
91 public SubMenu setIcon(int iconRes); in setIcon() argument
DVolumePanel.java155 int iconRes; field in VolumePanel.StreamResources
160 StreamResources(int streamType, int descRes, int iconRes, int iconMuteRes, boolean show) { in StreamResources() argument
163 this.iconRes = iconRes; in StreamResources()
185 int iconRes; field in VolumePanel.StreamControl
305 sc.iconRes = streamRes.iconRes; in createSliders()
307 sc.icon.setImageResource(sc.iconRes); in createSliders()
354 sc.icon.setImageResource(muted ? sc.iconMuteRes : sc.iconRes); in updateSlider()
607 sc.iconRes = resId; in setMusicIcon()
609 sc.icon.setImageResource(isMuted(sc.streamType) ? sc.iconMuteRes : sc.iconRes); in setMusicIcon()
DContextMenu.java64 public ContextMenu setHeaderIcon(int iconRes); in setHeaderIcon() argument
DMenuItem.java217 public MenuItem setIcon(int iconRes); in setIcon() argument
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java275 holder.icon.setImageResource(header.iconRes); in getView()
360 public int iconRes; field in PreferenceActivity.Header
454 dest.writeInt(iconRes); in writeToParcel()
476 iconRes = in.readInt(); in readFromParcel()
811 header.iconRes = sa.getResourceId( in loadHeadersFromResource()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java122 final int iconRes; field in PackageParser.ParsePackageItemArgs
134 iconRes = _iconRes; in ParsePackageItemArgs()
1858 int nameRes, int labelRes, int iconRes, int logoRes) { in parsePackageItemInfo() argument
1871 int iconVal = sa.getResourceId(iconRes, 0); in parsePackageItemInfo()
3090 int iconVal = args.sa.getResourceId(args.iconRes, 0); in Component()
/frameworks/base/api/
Dcurrent.txt15486 field public int iconRes;
D14.txt15486 field public int iconRes;