Searched refs:icon (Results 1 - 25 of 223) sorted by path

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/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppNotification.java411 outNoti.icon = android.R.drawable.stat_sys_upload_done;
463 inNoti.icon = android.R.drawable.stat_sys_download_done;
507 n.icon = R.drawable.bt_incomming_file_notification;
/packages/apps/Browser/src/com/android/browser/
H A DAddBookmarkPage.java175 * Show or hide the icon for bookmarks next to "Bookmarks" in the crumb view.
176 * @param show True if the icon should visible, false otherwise.
940 DownloadTouchIcon icon = new DownloadTouchIcon(msg,
942 icon.execute(mTouchIconUrl);
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 DBookmarkUtils.java57 * Creates an icon to be associated with this bookmark. If available, the apple touch icon
87 // Use the apple-touch-icon if available
91 // No touch icon so create our own.
93 Bitmap icon = getIconBackground(context, type, iconDensity);
95 if (icon != null) {
96 // Now draw the correct icon background into our new bitmap.
98 canvas.drawBitmap(icon, null, iconBounds, p);
138 // Want to create a shortcut icon on the homescreen, so the icon
[all...]
H A DController.java464 // Open the icon database.
944 public void onFavicon(Tab tab, WebView view, Bitmap icon) { argument
946 maybeUpdateFavicon(tab, view.getOriginalUrl(), view.getUrl(), icon);
1088 * Update the favorites icon if the private browsing isn't enabled and the
1089 * icon is valid.
1806 // Switching the menu back to icon view, so show the
H A DDownloadTouchIcon.java45 private final String mUserAgent; // Sites may serve a different icon to different UAs
51 * Use this ctor to store the touch icon in the bookmarks database for
65 * Use this ctor to download the touch icon and update the bookmarks database
80 * Use this ctor to not store the touch icon in a database, rather add it to
112 Bitmap icon = null;
114 icon = BitmapFactory.decodeStream(
124 storeIcon(icon);
127 b.putParcelable(BrowserContract.Bookmarks.TOUCH_ICON, icon);
156 private void storeIcon(Bitmap icon) { argument
159 // Remove the touch icon loade
[all...]
H A DNavigationBarBase.java90 public void setFavicon(Bitmap icon) { argument
92 mFavicon.setImageDrawable(mBaseUi.getFaviconDrawable(icon));
H A DNavigationBarTablet.java200 public void setFavicon(Bitmap icon) { argument
201 mFaviconDrawable = mBaseUi.getFaviconDrawable(icon);
H A DPieControl.java124 ImageView icon = (ImageView) mRDS.getView();
126 icon.setImageResource(R.drawable.ic_mobile);
128 icon.setImageResource(R.drawable.ic_desktop_holo_dark);
274 ImageView image = (ImageView) v.findViewById(R.id.icon);
H A DPreloadController.java115 public void onFavicon(Tab tab, WebView view, Bitmap icon) { argument
H A DTab.java350 // If we start a touch icon load and then load a new page, we don't
351 // want to cancel the current touch icon loader. But, we do want to
352 // create a new one when the touch icon url is known.
405 * the lock icon until we are done loading, as it is slightly more
810 public void onReceivedIcon(WebView view, Bitmap icon) {
811 mCurrentState.mFavicon = icon;
812 mWebViewController.onFavicon(Tab.this, view, icon);
978 * Ask the browser for an icon to represent a <video> element.
979 * This icon will be used if the Web page did not specify a poster attribute.
980 * @return Bitmap The icon o
[all...]
H A DWebStorageSizeManager.java398 int icon = android.R.drawable.stat_sys_warning;
409 Notification notification = new Notification(icon, title, when);
H A DWebViewController.java61 void onFavicon(Tab tab, WebView view, Bitmap icon); argument
H A DXLargeUi.java290 public Drawable getFaviconDrawable(Bitmap icon) { argument
293 if (icon == null) {
296 array[1] = new BitmapDrawable(mActivity.getResources(), icon);
/packages/apps/Browser/src/com/android/browser/preferences/
H A DWebsiteSettingsFragment.java139 public void setIcon(Bitmap icon) { argument
140 mIcon = icon;
287 // (title, icon) for this origin from the bookmarks DB. We must do
436 * Set the icon according to the usage
440 // We set the correct icon:
458 final ImageView icon;
471 icon = (ImageView) view.findViewById(R.id.icon);
494 icon.setVisibility(View.VISIBLE);
502 icon
[all...]
/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/Calendar/src/com/android/calendar/
H A DAllInOneActivity.java255 // runs every midnight/time changes and refreshes the today icon
555 // Make sure the today icon is up to date
745 // replace the default top layer drawable of the today icon with a
747 LayerDrawable icon = (LayerDrawable) menuItem.getIcon();
748 Utils.setTodayIcon(icon, this, mTimeZone);
H A DEventInfoFragment.java1657 Drawable icon = pm.getApplicationIcon(info);
1658 if (icon != null) {
1661 icon.setBounds(0, 0, mCustomAppIconSize, mCustomAppIconSize);
1662 launchButton.setCompoundDrawables(icon, d[1], d[2], d[3]);
1668 } else if (icon == null) {
1669 // No icon && no label. Hide button?
H A DSearchActivity.java95 // runs when a timezone was changed and updates the today icon
253 // replace the default top layer drawable of the today icon with a custom drawable
257 LayerDrawable icon = (LayerDrawable) menuItem.getIcon();
259 icon, this, Utils.getTimeZone(SearchActivity.this, mTimeChangesUpdater));
329 // Make sure the today icon is up to date
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/Calendar/src/com/android/calendar/event/
H A DEventLocationAdapter.java54 // TODO: history icon resize asset
70 // The default image resource for the icon. This will be null if there should
71 // be no icon (if multiple listings for a contact, only the first one should have the
72 // photo icon).
75 // The contact photo to use for the icon. This will override the default icon.
198 // Update the icon.
199 final ImageView imageView = (ImageView) view.findViewById(R.id.icon);
246 // we must check the URI is as expected before setting the icon, or we may be
247 // setting the icon i
[all...]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastAlertFullScreen.java49 * Full-screen emergency alert with flashing warning icon.
71 /** Length of time for the warning icon to be visible. */
74 /** Length of time for the warning icon to be off. */
80 /** Animation handler for the flashing warning icon (emergency alerts only). */
87 * Animation handler for the flashing warning icon (emergency alerts only).
93 /** Warning icon state: visible == true, hidden == false. */
96 /** The warning icon Drawable. */
99 /** The View containing the warning icon. */
105 /** Start the warning icon animation. */
116 /** Stop the warning icon animatio
[all...]
/packages/apps/Contacts/src/com/android/contacts/
H A DSplitAggregateView.java47 * 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);
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DRawContactReadOnlyEditorView.java217 private void bindData(Drawable icon, String iconContentDescription, CharSequence data, argument
219 bindData(icon, iconContentDescription, data, type, isFirstEntry, false);
222 private void bindData(Drawable icon, String iconContentDescription, CharSequence data, argument
227 imageView.setImageDrawable(icon);

Completed in 336 milliseconds

123456789