/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | CommandParams.java | 36 boolean setIcon(Bitmap icon) { return true; } argument 52 boolean setIcon(Bitmap icon) { argument 53 if (icon != null && textMsg != null) { 54 textMsg.icon = icon; 74 boolean setIcon(Bitmap icon) { argument 75 if (icon != null && confirmMsg != null) { 76 confirmMsg.icon = icon; 94 boolean setIcon(Bitmap icon) { argument 114 setIcon(Bitmap icon) argument 139 setIcon(Bitmap icon) argument 166 setIcon(Bitmap icon) argument 192 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); 55 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); 78 dest.writeParcelable(icon, 0);
|
H A D | TextMessage.java | 26 public Bitmap icon = null; field in class:TextMessage 39 icon = in.readParcelable(null); 54 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 | 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/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/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/services/java/com/android/server/wm/ |
H A D | StartingData.java | 27 final int icon; field in class:StartingData 38 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/tablet/ |
H A D | ShirtPocket.java | 142 Bitmap icon = mClipping.getIcon(); 144 if (icon != null) { 145 setImageBitmap(icon); 163 final Bitmap icon = clip.getIcon(); 165 if (icon != null) { 168 shadowSize.set(icon.getWidth(), icon.getHeight()); 172 canvas.drawBitmap(icon, 0, 0, new Paint()); 211 final Bitmap icon = clip.getIcon(); 213 if (icon ! [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/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 | 134 update.state.surfaceWidth = update.state.icon.bitmap.width(); 135 update.state.surfaceHeight = update.state.icon.bitmap.height(); 152 int32_t desiredWidth = update.state.icon.bitmap.width(); 153 int32_t desiredHeight = update.state.icon.bitmap.height(); 216 surfaceCanvas.drawBitmap(update.state.icon.bitmap, 0, 0, &paint); 218 if (surfaceInfo.w > uint32_t(update.state.icon.bitmap.width())) { 220 surfaceCanvas.drawRectCoords(update.state.icon.bitmap.width(), 0, 221 surfaceInfo.w, update.state.icon.bitmap.height(), paint); 223 if (surfaceInfo.h > uint32_t(update.state.icon.bitmap.height())) { 225 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. 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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | Ticker.java | 68 Drawable icon; field in class:Ticker.Segment 143 Segment(StatusBarNotification n, Drawable icon, CharSequence text) { argument 145 this.icon = icon; 190 // If what's being displayed has the same text and icon, just drop it 196 && n.notification.icon == seg.notification.notification.icon 204 final Drawable icon = StatusBarIconView.getIcon(mContext, 205 new StatusBarIcon(n.pkg, n.user, n.notification.icon, n.notification.iconLevel, 0, 208 final Segment newSegment = new Segment(n, icon, tex [all...] |
/frameworks/base/core/java/android/os/ |
H A D | IUserManager.aidl | 31 void setUserIcon(int userHandle, in Bitmap icon);
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | IStatusBar.aidl | 25 void setIcon(int index, in StatusBarIcon icon);
|