/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | IconUtils.java | 42 int icon; 45 icon = R.drawable.ic_doc_apk; 46 add("application/vnd.android.package-archive", icon); 49 icon = R.drawable.ic_doc_audio; 50 add("application/ogg", icon); 51 add("application/x-flac", icon); 54 icon = R.drawable.ic_doc_certificate; 55 add("application/pgp-keys", icon); 56 add("application/pgp-signature", icon); 57 add("application/x-pkcs12", icon); 195 loadPackageIcon(Context context, String authority, int icon) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | CommandParams.java | 36 boolean setIcon(Bitmap icon) { return true; } argument 53 boolean setIcon(Bitmap icon) { argument 54 if (icon != null && mTextMsg != null) { 55 mTextMsg.icon = icon; 76 boolean setIcon(Bitmap icon) { argument 77 if (icon != null && mConfirmMsg != null) { 78 mConfirmMsg.icon = icon; 97 boolean setIcon(Bitmap icon) { argument 118 setIcon(Bitmap icon) argument 144 setIcon(Bitmap icon) argument 172 setIcon(Bitmap icon) argument 199 setIcon(Bitmap icon) argument [all...] |
H A D | Item.java | 34 public Bitmap icon; field in class:Item 39 this.icon = null; 45 icon = in.readParcelable(null); 57 dest.writeParcelable(icon, flags);
|
H A D | Input.java | 30 public Bitmap icon; field in class:Input 44 icon = null; 59 icon = in.readParcelable(null); 80 dest.writeParcelable(icon, 0);
|
H A D | TextMessage.java | 26 public Bitmap icon = null; field in class:TextMessage 39 icon = in.readParcelable(null); 56 dest.writeParcelable(icon, 0);
|
/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 | 118 * match's icon. From the "icon" attribute or, if not set, 0. 120 public int icon; field in class:ResolveInfo 123 * Optional -- if non-null, the {@link #labelRes} and {@link #icon} 179 * Retrieve the current graphical icon associated with this resolution. This 180 * will call back on the given PackageManager to load the icon from 183 * @param pm A PackageManager from which the icon can be loaded; usually 186 * @return Returns a Drawable containing the resolution's icon. If the 187 * item does not have an icon, the default activity icon i [all...] |
/frameworks/base/core/java/android/view/ |
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...] |
H A D | PointerIcon.java | 33 * Represents an icon that can be used as a mouse pointer. 44 /** Style constant: Custom icon with a user-supplied bitmap. */ 47 /** Style constant: Null icon. It has no bitmap. */ 50 /** Style constant: Arrow icon. (Default mouse pointer) */ 53 /** {@hide} Style constant: Spot hover icon for touchpads. */ 56 /** {@hide} Style constant: Spot touch icon for touchpads. */ 59 /** {@hide} Style constant: Spot anchor icon for touchpads. */ 66 // The default pointer icon. 82 * Gets a special pointer icon that has no bitmap. 84 * @return The null pointer icon [all...] |
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...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | StartingData.java | 27 final int icon; field in class:StartingData 39 icon = _icon;
|
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | StatusBarIconView.java | 102 public boolean set(StatusBarIcon icon) { argument 104 && streq(mIcon.iconPackage, icon.iconPackage) 105 && mIcon.iconId == icon.iconId; 107 && mIcon.iconLevel == icon.iconLevel; 109 && mIcon.visible == icon.visible; 111 && mIcon.number == icon.number; 112 mIcon = icon.clone(); 113 setContentDescription(icon.contentDescription); 118 setImageLevel(icon.iconLevel); 122 if (icon 158 getIcon(StatusBarIcon icon) argument 170 getIcon(Context context, StatusBarIcon icon) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | LauncherActivity.java | 68 public Drawable icon; field in class:LauncherActivity.ListItem 83 icon = resizer.createIconThumbnail(resolveInfo.loadIcon(pm)); 166 if (item.icon == null) { 167 item.icon = mIconResizer.createIconThumbnail(item.resolveInfo.loadIcon(getPackageManager())); 169 text.setCompoundDrawablesWithIntrinsicBounds(item.icon, null, null, null); 246 * Utility class to resize icons to match default icon size. 272 * @param icon The icon to get a thumbnail of. 274 * @return A thumbnail for the specified icon or the icon itsel 277 createIconThumbnail(Drawable icon) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
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);
|
H A D | IconMenuItemView.java | 90 * Initializes with the provided title and icon 92 * @param icon The icon of this item 94 void initialize(CharSequence title, Drawable icon) { argument 103 setIcon(icon); 174 public void setIcon(Drawable icon) { argument 175 mIcon = icon; 177 if (icon != null) { 179 /* Set the bounds of the icon since setCompoundDrawables needs it. */ 180 icon [all...] |
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.
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | LaunchWarningWindow.java | 45 ImageView icon = (ImageView)findViewById(R.id.replace_app_icon); 46 icon.setImageDrawable(next.info.applicationInfo.loadIcon(context.getPackageManager())); 50 icon = (ImageView)findViewById(R.id.original_app_icon); 51 icon.setImageDrawable(cur.info.applicationInfo.loadIcon(context.getPackageManager()));
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
H A D | MenuView.java | 105 * Set the icon of this item view. 107 * @param icon The icon of this item. null to hide the icon. 109 public void setIcon(Drawable icon); argument 120 * Whether this item view shows an icon. 122 * @return Whether this item view shows an icon.
|
H A D | SubMenuWrapperICS.java | 54 public SubMenu setHeaderIcon(Drawable icon) { argument 55 ((android.view.SubMenu) mWrappedObject).setHeaderIcon(icon); 77 public SubMenu setIcon(Drawable icon) { argument 78 ((android.view.SubMenu) mWrappedObject).setIcon(icon);
|
H A D | SubMenuBuilder.java | 87 public SubMenu setIcon(Drawable icon) { argument 88 mItem.setIcon(icon); 97 public SubMenu setHeaderIcon(Drawable icon) { argument 98 super.setHeaderIconInt(icon);
|
/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/services/input/ |
H A D | SpriteController.cpp | 136 update.state.surfaceWidth = update.state.icon.bitmap.width(); 137 update.state.surfaceHeight = update.state.icon.bitmap.height(); 154 int32_t desiredWidth = update.state.icon.bitmap.width(); 155 int32_t desiredHeight = update.state.icon.bitmap.height(); 217 surfaceCanvas.drawBitmap(update.state.icon.bitmap, 0, 0, &paint); 219 if (outBuffer.width > uint32_t(update.state.icon.bitmap.width())) { 221 surfaceCanvas.drawRectCoords(update.state.icon.bitmap.width(), 0, 222 outBuffer.width, update.state.icon.bitmap.height(), paint); 224 if (outBuffer.height > uint32_t(update.state.icon.bitmap.height())) { 226 surfaceCanvas.drawRectCoords(0, update.state.icon 400 setIcon(const SpriteIcon& icon) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebIconDatabase.java | 23 * Functions for manipulating the icon database used by WebView. 43 * Called when the icon has been retrieved from the database and the 46 * @param icon The favicon for the given url. 48 public void onReceivedIcon(String url, Bitmap icon); argument 52 * Open a the icon database and store the icons in the given path. 53 * @param path The directory path where the icon database will be stored. 60 * Close the shared instance of the icon database. 74 * Request the Bitmap representing the icon for the given page 75 * url. If the icon exists, the listener will be called with the result. 91 * Retain the icon fo [all...] |