Searched defs:icon (Results 51 - 71 of 71) sorted by relevance

123

/packages/apps/Music/src/com/android/music/
H A DAlbumBrowserActivity.java417 menu.add(0, PARTY_SHUFFLE, 0, R.string.party_shuffle); // icon will be set in onPrepareOptionsMenu()
514 ImageView icon; field in class:AlbumBrowserActivity.AlbumListAdapter.ViewHolder
582 vh.icon = (ImageView) v.findViewById(R.id.icon);
583 vh.icon.setBackgroundDrawable(mDefaultAlbumIcon);
584 vh.icon.setPadding(0, 0, 1, 0);
609 ImageView iv = vh.icon;
H A DArtistAlbumBrowserActivity.java286 menu.add(0, PARTY_SHUFFLE, 0, R.string.party_shuffle); // icon will be set in onPrepareOptionsMenu()
574 ImageView icon; field in class:ArtistAlbumBrowserActivity.ArtistAlbumListAdapter.ViewHolder
637 ImageView iv = (ImageView) v.findViewById(R.id.icon);
645 vh.icon = (ImageView) v.findViewById(R.id.icon);
646 vh.icon.setPadding(0, 0, 1, 0);
659 vh.icon = (ImageView) v.findViewById(R.id.icon);
660 vh.icon.setBackgroundDrawable(mDefaultAlbumIcon);
661 vh.icon
[all...]
/packages/apps/Settings/src/com/android/settings/applications/
H A DRunningProcessesView.java152 public ImageView icon; field in class:RunningProcessesView.ViewHolder
160 icon = (ImageView)v.findViewById(R.id.icon);
194 icon.setImageDrawable(item.loadIcon(rootView.getContext(), state));
195 icon.setVisibility(View.VISIBLE);
H A DApplicationsState.java109 Drawable icon; field in class:ApplicationsState.AppEntry
141 if (this.icon == null) {
143 this.icon = this.info.loadIcon(pm);
147 this.icon = context.getResources().getDrawable(
152 // its icon.
155 this.icon = this.info.loadIcon(pm);
327 // AppInfo with new label, icon and size information as appropriate
712 if (entry.icon != null) {
989 if (entry.icon == null || !entry.mounted) {
/packages/apps/Settings/src/com/android/settings/users/
H A DUserSettings.java765 Bitmap icon = BitmapFactory.decodeResource(getResources(), iconResId);
766 return encircle(icon);
769 private Drawable encircle(Bitmap icon) { argument
770 Drawable circled = CircleFramedDrawable.getInstance(getActivity(), icon);
H A DAppRestrictionsFragment.java146 Drawable icon; field in class:AppRestrictionsFragment.SelectableAppInfo
152 + "; icon=" + icon + "; masterEntry=" + masterEntry;
506 info.icon = app.activityInfo.loadIcon(pm);
577 info.icon = app.loadIcon(pm);
583 // accounts, mark for removal. It might get shown in the UI if it has an icon
613 info.icon = app.loadIcon(pm);
678 p.setIcon(app.icon != null ? app.icon.mutate() : null);
/packages/apps/Browser/src/com/android/browser/
H A DBaseUi.java594 * Update the lock icon to correspond to our latest state.
603 * Updates the lock-icon image in the title-bar.
632 Bitmap icon = tab.getFavicon();
633 mNavigationBar.setFavicon(icon);
781 public Drawable getFaviconDrawable(Bitmap icon) { argument
786 if (icon == null) {
789 array[2] = new BitmapDrawable(icon);
H A DController.java456 // Open the icon database.
936 public void onFavicon(Tab tab, WebView view, Bitmap icon) { argument
938 maybeUpdateFavicon(tab, view.getOriginalUrl(), view.getUrl(), icon);
1080 * Update the favorites icon if the private browsing isn't enabled and the
1081 * icon is valid.
1787 // Switching the menu back to icon view, so show the
/packages/apps/Dialer/src/com/android/dialer/
H A DCallDetailActivity.java734 /** Intent for the secondary action. If not null, an icon must be defined. */
745 public void setSecondaryAction(int icon, Intent intent, String description) { argument
746 secondaryIcon = icon;
762 ImageView icon = (ImageView) convertView.findViewById(R.id.call_and_sms_icon);
773 icon.setOnClickListener(mSecondaryActionListener);
774 icon.setImageResource(entry.secondaryIcon);
775 icon.setVisibility(View.VISIBLE);
776 icon.setTag(entry);
777 icon.setContentDescription(entry.secondaryDescription);
780 icon
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DFolder.java300 void setFolderIcon(FolderIcon icon) { argument
301 mFolderIcon = icon;
1028 // to correspond to the animation of the icon back into the folder. This is
H A DAppsCustomizePagedView.java738 createWidgetInfo.previewImage, createWidgetInfo.icon, spanX, spanY,
755 Drawable icon = mIconCache.getFullResIcon(createShortcutInfo.shortcutActivityInfo);
756 preview = Bitmap.createBitmap(icon.getIntrinsicWidth(),
757 icon.getIntrinsicHeight(), Bitmap.Config.ARGB_8888);
761 WidgetPreviewLoader.renderDrawableToBitmap(icon, preview, 0, 0,
762 icon.getIntrinsicWidth(), icon.getIntrinsicHeight());
808 // Reset the alpha on the dragged icon before we drag
1035 PagedViewIcon icon = (PagedViewIcon) mLayoutInflater.inflate(
1037 icon
1657 iconPressed(PagedViewIcon icon) argument
[all...]
H A DCellLayout.java346 private void invalidateBubbleTextView(BubbleTextView icon) { argument
347 final int padding = icon.getPressedOrFocusedBackgroundPadding();
348 invalidate(icon.getLeft() + getPaddingLeft() - padding,
349 icon.getTop() + getPaddingTop() - padding,
350 icon.getRight() + getPaddingLeft() + padding,
351 icon.getBottom() + getPaddingTop() + padding);
366 void setPressedOrFocusedIcon(BubbleTextView icon) { argument
370 mPressedOrFocusedIcon = icon;
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DKeyboard.java233 public Drawable icon; field in class:Keyboard.Key
234 /** Preview version of the icon, for the preview popup */
373 icon = a.getDrawable(
375 if (icon != null) {
376 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight());
/packages/apps/Calendar/src/com/android/calendar/
H A DUtils.java1644 * Inserts a drawable with today's day into the today's icon in the option menu
1645 * @param icon - today's icon from the options menu
1647 public static void setTodayIcon(LayerDrawable icon, Context c, String timezone) { argument
1651 Drawable currentDrawable = icon.findDrawableByLayerId(R.id.today_icon_day);
1657 // Set the day and update the icon
1662 icon.mutate();
1663 icon.setDrawableByLayerId(R.id.today_icon_day, today);
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactListItemView.java69 * The layout puts the contact's photo on the right side of the view, the call icon (if present)
70 * to the left of the photo, the text lines are aligned to the left and the presence icon (if
433 // Status view height is the biggest of the text view and the presence icon
442 // Presence and status are in a same row, so status will be affected by icon size.
581 // Layout all text view and presence icon
1178 * Adds or updates the presence icon view.
1180 public void setPresence(Drawable icon) { argument
1181 if (icon != null) {
1186 mPresenceIcon.setImageDrawable(icon);
1265 * Sets the proper icon (sta
[all...]
/packages/apps/Dialer/src/com/android/dialer/dialpad/
H A DDialpadFragment.java1363 * Simple list adapter, binding to an icon + text label
1372 Bitmap icon; field in class:DialpadFragment.DialpadChooserAdapter.ChoiceItem
1377 icon = b;
1454 ImageView icon = (ImageView) convertView.findViewById(R.id.icon);
1455 icon.setImageBitmap(mChoiceItems[position].icon);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DAppsCustomizePagedView.java725 createWidgetInfo.previewImage, createWidgetInfo.icon, spanX, spanY,
742 Drawable icon = mIconCache.getFullResIcon(createShortcutInfo.shortcutActivityInfo);
743 preview = Bitmap.createBitmap(icon.getIntrinsicWidth(),
744 icon.getIntrinsicHeight(), Bitmap.Config.ARGB_8888);
748 WidgetPreviewLoader.renderDrawableToBitmap(icon, preview, 0, 0,
749 icon.getIntrinsicWidth(), icon.getIntrinsicHeight());
792 // Reset the alpha on the dragged icon before we drag
1004 PagedViewIcon icon = (PagedViewIcon) mLayoutInflater.inflate(
1006 icon
1640 iconPressed(PagedViewIcon icon) argument
[all...]
H A DFolder.java316 void setFolderIcon(FolderIcon icon) { argument
317 mFolderIcon = icon;
1135 // to correspond to the animation of the icon back into the folder. This is
H A DCellLayout.java335 private void invalidateBubbleTextView(BubbleTextView icon) { argument
336 final int padding = icon.getPressedOrFocusedBackgroundPadding();
337 invalidate(icon.getLeft() + getPaddingLeft() - padding,
338 icon.getTop() + getPaddingTop() - padding,
339 icon.getRight() + getPaddingLeft() + padding,
340 icon.getBottom() + getPaddingTop() + padding);
356 void setPressedOrFocusedIcon(BubbleTextView icon) { argument
360 mPressedOrFocusedIcon = icon;
/packages/apps/Settings/src/com/android/settings/
H A DSettings.java648 // Need this for the icon
718 // Can't look up the home activity; bail on configuring the icon
787 ImageView icon; field in class:Settings.HeaderAdapter.HeaderViewHolder
868 holder.icon = (ImageView) view.findViewById(R.id.icon);
879 holder.icon = (ImageView) view.findViewById(R.id.icon);
892 holder.icon = (ImageView) view.findViewById(R.id.icon);
963 Drawable icon
978 setHeaderIcon(HeaderViewHolder holder, Drawable icon) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactDetailFragment.java1409 public final ImageView icon; field in class:ContactDetailFragment.NetworkTitleViewCache
1413 icon = (ImageView) view.findViewById(R.id.network_icon);
1422 public final ImageView icon; field in class:ContactDetailFragment.AddConnectionViewCache
1427 icon = (ImageView) view.findViewById(R.id.add_connection_icon);
1623 viewCache.icon.setImageDrawable(entry.getIcon());
1643 viewCache.icon.setImageDrawable(entry.getIcon());
1696 // Set the presence icon
2227 final ImageView icon = (ImageView)resultView.findViewById(android.R.id.icon);
2241 icon
[all...]

Completed in 588 milliseconds

123