summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/Utilities.java
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2009-11-02 12:01:11 -0500
committerJoe Onorato <joeo@android.com>2009-11-02 12:01:11 -0500
commit080d9b614e609826dce2606f9e474af674ead933 (patch)
tree9c686507db61f8f840a21b2a7eb76a980694a2ca /src/com/android/launcher2/Utilities.java
parenta4c0cb965575b7a0832d92bc0b33e06c7c66cb10 (diff)
downloadandroid_packages_apps_Trebuchet-080d9b614e609826dce2606f9e474af674ead933.tar.gz
android_packages_apps_Trebuchet-080d9b614e609826dce2606f9e474af674ead933.tar.bz2
android_packages_apps_Trebuchet-080d9b614e609826dce2606f9e474af674ead933.zip
Adjust logging of launcher2 launch times, and make all apps loading wait a little longer,
even though usually it happens later anyway. For bug 2226555.
Diffstat (limited to 'src/com/android/launcher2/Utilities.java')
-rw-r--r--src/com/android/launcher2/Utilities.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/com/android/launcher2/Utilities.java b/src/com/android/launcher2/Utilities.java
index dc095f9d1..d5dd06338 100644
--- a/src/com/android/launcher2/Utilities.java
+++ b/src/com/android/launcher2/Utilities.java
@@ -380,8 +380,6 @@ final class Utilities {
rectPaint.setColor(0xff000000);
rectPaint.setAntiAlias(true);
- Log.d(TAG, "scale=" + scale + " textSize=" + (13*scale));
-
TextPaint textPaint = mTextPaint = new TextPaint();
textPaint.setTypeface(Typeface.DEFAULT);
textPaint.setTextSize(13*scale);
@@ -403,9 +401,11 @@ final class Utilities {
mBubbleRect.offsetTo((mBitmapWidth-mBubbleRect.width())/2, 0);
- Log.d(TAG, "mBitmapWidth=" + mBitmapWidth + " mBitmapHeight="
- + mBitmapHeight + " w=" + ((int)(mBubbleRect.width() + 0.5f))
- + " h=" + ((int)((MAX_LINES * mLineHeight) + leading + 0.5f)));
+ if (false) {
+ Log.d(TAG, "mBitmapWidth=" + mBitmapWidth + " mBitmapHeight="
+ + mBitmapHeight + " w=" + ((int)(mBubbleRect.width() + 0.5f))
+ + " h=" + ((int)((MAX_LINES * mLineHeight) + leading + 0.5f)));
+ }
}
/** You own the bitmap after this and you must call recycle on it. */