Searched refs:favicon (Results 1 - 17 of 17) sorted by relevance

/packages/apps/Browser/src/com/android/browser/
H A DBookmarkUtils.java60 static Bitmap createIcon(Context context, Bitmap touchIcon, Bitmap favicon, argument
66 return createIcon(context, touchIcon, favicon, type, iconDimension, iconDensity);
82 Bitmap favicon, BookmarkIconType type, int iconDimension, int iconDensity) {
101 // If we have a favicon, overlay it in a nice rounded white box on top of the
103 if (favicon != null) {
104 drawFaviconToCanvas(context, favicon, canvas, iconBounds, type);
115 Bitmap touchIcon, Bitmap favicon) {
120 i.putExtra(Intent.EXTRA_SHORTCUT_ICON, createIcon(context, touchIcon, favicon,
180 private static void drawFaviconToCanvas(Context context, Bitmap favicon, argument
183 // filtering the favicon
81 createIcon(Context context, Bitmap touchIcon, Bitmap favicon, BookmarkIconType type, int iconDimension, int iconDensity) argument
114 createAddToHomeIntent(Context context, String url, String title, Bitmap touchIcon, Bitmap favicon) argument
[all...]
H A DWebViewController.java53 void onPageStarted(Tab tab, WebView view, Bitmap favicon); argument
H A DBookmarks.java193 * Update the bookmark's favicon. This is a convenience method for updating
194 * a bookmark favicon for the originalUrl and url of the passed in WebView.
198 * @param favicon The favicon bitmap to write to the db.
201 final String originalUrl, final String url, final Bitmap favicon) {
206 favicon.compress(Bitmap.CompressFormat.PNG, 100, os);
200 updateFavicon(final ContentResolver cr, final String originalUrl, final String url, final Bitmap favicon) argument
H A DBookmarkItem.java45 * Instantiate a bookmark item, including a default favicon.
58 mImageView = (ImageView) findViewById(R.id.favicon);
85 * Set the favicon for this item.
H A DTabBar.java273 mIconView = (ImageView) mTabContent.findViewById(R.id.favicon);
494 public void onFavicon(Tab tab, Bitmap favicon) { argument
497 tv.setFavicon(mUi.getFaviconDrawable(favicon));
H A DNavigationBarBase.java65 mFavicon = (ImageView) findViewById(R.id.favicon);
H A DPreloadController.java81 public void onPageStarted(Tab tab, WebView view, Bitmap favicon) { argument
H A DAddBookmarkPage.java919 Bitmap favicon;
923 favicon = (Bitmap) mMap.getParcelable(
927 favicon = null;
933 bundle.putParcelable(BrowserContract.Bookmarks.FAVICON, favicon);
945 title, null /*touchIcon*/, favicon));
H A DTab.java235 PageState(Context c, boolean incognito, String url, Bitmap favicon) { argument
243 mFavicon = favicon;
344 public void onPageStarted(WebView view, String url, Bitmap favicon) {
349 view.isPrivateBrowsingEnabled(), url, favicon);
376 mWebViewController.onPageStarted(Tab.this, view, favicon);
1041 public void onPageStarted(WebView view, String url, Bitmap favicon) { argument
1621 * Get the favicon of this tab.
H A DController.java570 * Share a page, providing the title, url, favicon, and a screenshot. Uses
577 * @param favicon Bitmap of the favicon for the page. Stored in the Intent
583 Bitmap favicon, Bitmap screenshot) {
588 send.putExtra(Browser.EXTRA_SHARE_FAVICON, favicon);
815 public void onPageStarted(Tab tab, WebView view, Bitmap favicon) { argument
844 // update the bookmark database for favicon
845 maybeUpdateFavicon(tab, null, url, favicon);
1085 final String url, Bitmap favicon) {
1086 if (favicon
582 sharePage(Context c, String title, String url, Bitmap favicon, Bitmap screenshot) argument
1084 maybeUpdateFavicon(Tab tab, final String originalUrl, final String url, Bitmap favicon) argument
[all...]
H A DBrowserBookmarksPage.java457 Bitmap favicon = getBitmap(cursor, BookmarksLoader.COLUMN_INDEX_FAVICON);
458 return BookmarkUtils.createAddToHomeIntent(context, url, title, touchIcon, favicon);
/packages/apps/Browser/tests/src/com/android/browser/tests/
H A DBP2UriObserverTests.java56 Bitmap favicon = Bitmap.createBitmap(16, 16, Config.ARGB_8888);
58 favicon.compress(Bitmap.CompressFormat.PNG, 100, os);
92 Bitmap favicon = Bitmap.createBitmap(16, 16, Config.ARGB_8888);
94 favicon.compress(Bitmap.CompressFormat.PNG, 100, os);
/packages/apps/Browser/tests/src/com/android/browser/
H A DTestWebViewClient.java51 public void onPageStarted(WebView view, String url, Bitmap favicon) { argument
52 mWrappedClient.onPageStarted(view, url, favicon);
/packages/apps/Browser/src/com/android/browser/widget/
H A DBookmarkThumbnailWidgetService.java249 views.setImageViewResource(R.id.favicon, R.drawable.ic_bookmark_widget_bookmark_holo_dark);
255 Bitmap thumbnail = null, favicon = null;
268 favicon = BitmapFactory.decodeByteArray(
270 views.setImageViewBitmap(R.id.favicon, favicon);
272 views.setImageViewResource(R.id.favicon,
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
H A DPartnerBookmarksProvider.java281 byte[] favicon = null;
285 favicon = readRaw(res, faviconId);
287 Log.i(TAG, "Failed to read favicon for " + bookmarkTitle, e);
306 if (favicon != null) {
307 insertHelper.bind(faviconColumn, favicon);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DTosWebViewFragment.java167 public void onPageStarted(WebView view, String url, Bitmap favicon) { argument
/packages/apps/Browser/src/com/android/browser/provider/
H A DBrowserProvider2.java688 byte[] thumb = null, favicon = null;
694 favicon = readRaw(res, faviconId);
697 if (thumb != null || favicon != null) {
700 if (favicon != null) {
701 imageValues.put(Images.FAVICON, favicon);
1755 // Only favicon is exposed in the public API. If we updated
2087 // favicon

Completed in 302 milliseconds