Home
last modified time | relevance | path

Searched refs:cellBounds (Results 1 – 3 of 3) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridLayoutPainter.java292 Rect cellBounds = grid.getCellBounds(row, column, 1, 1); in paintGridModeDropFeedback() local
296 int offsetX = cellBounds.x - dragBounds.x; in paintGridModeDropFeedback()
297 int offsetY = cellBounds.y - dragBounds.y; in paintGridModeDropFeedback()
301 gc.fillRect(new Rect(cellBounds.x - radius, in paintGridModeDropFeedback()
302 cellBounds.y + (createRow ? -radius : radius), in paintGridModeDropFeedback()
303 2 * radius + 1, cellBounds.h - (createRow ? 0 : 2 * radius))); in paintGridModeDropFeedback()
307 gc.fillRect(new Rect(cellBounds.x + radius, cellBounds.y - radius, in paintGridModeDropFeedback()
308 cellBounds.w - 2 * radius, 2 * radius + 1)); in paintGridModeDropFeedback()
312 gc.fillRect(new Rect(cellBounds.x + radius, cellBounds.y + radius, in paintGridModeDropFeedback()
313 cellBounds.w - 2 * radius, cellBounds.h - 2 * radius)); in paintGridModeDropFeedback()
[all …]
DGridModel.java681 Pair<int[], int[]> cellBounds = GridModel.getAxisBounds(mViewObject); in assignCellBoundsFromView() local
682 if (cellBounds != null) { in assignCellBoundsFromView()
683 int[] xs = cellBounds.getFirst(); in assignCellBoundsFromView()
684 int[] ys = cellBounds.getSecond(); in assignCellBoundsFromView()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DGridLayoutRule.java443 Rect cellBounds = grid.getCellBounds(startRow, startColumn, rowSpan, columnSpan); in paintResizeFeedback() local
445 gc.drawRect(cellBounds); in paintResizeFeedback()