/frameworks/base/core/java/android/view/ |
H A D | ContextMenu.java | 58 * Sets the context menu header's icon to the icon given in <var>iconRes</var> 61 * @param iconRes The resource identifier used for the icon. 67 * Sets the context menu header's icon to the icon given in <var>icon</var> 70 * @param icon The {@link Drawable} used for the icon. 73 public ContextMenu setHeaderIcon(Drawable icon); argument 77 * <var>view</var>. This replaces the header title and icon (an [all...] |
H A D | SubMenu.java | 52 * Sets the submenu header's icon to the icon given in <var>iconRes</var> 55 * @param iconRes The resource identifier used for the icon. 61 * Sets the submenu header's icon to the icon given in <var>icon</var> 64 * @param icon The {@link Drawable} used for the icon. 67 public SubMenu setHeaderIcon(Drawable icon); argument 71 * <var>view</var>. This replaces the header title and icon (an 100 setIcon(Drawable icon) argument [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cat/ |
H A D | Item.java | 34 public Bitmap icon; field in class:Item 39 this.icon = null; 45 icon = in.readParcelable(null); 55 dest.writeParcelable(icon, flags);
|
H A D | TextMessage.java | 26 public Bitmap icon = null; field in class:TextMessage 39 icon = in.readParcelable(null); 54 dest.writeParcelable(icon, 0);
|
H A D | CommandParams.java | 36 boolean setIcon(Bitmap icon) { return true; } argument 47 boolean setIcon(Bitmap icon) { argument 48 if (icon != null && textMsg != null) { 49 textMsg.icon = icon; 69 boolean setIcon(Bitmap icon) { argument 70 if (icon != null && confirmMsg != null) { 71 confirmMsg.icon = icon; 89 boolean setIcon(Bitmap icon) { argument 109 setIcon(Bitmap icon) argument 134 setIcon(Bitmap icon) argument 161 setIcon(Bitmap icon) argument [all...] |
H A D | Input.java | 30 public Bitmap icon; field in class:Input 44 icon = null; 59 icon = in.readParcelable(null); 78 dest.writeParcelable(icon, 0);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | FakeActionBar.java | 30 public FakeActionBar(Context context, Density density, String label, String icon) argument 37 loadIcon(0, icon);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ContextMenuBuilder.java | 46 public ContextMenu setHeaderIcon(Drawable icon) { argument 47 return (ContextMenu) super.setHeaderIconInt(icon);
|
H A D | MenuView.java | 101 * Set the icon of this item view. 102 * @param icon The icon of this item. null to hide the icon. 104 public void setIcon(Drawable icon); argument 117 * Whether this item view shows an icon. 119 * @return Whether this item view shows an icon.
|
H A D | SubMenuBuilder.java | 85 public SubMenu setIcon(Drawable icon) { argument 86 mItem.setIcon(icon); 95 public SubMenu setHeaderIcon(Drawable icon) { argument 96 return (SubMenu) super.setHeaderIconInt(icon);
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | StartingData.java | 27 final int icon; field in class:StartingData 38 icon = _icon;
|
/frameworks/base/core/java/android/accounts/ |
H A D | ChooseAccountTypeActivity.java | 129 Drawable icon = null; 132 icon = authContext.getResources().getDrawable(desc.iconId); 141 Log.w(TAG, "No icon name for account type " + desc.type); 146 Log.w(TAG, "No icon resource for account type " + desc.type); 149 AuthInfo authInfo = new AuthInfo(desc, name, icon); 167 ImageView icon; field in class:ChooseAccountTypeActivity.ViewHolder 191 holder.icon = (ImageView) convertView.findViewById(R.id.account_row_icon); 198 holder.icon.setImageDrawable(mInfos.get(position).drawable);
|
H A D | ChooseAccountActivity.java | 98 Drawable icon = null; 103 icon = authContext.getResources().getDrawable(desc.iconId); 107 Log.w(TAG, "No icon name for account type " + accountType); 112 Log.w(TAG, "No icon resource for account type " + accountType); 116 return icon; 151 ImageView icon; field in class:ChooseAccountActivity.ViewHolder 174 holder.icon = (ImageView) convertView.findViewById(R.id.account_row_icon); 181 holder.icon.setImageDrawable(mInfos[position].drawable);
|
H A D | ChooseTypeAndAccountActivity.java | 363 Drawable icon = null; 368 icon = authContext.getResources().getDrawable(desc.iconId); 372 Log.w(TAG, "No icon name for account type " + accountType); 377 Log.w(TAG, "No icon resource for account type " + accountType); 381 return icon; 433 ImageView icon; field in class:ChooseTypeAndAccountActivity.ViewHolder 458 holder.icon = (ImageView) convertView.findViewById(R.id.account_row_icon); 466 holder.icon.setImageDrawable(mInfos.get(position).drawable);
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetProviderInfo.java | 132 * The icon to display for this AppWidget in the AppWidget picker. If not supplied in the 133 * xml, the application icon will be used. 135 * <p>This field corresponds to the <code>android:icon</code> attribute in 138 public int icon; field in class:AppWidgetProviderInfo 150 * If not supplied, the AppWidget's icon will be used. 187 this.icon = in.readInt(); 213 out.writeInt(this.icon);
|
/frameworks/base/core/java/android/content/pm/ |
H A D | LabeledIntent.java | 25 * A special subclass of Intent that can have a custom label/icon 36 * and icon resources for it. 39 * @param sourcePackage The package in which the label and icon live. 41 * @param icon Resource containing the icon, or 0 if none. 44 int labelRes, int icon) { 49 mIcon = icon; 54 * label and icon resource for it. 57 * @param sourcePackage The package in which the label and icon live. 59 * @param icon Resourc 43 LabeledIntent(Intent origIntent, String sourcePackage, int labelRes, int icon) argument 61 LabeledIntent(Intent origIntent, String sourcePackage, CharSequence nonLocalizedLabel, int icon) argument 78 LabeledIntent(String sourcePackage, int labelRes, int icon) argument 93 LabeledIntent(String sourcePackage, CharSequence nonLocalizedLabel, int icon) argument [all...] |
H A D | PackageItemInfo.java | 33 * a label, icon, and meta-data. This class is not intended 65 * component's icon. From the "icon" attribute or, if not set, 0. 67 public int icon; field in class:PackageItemInfo 72 * displayed by certain UI elements in place of a name or name/icon 94 icon = orig.icon; 127 * Retrieve the current graphical icon associated with this item. This 128 * will call back on the given PackageManager to load the icon from 131 * @param pm A PackageManager from which the icon ca [all...] |
H A D | ResolveInfo.java | 106 * match's icon. From the "icon" attribute or, if not set, 0. 108 public int icon; field in class:ResolveInfo 111 * Optional -- if non-null, the {@link #labelRes} and {@link #icon} 160 * Retrieve the current graphical icon associated with this resolution. This 161 * will call back on the given PackageManager to load the icon from 164 * @param pm A PackageManager from which the icon can be loaded; usually 167 * @return Returns a Drawable containing the resolution's icon. If the 168 * item does not have an icon, the default activity icon i [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationData.java | 36 public StatusBarIconView icon; field in class:NotificationData.Entry 45 this.icon = ic; 90 View expanded, StatusBarIconView icon) { 97 entry.icon = icon; 89 add(IBinder key, StatusBarNotification notification, View row, View content, View expanded, StatusBarIconView icon) argument
|
H A D | StatusBarIconView.java | 107 public boolean set(StatusBarIcon icon) { argument 109 && streq(mIcon.iconPackage, icon.iconPackage) 110 && mIcon.iconId == icon.iconId; 112 && mIcon.iconLevel == icon.iconLevel; 114 && mIcon.visible == icon.visible; 116 && mIcon.number == icon.number; 117 mIcon = icon.clone(); 118 setContentDescription(icon.contentDescription); 120 Drawable drawable = getIcon(icon); 122 Slog.w(StatusBar.TAG, "No icon fo 151 getIcon(StatusBarIcon icon) argument 163 getIcon(Context context, StatusBarIcon icon) argument [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | IconUtilities.java | 114 private Bitmap createIconBitmap(Drawable icon) { argument 118 if (icon instanceof PaintDrawable) { 119 PaintDrawable painter = (PaintDrawable) icon; 122 } else if (icon instanceof BitmapDrawable) { 124 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; 130 int sourceWidth = icon.getIntrinsicWidth(); 131 int sourceHeight = icon.getIntrinsicHeight(); 163 // draw a big box for the icon for debugging 171 mOldBounds.set(icon.getBounds()); 172 icon [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebHistoryItem.java | 45 // The apple-touch-icon url for use when adding the site to the home screen, 49 // apple-touch-icon. 143 * Return the touch icon url. 144 * If no touch icon <link> tag was specified, returns 145 * <host>/apple-touch-icon.png. The DownloadTouchIcon class that 146 * attempts to retrieve the touch icon will handle the case where 147 * that file does not exist. An icon set by a <link> tag is always 148 * used in preference to an icon saved on the server. 161 "/apple-touch-icon.png").toString(); 192 * @param icon 196 setFavicon(Bitmap icon) argument [all...] |
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | StatusBarIconList.java | 113 public void setIcon(int index, StatusBarIcon icon) { argument 114 mIcons[index] = icon.clone();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | TaskDescription.java | 33 private Drawable mIcon; // application package icon 61 public void setIcon(Drawable icon) { argument 62 mIcon = icon;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | StorageNotification.java | 278 private synchronized void setUsbStorageNotification(int titleId, int messageId, int icon, argument 299 mUsbStorageNotification.icon = icon; 337 final int notificationId = mUsbStorageNotification.icon; 357 private synchronized void setMediaStorageNotification(int titleId, int messageId, int icon, boolean visible, argument 376 final int notificationId = mMediaStorageNotification.icon; 404 mMediaStorageNotification.icon = icon; 408 final int notificationId = mMediaStorageNotification.icon;
|