Searched refs:icon (Results 26 - 50 of 115) sorted by relevance

12345

/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactListFilterView.java70 mIcon = (ImageView) findViewById(R.id.icon);
107 if (mFilter.icon != null) {
108 mIcon.setImageDrawable(mFilter.icon);
H A DShortcutIntentBuilder.java261 final Bitmap icon = generateQuickContactIcon(bitmap);
264 intent.putExtra(Intent.EXTRA_SHORTCUT_ICON, icon);
312 Bitmap icon = Bitmap.createBitmap(mIconSize, mIconSize, Bitmap.Config.ARGB_8888);
313 Canvas canvas = new Canvas(icon);
332 return icon;
336 * Generates a phone number shortcut icon. Adds an overlay describing the type of the phone
337 * number, and if there is a photo also adds the call action icon.
348 Bitmap icon = Bitmap.createBitmap(mIconSize, mIconSize, Bitmap.Config.ARGB_8888);
349 Canvas canvas = new Canvas(icon);
391 // Draw the phone action icon a
[all...]
/packages/apps/Contacts/src/com/android/contacts/util/
H A DAccountsListAdapter.java91 final ImageView icon = (ImageView) resultView.findViewById(android.R.id.icon);
103 icon.setImageDrawable(accountType.getDisplayIcon(mContext));
/packages/apps/Stk/src/com/android/stk/
H A DToneDialog.java75 ImageView iv = (ImageView) findViewById(R.id.icon);
77 // set text and icon
79 if (toneMsg.icon == null) {
82 iv.setImageBitmap(toneMsg.icon);
H A DStkDialogActivity.java87 if (!(mTextMsg.iconSelfExplanatory && mTextMsg.icon != null)) {
91 if (mTextMsg.icon == null) {
96 new BitmapDrawable(mTextMsg.icon));
H A DStkAppService.java574 // We assume this was initiated by the user pressing the tool kit icon
620 .findViewById(com.android.internal.R.id.icon);
621 if (msg.icon != null) {
622 iv.setImageBitmap(msg.icon);
732 notification.icon = com.android.internal.R.drawable.stat_notify_sim_toolkit;
733 // Set text and icon for the status bar and notification body.
739 if (msg.icon != null) {
740 contentView.setImageViewBitmap(com.android.internal.R.id.icon,
741 msg.icon);
745 com.android.internal.R.id.icon,
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DFolderIcon.java48 * An icon that can appear on in the workspace representing an {@link UserFolder}.
120 FolderIcon icon = (FolderIcon) LayoutInflater.from(launcher).inflate(resId, group, false);
122 icon.mFolderName = (BubbleTextView) icon.findViewById(R.id.folder_icon_name);
123 icon.mFolderName.setText(folderInfo.title);
124 icon.mPreviewBackground = (ImageView) icon.findViewById(R.id.preview_background);
126 icon.setTag(folderInfo);
127 icon.setOnClickListener(launcher);
128 icon
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DDownloadTouchIcon.java50 private final String mUserAgent; // Sites may serve a different icon to different UAs
57 * Use this ctor to store the touch icon in the bookmarks database for
72 * Use this ctor to download the touch icon and update the bookmarks database
88 * Use this ctor to not store the touch icon in a database, rather add it to
134 Bitmap icon = BitmapFactory.decodeStream(
137 storeIcon(icon);
140 b.putParcelable(BrowserContract.Bookmarks.TOUCH_ICON, icon);
174 private void storeIcon(Bitmap icon) { argument
177 // Remove the touch icon loader from the BrowserActivity.
181 if (icon
[all...]
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
H A DSoftKeyboardView.java257 Drawable icon = mSoftKeyDown.getKeyIcon();
258 if (null != icon) {
259 mBalloonOnKey.setBalloonConfig(icon, desired_width,
457 Drawable icon = keyIcon;
458 int marginLeft = (softKey.width() - icon.getIntrinsicWidth()) / 2;
459 int marginRight = softKey.width() - icon.getIntrinsicWidth()
461 int marginTop = (softKey.height() - icon.getIntrinsicHeight()) / 2;
462 int marginBottom = softKey.height() - icon.getIntrinsicHeight()
464 icon.setBounds(softKey.mLeft + marginLeft,
467 icon
[all...]
/packages/apps/Settings/src/com/android/settings/quicklaunch/
H A DBookmarkPicker.java83 private static final int sResourceIds[] = new int[] { R.id.title, R.id.icon };
320 if (view.getId() == R.id.icon) {
321 Drawable icon = ((ResolveInfo) data).loadIcon(getPackageManager());
322 if (icon != null) {
323 ((ImageView) view).setImageDrawable(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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKey.java73 /** Preview version of the icon, for the preview popup */
176 public Key(KeyboardParams params, CharSequence label, CharSequence hintLabel, Drawable icon, argument
192 mIcon = icon;
397 public void setIcon(Drawable icon) { argument
398 mIcon = icon;
401 public void setPreviewIcon(Drawable icon) { argument
402 mPreviewIcon = icon;
547 public Spacer(KeyboardParams params, Drawable icon, int x, int y, int width, int height) { argument
548 super(params, null, null, icon, Keyboard.CODE_DUMMY, null, x, y, width, height);
H A DKeyboardView.java89 // Margin between the label and the icon on a key that has both of them.
554 final Drawable icon = key.getIcon();
582 } else if (key.hasLabelWithIconLeft() && icon != null) {
583 labelWidth = getLabelWidth(label, paint) + icon.getIntrinsicWidth()
587 } else if (key.hasLabelWithIconRight() && icon != null) {
588 labelWidth = getLabelWidth(label, paint) + icon.getIntrinsicWidth()
618 if (icon != null) {
619 final int iconWidth = icon.getIntrinsicWidth();
620 final int iconHeight = icon.getIntrinsicHeight();
624 drawIcon(canvas, icon, icon
784 drawIcon(Canvas canvas, Drawable icon, int x, int y, int width, int height) argument
[all...]
/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");
H A DSuggestedMemberListAdapter.java137 ImageView icon = (ImageView) result.findViewById(R.id.icon);
146 icon.setImageResource(R.drawable.ic_contact_picture_holo_light);
149 icon.setImageBitmap(bitmap);
/packages/apps/Mms/src/com/android/mms/transaction/
H A DSimFullReceiver.java53 notification.icon = R.drawable.stat_sys_no_sim;
/packages/apps/Mms/src/com/android/mms/ui/
H A DIconListAdapter.java61 // Set resource icon
62 image = (ImageView) view.findViewById(R.id.icon);
/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);
H A DSearchableSource.java68 // Cached icon for the activity
206 Drawable icon = loadSourceIcon();
207 if (icon == null) {
208 icon = getContext().getResources().getDrawable(R.drawable.corpus_icon_default);
211 mSourceIcon = (icon != null) ? icon.getConstantState() : null;
213 return icon;
/packages/apps/Settings/src/com/android/settings/
H A DDeviceAdminSettings.java117 ImageView icon; field in class:DeviceAdminSettings.ViewHolder
169 h.icon = (ImageView)v.findViewById(R.id.icon);
181 vh.icon.setImageDrawable(item.loadIcon(activity.getPackageManager()));
H A DMasterClear.java211 Drawable icon = null;
215 icon = authContext.getResources().getDrawable(desc.iconId);
218 Log.w(TAG, "No icon for account type " + desc.type);
224 if (icon != null) {
225 child.setCompoundDrawablesWithIntrinsicBounds(icon, null, null, null);
/packages/apps/Browser/tests/src/com/android/browser/
H A DTestWebChromeClient.java60 public void onReceivedIcon(WebView view, Bitmap icon) { argument
61 mWrappedClient.onReceivedIcon(view, icon);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DCorporaAdapter.java144 Drawable icon = getCorpusIcon(corpus);
148 view.setIcon(icon);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DKeyboardParams.java149 public void addShiftedIcon(Key key, Drawable icon) { argument
151 mShiftedIcons.put(key, icon);
/packages/apps/Contacts/src/com/android/contacts/
H A DSplitAggregateView.java50 * A list view for constituent contacts of an aggregate. Shows the contact name, source icon
253 Drawable icon = null;
256 icon = accountType.getDisplayIcon(getContext());
258 if (icon != null) {
259 cache.sourceIcon.setImageDrawable(icon);

Completed in 353 milliseconds

12345