/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
H A D | GarbageMonitor.java | 384 final MemoryGraphIcon icon = new MemoryGraphIcon(); 385 icon.setHeapLimit(gm.mHeapLimit); 387 icon.setPss(pmi.currentPss); 395 icon.setPss(0); 399 state.icon = icon;
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | GuidedAction.java | 32 * and a description, and typically also an icon. 319 * Sets the action's icon drawable. 320 * @param icon The drawable for the icon associated with this action. 322 public B icon(Drawable icon) { argument 323 mIcon = icon; 328 * Sets the action's icon drawable by retrieving it by resource ID from the specified 330 * {@link #icon(Drawable)}. 331 * @param iconResourceId The resource ID for the icon associate 346 public B icon(@DrawableRes int iconResourceId) { method in class:GuidedAction.BuilderBase [all...] |
H A D | GuidanceStylist.java | 71 * the back button will lead), and an optional icon. All this information is intended to 86 * icon drawable. 90 * @param icon The icon drawable representing the current guided step. 92 public Guidance(String title, String description, String breadcrumb, Drawable icon) { argument 96 mIconDrawable = icon; 124 * Returns the icon drawable specified when this Guidance was constructed. 125 * @return The icon for this Guidance. 249 * Returns the view displaying the icon of the guidance. 250 * @return The image view object for the icon [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Person.java | 80 * @return the icon provided for this person or {@code null} if no icon was provided. 177 * Add an icon for this person. 179 * The system will prefer this icon over any images that are resolved from the URI. 181 * @param icon the icon of the person. 184 public Person.Builder setIcon(@Nullable Icon icon) { argument 185 this.mIcon = icon;
|
/frameworks/base/core/java/android/hardware/input/ |
H A D | IInputManager.aidl | 82 void setCustomPointerIcon(in PointerIcon icon);
|
/frameworks/base/core/java/android/print/ |
H A D | IPrintSpooler.aidl | 73 * Handle that a custom icon for a printer was loaded. 75 * @param printerId the id of the printer the icon belongs to 76 * @param icon the icon that was loaded 77 * @param callbacks the callback to call once icon is stored in case 81 void onCustomPrinterIconLoaded(in PrinterId printerId, in Icon icon, 85 * Get the custom icon for a printer. If the icon is not cached, the icon is 88 * @param printerId the id of the printer the icon shoul [all...] |
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | IStatusBar.aidl | 30 void setIcon(String slot, in StatusBarIcon icon);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
H A D | TileUtils.java | 63 * <p>The icon may be defined by meta-data named {@link #META_DATA_PREFERENCE_ICON} 64 * otherwise the icon for the activity will be used. 108 * The key used to get the package name of the icon resource for the preference. 121 * to specify the icon that should be displayed for the preference. 123 public static final String META_DATA_PREFERENCE_ICON = "com.android.settings.icon"; 127 * to specify the icon background color. The value may or may not be used by Settings app. 134 * to specify the content provider providing the icon that should be displayed for 137 * Icon provided by the content provider overrides any static icon. 143 * to specify whether the icon is tintable. This should be a boolean value {@code true} or 394 int icon [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | SignalTileView.java | 61 private ImageView addTrafficView(int icon) { argument 63 traffic.setImageResource(icon);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | FlashlightTile.java | 106 state.icon = mIcon; 122 state.icon = mIcon;
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
H A D | PlayerService.java | 166 public void setIcon(Bitmap icon) { argument 167 mSession.setIcon(icon);
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/ |
H A D | IconMixinTest.java | 86 int icon = android.R.drawable.ic_menu_add; 88 mixin.setIcon(icon);
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
H A D | GlifLayoutTest.java | 134 View icon = layout.findViewById(R.id.suw_layout_icon); 135 assertNotNull("@id/suw_layout_icon should not be null", icon);
|
H A D | GlifListLayoutTest.java | 142 View icon = layout.findViewById(R.id.suw_layout_icon); 143 assertNotNull("@id/suw_layout_icon should not be null", icon);
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
H A D | Person.java | 31 private static final String ICON_KEY = "icon"; 98 /** Returns the icon for this {@link Person} or {@code null} if no icon was provided. */ 179 * Set an icon for this {@link Person}. 181 * <p>The system will prefer this icon over any images that are resolved from 185 public Builder setIcon(@Nullable IconCompat icon) { argument 186 mIcon = icon;
|
/frameworks/support/compat/src/main/java/androidx/core/content/pm/ |
H A D | ShortcutInfoCompat.java | 115 * Launcher apps should show the launcher icon for the returned activity alongside 258 * Sets an icon of a shortcut. 261 public Builder setIcon(IconCompat icon) { argument 262 mInfo.mIcon = icon; 267 * Sets the target activity. A shortcut will be shown along with this activity's icon 280 * Badges the icon before passing it over to the Launcher. 282 * Launcher automatically badges {@link ShortcutInfo}, so only the legacy shortcut icon, 286 * If the shortcut is associated with an activity, the activity icon is used as the badge, 287 * otherwise application icon is used.
|
/frameworks/support/slices/builders/src/main/java/androidx/slice/builders/impl/ |
H A D | ListBuilderV1Impl.java | 384 public void setTitleItem(IconCompat icon, int imageMode) { argument 385 setTitleItem(icon, imageMode, false /* isLoading */); 392 public void setTitleItem(IconCompat icon, int imageMode, boolean isLoading) { argument 404 .addIcon(icon, null /* subType */, hints); 487 public void addEndItem(IconCompat icon, int imageMode) { argument 488 addEndItem(icon, imageMode, false /* isLoading */); 495 public void addEndItem(IconCompat icon, int imageMode, boolean isLoading) { argument 507 .addIcon(icon, null /* subType */, hints);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ListMenuItemView.java | 246 public void setIcon(Drawable icon) { argument 252 if (mIconView == null && icon == null && !mPreserveIconSpacing) { 260 if (icon != null || mPreserveIconSpacing) { 261 mIconView.setImageDrawable(showIcon ? icon : null); 274 // Enforce minimum icon spacing
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
H A D | QSTileBaseView.java | 65 public QSTileBaseView(Context context, QSIconView icon) { argument 66 this(context, icon, false); 69 public QSTileBaseView(Context context, QSIconView icon, boolean collapsedView) { argument 82 mIcon = icon; 129 // center the touch feedback on the center of the icon, and dial it down a bit
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ListActivity.java | 117 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),
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | AppCompatActionBar.java | 160 protected void setIcon(String icon) { argument 161 // Do this only if the action bar doesn't already have an icon. 162 if (icon != null && !icon.isEmpty() && mWindowDecorActionBar != null) { 165 Drawable iconDrawable = getDrawable(icon, false);
|
H A D | FrameworkActionBarWrapper.java | 109 public void setIcon(String icon) { argument 291 public void setIcon(String icon) { argument 292 // Set the icon only if the action bar doesn't specify an icon. 293 if (!mActionBar.hasIcon() && icon != null) { 294 Drawable iconDrawable = getDrawable(icon, false);
|