summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/PagedViewCellLayout.java
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2011-04-05 17:07:27 -0700
committerMichael Jurka <mikejurka@google.com>2011-04-05 17:08:38 -0700
commitd92e741ca67c58c4be01a64940847feafe26a4b1 (patch)
treeb52107382edb1777063c91a8ed22bc4f00f5d344 /src/com/android/launcher2/PagedViewCellLayout.java
parentbcbd3a0dcdcdcbe6c6ef5cc8c13676f230c3b7b3 (diff)
downloadandroid_packages_apps_Trebuchet-d92e741ca67c58c4be01a64940847feafe26a4b1.tar.gz
android_packages_apps_Trebuchet-d92e741ca67c58c4be01a64940847feafe26a4b1.tar.bz2
android_packages_apps_Trebuchet-d92e741ca67c58c4be01a64940847feafe26a4b1.zip
Fix build
Diffstat (limited to 'src/com/android/launcher2/PagedViewCellLayout.java')
-rw-r--r--src/com/android/launcher2/PagedViewCellLayout.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher2/PagedViewCellLayout.java b/src/com/android/launcher2/PagedViewCellLayout.java
index b94be4d6f..762ec58a5 100644
--- a/src/com/android/launcher2/PagedViewCellLayout.java
+++ b/src/com/android/launcher2/PagedViewCellLayout.java
@@ -248,10 +248,10 @@ public class PagedViewCellLayout extends ViewGroup implements Page {
// the right edge of the content of the rightmost icon
// icons are centered within cells, find out how much padding that accounts for
- return getWidthBeforeLayout() - (mCellWidth - Utilities.getIconContentSize());
+ return getWidthBeforeFirstLayout() - (mCellWidth - Utilities.getIconContentSize());
}
- int getWidthBeforeLayout() {
+ int getWidthBeforeFirstLayout() {
return mCellCountX * mCellWidth + (mCellCountX - 1) * mWidthGap;
}