Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/
DBandController_GridModelTest.java235 Rect selectionArea = new Rect( in getSelectionArea() local
237 selectionArea.union(mSelectionPoint.x, mSelectionPoint.y); in getSelectionArea()
240 selectionArea.inset(-1, -1); in getSelectionArea()
242 return selectionArea; in getSelectionArea()
253 Rect selectionArea = getSelectionArea(); in verifySelection() local
255 if (Rect.intersects(selectionArea, item.rect)) { in verifySelection()
256 assertTrue("Expected item " + item + " was not in selection " + selectionArea, in verifySelection()
259 assertFalse("Unexpected item " + item + " in selection" + selectionArea, in verifySelection()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java3099 Rect selectionArea = mSelectionRect; in drawEvents() local
3100 selectionArea.top = top + mSelectionHour * (cellHeight + HOUR_GAP); in drawEvents()
3101 selectionArea.bottom = selectionArea.top + cellHeight; in drawEvents()
3102 selectionArea.left = left; in drawEvents()
3103 selectionArea.right = selectionArea.left + cellWidth; in drawEvents()
3125 && geometry.eventIntersectsSelection(event, selectionArea)) { in drawEvents()