Searched refs:icon (Results 176 - 200 of 341) sorted by relevance

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/views/
H A DTaskCardView.java106 mBadgeView.setImageDrawable(task.icon);
242 // Check for touch exploration to ensure dismiss icon/text do not
286 setAsIconView(mTask.icon, screenshotView);
290 setAsIconView(mTask.icon, screenshotView);
321 private void setAsIconView(Drawable icon, ImageView iconView) { argument
329 iconView.setImageDrawable(icon);
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DMenuItemImpl.java58 /** The icon's drawable which is only created as needed */
62 * The icon's resource ID which is used to get the Drawable when it is
91 /** Used for the icon resource ID if this item does not have an icon */
421 Drawable icon = AppCompatDrawableManager.get()
424 mIconDrawable = icon;
425 return icon;
432 public MenuItem setIcon(Drawable icon) { argument
434 mIconDrawable = icon;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DSignalClusterView.java192 * Extracts the icon off of the VPN and no sims views and maybe scale them by
194 * dynamic. As such, they need to be scaled each time the icon changes in {@link #apply()}.
261 mWifiStrengthId = statusIcon.icon;
276 state.mMobileStrengthId = statusIcon.icon;
288 mEthernetIconId = state.icon;
360 public void setIsAirplaneMode(IconState icon) { argument
361 mIsAirplaneMode = icon.visible && !mBlockAirplane;
362 mAirplaneIconId = icon.icon;
363 mAirplaneContentDescription = icon
[all...]
H A DNotificationHeaderUtil.java63 ImageView icon = (ImageView) view.findViewById(
64 com.android.internal.R.id.icon);
67 applyToChild(icon, apply, header.getOriginalIconColor());
97 com.android.internal.R.id.icon,
/frameworks/base/core/java/android/app/
H A DSearchDialog.java432 Drawable icon;
435 icon = pm.getApplicationIcon(info.applicationInfo);
437 Log.d(LOG_TAG, "Using app-specific icon");
439 icon = pm.getDefaultActivityIcon();
440 Log.w(LOG_TAG, mLaunchComponent + " not found, using generic app icon");
442 mAppIcon.setImageDrawable(icon);
453 Drawable icon = null;
458 icon = mActivityContext.getDrawable(mSearchable.getIconId());
460 if (DBG) Log.d(LOG_TAG, "Using badge icon: " + mSearchable.getIconId());
467 mBadgeLabel.setCompoundDrawablesWithIntrinsicBounds(icon, nul
[all...]
H A DAlertDialog.java393 * Set resId to 0 if you don't want an icon.
394 * @param resId the resourceId of the drawable to use as the icon or 0
395 * if you don't want an icon.
401 public void setIcon(Drawable icon) { argument
402 mAlert.setIcon(icon);
406 * Set an icon as supplied by a theme attribute. e.g. android.R.attr.alertDialogIcon
523 * needs more customization. Using this will replace the title and icon
581 public Builder setIcon(Drawable icon) { argument
582 P.mIcon = icon;
587 * Set an icon a
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardAffordanceHelper.java209 private boolean isOnIcon(View icon, float x, float y) { argument
210 float iconX = icon.getX() + icon.getWidth() / 2.0f;
211 float iconY = icon.getY() + icon.getHeight() / 2.0f;
464 private float getScale(float alpha, KeyguardAffordanceView icon) { argument
465 float scale = alpha / icon.getRestingAlpha() * 0.2f +
/frameworks/base/services/print/java/com/android/server/print/
H A DRemotePrintSpooler.java361 * Handle that a custom icon for a printer was loaded.
363 * @param printerId the id of the printer the icon belongs to
364 * @param icon the icon that was loaded
368 @Nullable Icon icon) {
376 printerId, icon);
378 Slog.e(LOG_TAG, "Error loading new custom printer icon.", re);
392 * Get the custom icon for a printer. If the icon is not cached, the icon i
367 onCustomPrinterIconLoaded(@onNull PrinterId printerId, @Nullable Icon icon) argument
813 onCustomPrinterIconLoaded(IPrintSpooler target, PrinterId printerId, Icon icon) argument
896 onGetCustomPrinterIconResult(@ullable Icon icon, int sequence) argument
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationCompat.java259 * Notification extras key: this is the resource ID of the notification's main small icon, as
262 public static final String EXTRA_SMALL_ICON = "android.icon";
265 * Notification extras key: this is a bitmap to be used instead of the small icon when showing the
1108 * Set the small icon to use in the notification layouts. Different classes of devices
1112 * @param icon A resource ID in the application's package of the drawble to use.
1114 public Builder setSmallIcon(int icon) { argument
1115 mNotification.icon = icon;
1121 * level parameter for when the icon is a {@link android.graphics.drawable.LevelListDrawable
1124 * @param icon
1129 setSmallIcon(int icon, int level) argument
1293 setLargeIcon(Bitmap icon) argument
1607 addAction(int icon, CharSequence title, PendingIntent intent) argument
2345 public int icon; field in class:NotificationCompat.Action
2356 Action(int icon, CharSequence title, PendingIntent intent) argument
2360 Action(int icon, CharSequence title, PendingIntent intent, Bundle extras, RemoteInput[] remoteInputs, boolean allowGeneratedReplies) argument
2428 Builder(int icon, CharSequence title, PendingIntent intent) argument
2441 Builder(int icon, CharSequence title, PendingIntent intent, Bundle extras) argument
3229 setContentIcon(int icon) argument
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DAddPrinterActivity.java514 ImageView icon = (ImageView) convertView.findViewById(R.id.icon);
518 icon.setImageDrawable(service.getResolveInfo().loadIcon(getPackageManager()));
562 ImageView icon = (ImageView) convertView.findViewById(R.id.icon);
565 icon.setImageDrawable(service.getResolveInfo().loadIcon(getPackageManager()));
H A DSelectPrinterActivity.java541 Drawable icon = printer.loadIcon(SelectPrinterActivity.this);
593 ImageView iconView = (ImageView) convertView.findViewById(R.id.icon);
594 if (icon != null) {
597 icon.mutate();
601 icon.setAlpha((int)(value.getFloat() * 255));
603 iconView.setImageDrawable(icon);
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DPreference.java66 * @attr name android:icon
507 final ImageView imageView = (ImageView) holder.findViewById(android.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 !
[all...]
/frameworks/base/core/java/android/print/
H A DPrinterInfo.java72 /** Resource inside the printer's services's package to be used as an icon */
75 /** If a custom icon can be loaded for the printer */
78 /** The generation of the icon in the cache. */
117 * Get the icon to be used for this printer. If no per printer icon is available, the printer's
118 * service's icon is returned. If the printer has a custom icon this icon might get requested
119 * asynchronously. Once the icon is loaded the discovery sessions will be notified that the
123 * @return The icon t
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DTileServices.java236 public void updateStatusIcon(Tile tile, Icon icon, String contentDescription) { argument
247 final StatusBarIcon statusIcon = icon != null
248 ? new StatusBarIcon(userHandle, packageName, icon, 0, 0,
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DCastTile.java137 state.icon = ResourceIcon.get(state.value ? R.drawable.ic_qs_cast_on
242 item.icon = R.drawable.ic_qs_cast_on;
262 item.icon = R.drawable.ic_qs_cast_off;
H A DColorInversionTile.java99 state.icon = enabled ? mEnable : mDisable;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSearchOrbView.java37 * <p>A widget that draws a search affordance, represented by a round background and an icon.</p>
39 * The background color and icon can be customized.
89 * @param iconColor A color used to tint the search orb icon.
110 * A color used to tint the search orb icon.
171 mIcon = (ImageView) mRootView.findViewById(R.id.icon);
258 * Sets the orb icon.
259 * @param icon the drawable to be used as the icon
261 public void setOrbIcon(Drawable icon) { argument
262 mIconDrawable = icon;
[all...]
H A DControlButtonPresenterSelector.java72 mIcon = (ImageView) view.findViewById(R.id.icon);
/frameworks/base/core/java/com/android/internal/widget/
H A DAccountItemView.java62 mAccountIcon = (ImageView)view.findViewById(android.R.id.icon);
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DNekoDialog.java81 ((ImageView) holder.itemView.findViewById(R.id.icon))
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DNotificationController.java254 int icon = com.android.internal.R.drawable.ic_print;
260 // if any print job is in an error state show an error icon for the summary
263 icon = com.android.internal.R.drawable.ic_print_error;
267 builder.setSmallIcon(icon);
269 ((BitmapDrawable) mContext.getResources().getDrawable(icon, null)).getBitmap());
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DNetworkControllerBaseTest.java270 protected void verifyLastQsMobileDataIndicators(boolean visible, int icon, int typeIcon, argument
288 assertEquals("Signal icon in, quick settings", icon, iconState.icon);
289 assertEquals("Data icon in, quick settings", typeIcon, (int) typeIconArg.getValue());
296 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon) { argument
314 assertEquals("Data icon in status bar", typeIcon, (int) typeIconArg.getValue());
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAlertDialog.java226 * Set resId to 0 if you don't want an icon.
227 * @param resId the resourceId of the drawable to use as the icon or 0
228 * if you don't want an icon.
237 * @param icon Drawable to use as the icon or null if you don't want an icon.
239 public void setIcon(Drawable icon) { argument
240 mAlert.setIcon(icon);
244 * Sets an icon as supplied by a theme attribute. e.g. android.R.attr.alertDialogIcon
364 * needs more customization. Using this will replace the title and icon
422 setIcon(Drawable icon) argument
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DResolverActivity.java299 // Try to initialize the title icon if we have a view for it and a title to match
317 final ImageView iconView = (ImageView) findViewById(R.id.icon);
510 if (ri.resolvePackageName != null && ri.icon != 0) {
511 dr = getIcon(mPm.getResourcesForApplication(ri.resolvePackageName), ri.icon);
1022 if (mResolveInfo.activityInfo.icon == 0 || mResolveInfo.activityInfo.icon
1023 == mResolveInfo.activityInfo.applicationInfo.icon) {
1024 // Badging an icon with exactly the same icon is silly.
1025 // If the activityInfo icon resi
1053 setDisplayIcon(Drawable icon) argument
1752 public ImageView icon; field in class:ResolverActivity.ViewHolder
[all...]
/frameworks/base/core/java/android/os/
H A DIUserManager.aidl44 void setUserIcon(int userHandle, in Bitmap icon);

Completed in 1894 milliseconds

1234567891011>>