private float[] mTempDragBottomRightCoordinates = new float[2];
private Matrix mTempInverseMatrix = new Matrix();
- private SpringLoadedDragController mSpringLoadedDragControllger;
+ private SpringLoadedDragController mSpringLoadedDragController;
private static final int DEFAULT_CELL_COUNT_X = 4;
private static final int DEFAULT_CELL_COUNT_Y = 4;
/** If mInScrollArea is true, the direction of the scroll. */
private int mPendingScrollDirection = DragController.SCROLL_NONE;
- private boolean mInDragMode = false;
-
private final HolographicOutlineHelper mOutlineHelper = new HolographicOutlineHelper();
private Bitmap mDragOutline = null;
private final Rect mTempRect = new Rect();
if (layout != mDragTargetLayout) {
if (mDragTargetLayout != null) {
mDragTargetLayout.setHover(false);
- mSpringLoadedDragControllger.onDragExit();
+ mSpringLoadedDragController.onDragExit();
}
mDragTargetLayout = layout;
if (mDragTargetLayout != null && mDragTargetLayout.getAcceptsDrops()) {
mDragTargetLayout.setHover(true);
- mSpringLoadedDragControllger.onDragEnter(mDragTargetLayout);
+ mSpringLoadedDragController.onDragEnter(mDragTargetLayout);
}
}
} else {
void setLauncher(Launcher launcher) {
mLauncher = launcher;
- mSpringLoadedDragControllger = new SpringLoadedDragController(mLauncher);
+ mSpringLoadedDragController = new SpringLoadedDragController(mLauncher);
mCustomizationDrawer = mLauncher.findViewById(R.id.customization_drawer);
mCustomizationDrawerContent =
for (int i = 0; i < childCount; i++) {
((CellLayout) getChildAt(i)).setHover(false);
}
- mSpringLoadedDragControllger.onDragExit();
+ mSpringLoadedDragController.onDragExit();
}
@Override