summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/FolderPagedView.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-04-30 12:28:16 -0700
committerSunny Goyal <sunnygoyal@google.com>2015-05-05 10:18:22 -0700
commitccc414bb1e18206d2a3d8d797070278bdb286354 (patch)
tree1a8163718a5c538f1da2298ddae47ec29ccc3d68 /src/com/android/launcher3/FolderPagedView.java
parent9892e5874061233dec57107d1d3d7d5d8e1f5d93 (diff)
downloadandroid_packages_apps_Trebuchet-ccc414bb1e18206d2a3d8d797070278bdb286354.tar.gz
android_packages_apps_Trebuchet-ccc414bb1e18206d2a3d8d797070278bdb286354.tar.bz2
android_packages_apps_Trebuchet-ccc414bb1e18206d2a3d8d797070278bdb286354.zip
Accessibility: Folder drag and drop fixes
> Do not allow empty cells on the last page to be click targets > Make drop targets accessible > Do not close folder on tap outside Change-Id: I7cae20e45097092f41408b888e20b6c40c17d981
Diffstat (limited to 'src/com/android/launcher3/FolderPagedView.java')
-rw-r--r--src/com/android/launcher3/FolderPagedView.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/launcher3/FolderPagedView.java b/src/com/android/launcher3/FolderPagedView.java
index a07a3dc2c..1d198ba14 100644
--- a/src/com/android/launcher3/FolderPagedView.java
+++ b/src/com/android/launcher3/FolderPagedView.java
@@ -514,6 +514,10 @@ public class FolderPagedView extends PagedView {
}
}
+ public int getAllocatedContentSize() {
+ return mAllocatedContentSize;
+ }
+
/**
* Reorders the items such that the {@param empty} spot moves to {@param target}
*/