Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DFingerprintDialogView.java111 int iconRes; in getAnimationForTransition() local
113 iconRes = R.drawable.fingerprint_dialog_fp_to_error; in getAnimationForTransition()
115 iconRes = R.drawable.fingerprint_dialog_error_to_fp; in getAnimationForTransition()
118 iconRes = R.drawable.fingerprint_dialog_fp_to_error; in getAnimationForTransition()
121 iconRes = R.drawable.fingerprint_dialog_fp_to_error; in getAnimationForTransition()
123 iconRes = R.drawable.fingerprint_dialog_fp_to_error; in getAnimationForTransition()
127 return mContext.getDrawable(iconRes); in getAnimationForTransition()
DFaceDialogView.java78 public void animateOnce(int iconRes) { in animateOnce() argument
79 animateIcon(iconRes, false); in animateOnce()
82 public void showStatic(int iconRes) { in showStatic() argument
83 mBiometricIcon.setImageDrawable(mContext.getDrawable(iconRes)); in showStatic()
91 public void showIcon(int iconRes) { in showIcon() argument
92 final Drawable drawable = mContext.getDrawable(iconRes); in showIcon()
96 private void animateIcon(int iconRes, boolean repeat) { in animateIcon() argument
98 (AnimatedVectorDrawable) mContext.getDrawable(iconRes); in animateIcon()
108 int iconRes = mLastPulseDirection ? R.drawable.face_dialog_pulse_dark_to_light in pulseInNextDirection() local
110 animateIcon(iconRes, true /* repeat */); in pulseInNextDirection()
/frameworks/base/core/java/com/android/internal/view/menu/
DSubMenuBuilder.java93 public SubMenu setIcon(int iconRes) { in setIcon() argument
94 mItem.setIcon(iconRes); in setIcon()
102 public SubMenu setHeaderIcon(int iconRes) { in setHeaderIcon() argument
103 return (SubMenu) super.setHeaderIconInt(iconRes); in setHeaderIcon()
DContextMenuBuilder.java52 public ContextMenu setHeaderIcon(int iconRes) { in setHeaderIcon() argument
53 return (ContextMenu) super.setHeaderIconInt(iconRes); in setHeaderIcon()
DActionMenuItem.java195 public MenuItem setIcon(int iconRes) { in setIcon() argument
196 mIconResId = iconRes; in setIcon()
197 mIconDrawable = mContext.getDrawable(iconRes); in setIcon()
DMenuBuilder.java1162 private void setHeaderInternal(final int titleRes, final CharSequence title, final int iconRes, in setHeaderInternal() argument
1179 if (iconRes > 0) { in setHeaderInternal()
1180 mHeaderIcon = getContext().getDrawable(iconRes); in setHeaderInternal()
1236 protected MenuBuilder setHeaderIconInt(int iconRes) { in setHeaderIconInt() argument
1237 setHeaderInternal(0, null, iconRes, null, null); in setHeaderIconInt()
/frameworks/base/core/java/android/content/pm/
DLauncherActivityInfo.java106 final int iconRes = mActivityInfo.getIconResource(); in getIcon() local
109 if (density != 0 && iconRes != 0) { in getIcon()
113 icon = resources.getDrawableForDensity(iconRes, density); in getIcon()
DApplicationInfo.java1107 public int iconRes; field in ApplicationInfo
1594 iconRes = orig.iconRes; in ApplicationInfo()
1675 dest.writeInt(iconRes); in writeToParcel()
1751 iconRes = source.readInt(); in ApplicationInfo()
DPackageParser.java321 final int iconRes; field in PackageParser.ParsePackageItemArgs
336 iconRes = _iconRes; in ParsePackageItemArgs()
3420 ai.iconRes = sa.getResourceId( in parseBaseApplication()
4201 int nameRes, int labelRes, int iconRes, int roundIconRes, int logoRes, int bannerRes) { in parsePackageItemInfo() argument
4233 int iconVal = sa.getResourceId(iconRes, 0); in parsePackageItemInfo()
7353 true /*nameRequired*/, args.nameRes, args.labelRes, args.iconRes, in Component()
7728 ai.icon = (sUseRoundIcon && ai.roundIconRes != 0) ? ai.roundIconRes : ai.iconRes; in updateApplicationInfo()
/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.java225 public MenuItem setIcon(@DrawableRes int iconRes); in setIcon() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockIcon.java237 int iconRes = isAnim ? iconAnimRes : getIconForState(state); in update() local
238 if (iconRes != mIconRes) { in update()
239 mIconRes = iconRes; in update()
241 Drawable icon = mContext.getDrawable(iconRes); in update()
318 int iconRes; in getIconForState() local
326 iconRes = com.android.internal.R.drawable.ic_lock; in getIconForState()
329 iconRes = com.android.internal.R.drawable.ic_lock_open; in getIconForState()
335 return iconRes; in getIconForState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogImpl.java343 private void addRow(int stream, int iconRes, int iconMuteRes, boolean important, in addRow() argument
345 addRow(stream, iconRes, iconMuteRes, important, defaultStream, false); in addRow()
348 private void addRow(int stream, int iconRes, int iconMuteRes, boolean important, in addRow() argument
352 initRow(row, stream, iconRes, iconMuteRes, important, defaultStream); in addRow()
361 initRow(row, row.stream, row.iconRes, row.iconMuteRes, row.important, in addExistingRows()
407 private void initRow(final VolumeRow row, final int stream, int iconRes, int iconMuteRes, in initRow() argument
410 row.iconRes = iconRes; in initRow()
429 row.icon.setImageResource(iconRes); in initRow()
1021 final int iconRes = in updateVolumeRowH() local
1028 : (ss.muted ? row.iconMuteRes : row.iconRes); in updateVolumeRowH()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DAccessibilityButtonChooserActivity.java187 int iconRes) { in AccessibilityButtonTarget() argument
190 this.mDrawable = context.getDrawable(iconRes); in AccessibilityButtonTarget()
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java288 if (header.iconRes == 0) { in getView()
292 holder.icon.setImageResource(header.iconRes); in getView()
295 holder.icon.setImageResource(header.iconRes); in getView()
392 public int iconRes; field in PreferenceActivity.Header
486 dest.writeInt(iconRes); in writeToParcel()
508 iconRes = in.readInt(); in readFromParcel()
900 header.iconRes = sa.getResourceId( in loadHeadersFromResource()
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java265 private void showNotification(int titleRes, int iconRes) { in showNotification() argument
269 .setSmallIcon(iconRes) in showNotification()
/frameworks/base/core/java/android/app/
DActivityManager.java1018 public TaskDescription(String label, @DrawableRes int iconRes, int colorPrimary) { in TaskDescription() argument
1019 this(label, null, iconRes, null, colorPrimary, 0, 0, 0, false, false); in TaskDescription()
1044 public TaskDescription(String label, @DrawableRes int iconRes) { in TaskDescription() argument
1045 this(label, null, iconRes, null, 0, 0, 0, 0, false, false); in TaskDescription()
1065 public TaskDescription(String label, Bitmap bitmap, int iconRes, String iconFilename, in TaskDescription() argument
1071 mIconRes = iconRes; in TaskDescription()
1195 public void setIcon(int iconRes) { in setIcon() argument
1196 mIconRes = iconRes; in setIcon()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22708 field public int iconRes;
/frameworks/base/api/
Dcurrent.txt35927 field @Deprecated public int iconRes;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt16739 Landroid/content/pm/PackageParser$ParsePackageItemArgs;->iconRes:I