/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/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | CommandParams.java | 36 boolean setIcon(Bitmap icon) { return true; } argument 53 boolean setIcon(Bitmap icon) { argument 54 if (icon != null && mTextMsg != null) { 55 mTextMsg.icon = icon; 76 boolean setIcon(Bitmap icon) { argument 77 if (icon != null && mConfirmMsg != null) { 78 mConfirmMsg.icon = icon; 97 boolean setIcon(Bitmap icon) { argument 118 setIcon(Bitmap icon) argument 144 setIcon(Bitmap icon) argument 172 setIcon(Bitmap icon) argument 199 setIcon(Bitmap icon) argument [all...] |
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 | 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/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/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
H A D | VectorPathChecking.java | 20 icon = new int[]{
|
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 | 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 | 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 | 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 | 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]);
|
/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/core/java/android/view/ |
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...] |
H A D | PointerIcon.java | 33 * Represents an icon that can be used as a mouse pointer. 44 /** Style constant: Custom icon with a user-supplied bitmap. */ 47 /** Style constant: Null icon. It has no bitmap. */ 50 /** Style constant: Arrow icon. (Default mouse pointer) */ 53 /** {@hide} Style constant: Spot hover icon for touchpads. */ 56 /** {@hide} Style constant: Spot touch icon for touchpads. */ 59 /** {@hide} Style constant: Spot anchor icon for touchpads. */ 66 // The default pointer icon. 82 * Gets a special pointer icon that has no bitmap. 84 * @return The null pointer icon [all...] |
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...] |
/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/services/core/java/com/android/server/wm/ |
H A D | StartingData.java | 27 final int icon; field in class:StartingData 39 icon = _icon;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | StatusBarIconView.java | 106 public boolean set(StatusBarIcon icon) { argument 108 && streq(mIcon.iconPackage, icon.iconPackage) 109 && mIcon.iconId == icon.iconId; 111 && mIcon.iconLevel == icon.iconLevel; 113 && mIcon.visible == icon.visible; 115 && mIcon.number == icon.number; 116 mIcon = icon.clone(); 117 setContentDescription(icon.contentDescription); 122 setImageLevel(icon.iconLevel); 126 if (icon 162 getIcon(StatusBarIcon icon) argument 174 getIcon(Context context, StatusBarIcon icon) argument [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | Action.java | 68 * @param icon The icon to display for the Action. 70 public Action(long id, CharSequence label1, CharSequence label2, Drawable icon) { argument 74 setIcon(icon); 120 * Set the icon drawable for this Action. 122 public final void setIcon(Drawable icon) { argument 123 mIcon = icon; 127 * Returns the icon drawable for this Action. 146 sb.append("(action icon)");
|
/frameworks/base/core/java/android/service/notification/ |
H A D | Condition.java | 49 public final int icon; field in class:Condition 53 public Condition(Uri id, String summary, String line1, String line2, int icon, argument 64 this.icon = icon; 89 dest.writeInt(icon); 101 .append(",icon=").append(icon) 132 && other.icon == icon 139 return Objects.hash(id, summary, line1, line2, icon, stat [all...] |
/frameworks/base/core/java/android/app/ |
H A D | LauncherActivity.java | 68 public Drawable icon; field in class:LauncherActivity.ListItem 83 icon = resizer.createIconThumbnail(resolveInfo.loadIcon(pm)); 166 if (item.icon == null) { 167 item.icon = mIconResizer.createIconThumbnail(item.resolveInfo.loadIcon(getPackageManager())); 169 text.setCompoundDrawablesWithIntrinsicBounds(item.icon, null, null, null); 246 * Utility class to resize icons to match default icon size. 272 * @param icon The icon to get a thumbnail of. 274 * @return A thumbnail for the specified icon or the icon itsel 277 createIconThumbnail(Drawable icon) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | SubMenuBuilder.java | 85 public SubMenu setIcon(Drawable icon) { argument 86 mItem.setIcon(icon); 95 public SubMenu setHeaderIcon(Drawable icon) { argument 96 return (SubMenu) super.setHeaderIconInt(icon);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | LaunchWarningWindow.java | 45 ImageView icon = (ImageView)findViewById(R.id.replace_app_icon); 46 icon.setImageDrawable(next.info.applicationInfo.loadIcon(context.getPackageManager())); 50 icon = (ImageView)findViewById(R.id.original_app_icon); 51 icon.setImageDrawable(cur.info.applicationInfo.loadIcon(context.getPackageManager()));
|
/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 | MenuView.java | 98 * Set the icon of this item view. 99 * @param icon The icon of this item. null to hide the icon. 101 public void setIcon(Drawable icon); argument 114 * Whether this item view shows an icon. 116 * @return Whether this item view shows an icon.
|