Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridDropHandler.java182 int rightDistance = mGrid.getColumnDistance(column + 1, x1); in computeMatches() local
188 if (rightDistance < radius + SLOP) { in computeMatches()
190 leftDistance = rightDistance; in computeMatches()
206 int cellWidth = leftDistance + rightDistance; in computeMatches()
213 if (rightDistance < leftDistance) { in computeMatches()
218 if (centerDistance < leftDistance / 2 && centerDistance < rightDistance / 2) { in computeMatches()
278 int rightDistance = mGrid.getColumnDistance(columnRight, x2); in addRightSideMatch() local
279 if (rightDistance < max) { in addRightSideMatch()
282 columnMatches.add(new GridMatch(SegmentType.RIGHT, rightDistance, columnX, in addRightSideMatch()