Merge "Minor stylistic changes in Workspace.java." into ub-launcher3-master
This commit is contained in:
commit
4c3952dc60
|
@ -2093,10 +2093,10 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
|
||||||
mTempFXY[1] = y;
|
mTempFXY[1] = y;
|
||||||
mLauncher.getDragLayer().getDescendantCoordRelativeToSelf(this, mTempFXY, true);
|
mLauncher.getDragLayer().getDescendantCoordRelativeToSelf(this, mTempFXY, true);
|
||||||
View hotseat = mLauncher.getHotseat();
|
View hotseat = mLauncher.getHotseat();
|
||||||
return mTempFXY[0] >= hotseat.getLeft() &&
|
return mTempFXY[0] >= hotseat.getLeft()
|
||||||
mTempFXY[0] <= hotseat.getRight() &&
|
&& mTempFXY[0] <= hotseat.getRight()
|
||||||
mTempFXY[1] >= hotseat.getTop() &&
|
&& mTempFXY[1] >= hotseat.getTop()
|
||||||
mTempFXY[1] <= hotseat.getBottom();
|
&& mTempFXY[1] <= hotseat.getBottom();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -2393,9 +2393,9 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
|
||||||
spanY = mDragInfo.spanY;
|
spanY = mDragInfo.spanY;
|
||||||
}
|
}
|
||||||
|
|
||||||
final int container = mLauncher.isHotseatLayout(cellLayout) ?
|
final int container = mLauncher.isHotseatLayout(cellLayout)
|
||||||
LauncherSettings.Favorites.CONTAINER_HOTSEAT :
|
? LauncherSettings.Favorites.CONTAINER_HOTSEAT
|
||||||
LauncherSettings.Favorites.CONTAINER_DESKTOP;
|
: LauncherSettings.Favorites.CONTAINER_DESKTOP;
|
||||||
final int screenId = getIdForScreen(cellLayout);
|
final int screenId = getIdForScreen(cellLayout);
|
||||||
if (!mLauncher.isHotseatLayout(cellLayout)
|
if (!mLauncher.isHotseatLayout(cellLayout)
|
||||||
&& screenId != getScreenIdForPageIndex(mCurrentPage)
|
&& screenId != getScreenIdForPageIndex(mCurrentPage)
|
||||||
|
|
Loading…
Reference in New Issue