summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/CellLayoutChildren.java
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2011-06-17 13:26:23 -0700
committerAdam Cohen <adamcohen@google.com>2011-06-21 18:00:21 -0700
commit76fc085d28178a5d4fb3787ede956281a2cc3179 (patch)
tree98d95c5f3e069d36cea8fe699e569271a9d6750d /src/com/android/launcher2/CellLayoutChildren.java
parentb6c2a87511aeb5b7cc2c20417503dc52a283067c (diff)
downloadandroid_packages_apps_Trebuchet-76fc085d28178a5d4fb3787ede956281a2cc3179.tar.gz
android_packages_apps_Trebuchet-76fc085d28178a5d4fb3787ede956281a2cc3179.tar.bz2
android_packages_apps_Trebuchet-76fc085d28178a5d4fb3787ede956281a2cc3179.zip
New folder visualization, renaming, staggering reorder
Change-Id: I62963d225e6ea5d2ec9d8ebc8a6d73099f5d6c7f
Diffstat (limited to 'src/com/android/launcher2/CellLayoutChildren.java')
-rw-r--r--src/com/android/launcher2/CellLayoutChildren.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/CellLayoutChildren.java b/src/com/android/launcher2/CellLayoutChildren.java
index 6e78885de..1caecc001 100644
--- a/src/com/android/launcher2/CellLayoutChildren.java
+++ b/src/com/android/launcher2/CellLayoutChildren.java
@@ -83,6 +83,7 @@ public class CellLayoutChildren extends ViewGroup {
lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap);
}
+
public void measureChild(View child) {
final int cellWidth = mCellWidth;
final int cellHeight = mCellHeight;
@@ -92,7 +93,6 @@ public class CellLayoutChildren extends ViewGroup {
int childWidthMeasureSpec = MeasureSpec.makeMeasureSpec(lp.width, MeasureSpec.EXACTLY);
int childheightMeasureSpec = MeasureSpec.makeMeasureSpec(lp.height,
MeasureSpec.EXACTLY);
-
child.measure(childWidthMeasureSpec, childheightMeasureSpec);
}