Searched refs:icon (Results 1 - 25 of 128) sorted by relevance

123456

/frameworks/base/telephony/java/com/android/internal/telephony/cat/
H A DCommandParams.java36 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 DItem.java34 public Bitmap icon; field in class:Item
39 this.icon = null;
45 icon = in.readParcelable(null);
55 dest.writeParcelable(icon, flags);
H A DInput.java30 public Bitmap icon; field in class:Input
44 icon = null;
59 icon = in.readParcelable(null);
78 dest.writeParcelable(icon, 0);
H A DTextMessage.java26 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 DLabeledIntent.java25 * 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 DPackageItemInfo.java33 * 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 DResolveInfo.java106 * 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 DSubMenu.java52 * 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 DPointerIcon.java33 * 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 DContextMenu.java58 * 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 DStartingData.java27 final int icon; field in class:StartingData
38 icon = _icon;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DFakeActionBar.java30 public FakeActionBar(Context context, Density density, String label, String icon) argument
37 loadIcon(0, icon);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStatusBarIconView.java107 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...]
H A DNotificationData.java36 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 DCommandQueue.java78 public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon); argument
80 StatusBarIcon old, StatusBarIcon icon);
100 public void setIcon(int index, StatusBarIcon icon) { argument
104 mHandler.obtainMessage(what, OP_SET_ICON, 0, icon.clone()).sendToTarget();
208 StatusBarIcon icon = (StatusBarIcon)msg.obj;
211 mList.setIcon(index, icon);
212 mCallbacks.addIcon(mList.getSlot(index), index, viewIndex, icon);
214 mList.setIcon(index, icon);
216 old, icon);
79 updateIcon(String slot, int index, int viewIndex, StatusBarIcon old, StatusBarIcon icon) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DShirtPocket.java143 Bitmap icon = mClipping.getIcon();
145 if (icon != null) {
146 setImageBitmap(icon);
164 final Bitmap icon = clip.getIcon();
166 if (icon != null) {
169 shadowSize.set(icon.getWidth(), icon.getHeight());
173 canvas.drawBitmap(icon, 0, 0, new Paint());
212 final Bitmap icon = clip.getIcon();
214 if (icon !
[all...]
/frameworks/base/core/java/android/app/
H A DLauncherActivity.java68 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...]
H A DNotification.java88 * The resource id of a drawable to use as the icon in the status bar.
89 * This is required; notifications with an invalid icon resource will not be shown.
91 public int icon; field in class:Notification
94 * If the icon in the status bar is to have more than one level, you can set this. Otherwise,
105 * the icon in the status bar. If the number is 0 or negative, it is not shown in the status
322 public Notification(Context context, int icon, CharSequence tickerText, long when, argument
326 this.icon = icon;
334 * have a status bar icon without the standard expanded view.
336 * @param icon Th
345 Notification(int icon, CharSequence tickerText, long when) argument
690 setSmallIcon(int icon) argument
705 setSmallIcon(int icon, int level) argument
829 setLargeIcon(Bitmap icon) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DSubMenuBuilder.java85 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 DIconMenuItemView.java90 * 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 DMenuView.java101 * 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 DLaunchWarningWindow.java45 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 DIconUtilities.java114 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 DSpriteController.cpp134 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
399 setIcon(const SpriteIcon& icon) argument
[all...]
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProviderInfo.java132 * 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);

Completed in 575 milliseconds

123456