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