HomeSort by relevance Sort by last modified time
    Searched refs:matchedLine (Results 1 - 3 of 3) sorted by null

  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
GridMatch.java 42 public int matchedLine;
53 * @param matchedLine the actual X or Y location of the ideal match
56 * matchedLine position
59 GridMatch(SegmentType type, int distance, int matchedLine, int cellIndex,
64 this.matchedLine = matchedLine;
104 return String.format("Align left at x=%1$d", matchedLine - layout.getBounds().x);
109 return String.format("Align right at x=%1$d", matchedLine - layout.getBounds().x);
120 return String.format("Align top at y=%1d", matchedLine - layout.getBounds().y);
125 return String.format("Align bottom at y=%1d", matchedLine - layout.getBounds().y)
    [all...]
GridDropHandler.java 296 int matchedLine = bounds.centerX();
297 int distance = abs((x1 + x2) / 2 - matchedLine);
301 matchedLine, 0 /* column */, createCell, UNDEFINED));
356 int matchedLine = bounds.x + MARGIN_SIZE;
357 int distance = abs(matchedLine - x1);
359 boolean createCell = mGrid.getColumnX(mGrid.getColumn(matchedLine)) != matchedLine;
360 columnMatches.add(new GridMatch(SegmentType.LEFT, distance, matchedLine,
364 int matchedLine = bounds.x2() - MARGIN_SIZE;
365 int distance = abs(matchedLine - x2)
    [all...]
GridLayoutPainter.java 184 int y = rowMatch.matchedLine;
185 int x = columnMatch.matchedLine;
196 y2 = rowMatch.matchedLine - rowMatch.margin;
200 y2 = rowMatch.matchedLine + rowMatch.margin;
220 x2 = columnMatch.matchedLine - columnMatch.margin;
224 x2 = columnMatch.matchedLine + columnMatch.margin;

Completed in 207 milliseconds