Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridMatch.java42 public int matchedLine; field in GridMatch
59 GridMatch(SegmentType type, int distance, int matchedLine, int cellIndex, in GridMatch() argument
64 this.matchedLine = matchedLine; in GridMatch()
104 return String.format("Align left at x=%1$d", matchedLine - layout.getBounds().x); in getDisplayName()
109 return String.format("Align right at x=%1$d", matchedLine - layout.getBounds().x); in getDisplayName()
120 return String.format("Align top at y=%1d", matchedLine - layout.getBounds().y); in getDisplayName()
125 return String.format("Align bottom at y=%1d", matchedLine - layout.getBounds().y); in getDisplayName()
DGridDropHandler.java296 int matchedLine = bounds.centerX(); in addCenterColumnMatch() local
297 int distance = abs((x1 + x2) / 2 - matchedLine); in addCenterColumnMatch()
301 matchedLine, 0 /* column */, createCell, UNDEFINED)); in addCenterColumnMatch()
356 int matchedLine = bounds.x + MARGIN_SIZE; in addColumnGapMatch() local
357 int distance = abs(matchedLine - x1); in addColumnGapMatch()
359 boolean createCell = mGrid.getColumnX(mGrid.getColumn(matchedLine)) != matchedLine; in addColumnGapMatch()
360 columnMatches.add(new GridMatch(SegmentType.LEFT, distance, matchedLine, in addColumnGapMatch()
364 int matchedLine = bounds.x2() - MARGIN_SIZE; in addColumnGapMatch() local
365 int distance = abs(matchedLine - x2); in addColumnGapMatch()
375 int matchedLine = columnX + SHORT_GAP_DP; in addColumnGapMatch() local
[all …]
DGridLayoutPainter.java184 int y = rowMatch.matchedLine; in paintFreeFormDropFeedback()
185 int x = columnMatch.matchedLine; in paintFreeFormDropFeedback()
196 y2 = rowMatch.matchedLine - rowMatch.margin; in paintFreeFormDropFeedback()
200 y2 = rowMatch.matchedLine + rowMatch.margin; in paintFreeFormDropFeedback()
220 x2 = columnMatch.matchedLine - columnMatch.margin; in paintFreeFormDropFeedback()
224 x2 = columnMatch.matchedLine + columnMatch.margin; in paintFreeFormDropFeedback()