/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | GlobalActions.java | 360 ImageView icon = (ImageView) v.findViewById(R.id.icon); 365 icon.setImageDrawable(context.getResources().getDrawable(mIconResId)); 373 * A toggle action knows whether it is on or off, and displays an icon 405 * @param enabledIconResId The icon for when this action is on. 406 * @param disabledIconResid The icon for when this action is off. 438 ImageView icon = (ImageView) v.findViewById(R.id.icon); 449 if (icon != null) { 450 icon [all...] |
/frameworks/base/services/input/ |
H A D | PointerController.h | 174 void setPointerIcon(const SpriteIcon& icon); 199 void updateSprite(const SpriteIcon* icon, float x, float y);
|
/frameworks/base/core/java/android/view/ |
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...] |
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ui/ |
H A D | DirListActivity.java | 154 * A custom adapter that sets the proper icon and label in the list view. 175 ImageView icon = (ImageView)row.findViewById(R.id.icon); 177 icon.setImageResource(R.drawable.folder); 179 icon.setImageResource(R.drawable.runtest);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ListActivity.java | 121 v.setCompoundDrawablesWithIntrinsicBounds(r.getDrawable(R.drawable.icon),
|
H A D | TransparentListActivity.java | 115 v.setCompoundDrawablesWithIntrinsicBounds(r.getDrawable(R.drawable.icon),
|
H A D | ViewLayersActivity2.java | 62 v.setCompoundDrawablesWithIntrinsicBounds(r.getDrawable(R.drawable.icon),
|
H A D | ViewLayersActivity4.java | 66 v.setCompoundDrawablesWithIntrinsicBounds(r.getDrawable(R.drawable.icon),
|
H A D | ViewLayersActivity5.java | 72 v.setCompoundDrawablesWithIntrinsicBounds(r.getDrawable(R.drawable.icon),
|
H A D | ViewLayersActivity6.java | 82 v.setCompoundDrawablesWithIntrinsicBounds(r.getDrawable(R.drawable.icon),
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | SingleRecipientArrayAdapter.java | 56 ImageView imageView = (ImageView) view.findViewById(android.R.id.icon);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ActionMenuItemView.java | 92 setTitle(itemData.getTitleForItemView(this)); // Title only takes effect if there is no icon 145 public void setIcon(Drawable icon) { argument 146 mImageButton.setImageDrawable(icon); 147 if (icon != null) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | StatusBar.java | 89 // Set up the initial icon state 93 StatusBarIcon icon = iconList.getIcon(i); 94 if (icon != null) { 95 addIcon(iconList.getSlot(i), i, viewIndex, icon);
|
/frameworks/base/core/java/android/widget/ |
H A D | TabHost.java | 414 * 2) set a label and an icon 441 * Specify a label and icon as the tab indicator. 443 public TabSpec setIndicator(CharSequence label, Drawable icon) { argument 444 mIndicatorStrategy = new LabelAndIconIndicatorStrategy(label, icon); 549 * How we create a tab indicator that has a label and an icon 556 private LabelAndIconIndicatorStrategy(CharSequence label, Drawable icon) { argument 558 mIcon = icon; 570 final ImageView iconView = (ImageView) tabIndicator.findViewById(R.id.icon); 572 // when icon is gone by default, we're in exclusive mode
|
H A D | AppSecurityPermissions.java | 156 Drawable icon = context.getResources().getDrawable(dangerous 159 description, dangerous, icon); 326 CharSequence grpName, CharSequence permList, boolean dangerous, Drawable icon) { 333 imgView.setImageDrawable(icon); 325 getPermissionItemView(Context context, LayoutInflater inflater, CharSequence grpName, CharSequence permList, boolean dangerous, Drawable icon) argument
|
/frameworks/base/core/java/android/app/ |
H A D | SearchDialog.java | 435 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...] |
H A D | AlertDialog.java | 306 * Set resId to 0 if you don't want an icon. 307 * @param resId the resourceId of the drawable to use as the icon or 0 308 * if you don't want an icon. 314 public void setIcon(Drawable icon) { argument 315 mAlert.setIcon(icon); 319 * Set an icon as supplied by a theme attribute. e.g. android.R.attr.alertDialogIcon 415 * more customization. Using this will replace the title and icon set 462 public Builder setIcon(Drawable icon) { argument 463 P.mIcon = icon; 468 * Set an icon a [all...] |
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 743 setIcon(Drawable icon) argument [all...] |
/frameworks/base/services/java/com/android/server/connectivity/ |
H A D | Vpn.java | 193 // Load the icon and convert it into a bitmap. 194 Drawable icon = app.loadIcon(pm); 196 if (icon.getIntrinsicWidth() > 0 && icon.getIntrinsicHeight() > 0) { 201 icon.setBounds(0, 0, width, height); 204 icon.draw(c); 308 private void showNotification(VpnConfig config, String label, Bitmap icon) { argument 321 .setLargeIcon(icon)
|
/frameworks/base/core/java/android/preference/ |
H A D | Preference.java | 521 ImageView imageView = (ImageView) view.findViewById(com.android.internal.R.id.icon); 635 * Sets the icon for this Preference with a Drawable. 636 * This icon will be placed into the ID 637 * {@link android.R.id#icon} within the View created by 640 * @param icon The optional icon for this Preference. 642 public void setIcon(Drawable icon) { argument 643 if ((icon == null && mIcon != null) || (icon != null && mIcon != icon)) { [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | RecentTasksLoader.java | 69 // get the icon size we want -- on tablets, we use bigger icons 80 // We'll need to use a denser icon, or some sort of a mipmap 113 // Create an TaskDescription, returning null if the title or icon is null, or if it's the 133 Drawable icon = getFullResIcon(resolveInfo, pm); 135 if (title != null && title.length() > 0 && icon != null) { 143 item.setIcon(icon);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
H A D | TabletTicker.java | 289 final Drawable icon = StatusBarIconView.getIcon(mContext, 290 new StatusBarIcon(notification.pkg, n.icon, n.iconLevel, 0, n.tickerText)); 292 iv.setImageDrawable(icon);
|
/frameworks/base/core/java/android/webkit/ |
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.
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
H A D | ConfirmDialog.java | 65 ((ImageView) view.findViewById(R.id.icon)).setImageDrawable(app.loadIcon(pm));
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ResolverActivity.java | 294 ri.icon = li.getIconResource(); 426 ImageView icon = (ImageView)view.findViewById(R.id.icon); 437 icon.setImageDrawable(info.displayIcon);
|