summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2013-10-02 17:45:32 -0700
committerWinson Chung <winsonc@google.com>2013-10-02 17:45:32 -0700
commit45cab39eea097bf622cd1ed67d91d2336d78663a (patch)
tree99782e1e349d498ba6ac52406470698781d34dac /src
parentd3f333b995c038c5171478ef56dc6c1c6e780b39 (diff)
downloadandroid_packages_apps_Trebuchet-45cab39eea097bf622cd1ed67d91d2336d78663a.tar.gz
android_packages_apps_Trebuchet-45cab39eea097bf622cd1ed67d91d2336d78663a.tar.bz2
android_packages_apps_Trebuchet-45cab39eea097bf622cd1ed67d91d2336d78663a.zip
Tweaking the front cling to support more verbose languages. (Bug 11015051)
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher3/Cling.java2
-rw-r--r--src/com/android/launcher3/WidgetPreviewLoader.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher3/Cling.java b/src/com/android/launcher3/Cling.java
index 2656ad6a8..de92605d9 100644
--- a/src/com/android/launcher3/Cling.java
+++ b/src/com/android/launcher3/Cling.java
@@ -327,7 +327,7 @@ public class Cling extends FrameLayout implements Insettable, View.OnLongClickLi
}
if (mDrawIdentifier.equals(FIRST_RUN_PORTRAIT) ||
mDrawIdentifier.equals(FIRST_RUN_LANDSCAPE)) {
- // Draw the white circle
+ // Draw the circle
View bubbleContent = findViewById(R.id.bubble_content);
Rect bubbleRect = new Rect();
bubbleContent.getGlobalVisibleRect(bubbleRect);
diff --git a/src/com/android/launcher3/WidgetPreviewLoader.java b/src/com/android/launcher3/WidgetPreviewLoader.java
index b1bb1e855..956fd99cd 100644
--- a/src/com/android/launcher3/WidgetPreviewLoader.java
+++ b/src/com/android/launcher3/WidgetPreviewLoader.java
@@ -469,7 +469,7 @@ public class WidgetPreviewLoader {
.getIntrinsicWidth();
final int previewDrawableHeight = previewDrawable
.getIntrinsicHeight();
- previewWidth = previewDrawableWidth * cellHSpan; // subtract 2 dips
+ previewWidth = previewDrawableWidth * cellHSpan;
previewHeight = previewDrawableHeight * cellVSpan;
defaultPreview = Bitmap.createBitmap(previewWidth, previewHeight,