Searched refs:icon (Results 1 - 25 of 142) sorted by path

123456

/frameworks/base/core/java/android/accounts/
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);
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);
/frameworks/base/core/java/android/app/
H A DActionBar.java40 * <p>By default, the action bar shows the application icon on
61 * Standard navigation mode. Consists of either a logo or icon
82 * Use logo instead of icon if available. This flag will cause appropriate
83 * navigation modes to use a wider logo in place of the standard icon.
92 * navigation elements. This includes logo and icon.
144 * Custom navigation views appear between the application icon and
158 * <p>Custom navigation views appear between the application icon and
178 * <p>Custom navigation views appear between the application icon and
194 * Set the icon to display in the 'home' section of the action bar.
195 * The action bar will use an icon specifie
221 setIcon(Drawable icon) argument
768 setIcon(Drawable icon) argument
[all...]
H A DAlertDialog.java307 * Set resId to 0 if you don't want an icon.
308 * @param resId the resourceId of the drawable to use as the icon or 0
309 * if you don't want an icon.
315 public void setIcon(Drawable icon) { argument
316 mAlert.setIcon(icon);
320 * Set an icon as supplied by a theme attribute. e.g. android.R.attr.alertDialogIcon
416 * more customization. Using this will replace the title and icon set
463 public Builder setIcon(Drawable icon) { argument
464 P.mIcon = icon;
469 * Set an icon a
[all...]
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.java121 * The resource id of a drawable to use as the icon in the status bar.
122 * This is required; notifications with an invalid icon resource will not be shown.
124 public int icon; field in class:Notification
127 * If the icon in the status bar is to have more than one level, you can set this. Otherwise,
141 * superimposed over the icon in the status bar. Starting with
443 * Structure to encapsulate an "action", including title and icon, that can be attached to a Notification.
447 public int icon; field in class:Notification.Action
453 icon = in.readInt();
460 this.icon = icon_;
467 this.icon,
513 Notification(Context context, int icon, CharSequence tickerText, long when, CharSequence contentTitle, CharSequence contentText, Intent contentIntent) argument
536 Notification(int icon, CharSequence tickerText, long when) argument
1052 setSmallIcon(int icon) argument
1068 setSmallIcon(int icon, int level) argument
1222 setLargeIcon(Bitmap icon) argument
1391 addAction(int icon, CharSequence title, PendingIntent intent) argument
[all...]
H A DSearchDialog.java435 Drawable icon;
438 icon = pm.getApplicationIcon(info.applicationInfo);
440 Log.d(LOG_TAG, "Using app-specific icon");
442 icon = pm.getDefaultActivityIcon();
443 Log.w(LOG_TAG, mLaunchComponent + " not found, using generic app icon");
445 mAppIcon.setImageDrawable(icon);
456 Drawable icon = null;
461 icon = mActivityContext.getResources().getDrawable(mSearchable.getIconId());
463 if (DBG) Log.d(LOG_TAG, "Using badge icon: " + mSearchable.getIconId());
470 mBadgeLabel.setCompoundDrawablesWithIntrinsicBounds(icon, nul
[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/content/
H A DIntent.java246 * &lt;application android:icon="@drawable/app_notes"
699 * The name of the extra used to define the icon, as a Bitmap, of a shortcut.
705 * The name of the extra used to define the icon, as a ShortcutIconResource, of a shortcut.
714 * Represents a shortcut/live folder icon resource.
723 * The package name of the application containing the icon.
728 * The resource name of the icon, including package, name and type.
737 * @param resourceId The resource idenfitier for the icon.
739 * and icon resource idenfitier.
742 ShortcutIconResource icon = new ShortcutIconResource();
743 icon
[all...]
/frameworks/base/core/java/android/content/pm/
H A DComponentInfo.java110 * Return the icon resource identifier to use for this component. If
111 * the component defines an icon, that is used; else, the application
112 * icon is used.
114 * @return The icon associated with this component.
117 return icon != 0 ? icon : applicationInfo.icon;
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 DPackageParser.java1748 ai.icon = sa.getResourceId(
2018 outInfo.icon = iconVal;
2349 info.icon = target.info.icon;
3048 outInfo.icon = sa.getResourceId(
3362 outInfo.icon = iconVal;
3772 public int icon; field in class:PackageParser.IntentInfo
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/inputmethodservice/
H A DKeyboard.java241 public Drawable icon; field in class:Keyboard.Key
242 /** Preview version of the icon, for the preview popup */
380 icon = a.getDrawable(
382 if (icon != null) {
383 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight());
H A DKeyboardView.java717 } else if (key.icon != null) {
719 - key.icon.getIntrinsicWidth()) / 2 + padding.left;
721 - key.icon.getIntrinsicHeight()) / 2 + padding.top;
723 key.icon.setBounds(0, 0,
724 key.icon.getIntrinsicWidth(), key.icon.getIntrinsicHeight());
725 key.icon.draw(canvas);
905 if (key.icon != null) {
907 key.iconPreview != null ? key.iconPreview : key.icon);
/frameworks/base/core/java/android/net/
H A DCaptivePortalTracker.java333 int icon;
339 icon = R.drawable.stat_notify_wifi_in_range;
346 icon = R.drawable.stat_notify_rssi_in_range;
352 icon = R.drawable.stat_notify_rssi_in_range;
358 notification.icon = icon;
/frameworks/base/core/java/android/os/
H A DIUserManager.aidl31 void setUserIcon(int userHandle, in Bitmap icon);
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/android/preference/
H A DPreference.java531 ImageView imageView = (ImageView) view.findViewById(com.android.internal.R.id.icon);
645 * Sets the icon for this Preference with a Drawable.
646 * This icon will be placed into the ID
647 * {@link android.R.id#icon} within the View created by
650 * @param icon The optional icon for this Preference.
652 public void setIcon(Drawable icon) { argument
653 if ((icon == null && mIcon != null) || (icon != null && mIcon != icon)) {
[all...]
H A DPreferenceActivity.java250 ImageView icon; field in class:PreferenceActivity.HeaderAdapter.HeaderViewHolder
271 holder.icon = (ImageView) view.findViewById(com.android.internal.R.id.icon);
282 holder.icon.setImageResource(header.iconRes);
364 * Optional icon resource to show for this header.
H A DSeekBarDialogPreference.java56 final ImageView iconView = (ImageView) view.findViewById(android.R.id.icon);
/frameworks/base/core/java/android/provider/
H A DContacts.java1635 * Gets the resource ID for the proper presence icon.
1637 * @param status the status to get the icon for
1638 * @return the resource ID for the proper presence icon
1664 * Sets a presence icon to the proper graphic
1666 * @param icon the icon to to set
1671 public static final void setPresenceIcon(ImageView icon, int serverStatus) { argument
1672 icon.setImageResource(getPresenceIconResourceId(serverStatus));
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java1374 public int icon; field in class:TextToSpeech.EngineInfo
H A DTtsEngines.java247 engine.icon = service.getIconResource();

Completed in 377 milliseconds

123456