mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 09:56:49 +00:00
Adding transitions after reorder within folder
Change-Id: I52b20fa1b2e4f9ee0b4a68ac703b95a2050dbd4a
This commit is contained in:
@@ -81,9 +81,6 @@ public class DragController {
|
||||
/** Info about the screen for clamping. */
|
||||
private DisplayMetrics mDisplayMetrics = new DisplayMetrics();
|
||||
|
||||
/** Original view that is being dragged. */
|
||||
private View mOriginator;
|
||||
|
||||
/** the area at the edge of the screen that makes the workspace go left
|
||||
* or right while you're dragging.
|
||||
*/
|
||||
@@ -178,8 +175,6 @@ public class DragController {
|
||||
*/
|
||||
public void startDrag(View v, DragSource source, Object dragInfo, int dragAction,
|
||||
Rect dragRegion) {
|
||||
mOriginator = v;
|
||||
|
||||
Bitmap b = getViewBitmap(v);
|
||||
|
||||
if (b == null) {
|
||||
@@ -214,8 +209,6 @@ public class DragController {
|
||||
*/
|
||||
public void startDrag(View v, Bitmap bmp, DragSource source, Object dragInfo, int dragAction,
|
||||
Rect dragRegion) {
|
||||
mOriginator = v;
|
||||
|
||||
int[] loc = mCoordinatesTemp;
|
||||
v.getLocationOnScreen(loc);
|
||||
int screenX = loc[0];
|
||||
@@ -383,9 +376,6 @@ public class DragController {
|
||||
private void endDrag() {
|
||||
if (mDragging) {
|
||||
mDragging = false;
|
||||
if (mOriginator != null) {
|
||||
mOriginator.setVisibility(View.VISIBLE);
|
||||
}
|
||||
for (DragListener listener : mListeners) {
|
||||
listener.onDragEnd();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user