Bookmark widget favicon drawing cleanup

 Bug: 3289421
 Changes the favicon drawing for the bookmark widget to keep the favicon
 at its original size and draw a mostly transparent rounded white rectangle
 behind it.

Change-Id: I8267bbcc3d805d0266281f231e38393eec4d0bc2
diff --git a/res/layout/bookmarklistwidget_item.xml b/res/layout/bookmarklistwidget_item.xml
index 9d1f8ec..2f64054 100644
--- a/res/layout/bookmarklistwidget_item.xml
+++ b/res/layout/bookmarklistwidget_item.xml
@@ -24,11 +24,11 @@
     <ImageView
         android:id="@+id/thumb"
         android:src="@drawable/browser_thumbnail"
-        android:layout_height="32dp"
-        android:layout_width="32dp"
+        android:layout_height="@dimen/bookmark_widget_thumb_size"
+        android:layout_width="@dimen/bookmark_widget_thumb_size"
         android:layout_gravity="center_vertical"
         android:layout_marginLeft="16dp"
-        android:scaleType="fitCenter"/>
+        android:scaleType="centerInside"/>
     <TextView
         android:id="@+id/label"
         android:layout_width="0dip"
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 31a8458..cb1b754 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -31,4 +31,5 @@
     <color name="bookmarkWidgetFolderBackground">#A0383847</color>
     <color name="qc_slice_normal">#C0A0A0A0</color>
     <color name="qc_slice_active">#C02090FF</color>
+    <color name="bookmarkWidgetFaviconBackground">#23ffffff</color>
 </resources>
diff --git a/res/values/dimensions.xml b/res/values/dimensions.xml
index a4ab90a..ec7f94c 100644
--- a/res/values/dimensions.xml
+++ b/res/values/dimensions.xml
@@ -31,4 +31,6 @@
     <dimen name="qc_radius">130dip</dimen>
     <dimen name="qc_radius_inc">100dip</dimen>
     <dimen name="qc_slop">15dip</dimen>
+    <dimen name="bookmark_widget_thumb_size">32dip</dimen>
+    <dimen name="bookmark_widget_favicon_size">26dip</dimen>
 </resources>