summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/CellLayout.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-10-16 08:58:57 -0700
committerSunny Goyal <sunnygoyal@google.com>2015-10-16 09:02:25 -0700
commit9eba1fd75e9fa6b0dc5cad9a4e817b3b167d2461 (patch)
treecfaa5ee521f4755d291e282a4bb48f5b10918bb6 /src/com/android/launcher3/CellLayout.java
parentbe424b2c32a878608411bc0748bc88300046cc27 (diff)
downloadandroid_packages_apps_Trebuchet-9eba1fd75e9fa6b0dc5cad9a4e817b3b167d2461.tar.gz
android_packages_apps_Trebuchet-9eba1fd75e9fa6b0dc5cad9a4e817b3b167d2461.tar.bz2
android_packages_apps_Trebuchet-9eba1fd75e9fa6b0dc5cad9a4e817b3b167d2461.zip
Refactoring WallpaperOffsetInterpolator to a new file
Removing some us unused methods Change-Id: Ife790e5ca6848fa13dc3fab1bba1e6220bf83743
Diffstat (limited to 'src/com/android/launcher3/CellLayout.java')
-rw-r--r--src/com/android/launcher3/CellLayout.java15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/com/android/launcher3/CellLayout.java b/src/com/android/launcher3/CellLayout.java
index 92e4043df..02f900864 100644
--- a/src/com/android/launcher3/CellLayout.java
+++ b/src/com/android/launcher3/CellLayout.java
@@ -152,9 +152,6 @@ public class CellLayout extends ViewGroup implements BubbleTextShadowHandler {
private static final boolean DESTRUCTIVE_REORDER = false;
private static final boolean DEBUG_VISUALIZE_OCCUPIED = false;
- static final int LANDSCAPE = 0;
- static final int PORTRAIT = 1;
-
private static final float REORDER_PREVIEW_MAGNITUDE = 0.12f;
private static final int REORDER_ANIMATION_DURATION = 150;
@Thunk float mReorderPreviewAnimationMagnitude;
@@ -404,10 +401,6 @@ public class CellLayout extends ViewGroup implements BubbleTextShadowHandler {
mIsDragTarget = false;
}
- public boolean isDragTarget() {
- return mIsDragTarget;
- }
-
void setIsDragOverlapping(boolean isDragOverlapping) {
if (mIsDragOverlapping != isDragOverlapping) {
mIsDragOverlapping = isDragOverlapping;
@@ -450,10 +443,6 @@ public class CellLayout extends ViewGroup implements BubbleTextShadowHandler {
(ParcelableSparseArray) parcelable : new ParcelableSparseArray();
}
- public boolean getIsDragOverlapping() {
- return mIsDragOverlapping;
- }
-
@Override
protected void onDraw(Canvas canvas) {
if (!mIsDragTarget) {
@@ -1311,9 +1300,7 @@ public class CellLayout extends ViewGroup implements BubbleTextShadowHandler {
* @param spanX Horizontal span of the object.
* @param spanY Vertical span of the object.
* @param direction The favored direction in which the views should move from x, y
- * @param exactDirectionOnly If this parameter is true, then only solutions where the direction
- * matches exactly. Otherwise we find the best matching direction.
- * @param occoupied The array which represents which cells in the CellLayout are occupied
+ * @param occupied The array which represents which cells in the CellLayout are occupied
* @param blockOccupied The array which represents which cells in the specified block (cellX,
* cellY, spanX, spanY) are occupied. This is used when try to move a group of views.
* @param result Array in which to place the result, or null (in which case a new array will