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

1 2

  /packages/apps/Settings/src/com/android/settings/
IconPreferenceScreen.java 30 private Drawable mIcon;
44 mIcon = a.getDrawable(R.styleable.IconPreferenceScreen_icon);
51 if (imageView != null && mIcon != null) {
52 imageView.setImageDrawable(mIcon);
63 if ((icon == null && mIcon != null) || (icon != null && !icon.equals(mIcon))) {
64 mIcon = icon;
76 return mIcon;
  /development/samples/CrossCompatibility/src/com/example/android/touchexample/
TouchExampleView.java 26 private Drawable mIcon;
43 mIcon = context.getResources().getDrawable(R.drawable.icon);
44 mIcon.setBounds(0, 0, mIcon.getIntrinsicWidth(), mIcon.getIntrinsicHeight());
62 mIcon.draw(canvas);
  /frameworks/base/core/java/android/content/pm/
LabeledIntent.java 32 private int mIcon;
49 mIcon = icon;
67 mIcon = icon;
82 mIcon = icon;
98 mIcon = icon;
126 return mIcon;
153 if (mIcon != 0 && mSourcePackage != null) {
154 Drawable icon = pm.getDrawable(mSourcePackage, mIcon, null);
167 dest.writeInt(mIcon);
180 mIcon = in.readInt()
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/preferences/
SearchableItemPreference.java 32 private Drawable mIcon;
40 mIcon = icon;
47 icon.setImageDrawable(mIcon);
  /packages/apps/Launcher2/src/com/android/launcher2/
ShortcutInfo.java 63 private Bitmap mIcon;
78 mIcon = info.mIcon; // TODO: should make a copy here. maybe we don't need this ctor at all
91 mIcon = b;
95 if (mIcon == null) {
96 mIcon = iconCache.getIcon(this.intent);
97 this.usingFallbackIcon = iconCache.isDefaultIcon(mIcon);
99 return mIcon;
130 writeBitmap(values, mIcon);
133 writeBitmap(values, mIcon);
    [all...]
PagedViewIcon.java 50 private Bitmap mIcon;
100 mIcon = info.iconBitmap;
101 setCompoundDrawablesWithIntrinsicBounds(null, new FastBitmapDrawable(mIcon), null, null);
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactListFilterView.java 34 private ImageView mIcon;
70 mIcon = (ImageView) findViewById(R.id.icon);
106 mIcon.setVisibility(View.VISIBLE);
108 mIcon.setImageDrawable(mFilter.icon);
110 mIcon.setImageResource(R.drawable.unknown_source);
119 mIcon.setVisibility(View.VISIBLE);
120 mIcon.setImageResource(R.drawable.ic_menu_display_all_holo_light);
132 mIcon.setVisibility(View.VISIBLE);
133 mIcon.setImageResource(iconResource);
135 mIcon.setVisibility(dropdown ? View.INVISIBLE : View.GONE)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
StatusBarIconView.java 43 private StatusBarIcon mIcon;
95 final boolean iconEquals = mIcon != null
96 && streq(mIcon.iconPackage, icon.iconPackage)
97 && mIcon.iconId == icon.iconId;
99 && mIcon.iconLevel == icon.iconLevel;
100 final boolean visibilityEquals = mIcon != null
101 && mIcon.visible == icon.visible;
102 final boolean numberEquals = mIcon != null
103 && mIcon.number == icon.number;
104 mIcon = icon.clone()
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
InputMethodButton.java 46 private ImageView mIcon;
66 mIcon = (ImageView) findViewById(mId);
136 if (mIcon == null) {
145 mIcon.setImageResource(R.drawable.ic_sysbar_ime);
154 if (mIcon != null) {
155 mIcon.setImageResource(resId);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
TaskDescription.java 33 private Drawable mIcon; // application package icon
58 return mIcon;
62 mIcon = icon;
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
Icon.java 23 private final BasicTexture mIcon;
34 mIcon = icon;
57 mIcon.draw(canvas, xoffset, yoffset, mReqWidth, mReqHeight);
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
CorpusView.java 36 private ImageView mIcon;
55 mIcon = (ImageView) findViewById(R.id.source_icon);
64 mIcon.setImageDrawable(icon);
  /packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
BalloonHint.java 346 private Drawable mIcon;
349 * The label to be shown. It is enabled only if {@link #mIcon} is null.
373 mIcon = icon;
379 mIcon = null;
402 if (null != mIcon) {
403 measuredWidth += mIcon.getIntrinsicWidth();
404 measuredHeight += mIcon.getIntrinsicHeight();
430 if (null != mIcon) {
431 int marginLeft = (width - mIcon.getIntrinsicWidth()) / 2;
432 int marginRight = width - mIcon.getIntrinsicWidth(
    [all...]
  /frameworks/base/core/java/android/content/
ClipData.java 147 final Bitmap mIcon;
331 mIcon = null;
346 mIcon = null;
452 return mIcon;
478 if (mIcon != null) {
480 mIcon.writeToParcel(dest, flags);
507 mIcon = Bitmap.CREATOR.createFromParcel(in);
509 mIcon = null;
  /frameworks/base/core/java/com/android/internal/view/menu/
IconMenuItemView.java 45 private Drawable mIcon;
175 mIcon = icon;
229 if (mItemData != null && mIcon != null) {
233 mIcon.setAlpha(isInAlphaState ? (int) (mDisabledAlpha * NO_ALPHA) : NO_ALPHA);
276 if (mIcon == null) {
285 Gravity.apply(Gravity.CENTER_VERTICAL | Gravity.LEFT, mIcon.getIntrinsicWidth(), mIcon
288 mIcon.setBounds(mPositionIconOutput);
  /frameworks/base/core/java/android/preference/
Preference.java 96 * mIconResId is overridden by mIcon, if mIcon is specified.
99 private Drawable mIcon;
523 if (mIconResId != 0 || mIcon != null) {
524 if (mIcon == null) {
525 mIcon = getContext().getResources().getDrawable(mIconResId);
527 if (mIcon != null) {
528 imageView.setImageDrawable(mIcon);
531 imageView.setVisibility(mIcon != null ? View.VISIBLE : View.GONE);
643 if ((icon == null && mIcon != null) || (icon != null && mIcon != icon))
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
LoaderCustom.java 98 if (mIcon == null) {
100 mIcon = mInfo.loadIcon(mLoader.mPm);
101 return mIcon;
110 mIcon = mInfo.loadIcon(mLoader.mPm);
111 return mIcon;
114 return mIcon;
142 private Drawable mIcon;
  /development/samples/Support4Demos/src/com/example/android/supportv4/app/
LoaderCustomSupport.java 98 if (mIcon == null) {
100 mIcon = mInfo.loadIcon(mLoader.mPm);
101 return mIcon;
110 mIcon = mInfo.loadIcon(mLoader.mPm);
111 return mIcon;
114 return mIcon;
142 private Drawable mIcon;
  /frameworks/base/core/java/android/widget/
DialerFilter.java 79 mIcon = (ImageView) findViewById(com.android.internal.R.id.icon);
96 if (mIcon != null) {
97 mIcon.setVisibility(focused ? View.VISIBLE : View.GONE);
416 ImageView mIcon;
TabHost.java 554 private final Drawable mIcon;
558 mIcon = icon;
578 if (bindIcon && mIcon != null) {
579 iconView.setImageDrawable(mIcon);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
UsbStorageActivity.java 69 private ImageView mIcon;
129 mIcon = (ImageView) findViewById(com.android.internal.R.id.icon);
160 mIcon.setImageResource(com.android.internal.R.drawable.usb_android_connected);
167 mIcon.setImageResource(com.android.internal.R.drawable.usb_android);
  /frameworks/base/core/java/android/webkit/
WebIconDatabase.java 65 private final Bitmap mIcon;
69 mIcon = icon;
73 mListener.onReceivedIcon(mUrl, mIcon);
  /development/samples/ContactManager/src/com/example/android/contactmanager/
ContactAdder.java 299 private Drawable mIcon;
327 mIcon = pm.getDrawable(packageName, description.iconId, null);
328 if (mIcon == null) {
333 mIcon = getResources().getDrawable(android.R.drawable.sym_def_app_icon);
351 return mIcon;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
Key.java 72 private Drawable mIcon;
192 mIcon = icon;
267 mIcon = iconsSet.getIcon(style.getInt(keyAttr, R.styleable.Keyboard_Key_keyIcon,
390 return mIcon;
398 mIcon = icon;
  /frameworks/base/core/java/com/android/internal/app/
AlertController.java 105 private Drawable mIcon;
344 mIcon = icon;
345 if ((mIconView != null) && (mIcon != null)) {
462 } else if (mIcon != null) {
463 mIconView.setImageDrawable(mIcon);
742 public Drawable mIcon;
803 if (mIcon != null) {
804 dialog.setIcon(mIcon);
    [all...]

Completed in 591 milliseconds

1 2