/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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | FakeActionBar.java | 31 public FakeActionBar(Context context, Density density, String label, String icon) argument 38 loadIconById(android.R.id.home, icon);
|
/frameworks/opt/telephony/src/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 | 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/core/java/android/webkit/ |
H A D | WebIconDatabase.java | 23 * Functions for manipulating the icon database used by WebView. 35 * Called when the icon has been retrieved from the database and the 38 * @param icon The favicon for the given url. 40 public void onReceivedIcon(String url, Bitmap icon); argument 44 * Open a the icon database and store the icons in the given path. 45 * @param path The directory path where the icon database will be stored. 52 * Close the shared instance of the icon database. 66 * Request the Bitmap representing the icon for the given page 67 * url. If the icon exists, the listener will be called with the result. 83 * Retain the icon fo [all...] |
H A D | WebHistoryItemClassic.java | 35 // The apple-touch-icon url for use when adding the site to the home screen, 39 // apple-touch-icon. 116 * Return the touch icon url. 117 * If no touch icon <link> tag was specified, returns 118 * <host>/apple-touch-icon.png. The DownloadTouchIcon class that 119 * attempts to retrieve the touch icon will handle the case where 120 * that file does not exist. An icon set by a <link> tag is always 121 * used in preference to an icon saved on the server. 134 "/apple-touch-icon.png").toString(); 165 * @param icon 169 setFavicon(Bitmap icon) argument [all...] |
/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);
|
/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/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/appwidget/ |
H A D | AppWidgetProviderInfo.java | 152 * The icon to display for this AppWidget in the AppWidget picker. If not supplied in the 153 * xml, the application icon will be used. 155 * <p>This field corresponds to the <code>android:icon</code> attribute in 158 public int icon; field in class:AppWidgetProviderInfo 170 * If not supplied, the AppWidget's icon will be used. 219 this.icon = in.readInt(); 247 out.writeInt(this.icon); 267 that.icon = this.icon;
|
/frameworks/base/core/java/android/os/ |
H A D | UserManager.java | 255 * @param icon the bitmap to set as the photo. 258 public void setUserIcon(int userHandle, Bitmap icon) { argument 260 mService.setUserIcon(userHandle, icon); 262 Log.w(TAG, "Could not set the user icon ", re); 276 Log.w(TAG, "Could not get the user icon ", re);
|
/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 84 public void setIcon(Drawable icon) { argument 85 mIcon = icon;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | StatusBarIconView.java | 108 public boolean set(StatusBarIcon icon) { argument 110 && streq(mIcon.iconPackage, icon.iconPackage) 111 && mIcon.iconId == icon.iconId; 113 && mIcon.iconLevel == icon.iconLevel; 115 && mIcon.visible == icon.visible; 117 && mIcon.number == icon.number; 118 mIcon = icon.clone(); 119 setContentDescription(icon.contentDescription); 121 Drawable drawable = getIcon(icon); 123 Slog.w(TAG, "No icon fo 152 getIcon(StatusBarIcon icon) argument 164 getIcon(Context context, StatusBarIcon icon) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | BrightnessController.java | 57 public BrightnessController(Context context, ImageView icon, ToggleSlider control) { argument 59 mIcon = icon;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | StorageNotification.java | 281 private synchronized void setUsbStorageNotification(int titleId, int messageId, int icon, argument 302 mUsbStorageNotification.icon = icon; 341 final int notificationId = mUsbStorageNotification.icon; 362 private synchronized void setMediaStorageNotification(int titleId, int messageId, int icon, boolean visible, argument 381 final int notificationId = mMediaStorageNotification.icon; 410 mMediaStorageNotification.icon = icon; 414 final int notificationId = mMediaStorageNotification.icon;
|