/frameworks/base/core/java/android/preference/ |
H A D | PreferenceActivity.java | 250 ImageView icon; field in class:PreferenceActivity.HeaderAdapter.HeaderViewHolder 271 holder.icon = (ImageView) view.findViewById(com.android.internal.R.id.icon); 282 holder.icon.setImageResource(header.iconRes); 364 * Optional icon resource to show for this header.
|
H A D | Preference.java | 531 ImageView imageView = (ImageView) view.findViewById(com.android.internal.R.id.icon); 645 * Sets the icon for this Preference with a Drawable. 646 * This icon will be placed into the ID 647 * {@link android.R.id#icon} within the View created by 650 * @param icon The optional icon for this Preference. 652 public void setIcon(Drawable icon) { argument 653 if ((icon == null && mIcon != null) || (icon != null && mIcon != icon)) { [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeech.java | 1374 public int icon; field in class:TextToSpeech.EngineInfo
|
/frameworks/base/core/java/android/view/ |
H A D | VolumePanel.java | 123 /** Dummy divider icon that needs to vanish with the more button */ 206 ImageView icon; field in class:VolumePanel.StreamControl 403 sc.icon = (ImageView) sc.group.findViewById(R.id.stream_icon); 404 sc.icon.setTag(sc); 405 sc.icon.setContentDescription(res.getString(streamRes.descRes)); 408 sc.icon.setImageResource(sc.iconRes); 455 sc.icon.setImageResource(muted ? sc.iconMuteRes : sc.iconRes); 458 sc.icon.setImageResource(R.drawable.ic_audio_ring_notif_vibrate); 611 sc.icon.setImageResource(isMuted(sc.streamType) ? sc.iconMuteRes : sc.iconRes); 660 * the way to zero and don't show the mute icon [all...] |
H A D | WindowManagerPolicy.java | 643 * @param icon The resource ID the application would like to use as its icon. 653 int labelRes, int icon, int windowFlags); 651 addStartingWindow(IBinder appToken, String packageName, int theme, CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, int windowFlags) argument
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | AlertController.java | 328 * Set resId to 0 if you don't want an icon. 329 * @param resId the resourceId of the drawable to use as the icon or 0 330 * if you don't want an icon. 343 public void setIcon(Drawable icon) { argument 344 mIcon = icon; 346 mIconView.setImageDrawable(icon); 461 mIconView = (ImageView) mWindow.findViewById(R.id.icon); 478 /* Apply the padding from the icon to ensure the
|
H A D | MediaRouteChooserDialogFragment.java | 216 public ImageView icon; field in class:MediaRouteChooserDialogFragment.ViewHolder 419 holder.icon = (ImageView) convertView.findViewById(R.id.icon); 469 Drawable icon = info.getIconDrawable(); 470 if (icon != null) { 472 icon = icon.getConstantState().newDrawable(getResources()); 474 holder.icon.setImageDrawable(icon); 475 holder.icon [all...] |
H A D | ActionBarImpl.java | 1038 public Tab setIcon(Drawable icon) { argument 1039 mIcon = icon; 1178 public void setIcon(Drawable icon) { argument 1179 mActionView.setIcon(icon);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuBuilder.java | 127 /** Header icon for menu types that have a header and support icons (context) */ 172 * Called when the mode of the menu changes (for example, from icon to expanded). 1094 final Drawable icon, final View view) { 1100 // If using a custom view, then the title and icon aren't used 1112 } else if (icon != null) { 1113 mHeaderIcon = icon; 1116 // If using the title or icon, then a custom view isn't used 1149 * Sets the header's icon. This replaces the header view. Called by the 1152 * @param icon The new icon 1093 setHeaderInternal(final int titleRes, final CharSequence title, final int iconRes, final Drawable icon, final View view) argument 1155 setHeaderIconInt(Drawable icon) argument [all...] |
H A D | MenuItemImpl.java | 55 /** The icon's drawable which is only created as needed */ 58 * The icon's resource ID which is used to get the Drawable when it is 87 /** Used for the icon resource ID if this item does not have an icon */ 385 Drawable icon = mMenu.getResources().getDrawable(mIconResId); 387 mIconDrawable = icon; 388 return icon; 394 public MenuItem setIcon(Drawable icon) { argument 396 mIconDrawable = icon;
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/ |
H A D | KeyguardStatusViewManager.java | 114 final int icon; field in class:KeyguardStatusViewManager.TransientTextManager.Data 118 icon = i; 127 /* Show given message with icon for up to duration ms. Newer messages override older ones. 129 * nothing is left, in which case the text/icon is defined by a call to 131 void post(final CharSequence message, final int icon, long duration) { argument 136 mTextView.setCompoundDrawablesWithIntrinsicBounds(icon, 0, 0, 0); 137 final Data data = new Data(message, icon); 147 lastIcon = oldData.icon; 356 MutableInt icon = new MutableInt(0); 357 CharSequence string = getPriorityTextMessage(icon); 370 getAltTextMessage(MutableInt icon) argument 392 getPriorityTextMessage(MutableInt icon) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | ThrottleService.java | 667 private void postNotification(int titleInt, int messageInt, int icon, int flags) { argument 682 // TODO - fixup icon 683 mThrottlingNotification.icon = icon; 690 mNotificationManager.notifyAsUser(null, mThrottlingNotification.icon,
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityRecord.java | 80 int icon; // resource identifier of activity's icon. field in class:ActivityRecord 154 pw.print(" icon=0x"); pw.print(Integer.toHexString(icon)); 382 icon = aInfo.getIconResource();
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NotificationCompat.java | 123 jbBuilder.addAction(action.icon, action.title, action.actionIntent); 234 * Set the small icon to use in the notification layouts. Different classes of devices 238 * @param icon A resource ID in the application's package of the drawble to use. 240 public Builder setSmallIcon(int icon) { argument 241 mNotification.icon = icon; 247 * level parameter for when the icon is a {@link android.graphics.drawable.LevelListDrawable 250 * @param icon A resource ID in the application's package of the drawble to use. 251 * @param level The level to use for the icon. 255 public Builder setSmallIcon(int icon, in argument 391 setLargeIcon(Bitmap icon) argument 529 addAction(int icon, CharSequence title, PendingIntent intent) argument 762 public int icon; field in class:NotificationCompat.Action [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | RecentsPanelView.java | 462 private void updateIcon(ViewHolder h, Drawable icon, boolean show, boolean anim) { argument 463 if (icon != null) { 464 h.iconView.setImageDrawable(icon);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | GlobalActions.java | 361 Drawable icon = user.iconPath != null ? Drawable.createFromPath(user.iconPath) 364 com.android.internal.R.drawable.ic_menu_cc, icon, 541 protected SinglePressAction(int iconResId, Drawable icon, CharSequence message) { argument 545 mIcon = icon; 569 ImageView icon = (ImageView) v.findViewById(R.id.icon); 574 icon.setImageDrawable(mIcon); 575 icon.setScaleType(ScaleType.CENTER_CROP); 577 icon.setImageDrawable(context.getResources().getDrawable(mIconResId)); 590 * A toggle action knows whether it is on or off, and displays an icon [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Notification.java | 121 * The resource id of a drawable to use as the icon in the status bar. 122 * This is required; notifications with an invalid icon resource will not be shown. 124 public int icon; field in class:Notification 127 * If the icon in the status bar is to have more than one level, you can set this. Otherwise, 141 * superimposed over the icon in the status bar. Starting with 443 * Structure to encapsulate an "action", including title and icon, that can be attached to a Notification. 447 public int icon; field in class:Notification.Action 453 icon = in.readInt(); 460 this.icon = icon_; 467 this.icon, 513 Notification(Context context, int icon, CharSequence tickerText, long when, CharSequence contentTitle, CharSequence contentText, Intent contentIntent) argument 536 Notification(int icon, CharSequence tickerText, long when) argument 1052 setSmallIcon(int icon) argument 1068 setSmallIcon(int icon, int level) argument 1222 setLargeIcon(Bitmap icon) argument 1389 addAction(int icon, CharSequence title, PendingIntent intent) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageParser.java | 1748 ai.icon = sa.getResourceId( 2018 outInfo.icon = iconVal; 2349 info.icon = target.info.icon; 3048 outInfo.icon = sa.getResourceId( 3362 outInfo.icon = iconVal; 3772 public int icon; field in class:PackageParser.IntentInfo
|
/frameworks/base/core/java/android/provider/ |
H A D | Contacts.java | 1635 * Gets the resource ID for the proper presence icon. 1637 * @param status the status to get the icon for 1638 * @return the resource ID for the proper presence icon 1664 * Sets a presence icon to the proper graphic 1666 * @param icon the icon to to set 1671 public static final void setPresenceIcon(ImageView icon, int serverStatus) { argument 1672 icon.setImageResource(getPresenceIconResourceId(serverStatus));
|
/frameworks/base/core/java/android/webkit/ |
H A D | BrowserFrame.java | 898 * Send the icon to the activity for display. 899 * @param icon A Bitmap representing a page's favicon. 901 private void didReceiveIcon(Bitmap icon) { argument 902 mCallbackProxy.onReceivedIcon(icon); 905 // Called by JNI when an apple-touch-icon attribute was found.
|
H A D | CallbackProxy.java | 1288 public void onReceivedIcon(Bitmap icon) { argument 1289 // The current item might be null if the icon was already stored in the 1293 i.setFavicon(icon); 1300 sendMessage(obtainMessage(RECEIVED_ICON, icon));
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarView.java | 644 public void setIcon(Drawable icon) { argument 645 mIcon = icon; 646 if (icon != null && 648 mHomeLayout.setIcon(icon); 1300 public void setIcon(Drawable icon) { argument 1301 mIconView.setImageDrawable(icon);
|
/frameworks/base/services/java/com/android/server/connectivity/ |
H A D | Tethering.java | 446 private void showTetheredNotification(int icon) { argument 454 if (mTetheredNotification.icon == icon) { 457 notificationManager.cancelAsUser(null, mTetheredNotification.icon, 477 mTetheredNotification.icon = icon; 483 notificationManager.notifyAsUser(null, mTetheredNotification.icon, 491 notificationManager.cancelAsUser(null, mTetheredNotification.icon,
|
/frameworks/base/tools/aapt/ |
H A D | Command.cpp | 721 printf(" label='%s' icon='%s'\n", 812 String8 icon = getResolvedAttribute(&res, tree, ICON_ATTR, &error); local 813 if (icon != "") { 814 printf("application-icon-%d:'%s'\n", densities[i], icon.string()); 819 String8 icon = getResolvedAttribute(&res, tree, ICON_ATTR, &error); local 821 fprintf(stderr, "ERROR getting 'android:icon' attribute: %s\n", error.string()); 830 printf("icon='%s'\n", icon.string()); 1101 fprintf(stderr, "ERROR getting 'android:icon' attribut [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaRouter.java | 1059 * Get the icon representing this route. 1060 * This icon will be used in picker UIs if available. 1062 * @return the icon representing this route or null if no icon is available 1348 * Set an icon that will be used to represent this route. 1349 * The system may use this icon in picker UIs or similar. 1351 * @param icon icon drawable to use to represent this route 1353 public void setIconDrawable(Drawable icon) { argument 1354 mIcon = icon; 1615 setIconDrawable(Drawable icon) argument [all...] |