/frameworks/support/preference/src/androidTest/java/androidx/preference/tests/ |
H A D | PreferenceIconSpaceTest.java | 62 when(mViewGroup.findViewById(android.R.id.icon))
|
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/ |
H A D | MessageView.java | 67 mIcon = findViewById(android.R.id.icon);
|
H A D | ShortcutView.java | 194 Drawable icon = pm.getApplicationIcon(appInfo); 195 sb.addIcon(SliceViewUtil.createIconFromDrawable(icon), HINT_LARGE);
|
H A D | SliceViewUtil.java | 156 IconCompat icon, boolean isLarge, ViewGroup parent) { 158 v.setImageDrawable(icon.loadDrawable(context)); 164 // XXX better way to convert from icon -> bitmap or crop an icon (?) 155 createCircledIcon(@onNull Context context, int iconSizePx, IconCompat icon, boolean isLarge, ViewGroup parent) argument
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/ |
H A D | AlertController.java | 307 * Sets an icon, a click listener or a message to be sent when the button is clicked. 308 * You only need to pass one of {@code icon}, {@code listener} or {@code msg}. 317 * @param icon The (@link Drawable) to be used as an icon for the button. 321 DialogInterface.OnClickListener listener, Message msg, Drawable icon) { 332 mButtonPositiveIcon = icon; 338 mButtonNegativeIcon = icon; 344 mButtonNeutralIcon = icon; 353 * Specifies the icon to display next to the alert title. 355 * @param resId the resource identifier of the drawable to use as the icon, 320 setButton(int whichButton, CharSequence text, DialogInterface.OnClickListener listener, Message msg, Drawable icon) argument 377 setIcon(Drawable icon) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Notification.java | 248 * The resource id of a drawable to use as the icon in the status bar. 254 public int icon; field in class:Notification 257 * If the icon in the status bar is to have more than one level, you can set this. Otherwise, 271 * badge icon in Launchers that support badging. 691 * {@link #icon} image (stenciled in white) atop a field of this color. Alpha components are 717 * done on Android: The notification's {@link #icon} and {@link #tickerText} (if available) are 726 * Finally, a notification can be made {@link #VISIBILITY_SECRET}, which will suppress its icon 1018 * {@link #extras} key: this is the resource ID of the notification's main small icon, as 1021 * @deprecated Use {@link #getSmallIcon()}, which supports a wider variety of icon sources. 1024 public static final String EXTRA_SMALL_ICON = "android.icon"; 1420 public int icon; field in class:Notification.Action 1454 Action(int icon, CharSequence title, PendingIntent intent) argument 1460 Action(Icon icon, CharSequence title, PendingIntent intent, Bundle extras, RemoteInput[] remoteInputs, boolean allowGeneratedReplies, @SemanticAction int semanticAction) argument 1552 Builder(int icon, CharSequence title, PendingIntent intent) argument 1562 Builder(Icon icon, CharSequence title, PendingIntent intent) argument 1577 Builder(Icon icon, CharSequence title, PendingIntent intent, Bundle extras, RemoteInput[] remoteInputs, boolean allowGeneratedReplies, @SemanticAction int semanticAction) argument 2063 Notification(Context context, int icon, CharSequence tickerText, long when, CharSequence contentTitle, CharSequence contentText, Intent contentIntent) argument 2089 Notification(int icon, CharSequence tickerText, long when) argument 3074 setSmallIcon(Icon icon) argument 3339 setBadgeIconType(int icon) argument 3462 setSmallIcon(@rawableRes int icon) argument 3479 setSmallIcon(@rawableRes int icon, int level) argument 3492 setSmallIcon(Icon icon) argument 3774 setLargeIcon(Icon icon) argument 4156 addAction(int icon, CharSequence title, PendingIntent intent) argument 6272 bigLargeIcon(Icon icon) argument 8631 setContentIcon(int icon) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | IUserManager.aidl | 53 void setUserIcon(int userHandle, in Bitmap icon);
|
/frameworks/base/core/java/android/service/quicksettings/ |
H A D | TileService.java | 63 * The label and icon for the service will be used as the default label and 64 * icon for the tile. Here is an example TileService declaration.</p> 70 * android:icon="@drawable/my_default_icon_label" 202 * Sets an icon to be shown in the status bar. 204 * The icon will be displayed before all other icons. Can only be called between 207 * @param icon The icon to be displayed, null to hide 208 * @param contentDescription Content description of the icon to be displayed 212 public final void setStatusIcon(Icon icon, String contentDescription) { argument 215 mService.updateStatusIcon(mTileToken, icon, contentDescriptio [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | AppSecurityPermissions.java | 101 if (icon != 0) { 159 Drawable icon = null; 161 icon = grp.loadGroupIcon(getContext(), pm); 177 permGrpIcon.setImageDrawable(icon); 322 Drawable icon = context.getDrawable(dangerous 325 description, dangerous, icon); 518 CharSequence grpName, CharSequence permList, boolean dangerous, Drawable icon) { 525 imgView.setImageDrawable(icon); 517 getPermissionItemViewOld(Context context, LayoutInflater inflater, CharSequence grpName, CharSequence permList, boolean dangerous, Drawable icon) argument
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ActionMenuItem.java | 185 public MenuItem setIcon(Drawable icon) { argument 186 mIconDrawable = icon;
|
/frameworks/base/core/proto/android/content/ |
H A D | package_item_info.proto | 32 optional int32 icon = 5;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
H A D | UserManagerHelper.java | 395 * Gets an icon for the user. 397 * @param userInfo User for which we want to get the icon. 398 * @return a Bitmap for the icon 411 * Method for scaling a Bitmap icon to a desirable size. 413 * @param icon Bitmap to scale. 414 * @param desiredSize Wanted size for the icon. 415 * @return Drawable for the icon, scaled to the new size. 417 public Drawable scaleUserIcon(Bitmap icon, int desiredSize) { argument 419 icon, desiredSize, desiredSize, true /* filter */); 437 * @return Default user icon [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ForegroundServicesDialog.java | 198 ImageView icon = view.findViewById(R.id.app_icon); 199 icon.setImageDrawable(mIconDrawableFactory.getBadgedIcon(getItem(position)));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | HotspotTile.java | 139 state.icon = mEnabledStatic; 145 state.icon = ResourceIcon.get(R.drawable.ic_hotspot_transient_animation);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | DemoModeFragment.java | 187 for (String icon : STATUS_ICONS) { 188 intent.putExtra(icon, "hide");
|
H A D | ShortcutParser.java | 113 c.icon = Icon.createWithResource(mPkg, iconResId); 132 public Icon icon; field in class:ShortcutParser.Shortcut
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarIconControllerTest.java | 119 StatusBarIcon icon) { 154 StatusBarIcon icon) { 118 addIcon(int index, String slot, boolean blocked, StatusBarIcon icon) argument 153 addIcon(int index, String slot, boolean blocked, StatusBarIcon icon) argument
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
H A D | PlayerSession.java | 119 public void setIcon(Bitmap icon) { argument 120 mMetadataBuilder.putBitmap(MediaMetadata.METADATA_KEY_DISPLAY_ICON, icon);
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | FrameworkActionBar.java | 127 protected void setIcon(String icon) { argument 128 mActionBar.setIcon(icon);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
H A D | GlifLayout.java | 58 * android:icon="@drawable/my_icon" 232 public void setIcon(Drawable icon) { argument 233 getMixin(IconMixin.class).setIcon(icon);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ToolbarWidgetWrapper.java | 121 final Drawable icon = a.getDrawable(R.styleable.ActionBar_icon); 122 if (icon != null) { 123 setIcon(icon); 619 public void setNavigationIcon(Drawable icon) { argument 620 mNavIcon = icon;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
H A D | QSTileImpl.java | 534 Icon icon = ICONS.get(resId); 535 if (icon == null) { 536 icon = new ResourceIcon(resId); 537 ICONS.put(resId, icon); 539 return icon;
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
H A D | BasePermission.java | 462 pi.icon = readInt(parser, null, "icon", 0); 501 if (pi.icon != 0) { 502 serializer.attribute(null, "icon", Integer.toString(pi.icon)); 526 if (pi1.icon != pi2.icon) return false;
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | ToolbarWidgetWrapper.java | 126 final Drawable icon = a.getDrawable(R.styleable.ActionBar_icon); 127 if (icon != null) { 128 setIcon(icon); 592 public void setNavigationIcon(Drawable icon) { argument 593 mNavIcon = icon;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NavigationBarView.java | 533 Context darkContext, @DrawableRes int icon, @DrawableRes int quickStepIcon) { 537 : getDrawable(lightContext, darkContext, icon); 541 @DrawableRes int icon) { 542 return getDrawable(lightContext, darkContext, icon, true /* hasShadow */); 546 @DrawableRes int icon, boolean hasShadow) { 547 return KeyButtonDrawable.create(lightContext, lightContext.getDrawable(icon), 548 darkContext.getDrawable(icon), hasShadow); 558 private TintedKeyButtonDrawable getDrawable(Context ctx, @DrawableRes int icon, argument 560 return TintedKeyButtonDrawable.create(ctx.getDrawable(icon), lightColor, darkColor); 590 "Navigation icon hint 532 chooseNavigationIconDrawable(Context lightContext, Context darkContext, @DrawableRes int icon, @DrawableRes int quickStepIcon) argument 540 getDrawable(Context lightContext, Context darkContext, @DrawableRes int icon) argument 545 getDrawable(Context lightContext, Context darkContext, @DrawableRes int icon, boolean hasShadow) argument [all...] |