HomeSort by relevance Sort by last modified time
    Searched refs:icon (Results 1 - 25 of 1267) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/com/android/internal/util/
MimeIconUtils.java 38 int icon; external variable declarations
41 icon = R.drawable.ic_doc_apk;
42 add("application/vnd.android.package-archive", icon);
45 icon = R.drawable.ic_doc_audio;
46 add("application/ogg", icon);
47 add("application/x-flac", icon);
50 icon = R.drawable.ic_doc_certificate;
51 add("application/pgp-keys", icon);
52 add("application/pgp-signature", icon);
53 add("application/x-pkcs12", icon);
    [all...]
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...]
  /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 27 // Variable to track if an optional icon load has failed.
38 boolean setIcon(Bitmap icon) { return true; }
55 boolean setIcon(Bitmap icon) {
56 if (icon != null && mTextMsg != null) {
57 mTextMsg.icon = icon;
83 boolean setIcon(Bitmap icon) {
84 if (icon != null && mConfirmMsg != null) {
85 mConfirmMsg.icon = 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
  /external/lzma/CPP/Windows/Control/
Static.h 18 HICON SetIcon(HICON icon) { return (HICON)SetImage(IMAGE_ICON, icon); }
21 HICON SetIcon(HICON icon) { return (HICON)SendMessage(STM_SETICON, (WPARAM)icon, 0); }
  /frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
VectorPathChecking.java 20 icon = new int[]{
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/
PackageUtil.java 66 public static View initSnippet(View snippetView, CharSequence label, Drawable icon) {
67 ((ImageView)snippetView.findViewById(R.id.app_icon)).setImageDrawable(icon);
101 Drawable icon = appInfo.loadIcon(pm); local
103 icon = pContext.getPackageManager().getUserBadgedIcon(icon, user);
108 icon);
124 if (as.icon != null) {
125 ((ImageView) appSnippet.findViewById(R.id.app_icon)).setImageDrawable(as.icon);
133 @Nullable public Drawable icon; field in class:PackageUtil.AppSnippet
134 public AppSnippet(@NonNull CharSequence label, @Nullable Drawable icon) {
167 Drawable icon = null; local
    [all...]
  /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...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
StatusBarIconControllerImpl.java 20 import android.graphics.drawable.Icon;
83 StatusBarIcon icon = mIcons.get(i); local
84 if (icon != null) {
87 group.onIconAdded(getViewIndex(getSlotIndex(slot)), slot, blocked, icon); local
120 private void addSystemIcon(int index, StatusBarIcon icon) {
125 mIconGroups.forEach(l -> l.onIconAdded(viewIndex, slot, blocked, icon));
131 StatusBarIcon icon = getIcon(index); local
132 if (icon == null) {
133 icon = new StatusBarIcon(UserHandle.SYSTEM, mContext.getPackageName(),
134 Icon.createWithResource(mContext, resourceId), 0, 0, contentDescription)
153 setIcon(getSlotIndex(slot), icon); local
164 StatusBarIcon icon = getIcon(index); local
    [all...]
AppIconDragShadowBuilder.java 26 /** Creates a scaled-up version of an app icon for dragging. */
32 public AppIconDragShadowBuilder(ImageView icon) {
33 mDrawable = icon.getDrawable();
37 mIconSize = icon.getHeight() * ICON_SCALE;
  /external/webrtc/webrtc/modules/audio_device/test/android/audio_device_android_test/gen/org/webrtc/voiceengine/test/
R.java 14 public static final int icon=0x7f020000; field in class:R.drawable
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/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...]
  /packages/apps/Launcher3/src/com/android/launcher3/graphics/
LauncherIcons.java 77 // Icon not found.
83 * Returns a bitmap which is of the appropriate size to be displayed as an icon
85 public static Bitmap createIconBitmap(Bitmap icon, Context context) {
87 if (iconBitmapSize == icon.getWidth() && iconBitmapSize == icon.getHeight()) {
88 return icon;
90 return createIconBitmap(new BitmapDrawable(context.getResources(), icon), context);
94 * Returns a bitmap suitable for the all apps view. The icon is badged for {@param user}.
98 Drawable icon, UserHandle user, Context context, int iconAppTargetSdk) {
109 scale = normalizer.getScale(icon, null, dr.getIconMask(), outShape)
    [all...]
  /packages/apps/DocumentsUI/src/com/android/documentsui/
IconUtils.java 27 public static Drawable loadPackageIcon(Context context, String authority, int icon) {
28 if (icon != 0) {
33 return pm.getDrawable(info.packageName, icon, info.applicationInfo);
36 return context.getDrawable(icon);
56 final Drawable icon = context.getDrawable(drawableId); local
57 icon.mutate();
58 icon.setTintList(context.getColorStateList(tintColorId));
59 return 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...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
NetworkController.java 57 default void setEthernetIndicators(IconState icon) {}
59 default void setIsAirplaneMode(IconState icon) {}
71 public final int icon; field in class:NetworkController.IconState
82 public IconState(boolean visible, int icon, int iconOverlay, String contentDescription) {
84 this.icon = icon;
89 public IconState(boolean visible, int icon, String contentDescription) {
90 this(visible, icon, -1 /* iconOverlay */, contentDescription);
93 public IconState(boolean visible, int icon, int contentDescription,
95 this(visible, icon, context.getString(contentDescription))
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
CachingIconView.java 25 import android.graphics.drawable.Icon;
36 * An ImageView for displaying an Icon. Avoids reloading the Icon when possible.
53 public void setImageIcon(@Nullable Icon icon) {
54 if (!testAndSetCache(icon)) {
57 super.setImageIcon(icon);
63 public Runnable setImageIconAsync(@Nullable Icon icon) {
65 return super.setImageIconAsync(icon);
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
hs20_supplicant.c 60 struct osu_icon icon[OSU_MAX_ITEMS]; member in struct:osu_provider
286 struct icon_entry *icon; local
288 dl_list_for_each(icon, &wpa_s->icon_head, struct icon_entry, list) {
289 if (os_memcmp(icon->bssid, bssid, ETH_ALEN) == 0 &&
290 os_strcmp(icon->file_name, file_name) == 0 && icon->image)
291 return icon;
302 struct icon_entry *icon; local
308 wpa_printf(MSG_DEBUG, "HS20: Get icon " MACSTR " %s @ %u +%u (%u)",
312 icon = hs20_find_icon(wpa_s, bssid, file_name)
351 struct icon_entry *icon, *tmp; local
405 struct icon_entry *icon, *tmp; local
428 struct icon_entry *icon; local
542 struct osu_icon *icon = &osu->icon[j]; local
746 struct osu_icon *icon = &osu->icon[j]; local
771 struct osu_icon *icon = &osu->icon[j]; local
902 struct osu_icon *icon = &prov->icon[prov->icon_count]; local
    [all...]
  /frameworks/base/core/java/android/util/
IconDrawableFactory.java 66 Drawable icon = mPm.loadUnbadgedItemIcon(itemInfo, appInfo); local
68 return icon;
71 // Before badging, add shadow to adaptive icon if needed.
72 icon = mLauncherIcons.wrapIconDrawableWithShadow(icon);
76 icon = mLauncherIcons.getBadgedDrawable(icon,
81 icon = mLauncherIcons.getBadgedDrawable(icon,
85 return icon;
    [all...]
  /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
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); local
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) {
    [all...]

Completed in 923 milliseconds

1 2 3 4 5 6 7 8 91011>>