summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/CellLayout.java
diff options
context:
space:
mode:
authorVadim Tryshev <vadimt@google.com>2015-08-19 17:55:02 -0700
committerVadim Tryshev <vadimt@google.com>2015-08-20 07:45:57 -0700
commitfedca43d396d6fd7c46fbb2f37dfa7cfe3b31834 (patch)
tree111a7ede5c82806b82b47f7ba5b827750796f5b1 /src/com/android/launcher3/CellLayout.java
parent08efde7e247690a71c523df33b078ab530454bbe (diff)
downloadandroid_packages_apps_Trebuchet-fedca43d396d6fd7c46fbb2f37dfa7cfe3b31834.tar.gz
android_packages_apps_Trebuchet-fedca43d396d6fd7c46fbb2f37dfa7cfe3b31834.tar.bz2
android_packages_apps_Trebuchet-fedca43d396d6fd7c46fbb2f37dfa7cfe3b31834.zip
Moving drag-drop related code into a separate package.
This is per an earlier CR comment "we should probably move all this code to its own package (launcher3.dragndrop) in a separate cl". I'm not moving DragSource because it's referred from gsa code. Bug: 22609426 Change-Id: Ia7204dab99c0c395c66b77143a2d60411153f5f3
Diffstat (limited to 'src/com/android/launcher3/CellLayout.java')
-rw-r--r--src/com/android/launcher3/CellLayout.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/com/android/launcher3/CellLayout.java b/src/com/android/launcher3/CellLayout.java
index cd005e507..772bb7be2 100644
--- a/src/com/android/launcher3/CellLayout.java
+++ b/src/com/android/launcher3/CellLayout.java
@@ -405,7 +405,7 @@ public class CellLayout extends ViewGroup implements BubbleTextShadowHandler {
mIsDragTarget = false;
}
- boolean isDragTarget() {
+ public boolean isDragTarget() {
return mIsDragTarget;
}
@@ -425,7 +425,7 @@ public class CellLayout extends ViewGroup implements BubbleTextShadowHandler {
}
}
- boolean getIsDragOverlapping() {
+ public boolean getIsDragOverlapping() {
return mIsDragOverlapping;
}
@@ -2802,10 +2802,10 @@ public class CellLayout extends ViewGroup implements BubbleTextShadowHandler {
// X coordinate of the view in the layout.
@ViewDebug.ExportedProperty
- int x;
+ public int x;
// Y coordinate of the view in the layout.
@ViewDebug.ExportedProperty
- int y;
+ public int y;
boolean dropped;