Fixing issue where incorrect min/max widths/heights were being reported to widgets. (Bug 10940505)

This commit is contained in:
Winson Chung
2013-09-26 16:08:03 -07:00
parent 88cc3f5aa2
commit fe411c8e31
3 changed files with 18 additions and 9 deletions
@@ -927,6 +927,8 @@ public class CellLayout extends ViewGroup {
return r;
}
/** Return a rect that has the cellWidth/cellHeight (left, top), and
* widthGap/heightGap (right, bottom) */
static void getMetrics(Rect metrics, int paddedMeasureWidth,
int paddedMeasureHeight, int countX, int countY) {
LauncherAppState app = LauncherAppState.getInstance();