/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | DndTile.java | 177 state.icon = ResourceIcon.get(R.drawable.ic_qs_dnd_on); 183 state.icon = TOTAL_SILENCE; 189 state.icon = ResourceIcon.get(R.drawable.ic_qs_dnd_on); 195 state.icon = TOTAL_SILENCE.equals(state.icon) ? mDisableTotalSilence : mDisable;
|
H A D | ColorInversionTile.java | 102 state.icon = enabled ? mEnable : mDisable;
|
H A D | NfcTile.java | 111 state.icon = new DrawableIcon(state.value ? mEnable : mDisable);
|
H A D | NightDisplayTile.java | 82 state.icon = ResourceIcon.get(isActivated ? R.drawable.ic_qs_night_display_on
|
H A D | UserTile.java | 92 state.icon = new Icon() {
|
/frameworks/support/wear/src/android/support/wear/widget/drawer/ |
H A D | WearableActionDrawerView.java | 75 * <p>For {@link MenuItem}, setting and getting the title and icon, {@link MenuItem#getItemId}, and 281 // it. If a copy isn't made, the icon will be white in the expanded state, rendering it 321 // Handle transitioning from 0->1 items (set peek icon) and 334 // also the removal of item 1, which could cause the peek icon 405 Drawable icon = mActionMenu.getItem(titleAwarePosition).getIcon(); 406 if (icon != null) { 407 icon = icon.getConstantState().newDrawable().mutate(); 413 holder.iconView.setImageDrawable(icon);
|
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | GuidedStepActivity.java | 129 .icon(R.drawable.lb_ic_search_mic) 212 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 214 return new Guidance(title, description, breadcrumb, icon); 273 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 275 return new Guidance(title, description, breadcrumb, icon); 401 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 403 return new Guidance(title, description, breadcrumb, icon); 529 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 531 return new Guidance(title, description, breadcrumb, icon); 610 Drawable icon [all...] |
H A D | GuidedStepSupportActivity.java | 132 .icon(R.drawable.lb_ic_search_mic) 215 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 217 return new Guidance(title, description, breadcrumb, icon); 276 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 278 return new Guidance(title, description, breadcrumb, icon); 404 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 406 return new Guidance(title, description, breadcrumb, icon); 532 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 534 return new Guidance(title, description, breadcrumb, icon); 613 Drawable icon [all...] |
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | GuidedStepActivity.java | 129 .icon(R.drawable.lb_ic_search_mic) 212 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 214 return new Guidance(title, description, breadcrumb, icon); 273 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 275 return new Guidance(title, description, breadcrumb, icon); 401 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 403 return new Guidance(title, description, breadcrumb, icon); 529 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 531 return new Guidance(title, description, breadcrumb, icon); 610 Drawable icon [all...] |
H A D | GuidedStepSupportActivity.java | 132 .icon(R.drawable.lb_ic_search_mic) 215 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 217 return new Guidance(title, description, breadcrumb, icon); 276 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 278 return new Guidance(title, description, breadcrumb, icon); 404 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 406 return new Guidance(title, description, breadcrumb, icon); 532 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 534 return new Guidance(title, description, breadcrumb, icon); 613 Drawable icon [all...] |
/frameworks/base/core/java/android/app/ |
H A D | SearchDialog.java | 432 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 D | AlertDialog.java | 395 * Set resId to 0 if you don't want an icon. 396 * @param resId the resourceId of the drawable to use as the icon or 0 397 * if you don't want an icon. 403 public void setIcon(Drawable icon) { argument 404 mAlert.setIcon(icon); 408 * Set an icon as supplied by a theme attribute. e.g. android.R.attr.alertDialogIcon 525 * needs more customization. Using this will replace the title and icon 583 public Builder setIcon(Drawable icon) { argument 584 P.mIcon = icon; 589 * Set an icon a [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardAffordanceHelper.java | 210 private boolean isOnIcon(View icon, float x, float y) { argument 211 float iconX = icon.getX() + icon.getWidth() / 2.0f; 212 float iconY = icon.getY() + icon.getHeight() / 2.0f; 466 private float getScale(float alpha, KeyguardAffordanceView icon) { argument 467 float scale = alpha / icon.getRestingAlpha() * 0.2f +
|
/frameworks/base/services/print/java/com/android/server/print/ |
H A D | RemotePrintSpooler.java | 362 * Handle that a custom icon for a printer was loaded. 364 * @param printerId the id of the printer the icon belongs to 365 * @param icon the icon that was loaded 369 @Nullable Icon icon) { 377 printerId, icon); 379 Slog.e(LOG_TAG, "Error loading new custom printer icon.", re); 393 * Get the custom icon for a printer. If the icon is not cached, the icon i 368 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/media-compat/java/android/support/v4/media/session/ |
H A D | PlaybackStateCompat.java | 856 CustomAction(String action, CharSequence name, int icon, Bundle extras) { argument 859 mIcon = icon; 961 * Returns the resource id of the icon in the {@link MediaSessionCompat 964 * @return The resource id of the icon in the {@link MediaSessionCompat 1002 * icon set. 1008 * @param icon The icon resource id of the {@link CustomAction}. 1013 public Builder(String action, CharSequence name, int icon) { argument 1022 if (icon == 0) { 1024 "You must specify an icon resourc 1246 addCustomAction(String action, String name, int icon) argument [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | AddPrinterActivity.java | 556 ImageView icon = (ImageView) convertView.findViewById(R.id.icon); 560 icon.setImageDrawable(service.getResolveInfo().loadIcon(getPackageManager())); 604 ImageView icon = (ImageView) convertView.findViewById(R.id.icon); 607 icon.setImageDrawable(service.getResolveInfo().loadIcon(getPackageManager()));
|
/frameworks/base/core/java/android/print/ |
H A D | PrinterInfo.java | 72 /** 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 D | TileServices.java | 232 public void updateStatusIcon(IBinder token, Icon icon, String contentDescription) { argument 243 final StatusBarIcon statusIcon = icon != null 244 ? new StatusBarIcon(userHandle, packageName, icon, 0, 0,
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | SearchOrbView.java | 37 * <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...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ResolverActivity.java | 468 if (ri.resolvePackageName != null && ri.icon != 0) { 469 dr = getIcon(mPm.getResourcesForApplication(ri.resolvePackageName), ri.icon); 979 // Try to initialize the title icon if we have a view for it and a title to match 997 final ImageView iconView = findViewById(R.id.icon); 1113 if (mResolveInfo.activityInfo.icon == 0 || mResolveInfo.activityInfo.icon 1114 == mResolveInfo.activityInfo.applicationInfo.icon) { 1115 // Badging an icon with exactly the same icon is silly. 1116 // If the activityInfo icon resi 1144 setDisplayIcon(Drawable icon) argument 1895 public ImageView icon; field in class:ResolverActivity.ViewHolder [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | AccountItemView.java | 62 mAccountIcon = (ImageView)view.findViewById(android.R.id.icon);
|
/frameworks/base/core/tests/coretests/src/android/preference/ |
H A D | PreferenceIconSpaceTest.java | 57 when(mViewGroup.findViewById(com.android.internal.R.id.icon))
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
H A D | NekoDialog.java | 83 ((ImageView) holder.itemView.findViewById(R.id.icon))
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationHeaderUtil.java | 63 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/telecomm/java/android/telecom/ |
H A D | PhoneAccount.java | 234 * Indicating no icon tint is set. 358 * Sets the icon. See {@link PhoneAccount#getIcon}. 360 * @param icon The icon to set. 362 public Builder setIcon(Icon icon) { argument 363 mIcon = icon; 511 Icon icon, 524 mIcon = icon; 663 * The icon to represent this {@code PhoneAccount}. 665 * @return The icon 506 PhoneAccount( PhoneAccountHandle account, Uri address, Uri subscriptionAddress, int capabilities, Icon icon, int highlightColor, CharSequence label, CharSequence shortDescription, List<String> supportedUriSchemes, Bundle extras, int supportedAudioRoutes, boolean isEnabled, String groupId) argument [all...] |