Searched refs:mDragLayerRect (Results 1 – 1 of 1) sorted by relevance
107 private Rect mDragLayerRect = new Rect(); field in DragController371 mLauncher.getDragLayer().getLocalVisibleRect(mDragLayerRect); in getClampedDragLayerPos()372 mTmpPoint[0] = (int) Math.max(mDragLayerRect.left, Math.min(x, mDragLayerRect.right - 1)); in getClampedDragLayerPos()373 mTmpPoint[1] = (int) Math.max(mDragLayerRect.top, Math.min(y, mDragLayerRect.bottom - 1)); in getClampedDragLayerPos()