Added config_springLoadWorkspace to enable/disable spring-loaded workspace.
- Added side hints back - Only scale down icons if spring-loaded - Only show App Info drop target if spring-loaded Change-Id: I4b0dddccbe0e80b7ceb6b7266fc527f757744148
This commit is contained in:
1 parent
11c45f1141
commit
0f97b7874f
26 files changed
+223
-14
No files matched your search
@@ -399,6 +399,10 @@ public class CellLayout extends ViewGroup implements BubbleTextShadowHandler {
|
||||
mIsDragTarget = false;
|
||||
}
|
||||
|
||||
public boolean isDragTarget() {
|
||||
return mIsDragTarget;
|
||||
}
|
||||
|
||||
void setIsDragOverlapping(boolean isDragOverlapping) {
|
||||
if (mIsDragOverlapping != isDragOverlapping) {
|
||||
mIsDragOverlapping = isDragOverlapping;
|
||||
@@ -441,6 +445,10 @@ public class CellLayout extends ViewGroup implements BubbleTextShadowHandler {
|
||||
(ParcelableSparseArray) parcelable : new ParcelableSparseArray();
|
||||
}
|
||||
|
||||
public boolean getIsDragOverlapping() {
|
||||
return mIsDragOverlapping;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onDraw(Canvas canvas) {
|
||||
if (!mIsDragTarget) {
|
||||
|
||||
Reference in new issue
Block a user