Implement dark background, adjust spacing, remove skia scaling for performance during zoom.
diff --git a/src/com/android/launcher2/Utilities.java b/src/com/android/launcher2/Utilities.java
index ec9fb79..dbb5ac6 100644
--- a/src/com/android/launcher2/Utilities.java
+++ b/src/com/android/launcher2/Utilities.java
@@ -93,7 +93,7 @@
* @param context The application's context.
*
* @return A thumbnail for the specified icon or the icon itself if the
- * thumbnail could not be created.
+ * thumbnail could not be created.
*/
static Drawable createIconThumbnail(Drawable icon, Context context) {
synchronized (sCanvas) { // we share the statics :-(
@@ -411,11 +411,11 @@
if (lineCount > MAX_LINES) {
lineCount = MAX_LINES;
}
- if (!TEXT_BURN && lineCount > 0) {
- RectF bubbleRect = mBubbleRect;
- bubbleRect.bottom = height(lineCount);
- c.drawRoundRect(bubbleRect, mCornerRadius, mCornerRadius, mRectPaint);
- }
+ //if (!TEXT_BURN && lineCount > 0) {
+ //RectF bubbleRect = mBubbleRect;
+ //bubbleRect.bottom = height(lineCount);
+ //c.drawRoundRect(bubbleRect, mCornerRadius, mCornerRadius, mRectPaint);
+ //}
for (int i=0; i<lineCount; i++) {
int x = (int)((mBubbleRect.width() - layout.getLineMax(i)) / 2.0f);
int y = mFirstLineY + (i * mLineHeight);