Searched refs:icon (Results 51 - 75 of 223) sorted by relevance

123456789

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapAccountItem.java45 Drawable icon, BluetoothMapUtils.TYPE appType, String uci, String uciPrefix) {
47 this.mIcon = icon;
59 String authority, Drawable icon, BluetoothMapUtils.TYPE appType) {
61 icon, appType, null, null);
65 String authority, Drawable icon, BluetoothMapUtils.TYPE appType, String uci,
68 icon, appType, uci, uciPrefix);
44 BluetoothMapAccountItem(String id, String name, String packageName, String authority, Drawable icon, BluetoothMapUtils.TYPE appType, String uci, String uciPrefix) argument
58 create(String id, String name, String packageName, String authority, Drawable icon, BluetoothMapUtils.TYPE appType) argument
64 create(String id, String name, String packageName, String authority, Drawable icon, BluetoothMapUtils.TYPE appType, String uci, String uciPrefix) argument
/packages/apps/Settings/src/com/android/settings/accounts/
H A DAuthenticatorHelper.java97 * Gets an icon associated with a particular account type. If none found, return null.
99 * @return a drawable for the icon or a default icon returned by
103 Drawable icon = null;
114 icon = mContext.getPackageManager().getUserBadgedIcon(
117 mAccTypeIconCache.put(accountType, icon);
123 if (icon == null) {
124 icon = context.getPackageManager().getDefaultActivityIcon();
126 return icon;
145 Log.w(TAG, "No label icon fo
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DFolderIcon.java51 * An icon that can appear on in the workspace representing an {@link UserFolder}.
155 FolderIcon icon = (FolderIcon) LayoutInflater.from(launcher).inflate(resId, group, false);
156 icon.setClipToPadding(false);
157 icon.mFolderName = (BubbleTextView) icon.findViewById(R.id.folder_icon_name);
158 icon.mFolderName.setText(folderInfo.title);
159 icon.mFolderName.setCompoundDrawablePadding(0);
160 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) icon.mFolderName.getLayoutParams();
164 icon.mPreviewBackground = (ImageView) icon
[all...]
H A DLauncherBackupHelper.java164 // to center along the new all-apps icon.
552 * Write all the static icon resources we need to render placeholders
587 if (DEBUG) Log.d(TAG, "already saved icon " + backupKey);
594 if (DEBUG) Log.d(TAG, "saving icon " + backupKey);
595 Bitmap icon = mIconCache.getIcon(intent, myUserHandle);
596 if (icon != null && !mIconCache.isDefaultIcon(icon, myUserHandle)) {
597 writeRowToBackup(key, packIcon(dpi, icon), data);
602 if (VERBOSE) Log.v(TAG, "deferring icon backup " + backupKey);
610 Log.e(TAG, "unable to save application icon fo
1003 packIcon(int dpi, Bitmap icon) argument
[all...]
H A DHolographicOutlineHelper.java51 // We have 4 different icon sizes: homescreen, hotseat, folder & all-apps
159 Drawable icon = view.getIcon();
160 if (icon == null) {
163 Rect rect = icon.getBounds();
182 icon.draw(mCanvas);
H A DUtilities.java167 * Returns a bitmap which is of the appropriate size to be displayed as an icon
169 public static Bitmap createIconBitmap(Bitmap icon, Context context) { argument
171 if (iconBitmapSize == icon.getWidth() && iconBitmapSize == icon.getHeight()) {
172 return icon;
174 return createIconBitmap(new BitmapDrawable(context.getResources(), icon), context);
180 public static Bitmap createIconBitmap(Drawable icon, Context context) { argument
187 if (icon instanceof PaintDrawable) {
188 PaintDrawable painter = (PaintDrawable) icon;
191 } else if (icon instanceo
[all...]
/packages/apps/Settings/src/com/android/settings/notification/
H A DNotificationStation.java67 public Drawable icon; field in class:NotificationStation.HistoricalNotificationInfo
197 info.icon = loadIconDrawable(info.pkg, info.user, sbn.getNotification().icon);
255 Drawable icon = null;
257 icon = mPm.getApplicationIcon(pkg);
259 Log.e(TAG, "Cannot get application icon", e);
262 return icon;
310 // bind icon
311 if (info.icon != null) {
312 ((ImageView) row.findViewById(android.R.id.icon))
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DAlbumLabelMaker.java149 Bitmap icon = getOverlayAlbumIcon(mSourceType);
189 // draw the icon
190 if (icon != null) {
192 float scale = (float) s.iconSize / icon.getWidth();
194 Math.round(scale * icon.getHeight()))/2f);
196 canvas.drawBitmap(icon, 0, 0, null);
/packages/apps/Settings/src/com/android/settings/
H A DSmsDefaultDialog.java135 * The list of SMS apps with label, icon. Current default SMS app is marked as "default".
143 final Drawable icon; // app icon field in class:SmsDefaultDialog.AppListAdapter.Item
146 public Item(String label, Drawable icon, String packageName) { argument
148 this.icon = icon;
198 imageView.setImageDrawable(item.icon);
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactListFilterView.java81 mIcon = (ImageView) findViewById(R.id.icon);
118 if (mFilter.icon != null) {
119 mIcon.setImageDrawable(mFilter.icon);
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DAccountsListAdapter.java91 final ImageView icon = (ImageView) resultView.findViewById(android.R.id.icon);
103 icon.setImageDrawable(accountType.getDisplayIcon(mContext));
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
H A DFloatingActionButtonController.java89 public void changeIcon(Drawable icon, String description) { argument
90 if (mFloatingActionButton.getDrawable() != icon
92 mFloatingActionButton.setImageDrawable(icon);
192 // Fade out the icon faster than the scale out animation, so that the icon scaling is less
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
H A DThirdPartyWallpaperPickerListAdapter.java131 Drawable icon = info.loadIcon(mPackageManager);
132 icon.setBounds(new Rect(0, 0, mIconSize, mIconSize));
133 label.setCompoundDrawables(null, icon, null, null);
H A DLiveWallpaperListAdapter.java97 ImageView icon = (ImageView) view.findViewById(R.id.wallpaper_icon);
100 icon.setVisibility(View.GONE);
102 icon.setImageDrawable(wallpaperInfo.mInfo.loadIcon(mPackageManager));
103 icon.setVisibility(View.VISIBLE);
/packages/apps/Stk/src/com/android/stk/
H A DToneDialog.java83 ImageView iv = (ImageView) findViewById(R.id.icon);
85 // set text and icon
92 if (toneMsg.icon == null) {
95 iv.setImageBitmap(toneMsg.icon);
/packages/apps/Tag/src/com/android/apps/tag/record/
H A DRecordUtils.java117 ImageView icon = (ImageView) item.findViewById(R.id.icon);
118 icon.setImageDrawable(resolveInfo.loadIcon(pm));
/packages/experimental/NotificationLog/src/com/android/notificationlog/
H A DNotificationLogActivity.java87 ImageView icon = (ImageView)view.findViewById(R.id.icon);
108 icon.setImageDrawable(appIcon);
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupDetailDisplayUtils.java53 ImageView accountIcon = (ImageView) view.findViewById(android.R.id.icon);
56 + "android.R.id.icon");
/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewIcon.java25 * An icon on a PagedView, specifically for items in the launcher's paged view (with compound
31 void iconPressed(PagedViewIcon icon); argument
/packages/apps/Launcher3/protos/
H A Dbackup.proto103 optional bytes icon = 18;
124 optional Resource icon = 4;
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DPackageIconLoader.java63 * Creates a new icon loader.
105 Drawable icon = mPackageContext.getResources().getDrawable(resourceId);
106 drawable = new Now<Drawable>(icon);
165 Log.e(TAG, "Error closing icon stream for " + uri, ex);
238 final Drawable icon = getIcon();
241 store(icon);
256 Log.e(TAG, "Failed to load icon " + mUri, t);
/packages/apps/Settings/src/com/android/settings/location/
H A DRecentLocationApps.java82 Drawable icon,
88 pref.setIcon(icon);
194 Drawable icon = mPackageManager.getUserBadgedIcon(appIcon, userHandle);
202 preference = createRecentLocationEntry(icon,
81 createRecentLocationEntry( Drawable icon, CharSequence label, boolean isHighBattery, CharSequence contentDescription, Preference.OnPreferenceClickListener listener) argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
H A DSettingsLayoutActivity.java48 .icon(layout.getIcon())
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DBaseContentFragment.java155 * BitmapDownloader is still getting Bitmap for icon ImageView, we should
173 final ImageView iconImageView = (ImageView) view.findViewById(R.id.icon);
225 return (ImageView) mFragment.getView().findViewById(R.id.icon);
324 final ImageView iconImageView = (ImageView) mFragment.getView().findViewById(R.id.icon);
338 final ImageView iconImageView = (ImageView) mFragment.getView().findViewById(R.id.icon);
352 final ImageView iconImageView = (ImageView) mFragment.getView().findViewById(R.id.icon);
393 private void addShadow(ImageView icon, View view) { argument
396 shadowLayout.addShadowView(icon);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
H A DRestrictedProfileDialogFragment.java445 Drawable icon = getActivity().getDrawable(resId);
446 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight());
447 Bitmap bitmap = Bitmap.createBitmap(icon.getIntrinsicWidth(), icon.getIntrinsicHeight(),
449 icon.draw(new Canvas(bitmap));

Completed in 888 milliseconds

123456789