/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
IconUtils.java | 41 int icon; typedefs 44 icon = R.drawable.ic_doc_apk; 45 add("application/vnd.android.package-archive", icon); 48 icon = R.drawable.ic_doc_audio; 49 add("application/ogg", icon); 50 add("application/x-flac", icon); 53 icon = R.drawable.ic_doc_certificate; 54 add("application/pgp-keys", icon); 55 add("application/pgp-signature", icon); 56 add("application/x-pkcs12", icon); 269 final Drawable icon = context.getDrawable(drawableId); local [all...] |
/sdk/eclipse/scripts/ |
_mk_icons.sh | 3 function icon() { function 8 icon M green manifest 9 icon S blue sharedUserId 10 icon S red signature 11 icon P green package 13 icon I green instrumentation 14 icon F green functionalTest 15 icon H green handleProfiling 16 icon I green icon [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
CommandParams.java | 36 boolean setIcon(Bitmap icon) { return true; } 53 boolean setIcon(Bitmap icon) { 54 if (icon != null && mTextMsg != null) { 55 mTextMsg.icon = icon; 81 boolean setIcon(Bitmap icon) { 82 if (icon != null && mConfirmMsg != null) { 83 mConfirmMsg.icon = icon; 115 boolean setIcon(Bitmap icon) { [all...] |
Item.java | 33 /** Icon of the item */ 34 public Bitmap icon; field in class:Item 40 public Item(int id, String text, Bitmap icon) { 43 this.icon = icon; 49 icon = in.readParcelable(null); 61 dest.writeParcelable(icon, flags);
|
/external/sonivox/jet_tools/JetCreator/ |
img_Paste.py | 38 icon = EmptyIcon()
39 icon.CopyFromBitmap(getBitmap())
40 return icon
|
img_favicon.py | 58 icon = EmptyIcon()
59 icon.CopyFromBitmap(getBitmap())
60 return icon
|
/frameworks/base/core/java/com/android/internal/util/ |
UserIcons.java | 47 public static Bitmap convertToBitmap(Drawable icon) { 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 73 Drawable icon = Resources.getSystem().getDrawable(R.drawable.ic_account_circle, null).mutate(); local [all...] |
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
VectorPathChecking.java | 20 icon = new int[]{
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
StatusBarIcon.java | 19 import android.graphics.drawable.Icon; 28 public Icon icon; field in class:StatusBarIcon 34 public StatusBarIcon(UserHandle user, String resPackage, Icon icon, int iconLevel, int number, 36 if (icon.getType() == Icon.TYPE_RESOURCE 37 && TextUtils.isEmpty(icon.getResPackage())) { 38 // This is an odd situation where someone's managed to hand us an icon without a 41 icon = Icon.createWithResource(resPackage, icon.getResId()) [all...] |
/packages/apps/Settings/src/com/android/settings/net/ |
UidDetail.java | 26 public Drawable icon; field in class:UidDetail
|
/frameworks/base/core/java/android/content/pm/ |
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 Resource containing the icon, or 0 if none 154 Drawable icon = pm.getDrawable(mSourcePackage, mIcon, null); local [all...] |
LauncherActivityInfo.java | 32 * profile associated with this user. It can be used to query the label, icon 33 * and badged icon for the activity. 101 * Returns the icon for this activity, without any badging for the profile. 102 * @param density The preferred density of the icon, zero for default density. Use 110 Drawable icon = getDrawableForDensity(iconRes, density); local 111 // Get the default density icon 112 if (icon == null) { 113 icon = mResolveInfo.loadIcon(mPm); 115 return icon; 119 * Returns the icon for this activity, without any badging for the profile 129 Drawable icon = getDrawableForDensity(iconRes, density); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
NetworkController.java | 47 void setEthernetIndicators(IconState icon); 49 void setIsAirplaneMode(IconState icon); 56 public final int icon; field in class:NetworkController.IconState 59 public IconState(boolean visible, int icon, String contentDescription) { 61 this.icon = icon; 65 public IconState(boolean visible, int icon, int contentDescription, 67 this(visible, icon, context.getString(contentDescription));
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
ProviderPreference.java | 31 Context context, String accountType, Drawable icon, CharSequence providerName) { 34 setIcon(icon);
|
/frameworks/base/tools/layoutlib/bridge/ |
update_nav_icons.sh | 36 for icon in $ICONS 42 cp -v "$FB/packages/SystemUI/res/drawable-$density/$icon" "$destination" 49 cp -v "$FB/packages/SystemUI/res/drawable-ldrtl-$density/$icon" "$destination"
|
/packages/apps/Settings/src/com/android/settings/ |
IconPreferenceScreen.java | 32 // Whether or not the text and icon should be highlighted (as selected) 50 ImageView imageView = (ImageView) view.findViewById(R.id.icon); 58 * Sets the icon for this Preference with a Drawable. 60 * @param icon The icon for this Preference 62 public void setIcon(Drawable icon) { 63 if ((icon == null && mIcon != null) || (icon != null && !icon.equals(mIcon))) { 64 mIcon = icon; [all...] |
ActivityPicker.java | 154 Drawable icon = null; local 157 // Try loading icon from requested package 161 icon = res.getDrawable(res.getIdentifier( 167 items.add(new PickAdapter.Item(this, label, icon)); 217 Drawable icon; field in class:ActivityPicker.PickAdapter.Item 223 * Create a list item from given label and icon. 225 Item(Context context, CharSequence label, Drawable icon) { 227 this.icon = getResizer(context).createIconThumbnail(icon); 240 icon = getResizer(context).createIconThumbnail(resolveInfo.loadIcon(pm)) [all...] |
AppHeader.java | 31 public static void createAppHeader(SettingsPreferenceFragment fragment, Drawable icon, 33 createAppHeader(fragment, icon, label, settingsIntent, 0); 36 public static void createAppHeader(Activity activity, Drawable icon, CharSequence label, 40 setupHeaderView(activity, icon, label, settingsIntent, 0, bar); 44 public static void createAppHeader(SettingsPreferenceFragment fragment, Drawable icon, 47 setupHeaderView(fragment.getActivity(), icon, label, settingsIntent, tintColorRes, bar); local 50 private static View setupHeaderView(final Activity activity, Drawable icon, CharSequence label, 53 appIcon.setImageDrawable(icon);
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
LauncherActivityInfoCompatV16.java | 60 Drawable icon = null; local 61 // Get the preferred density icon from the app's resources 65 icon = resources.getDrawableForDensity(iconRes, density); 69 // Get the default density icon 70 if (icon == null) { 71 icon = mResolveInfo.loadIcon(mPm); 73 if (icon == null) { 75 icon = resources.getDrawableForDensity(android.R.mipmap.sym_def_app_icon, density); 77 return icon;
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
CursorIconInfo.java | 30 * Utility class to load icon from a cursor. 40 iconIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON); 46 Bitmap icon = null; local 56 icon = Utilities.createIconBitmap(packageName, resourceName, context); 58 if (icon == null) { 60 icon = Utilities.createIconBitmap(c, iconIndex, context); 64 icon = Utilities.createIconBitmap(c, iconIndex, context); 65 info.customIcon = icon != null; 68 return icon;
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
CaptureRenderer.java | 28 CaptureRenderer(ImageIcon icon, ViewNode node) { 29 super(icon); 53 Icon icon = getIcon(); local 54 int width = icon.getIconWidth(); 55 int height = icon.getIconHeight(); 60 icon.paintIcon(this, g, x, y);
|
/frameworks/base/core/java/android/view/ |
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); 73 * <var>view</var>. This replaces the header title and icon (and thos [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
CustomErrorEditText.java | 40 public void setError(CharSequence error, Drawable icon) { 41 setCompoundDrawables(null, null, icon, null);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
StartingData.java | 27 final int icon; field in class:StartingData 39 icon = _icon;
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
PackageUtil.java | 76 public static View initSnippet(View snippetView, CharSequence label, Drawable icon) { 77 ((ImageView)snippetView.findViewById(R.id.app_icon)).setImageDrawable(icon); 111 Drawable icon = appInfo.loadIcon(pm); local 113 icon = pContext.getPackageManager().getUserBadgedIcon(icon, user); 118 icon); 134 ((ImageView)appSnippet.findViewById(R.id.app_icon)).setImageDrawable(as.icon); 154 Drawable icon; field in class:PackageUtil.AppSnippet 155 public AppSnippet(CharSequence label, Drawable icon) { 157 this.icon = icon 188 Drawable icon = null; local [all...] |