/frameworks/base/core/java/android/accounts/ |
H A D | ChooseAccountActivity.java | 98 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 D | ChooseAccountTypeActivity.java | 129 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 D | ActionBar.java | 40 * <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. 138 * Custom navigation views appear between the application icon and 152 * <p>Custom navigation views appear between the application icon and 172 * <p>Custom navigation views appear between the application icon and 188 * Set the icon to display in the 'home' section of the action bar. 189 * The action bar will use an icon specifie 215 setIcon(Drawable icon) argument 753 setIcon(Drawable icon) argument [all...] |
H A D | AlertDialog.java | 307 * 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 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...] |
H A D | Notification.java | 121 * 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 1389 addAction(int icon, CharSequence title, PendingIntent intent) argument [all...] |
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetProviderInfo.java | 152 * 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/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 | PackageParser.java | 1748 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 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/inputmethodservice/ |
H A D | Keyboard.java | 241 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());
|
/frameworks/base/core/java/android/os/ |
H A D | UserManager.java | 255 * @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 D | Preference.java | 531 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 D | PreferenceActivity.java | 250 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.
|
/frameworks/base/core/java/android/provider/ |
H A D | Contacts.java | 1635 * 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 D | TextToSpeech.java | 1374 public int icon; field in class:TextToSpeech.EngineInfo
|
/frameworks/base/core/java/android/view/ |
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...] |
H A D | MenuItem.java | 57 * it also has an icon specified. 197 * Change the icon associated with this item. This icon will not always be 201 * @param icon The new icon (as a Drawable) to be displayed. 204 public MenuItem setIcon(Drawable icon); argument 207 * Change the icon associated with this item. This icon will not always be 211 * This method will set the resource ID of the icon which will be used to 214 * @param iconRes The new icon (a [all...] |
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 | VolumePanel.java | 123 /** Dummy divider icon that needs to vanish with the more button */ 206 ImageView icon; field in class:VolumePanel.StreamControl 403 sc.icon = (ImageView) sc.group.findViewById(R.id.stream_icon); 404 sc.icon.setTag(sc); 405 sc.icon.setContentDescription(res.getString(streamRes.descRes)); 408 sc.icon.setImageResource(sc.iconRes); 455 sc.icon.setImageResource(muted ? sc.iconMuteRes : sc.iconRes); 458 sc.icon.setImageResource(R.drawable.ic_audio_ring_notif_vibrate); 611 sc.icon.setImageResource(isMuted(sc.streamType) ? sc.iconMuteRes : sc.iconRes); 660 * the way to zero and don't show the mute icon [all...] |
H A D | WindowManagerPolicy.java | 643 * @param icon The resource ID the application would like to use as its icon. 653 int labelRes, int icon, int windowFlags); 651 addStartingWindow(IBinder appToken, String packageName, int theme, CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, int windowFlags) argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | BrowserFrame.java | 898 * Send the icon to the activity for display. 899 * @param icon A Bitmap representing a page's favicon. 901 private void didReceiveIcon(Bitmap icon) { argument 902 mCallbackProxy.onReceivedIcon(icon); 905 // Called by JNI when an apple-touch-icon attribute was found.
|
H A D | CallbackProxy.java | 1288 public void onReceivedIcon(Bitmap icon) { argument 1289 // The current item might be null if the icon was already stored in the 1293 i.setFavicon(icon); 1300 sendMessage(obtainMessage(RECEIVED_ICON, icon));
|
H A D | WebChromeClient.java | 45 * @param icon A Bitmap containing the favicon for the current page. 47 public void onReceivedIcon(WebView view, Bitmap icon) {} argument 50 * Notify the host application of the url for an apple-touch-icon. 52 * @param url The icon url. 53 * @param precomposed True if the url is for a precomposed touch icon.
|