Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutInfo.java88 private Bitmap mIcon; field in ShortcutInfo
144 mIcon = icon; in ShortcutInfo()
157 mIcon = info.mIcon; // TODO: should make a copy here. maybe we don't need this ctor at all in ShortcutInfo()
176 mIcon = b; in setIcon()
180 if (mIcon == null) { in getIcon()
183 return mIcon; in getIcon()
187 mIcon = iconCache.getIcon(promisedIntent != null ? promisedIntent : intent, user); in updateIcon()
188 usingFallbackIcon = iconCache.isDefaultIcon(mIcon, user); in updateIcon()
205 writeBitmap(values, mIcon); in onAddToDatabase()
208 writeBitmap(values, mIcon); in onAddToDatabase()
[all …]
DPreloadIconDrawable.java33 final Drawable mIcon; field in PreloadIconDrawable
50 mIcon = icon; in PreloadIconDrawable()
75 mIcon.setBounds(bounds); in onBoundsChange()
148 mIcon.draw(canvas); in draw()
159 mIcon.setAlpha(alpha); in setAlpha()
164 mIcon.setColorFilter(cf); in setColorFilter()
182 if (mIcon instanceof FastBitmapDrawable) { in onLevelChange()
183 ((FastBitmapDrawable) mIcon).setGhostModeEnabled(level <= 0); in onLevelChange()
219 return mIcon.getIntrinsicHeight(); in getIntrinsicHeight()
224 return mIcon.getIntrinsicWidth(); in getIntrinsicWidth()
[all …]
DPendingAppWidgetHostView.java46 private Bitmap mIcon; field in PendingAppWidgetHostView
107 if (mIcon == icon) { in updateIcon()
110 mIcon = icon; in updateIcon()
115 if (mIcon != null) { in updateIcon()
121 FastBitmapDrawable disabledIcon = Utilities.createIconDrawable(mIcon); in updateIcon()
127 mTopCornerDrawable = new FastBitmapDrawable(mIcon); in updateIcon()
134 FastBitmapDrawable drawable = Utilities.createIconDrawable(mIcon); in updateIcon()
DFolderIcon.java639 return (d instanceof PreloadIconDrawable) ? ((PreloadIconDrawable) d).mIcon : d; in getTopDrawable()
/packages/apps/Launcher2/src/com/android/launcher2/
DShortcutInfo.java59 private Bitmap mIcon; field in ShortcutInfo
74 mIcon = info.mIcon; // TODO: should make a copy here. maybe we don't need this ctor at all in ShortcutInfo()
87 mIcon = b; in setIcon()
91 if (mIcon == null) { in getIcon()
94 return mIcon; in getIcon()
98 mIcon = iconCache.getIcon(intent, user); in updateIcon()
99 usingFallbackIcon = iconCache.isDefaultIcon(mIcon); in updateIcon()
134 writeBitmap(values, mIcon); in onAddToDatabase()
137 writeBitmap(values, mIcon); in onAddToDatabase()
162 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/Camera2/src/com/android/camera/ui/
DModeSelectorItem.java46 private ModeIconView mIcon; field in ModeSelectorItem
72 mIcon = (ModeIconView) findViewById(R.id.selector_icon); in onFinishInflate()
99 mIcon.setSelected(selected); in setSelected()
156 mIcon.setIconDrawable(drawableIcon); in setImageResource()
201 if (mVisibleWidth < mMinVisibleWidth + mIcon.getLeft()) { in draw()
202 transX = mMinVisibleWidth + mIcon.getLeft() - mVisibleWidth; in draw()
216 mIcon.setHighlightColor(highlightColor); in setHighlightColor()
223 return mIcon.getHighlightColor(); in getHighlightColor()
231 return mIcon.getLeft() + mMinVisibleWidth; in getMaxVisibleWidth()
240 mIcon.getLocationInWindow(loc); in getIconCenterLocationInWindow()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAttachmentTile.java47 private ImageView mIcon; field in AttachmentTile
89 mIcon = (ImageView) findViewById(R.id.attachment_tile_image); in onFinishInflate()
191 final boolean large = width >= maxSize || scaledWidth >= mIcon.getWidth() in setThumbnail()
192 || height >= maxSize || scaledHeight >= mIcon.getHeight(); in setThumbnail()
198 !(scaledWidth >= mIcon.getHeight() * skinnyThresholdRatio in setThumbnail()
199 && scaledHeight >= mIcon.getWidth() * skinnyThresholdRatio); in setThumbnail()
208 mIcon.setScaleType(ScaleType.CENTER); in setThumbnail()
212 mIcon.setScaleType(ScaleType.CENTER_CROP); in setThumbnail()
216 mIcon.setScaleType(ScaleType.CENTER); in setThumbnail()
219 mIcon.setImageBitmap(result); in setThumbnail()
[all …]
DConversationListEmptyView.java36 private ImageView mIcon; field in ConversationListEmptyView
51 mIcon = (ImageView) findViewById(R.id.empty_icon); in onFinishInflate()
62 EmptyStateUtils.bindEmptyFolderIcon(mIcon, folder); in setupEmptyText()
63 mIcon.setVisibility(VISIBLE); in setupEmptyText()
65 mIcon.setVisibility(GONE); in setupEmptyText()
/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/ContactsCommon/src/com/android/contacts/common/list/
DContactListFilterView.java39 private ImageView mIcon; field in ContactListFilterView
81 mIcon = (ImageView) findViewById(R.id.icon); in bindView()
117 mIcon.setVisibility(View.VISIBLE); in bindView()
119 mIcon.setImageDrawable(mFilter.icon); in bindView()
121 mIcon.setImageResource(R.drawable.unknown_source); in bindView()
134 mIcon.setVisibility(View.VISIBLE); in bindView()
135 mIcon.setImageResource(iconResource); in bindView()
137 mIcon.setVisibility(View.GONE); in bindView()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DLayout.java78 private Drawable mIcon = null; field in Layout.LayoutRow
89 return mIcon; in getIcon()
184 mIcon = a.getIcon(); in LayoutRow()
297 private Drawable mIcon; field in Layout.Appearence
329 return mIcon; in getIcon()
356 mHeader.mAppearence.mIcon = mRes.getDrawable(resId); in icon()
482 mAction.mAppearence.mIcon = mRes.getDrawable(resId); in icon()
553 mStatus.mAppearence.mIcon = mRes.getDrawable(resId); in icon()
DSettingsLayoutFragment.java105 private Drawable mIcon; field in SettingsLayoutFragment.Builder
118 fragment.mIcon = mIcon; in build()
143 mIcon = icon; in icon()
186 private Drawable mIcon; field in SettingsLayoutFragment
513 if (mIcon != null) { in initializeContentView()
514 iconImageView.setImageDrawable(mIcon); in initializeContentView()
/packages/apps/Contacts/src/com/android/contacts/editor/
DKindSectionView.java61 private ImageView mIcon; field in KindSectionView
105 mIcon = (ImageView) findViewById(R.id.kind_icon); in onFinishInflate()
141 mIcon.setContentDescription(titleString); in setState()
143 mIcon.setImageDrawable(getMimeTypeDrawable(kind.mimeType)); in setState()
144 if (mIcon.getDrawable() == null) { in setState()
145 mIcon.setContentDescription(null); in setState()
/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsState.java222 private Drawable mIcon; field in AppOpsState.AppEntry
253 if (mIcon == null) { in getIcon()
255 mIcon = mInfo.loadIcon(mState.mPm); in getIcon()
256 return mIcon; in getIcon()
265 mIcon = mInfo.loadIcon(mState.mPm); in getIcon()
266 return mIcon; in getIcon()
269 return mIcon; in getIcon()
DRunningState.java302 Drawable mIcon; field in RunningState.UserState
678 if (mUser.mIcon != null) { in loadIcon()
679 ConstantState constState = mUser.mIcon.getConstantState(); in loadIcon()
681 return mUser.mIcon; in loadIcon()
855 userItem.mUser.mIcon = Utils.getUserIcon(context, mUm, info); in addOtherUserItem()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapEmailSettingsItem.java37 private Drawable mIcon; field in BluetoothMapEmailSettingsItem
42 this.mIcon = icon; in BluetoothMapEmailSettingsItem()
134 return mIcon; in getIcon()
138 this.mIcon = icon; in setIcon()
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DMoreSuggestions.java251 private final Drawable mIcon; field in MoreSuggestions.Divider
256 mIcon = icon; in Divider()
264 mIcon.setAlpha(128); in getIcon()
265 return mIcon; in getIcon()
/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/apps/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java71 private final Drawable mIcon; field in ExpandingEntryCardView.Entry
98 mIcon = mainIcon; in Entry()
119 return mIcon; in getIcon()