/frameworks/base/core/java/android/service/quicksettings/ |
H A D | TileService.java | 59 * The label and icon for the service will be used as the default label and 60 * icon for the tile. Here is an example TileService declaration.</p> 66 * android:icon="@drawable/my_default_icon_label" 187 * Sets an icon to be shown in the status bar. 189 * The icon will be displayed before all other icons. Can only be called between 192 * @param icon The icon to be displayed, null to hide 193 * @param contentDescription Content description of the icon to be displayed 197 public final void setStatusIcon(Icon icon, String contentDescription) { argument 200 mService.updateStatusIcon(mTile, 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/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | SystemServicesProxy.java | 236 // Create a dummy icon 736 * Returns the activity icon for the ActivityInfo for a user, badging if 747 Drawable icon = info.loadIcon(mPm); 748 return getBadgedIcon(icon, userId); 752 * Returns the application icon for the ApplicationInfo for a user, badging if 763 Drawable icon = appInfo.loadIcon(mPm); 764 return getBadgedIcon(icon, userId); 768 * Returns the task description icon, loading and badging it if it necessary. 790 * Returns the given icon for a user, badging if necessary. 792 private Drawable getBadgedIcon(Drawable icon, in argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | BrightnessController.java | 135 public BrightnessController(Context context, ImageView icon, ToggleSlider control) { argument 137 mIcon = icon; 271 /** Fetch the brightness mode from the system settings and update the icon */
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | DemoModeFragment.java | 179 for (String icon : STATUS_ICONS) { 180 intent.putExtra(icon, "hide");
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
H A D | StatusBarManagerService.java | 490 StatusBarIcon icon = new StatusBarIcon(iconPackage, UserHandle.SYSTEM, iconId, 492 //Slog.d(TAG, "setIcon slot=" + slot + " index=" + index + " icon=" + icon); 493 mIcons.put(slot, icon); 497 mBar.setIcon(slot, icon); 509 StatusBarIcon icon = mIcons.get(slot); 510 if (icon == null) { 513 if (icon.visible != visibility) { 514 icon.visible = visibility; 518 mBar.setIcon(slot, icon); [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | SubscriptionInfo.java | 39 * Size of text to render on the icon. 78 * The color to be used for tinting the icon when displaying to the user 125 Bitmap icon, int mcc, int mnc, String countryIso, int simProvisioningStatus) { 135 this.mIconBitmap = icon; 203 * Creates and returns an icon {@code Bitmap} to represent this {@code SubscriptionInfo} in a user 208 * @return A bitmap icon for this {@code SubscriptionInfo}. 221 // Tint the icon with the color. 123 SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, CharSequence carrierName, int nameSource, int iconTint, String number, int roaming, Bitmap icon, int mcc, int mnc, String countryIso, int simProvisioningStatus) 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/base/tools/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/support/v4/api20/android/support/v4/app/ |
H A D | NotificationCompatApi20.java | 49 .setSmallIcon(n.icon, n.iconLevel) 146 return actionFactory.build(action.icon, action.title, action.actionIntent,
|
/frameworks/support/v4/kitkat/android/support/v4/app/ |
H A D | NotificationCompatKitKat.java | 50 .setSmallIcon(n.icon, n.iconLevel) 149 action.icon, action.title, action.actionIntent, actionExtras);
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | ActionBar.java | 68 * application icon. Apps wishing to express a stronger branding should use their brand colors 97 * Standard navigation mode. Consists of either a logo or icon 147 * Use logo instead of icon if available. This flag will cause appropriate 148 * navigation modes to use a wider logo in place of the standard icon. 157 * navigation elements. This includes logo and icon. 204 * Custom navigation views appear between the application icon and 218 * <p>Custom navigation views appear between the application icon and 238 * <p>Custom navigation views appear between the application icon and 254 * Set the icon to display in the 'home' section of the action bar. 255 * The action bar will use an icon specifie 281 setIcon(Drawable icon) argument 1189 setIcon(Drawable icon) argument [all...] |
H A D | NotificationCompatImplBase.java | 172 // On versions before Jellybean, the large icon was shown by SystemUI, so we need to hide 175 contentView.setViewVisibility(R.id.icon, View.VISIBLE); 176 contentView.setImageViewBitmap(R.id.icon, largeIcon); 178 contentView.setViewVisibility(R.id.icon, View.GONE);
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
H A D | ActionMenuItem.java | 162 public MenuItem setIcon(Drawable icon) { argument 163 mIconDrawable = icon;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | NotificationColorUtil.java | 77 * Checks whether a Bitmap is a small grayscale icon. 78 * Grayscale here means "very close to a perfect gray"; icon means "no larger than 64dp". 115 * Checks whether a Drawable is a small grayscale icon. 116 * Grayscale here means "very close to a perfect gray"; icon means "no larger than 64dp". 139 public boolean isGrayscaleIcon(Context context, Icon icon) { argument 140 if (icon == null) { 143 switch (icon.getType()) { 145 return isGrayscaleIcon(icon.getBitmap()); 147 return isGrayscaleIcon(context, icon.getResId()); 154 * Checks whether a drawable with a resoure id is a small grayscale icon [all...] |
/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/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ToolbarWidgetWrapper.java | 121 final Drawable icon = a.getDrawable(R.styleable.ActionBar_icon); 122 if (icon != null) { 123 setIcon(icon); 589 public void setNavigationIcon(Drawable icon) { argument 590 mNavIcon = icon;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeDialog.java | 426 row.icon = (ImageButton) row.view.findViewById(R.id.volume_row_icon); 427 row.icon.setImageResource(iconRes); 428 row.icon.setOnClickListener(new OnClickListener() { 759 // update icon 761 row.icon.setEnabled(iconEnabled); 762 row.icon.setAlpha(iconEnabled ? 1 : 0.5f); 776 row.icon.setImageResource(iconRes); 788 row.icon.setContentDescription(mContext.getString( 793 row.icon.setContentDescription(mContext.getString( 797 row.icon 1230 private ImageButton icon; field in class:VolumeDialog.VolumeRow [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaMetadata.java | 236 * An icon or thumbnail that is suitable for display to the user. When 237 * displaying an icon for media described by this metadata this should be 240 * The icon should be relatively small and may be scaled down by the system 248 * A Uri formatted String for an icon or thumbnail that is suitable for 251 * fields when present. The icon can be loaded using a combination of 498 Bitmap icon = null; 526 icon = next; 545 bob.setIconBitmap(icon);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | CommandQueue.java | 96 void setIcon(String slot, StatusBarIcon icon); argument 138 public void setIcon(String slot, StatusBarIcon icon) { argument 142 new Pair<String, StatusBarIcon>(slot, icon)).sendToTarget();
|
H A D | NotificationData.java | 53 public StatusBarIconView icon; field in class:NotificationData.Entry 69 this.icon = ic; 448 pw.println(" [" + i + "] key=" + e.key + " icon=" + e.icon);
|
H A D | NotificationGuts.java | 325 Drawable icon = mAutoButton.getDrawable().mutate(); 326 icon.setTintList(starTint); 327 mAutoButton.setImageDrawable(icon);
|
/frameworks/support/v4/java/android/support/v4/media/ |
H A D | MediaMetadataCompat.java | 177 * An icon or thumbnail that is suitable for display to the user. When 178 * displaying an icon for media described by this metadata this should be 185 * An icon or thumbnail that is suitable for display to the user. When 409 Bitmap icon = null; 437 icon = next; 456 bob.setIconBitmap(icon);
|
/frameworks/support/v4/jellybean/android/support/v4/app/ |
H A D | NotificationCompatJellybean.java | 47 private static final String KEY_ICON = "icon"; 84 .setSmallIcon(n.icon, n.iconLevel) 258 RemoteInputCompatBase.RemoteInput.Factory remoteInputFactory, int icon, 268 return factory.build(icon, title, actionIntent, extras, remoteInputs, 342 sActionIconField = sActionClass.getDeclaredField("icon"); 256 readAction( NotificationCompatBase.Action.Factory factory, RemoteInputCompatBase.RemoteInput.Factory remoteInputFactory, int icon, CharSequence title, PendingIntent actionIntent, Bundle extras) argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebChromeClient.java | 47 * @param icon A Bitmap containing the favicon for the current page. 49 public void onReceivedIcon(WebView view, Bitmap icon) {} argument 52 * Notify the host application of the url for an apple-touch-icon. 54 * @param url The icon url. 55 * @param precomposed True if the url is for a precomposed touch icon.
|