Home
last modified time | relevance | path

Searched refs:mIcon (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/src/com/android/settings/
DIconPreferenceScreen.java30 private Drawable mIcon; field in IconPreferenceScreen
44 mIcon = a.getDrawable(R.styleable.IconPreferenceScreen_icon); in IconPreferenceScreen()
51 if (imageView != null && mIcon != null) { in onBindView()
52 imageView.setImageDrawable(mIcon); in onBindView()
63 if ((icon == null && mIcon != null) || (icon != null && !icon.equals(mIcon))) { in setIcon()
64 mIcon = icon; in setIcon()
76 return mIcon; in getIcon()
/packages/apps/Launcher2/src/com/android/launcher2/
DShortcutInfo.java63 private Bitmap mIcon; field in ShortcutInfo
78 mIcon = info.mIcon; // TODO: should make a copy here. maybe we don't need this ctor at all in ShortcutInfo()
91 mIcon = b; in setIcon()
95 if (mIcon == null) { in getIcon()
98 return mIcon; in getIcon()
108 mIcon = iconCache.getIcon(intent); in updateIcon()
109 usingFallbackIcon = iconCache.isDefaultIcon(mIcon); in updateIcon()
140 writeBitmap(values, mIcon); in onAddToDatabase()
143 writeBitmap(values, mIcon); in onAddToDatabase()
168 Log.d(tag, " title=\"" + info.title + " icon=" + info.mIcon in dumpShortcutInfoList()
DPagedViewIcon.java41 private Bitmap mIcon; field in PagedViewIcon
57 mIcon = info.iconBitmap; in applyFromApplicationInfo()
59 setCompoundDrawablesWithIntrinsicBounds(null, new FastBitmapDrawable(mIcon), null, null); in applyFromApplicationInfo()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListFilterView.java41 private ImageView mIcon; field in ContactListFilterView
83 mIcon = (ImageView) findViewById(R.id.icon); in bindView()
119 mIcon.setVisibility(View.VISIBLE); in bindView()
121 mIcon.setImageDrawable(mFilter.icon); in bindView()
123 mIcon.setImageResource(R.drawable.unknown_source); in bindView()
136 mIcon.setVisibility(View.VISIBLE); in bindView()
137 mIcon.setImageResource(iconResource); in bindView()
139 mIcon.setVisibility(View.GONE); in bindView()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DBalloonHint.java346 private Drawable mIcon; field in BalloonHint.BalloonView
373 mIcon = icon; in setIcon()
379 mIcon = null; in setTextConfig()
402 if (null != mIcon) { in onMeasure()
403 measuredWidth += mIcon.getIntrinsicWidth(); in onMeasure()
404 measuredHeight += mIcon.getIntrinsicHeight(); in onMeasure()
430 if (null != mIcon) { in onDraw()
431 int marginLeft = (width - mIcon.getIntrinsicWidth()) / 2; in onDraw()
432 int marginRight = width - mIcon.getIntrinsicWidth() in onDraw()
434 int marginTop = (height - mIcon.getIntrinsicHeight()) / 2; in onDraw()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/preferences/
DSearchableItemPreference.java32 private Drawable mIcon; field in SearchableItemPreference
40 mIcon = icon; in setIcon()
47 icon.setImageDrawable(mIcon); in onBindView()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DCorpusView.java36 private ImageView mIcon; field in CorpusView
55 mIcon = (ImageView) findViewById(R.id.source_icon); in onFinishInflate()
64 mIcon.setImageDrawable(icon); in setIcon()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DMoreSuggestions.java187 private final Drawable mIcon; field in MoreSuggestions.Builder.Divider
192 mIcon = icon; in Divider()
200 mIcon.setAlpha(128); in getIcon()
201 return mIcon; in getIcon()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboard.java326 private final Drawable mIcon; field in MoreKeysKeyboard.Builder.MoreKeyDivider
330 mIcon = icon; in MoreKeyDivider()
338 mIcon.setAlpha(128); in getIcon()
339 return mIcon; in getIcon()
/packages/apps/Browser/src/com/android/browser/preferences/
DWebsiteSettingsFragment.java71 private Bitmap mIcon; field in WebsiteSettingsFragment.Site
86 mIcon = null; in Site()
140 mIcon = icon; in setIcon()
144 return mIcon; in getIcon()
170 dest.writeParcelable(mIcon, flags); in writeToParcel()
177 mIcon = in.readParcelable(null); in Site()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailFragment.java1171 private final Drawable mIcon; field in ContactDetailFragment.NetworkTitleViewEntry
1176 this.mIcon = type.getDisplayIcon(context); in NetworkTitleViewEntry()
1182 return mIcon; in getIcon()
1194 private final Drawable mIcon; field in ContactDetailFragment.AddConnectionViewEntry
1200 this.mIcon = context.getResources().getDrawable( in AddConnectionViewEntry()
1214 return mIcon; in getIcon()