Home
last modified time | relevance | path

Searched refs:topOrLeftBounds (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragAndDropPolicy.java160 final Rect topOrLeftBounds = new Rect(); in getTargets() local
162 mSplitScreen.getStageBounds(topOrLeftBounds, bottomOrRightBounds); in getTargets()
163 topOrLeftBounds.intersect(displayRegion); in getTargets()
174 float centerX = topOrLeftBounds.right + (dividerWidth / 2); in getTargets()
184 mTargets.add(new Target(TYPE_SPLIT_LEFT, leftHitRegion, topOrLeftBounds)); in getTargets()
195 float centerX = topOrLeftBounds.bottom + (dividerWidth / 2); in getTargets()
205 mTargets.add(new Target(TYPE_SPLIT_TOP, topHitRegion, topOrLeftBounds)); in getTargets()
DDragLayout.java309 Rect topOrLeftBounds = new Rect(); in prepare() local
311 mSplitScreenController.getStageBounds(topOrLeftBounds, bottomOrRightBounds); in prepare()
312 updateDropZoneSizes(topOrLeftBounds, bottomOrRightBounds); in prepare()