commit | 97d85d23b013347bead4e2f5fa430a79ce69431e | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Wed Apr 13 11:27:36 2011 -0700 |
committer | Winson Chung <winsonc@google.com> | Thu Apr 14 10:13:09 2011 -0700 |
tree | 4e72157c6814cb5c517b09ea14fd4474acb9c7c9 | |
parent | 721a06bb6564a4ebe6dc6bf364cb569d255705ac [diff] [blame] |
Fixing focus issues in Launcher (keyboard support). Change-Id: Ieafd713393daf5628f229a66441bd3ed293245da
diff --git a/src/com/android/launcher2/PagedViewCellLayout.java b/src/com/android/launcher2/PagedViewCellLayout.java index 762ec58..28e092e 100644 --- a/src/com/android/launcher2/PagedViewCellLayout.java +++ b/src/com/android/launcher2/PagedViewCellLayout.java
@@ -180,6 +180,14 @@ return mChildren.indexOfChild(v); } + public int getCellCountX() { + return mCellCountX; + } + + public int getCellCountY() { + return mCellCountY; + } + protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { // TODO: currently ignoring padding