/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
H A D | AdaptiveIconDrawable_Delegate.java | 30 /*package*/ static void constructor_after(AdaptiveIconDrawable icon) { argument
|
/frameworks/base/core/java/android/printservice/ |
H A D | CustomPrinterIconCallback.java | 37 * Create a callback class to be used once a icon is loaded 39 * @param printerId The printer the icon should be loaded for 48 * Provide a new icon for a printer. Can be called more than once to update the icon. 50 * @param icon The new icon for the printer or null to unset the current icon 51 * @return true iff the icon could be updated 53 public boolean onCustomPrinterIconLoaded(@Nullable Icon icon) { argument 55 mObserver.onCustomPrinterIconLoaded(mPrinterId, icon); [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
H A D | UidDetail.java | 26 public Drawable icon; field in class:UidDetail
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | SelectablePreference.java | 36 public void setIcon(Drawable icon) { argument 37 super.setIcon(new ScalingDrawableWrapper(icon, 38 mSize / (float) icon.getIntrinsicWidth()));
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
H A D | AnimatedStateVectorDrawableTest.java | 29 protected int[] icon = { field in class:AnimatedStateVectorDrawableTest 51 for (int i = 0; i < icon.length; i++) { 55 button.setBackgroundResource(icon[i]);
|
H A D | BitmapDrawableDupe.java | 30 protected int[] icon = { field in class:BitmapDrawableDupe 65 for (int i = 0; i < icon.length; i++) { 68 button.setBackgroundResource(icon[i]); 75 t.setText("avgS=" + df.format(time / (icon.length * 1000000.)) + " ms");
|
H A D | VectorCheckbox.java | 28 int[] icon = { field in class:VectorCheckbox 57 final Button []bArray = new Button[icon.length]; 59 for (int i = 0; i < icon.length; i++) { 63 checkBox.setButtonDrawable(icon[i]);
|
H A D | VectorDrawable01.java | 32 int[] icon = { field in class:VectorDrawable01 61 final Button []bArray = new Button[icon.length]; 80 for (int i = 0; i < icon.length; i++) { 84 button.setBackgroundResource(icon[i]); 87 vd.setAlpha((i + 1) * (0xFF / (icon.length + 1)));
|
H A D | AnimatedVectorDrawableDupPerf.java | 40 protected int[] icon = { field in class:AnimatedVectorDrawableDupPerf 98 AnimatedVectorDrawable []d = new AnimatedVectorDrawable[icon.length]; 100 for (int i = 0; i < icon.length; i++) { 101 d[i] = create(res,icon[i]); 106 t.setText("avgL=" + df.format(time / (icon.length * 1000000.)) + " ms"); 109 for (int i = 0; i < icon.length; i++) { 112 button.setBackgroundResource(icon[i]); 118 t.setText("avgS=" + df.format(time / (icon.length * 1000000.)) + " ms");
|
H A D | AnimatedVectorDrawableTest.java | 32 protected int[] icon = { field in class:AnimatedVectorDrawableTest 67 for (int i = 0; i < icon.length; i++) { 74 button.setBackgroundResource(icon[i]);
|
H A D | ScaleDrawableTests.java | 39 protected int icon = R.drawable.bitmap_drawable01; field in class:ScaleDrawableTests 66 png_view.setImageResource(icon);
|
H A D | VectorDrawablePerformance.java | 37 protected int[] icon = { field in class:VectorDrawablePerformance 119 VectorDrawable []d = new VectorDrawable[icon.length]; 121 for (int i = 0; i < icon.length; i++) { 122 d[i] = create(res,icon[i]); 127 t.setText("avgL=" + df.format(time / (icon.length * 1000000.)) + " ms"); 130 for (int i = 0; i < icon.length; i++) { 133 button.setBackgroundResource(icon[i]); 139 t.setText("avgS=" + df.format(time / (icon.length * 1000000.)) + " ms");
|
/frameworks/layoutlib/bridge/src/android/view/ |
H A D | PointerIcon_Delegate.java | 27 /*package*/ static void loadResource(PointerIcon icon, Context context, Resources resources, argument 31 // icon.
|
/frameworks/base/core/java/android/view/ |
H A D | ContextMenu.java | 60 * Sets the context menu header's icon to the icon given in <var>iconRes</var> 63 * @param iconRes The resource identifier used for the icon. 69 * Sets the context menu header's icon to the icon given in <var>icon</var> 72 * @param icon The {@link Drawable} used for the icon. 75 public ContextMenu setHeaderIcon(Drawable icon); argument 79 * <var>view</var>. This replaces the header title and icon (an [all...] |
H A D | SubMenu.java | 54 * Sets the submenu header's icon to the icon given in <var>iconRes</var> 57 * @param iconRes The resource identifier used for the icon. 63 * Sets the submenu header's icon to the icon given in <var>icon</var> 66 * @param icon The {@link Drawable} used for the icon. 69 public SubMenu setHeaderIcon(Drawable icon); argument 73 * <var>view</var>. This replaces the header title and icon (an 102 setIcon(Drawable icon) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | UserIcons.java | 47 public static Bitmap convertToBitmap(Drawable icon) { argument 48 if (icon == null) { 51 final int width = icon.getIntrinsicWidth(); 52 final int height = icon.getIntrinsicHeight(); 55 icon.setBounds(0, 0, width, height); 56 icon.draw(canvas); 61 * Returns a default user icon for the given user. 64 * @param userId the user id or {@code UserHandle.USER_NULL} for a non-user specific icon 65 * @param light whether we want a light icon (suitable for a dark background) 70 // Return colored icon instea [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
H A D | CustomErrorEditText.java | 40 public void setError(CharSequence error, Drawable icon) { argument 41 setCompoundDrawables(null, null, icon, null);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
H A D | CustomizeTileView.java | 30 public CustomizeTileView(Context context, QSIconView icon) { argument 31 super(context, icon);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | AppIconDragShadowBuilder.java | 26 /** Creates a scaled-up version of an app icon for dragging. */ 32 public AppIconDragShadowBuilder(ImageView icon) { argument 33 mDrawable = icon.getDrawable(); 37 mIconSize = icon.getHeight() * ICON_SCALE;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | NetworkControllerEthernetTest.java | 41 protected void verifyLastEthernetIcon(boolean visible, int icon) { argument 48 assertEquals("Ethernet icon, in status bar", icon, iconState.icon);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
H A D | IconMixin.java | 29 * A {@link Mixin} for setting an icon on the template layout. 47 final Drawable icon = a.getDrawable(R.styleable.SuwIconMixin_android_icon); 48 if (icon != null) { 49 setIcon(icon); 56 * Sets the icon on this layout. The icon can also be set in XML using {@code android:icon}. 58 * @param icon A drawable icon. 60 public void setIcon(Drawable icon) { argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | Item.java | 34 public Bitmap icon; field in class:Item 40 public Item(int id, String text, Bitmap icon) { argument 43 this.icon = icon; 49 icon = in.readParcelable(null); 61 dest.writeParcelable(icon, flags);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebIconDatabase.java | 24 * Functions for manipulating the icon database used by WebView. 44 * Called when the icon has been retrieved from the database and the 47 * @param icon The favicon for the given url. 49 public void onReceivedIcon(String url, Bitmap icon); argument 53 * Open a the icon database and store the icons in the given path. 54 * @param path The directory path where the icon database will be stored. 59 * Close the shared instance of the icon database. 69 * Request the Bitmap representing the icon for the given page 70 * url. If the icon exists, the listener will be called with the result. 83 * Retain the icon fo [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | CustomPrinterIconCache.java | 50 * Create a new icon cache. 60 * Return the file name to be used for the icon of a printer 64 * @return The file to be used for the icon of the printer 77 Log.e(LOG_TAG, "Could not compute custom printer icon file name", e); 85 * Get the {@link Icon} to be used as a custom icon for the printer. If not available request 86 * the icon to be loaded. 88 * @param printerId the printer the icon belongs to 89 * @return the {@link Icon} if already available or null if icon is not loaded yet 92 Icon icon; 97 icon 140 onCustomPrinterIconLoaded(@onNull PrinterId printerId, @Nullable Icon icon) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
H A D | CarNavigationButton.java | 28 * A wrapper view for a car navigation facet, which includes a button icon and a drop down icon. 58 public void setResources(Drawable icon) { argument 59 mIcon.setImageDrawable(icon);
|