/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | GCWrapper.java | 247 public void drawLine(int x1, int y1, int x2, int y2) { in drawLine() argument 251 y1 = mVScale.translate(y1); in drawLine() 254 getGc().drawLine(x1, y1, x2, y2); in drawLine() 265 public void drawRect(int x1, int y1, int x2, int y2) { in drawRect() argument 269 int y = mVScale.translate(y1); in drawRect() 271 int h = mVScale.scale(y2 - y1); in drawRect() 292 public void fillRect(int x1, int y1, int x2, int y2) { in fillRect() argument 296 int y = mVScale.translate(y1); in fillRect() 298 int h = mVScale.scale(y2 - y1); in fillRect() 320 public void drawOval(int x1, int y1, int x2, int y2) { in drawOval() argument [all …]
|
D | SelectionHandles.java | 89 int y1 = r.y; in createHandles() local 93 int y2 = y1 + h; in createHandles() 99 y1 += insets.top; in createHandles() 104 int my = (y1 + y2) / 2; in createHandles() 109 mHandles.add(new SelectionHandle(x1, y1, Position.TOP_LEFT)); in createHandles() 118 mHandles.add(new SelectionHandle(x2, y1, Position.TOP_RIGHT)); in createHandles() 125 mHandles.add(new SelectionHandle(mx, y1, Position.TOP_MIDDLE)); in createHandles()
|
D | ImageUtils.java | 241 int x1, y1, x2, y2; in crop() local 244 y1 = initialCrop.y; in crop() 249 y1 = 0; in crop() 255 if (x1 == x2 || y1 == y2) { in crop() 269 topEdge: for (; y1 < y2; y1++) { in crop() 271 if (!filter.crop(image, x, y1)) { in crop() 277 if (y1 == image.getHeight()) { in crop() 284 for (int y = y1; y < y2; y++) { in crop() 293 for (int y = y1; y < y2; y++) { in crop() 301 bottomEdge: for (; y2 > y1; y2--) { in crop() [all …]
|
D | IncludeOverlay.java | 83 int y1 = topLeft.y; in paint() local 87 gc.fillRectangle(x1, y1, x2 - x1, y2 - y1); in paint()
|
D | SelectionOverlay.java | 205 int y1 = r.y; in paintSelection() local 212 y1 += insets.top; in paintSelection() 216 gc.drawRect(x1, y1, x2, y2); in paintSelection()
|
D | PreviewIconFactory.java | 330 int y1 = parentY + info.getTop(); in render() local 333 if (x1 != x2 && y1 != y2) { in render() 334 savePreview(file, image, x1, y1, x2, y2); in render()
|
D | PaletteControl.java | 1037 int y1 = viewInfo.getTop(); in renderPreview() local 1038 initialCrop = new Rect(x1, y1, x2 - x1, y2 - y1); in renderPreview()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
D | TestGraphics.java | 60 public void drawLine(int x1, int y1, int x2, int y2) { in drawLine() argument 61 mDrawn.add("drawLine(" + x1 + "," + y1 + "," + x2 + "," + y2 + ")"); in drawLine() 70 public void drawRect(int x1, int y1, int x2, int y2) { in drawRect() argument 71 mDrawn.add("drawRect(" + x1 + "," + y1 + "," + x2 + "," + y2 + ")"); in drawRect() 95 public void fillRect(int x1, int y1, int x2, int y2) { in fillRect() argument 96 mDrawn.add("fillRect(" + x1 + "," + y1 + "," + x2 + "," + y2 + ")"); in fillRect() 169 public void drawArrow(int x1, int y1, int x2, int y2, int size) { in drawArrow() argument 170 mDrawn.add("drawArrow(" + x1 + "," + y1 + "," + x2 + "," + y2 + ")"); in drawArrow()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
D | GridDropHandler.java | 85 int y1 = p.y; in computeMatches() local 95 y1 += dragBounds.y; in computeMatches() 99 int y2 = y1 + h; in computeMatches() 101 if (x2 < bounds.x || y2 < bounds.y || x1 > bounds.x2() || y1 > bounds.y2()) { in computeMatches() 112 addCenterColumnMatch(bounds, x1, y1, x2, y2, columnMatches, max); in computeMatches() 115 int row = (mGrid.getViewCount() == 0) ? 0 : mGrid.getClosestRow(y1); in computeMatches() 117 addTopMatch(y1, rowMatches, max, row, rowY); in computeMatches() 118 addBaselineMatch(feedback.dragBaseline, y1, rowMatches, max, row, rowY); in computeMatches() 127 addRowGapMatch(bounds, y1, y2, rowMatches, max); in computeMatches() 133 y1 = ((y1 - MARGIN_SIZE - bounds.y) / GRID_SIZE) * GRID_SIZE in computeMatches() [all …]
|
D | GridLayoutPainter.java | 90 int y1 = b.y + MARGIN_SIZE; in paintGrid() local 92 for (int y = y1; y < y2; y += GRID_SIZE) { in paintGrid() 192 int y1; in paintFreeFormDropFeedback() local 195 y1 = offsetY + y - 1; in paintFreeFormDropFeedback() 199 y1 = bounds.h + offsetY + y - 1; in paintFreeFormDropFeedback() 202 gc.drawLine(b.x, y1, b.x2(), y1); in paintFreeFormDropFeedback() 205 centerX - 3, y1 + (y2 - y1 - 16) / 2); in paintFreeFormDropFeedback() 248 int y1 = dragBounds.y + offsetY + feedback.dragBaseline; in paintFreeFormDropFeedback() local 249 gc.drawLine(x1, y1, x1 + dragBounds.w, y1); in paintFreeFormDropFeedback()
|
D | GridModel.java | 1459 public Collection<INode> getIntersectsRow(int y1, int y2) { in getIntersectsRow() argument 1465 if (bounds.y2() >= y1 && bounds.y <= y2) { in getIntersectsRow()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
D | ConstraintPainter.java | 328 int x1, y1, x2, y2; in paintCornerConstraint() local 335 y1 = sourceBounds.y + 1 * sourceBounds.h / 4; in paintCornerConstraint() 337 y1 = sourceBounds.y + 3 * sourceBounds.h / 4; in paintCornerConstraint() 351 graphics.drawArrow(x1, y1, x2, y2, ARROW_SIZE); in paintCornerConstraint()
|