/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
H A D | AnimatedStateVectorDrawableTest.java | 29 protected int[] icon = { field in class:AnimatedStateVectorDrawableTest 44 for (int i = 0; i < icon.length; i++) { 48 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 | 27 int[] icon = { field in class:VectorDrawable01 56 final Button []bArray = new Button[icon.length]; 58 for (int i = 0; i < icon.length; i++) { 62 button.setBackgroundResource(icon[i]); 65 vd.setAlpha((i + 1) * (0xFF / (icon.length + 1)));
|
H A D | VectorDrawablePerformance.java | 30 protected int[] icon = { field in class:VectorDrawablePerformance 70 VectorDrawable []d = new VectorDrawable[icon.length]; 72 for (int i = 0; i < icon.length; i++) { 73 d[i] = VectorDrawable.create(res,icon[i]); 78 t.setText("avgL=" + df.format(time / (icon.length * 1000000.)) + " ms"); 81 for (int i = 0; i < icon.length; i++) { 84 button.setBackgroundResource(icon[i]); 90 t.setText("avgS=" + df.format(time / (icon.length * 1000000.)) + " ms");
|
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 | 28 protected int[] icon = { field in class:AnimatedVectorDrawableTest 47 for (int i = 0; i < icon.length; i++) { 51 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);
|
/frameworks/base/core/java/android/view/ |
H A D | ContextMenu.java | 58 * Sets the context menu header's icon to the icon given in <var>iconRes</var> 61 * @param iconRes The resource identifier used for the icon. 67 * Sets the context menu header's icon to the icon given in <var>icon</var> 70 * @param icon The {@link Drawable} used for the icon. 73 public ContextMenu setHeaderIcon(Drawable icon); argument 77 * <var>view</var>. This replaces the header title and icon (an [all...] |
H A D | SubMenu.java | 52 * Sets the submenu header's icon to the icon given in <var>iconRes</var> 55 * @param iconRes The resource identifier used for the icon. 61 * Sets the submenu header's icon to the icon given in <var>icon</var> 64 * @param icon The {@link Drawable} used for the icon. 67 public SubMenu setHeaderIcon(Drawable icon); argument 71 * <var>view</var>. This replaces the header title and icon (an 100 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 Bitmap bitmap = Bitmap.createBitmap(icon.getIntrinsicWidth(), icon.getIntrinsicHeight(), 53 icon.draw(new Canvas(bitmap)); 58 * Returns a default user icon for the given user. 61 * @param userId the user id or {@code UserHandle.USER_NULL} for a non-user specific icon 62 * @param light whether we want a light icon (suitable for a dark background) 67 // Return colored icon instead 70 Drawable icon [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/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | Item.java | 34 public Bitmap icon; field in class:Item 39 this.icon = null; 45 icon = in.readParcelable(null); 57 dest.writeParcelable(icon, flags);
|
H A D | TextMessage.java | 26 public Bitmap icon = null; field in class:TextMessage 39 icon = in.readParcelable(null); 56 dest.writeParcelable(icon, 0);
|
H A D | Input.java | 30 public Bitmap icon; field in class:Input 44 icon = null; 59 icon = in.readParcelable(null); 80 dest.writeParcelable(icon, 0);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebIconDatabase.java | 23 * Functions for manipulating the icon database used by WebView. 43 * Called when the icon has been retrieved from the database and the 46 * @param icon The favicon for the given url. 48 public void onReceivedIcon(String url, Bitmap icon); argument 52 * Open a the icon database and store the icons in the given path. 53 * @param path The directory path where the icon database will be stored. 60 * Close the shared instance of the icon database. 74 * Request the Bitmap representing the icon for the given page 75 * url. If the icon exists, the listener will be called with the result. 91 * Retain the icon fo [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ContextMenuBuilder.java | 46 public ContextMenu setHeaderIcon(Drawable icon) { argument 47 return (ContextMenu) super.setHeaderIconInt(icon);
|
H A D | MenuView.java | 101 * Set the icon of this item view. 102 * @param icon The icon of this item. null to hide the icon. 104 public void setIcon(Drawable icon); argument 117 * Whether this item view shows an icon. 119 * @return Whether this item view shows an icon.
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | IconUtils.java | 42 int icon; 45 icon = R.drawable.ic_doc_apk; 46 add("application/vnd.android.package-archive", icon); 49 icon = R.drawable.ic_doc_audio; 50 add("application/ogg", icon); 51 add("application/x-flac", icon); 54 icon = R.drawable.ic_doc_certificate; 55 add("application/pgp-keys", icon); 56 add("application/pgp-signature", icon); 57 add("application/x-pkcs12", icon); 204 loadPackageIcon(Context context, String authority, int icon) argument [all...] |
/frameworks/support/v4/donut/android/support/v4/app/ |
H A D | NotificationCompatBase.java | 32 Action build(int icon, CharSequence title, PendingIntent actionIntent, argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
H A D | SubMenuWrapperICS.java | 54 public SubMenu setHeaderIcon(Drawable icon) { argument 55 ((android.view.SubMenu) mWrappedObject).setHeaderIcon(icon); 77 public SubMenu setIcon(Drawable icon) { argument 78 ((android.view.SubMenu) mWrappedObject).setIcon(icon);
|
/frameworks/base/core/java/android/accounts/ |
H A D | ChooseAccountTypeActivity.java | 129 Drawable icon = null; 132 icon = authContext.getDrawable(desc.iconId); 141 Log.w(TAG, "No icon name for account type " + desc.type); 146 Log.w(TAG, "No icon resource for account type " + desc.type); 149 AuthInfo authInfo = new AuthInfo(desc, name, icon); 167 ImageView icon; field in class:ChooseAccountTypeActivity.ViewHolder 191 holder.icon = (ImageView) convertView.findViewById(R.id.account_row_icon); 198 holder.icon.setImageDrawable(mInfos.get(position).drawable);
|
/frameworks/base/core/java/android/content/pm/ |
H A D | LabeledIntent.java | 25 * A special subclass of Intent that can have a custom label/icon 36 * and icon resources for it. 39 * @param sourcePackage The package in which the label and icon live. 41 * @param icon Resource containing the icon, or 0 if none. 44 int labelRes, int icon) { 49 mIcon = icon; 54 * label and icon resource for it. 57 * @param sourcePackage The package in which the label and icon live. 59 * @param icon Resourc 43 LabeledIntent(Intent origIntent, String sourcePackage, int labelRes, int icon) argument 61 LabeledIntent(Intent origIntent, String sourcePackage, CharSequence nonLocalizedLabel, int icon) argument 78 LabeledIntent(String sourcePackage, int labelRes, int icon) argument 93 LabeledIntent(String sourcePackage, CharSequence nonLocalizedLabel, int icon) argument [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | IconUtilities.java | 105 private Bitmap createIconBitmap(Drawable icon) { argument 109 if (icon instanceof PaintDrawable) { 110 PaintDrawable painter = (PaintDrawable) icon; 113 } else if (icon instanceof BitmapDrawable) { 115 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; 121 int sourceWidth = icon.getIntrinsicWidth(); 122 int sourceHeight = icon.getIntrinsicHeight(); 154 // draw a big box for the icon for debugging 162 mOldBounds.set(icon.getBounds()); 163 icon [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | StartingData.java | 27 final int icon; field in class:StartingData 39 icon = _icon;
|