Searched defs:icon (Results 1 - 25 of 81) sorted by relevance

1234

/frameworks/base/core/java/android/view/
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...]
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...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DFakeActionBar.java31 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 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 DTextMessage.java26 public Bitmap icon = null; field in class:TextMessage
39 icon = in.readParcelable(null);
54 dest.writeParcelable(icon, 0);
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 DCommandParams.java36 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...]
/frameworks/base/core/java/android/webkit/
H A DWebIconDatabase.java23 * 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 DWebHistoryItemClassic.java35 // 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 DContextMenuBuilder.java46 public ContextMenu setHeaderIcon(Drawable icon) { argument
47 return (ContextMenu) super.setHeaderIconInt(icon);
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.
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);
/frameworks/base/services/java/com/android/server/wm/
H A DStartingData.java27 final int icon; field in class:StartingData
38 icon = _icon;
/frameworks/base/core/java/android/accounts/
H A DChooseAccountTypeActivity.java129 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 DChooseAccountActivity.java98 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 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/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/core/java/android/appwidget/
H A DAppWidgetProviderInfo.java152 * 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 DUserManager.java255 * @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 DStatusBarIconList.java113 public void setIcon(int index, StatusBarIcon icon) { argument
114 mIcons[index] = icon.clone();
/frameworks/support/v4/jellybean/android/support/v4/app/
H A DNotificationCompatJellybean.java36 .setSmallIcon(n.icon, n.iconLevel)
61 public void addAction(int icon, CharSequence title, PendingIntent intent) { argument
62 b.addAction(icon, title, intent);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DTaskDescription.java33 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 DStatusBarIconView.java108 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...]

Completed in 172 milliseconds

1234