summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/Utilities.java
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-09-20 17:24:16 -0700
committerJason Sams <rjsams@android.com>2009-09-20 17:24:16 -0700
commitfd22dac33e535779d1006fcfe22ef2b95152d916 (patch)
tree26f71326d126dbb9d76ebe53ab898473ace2bbf6 /src/com/android/launcher2/Utilities.java
parent86c87ed0a8cbc87a09db7ca08117410f72c0b8b9 (diff)
downloadandroid_packages_apps_Trebuchet-fd22dac33e535779d1006fcfe22ef2b95152d916.tar.gz
android_packages_apps_Trebuchet-fd22dac33e535779d1006fcfe22ef2b95152d916.tar.bz2
android_packages_apps_Trebuchet-fd22dac33e535779d1006fcfe22ef2b95152d916.zip
Implement dark background, adjust spacing, remove skia scaling for performance during zoom.
Diffstat (limited to 'src/com/android/launcher2/Utilities.java')
-rw-r--r--src/com/android/launcher2/Utilities.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/com/android/launcher2/Utilities.java b/src/com/android/launcher2/Utilities.java
index ec9fb79f4..dbb5ac663 100644
--- a/src/com/android/launcher2/Utilities.java
+++ b/src/com/android/launcher2/Utilities.java
@@ -93,7 +93,7 @@ final class Utilities {
* @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 @@ final class Utilities {
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);