Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DGCWrapper.java247 public void drawLine(int x1, int y1, int x2, int y2) { in drawLine() argument
250 x1 = mHScale.translate(x1); 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
268 int x = mHScale.translate(x1); in drawRect()
270 int w = mHScale.scale(x2 - x1); in drawRect()
292 public void fillRect(int x1, int y1, int x2, int y2) { in fillRect() argument
295 int x = mHScale.translate(x1); in fillRect()
297 int w = mHScale.scale(x2 - x1); in fillRect()
320 public void drawOval(int x1, int y1, int x2, int y2) { in drawOval() argument
[all …]
DSelectionHandles.java88 int x1 = r.x; in createHandles() local
92 int x2 = x1 + w; in createHandles()
97 x1 += insets.left; in createHandles()
103 int mx = (x1 + x2) / 2; in createHandles()
107 mHandles.add(new SelectionHandle(x1, my, Position.LEFT_MIDDLE)); in createHandles()
109 mHandles.add(new SelectionHandle(x1, y1, Position.TOP_LEFT)); in createHandles()
112 mHandles.add(new SelectionHandle(x1, y2, Position.BOTTOM_LEFT)); in createHandles()
DImageUtils.java241 int x1, y1, x2, y2; in crop() local
243 x1 = initialCrop.x; in crop()
248 x1 = 0; in crop()
255 if (x1 == x2 || y1 == y2) { in crop()
270 for (int x = x1; x < x2; x++) { in crop()
283 leftEdge: for (; x1 < x2; x1++) { in crop()
285 if (!filter.crop(image, x1, y)) { in crop()
292 rightEdge: for (; x2 > x1; x2--) { in crop()
302 for (int x = x1; x < x2; x++) { in crop()
310 if (x1 == 0 && y1 == 0 && x2 == image.getWidth() && y2 == image.getHeight()) { in crop()
[all …]
DIncludeOverlay.java82 int x1 = topLeft.x; in paint() local
87 gc.fillRectangle(x1, y1, x2 - x1, y2 - y1); in paint()
DSelectionOverlay.java204 int x1 = r.x; in paintSelection() local
210 x1 += insets.left; in paintSelection()
216 gc.drawRect(x1, y1, x2, y2); in paintSelection()
DPreviewIconFactory.java329 int x1 = parentX + info.getLeft(); in render() local
333 if (x1 != x2 && y1 != y2) { in render()
334 savePreview(file, image, x1, y1, x2, y2); in render()
DPaletteControl.java1034 int x1 = viewInfo.getLeft(); 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/
DTestGraphics.java60 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/
DGridDropHandler.java84 int x1 = p.x; in computeMatches() local
94 x1 += dragBounds.x; in computeMatches()
98 int x2 = x1 + w; in computeMatches()
101 if (x2 < bounds.x || y2 < bounds.y || x1 > bounds.x2() || y1 > bounds.y2()) { in computeMatches()
110 addLeftSideMatch(x1, columnMatches, max); in computeMatches()
112 addCenterColumnMatch(bounds, x1, y1, x2, y2, columnMatches, max); in computeMatches()
126 addColumnGapMatch(bounds, x1, x2, columnMatches, max); in computeMatches()
131 x1 = ((x1 - MARGIN_SIZE - bounds.x) / GRID_SIZE) * GRID_SIZE in computeMatches()
135 x2 = x1 + w; in computeMatches()
140 if (columnMatches.size() == 0 && x1 >= bounds.x) { in computeMatches()
[all …]
DGridLayoutPainter.java93 int x1 = b.x + MARGIN_SIZE; in paintGrid() local
95 for (int x = x1; x < x2; x += GRID_SIZE) { in paintGrid()
216 int x1; in paintFreeFormDropFeedback() local
219 x1 = offsetX + x - 1; in paintFreeFormDropFeedback()
223 x1 = bounds.w + offsetX + x - 1; in paintFreeFormDropFeedback()
226 gc.drawLine(x1, b.y, x1, b.y2()); in paintFreeFormDropFeedback()
229 x1 + (x2 - x1 - 16) / 2, centerY - 3); in paintFreeFormDropFeedback()
247 int x1 = dragBounds.x + offsetX; in paintFreeFormDropFeedback() local
249 gc.drawLine(x1, y1, x1 + dragBounds.w, y1); in paintFreeFormDropFeedback()
/sdk/find_java2/FindJava2/
DFindJava2.rc95 FONT 8, "MS Shell Dlg", 0, 0, 0x1
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DConstraintPainter.java328 int x1, y1, x2, y2; in paintCornerConstraint() local
330 x1 = sourceBounds.x + 1 * sourceBounds.w / 4; in paintCornerConstraint()
332 x1 = sourceBounds.x + 3 * sourceBounds.w / 4; in paintCornerConstraint()
351 graphics.drawArrow(x1, y1, x2, y2, ARROW_SIZE); in paintCornerConstraint()
/sdk/find_java2/WinLauncher2/
DWinLauncher2.rc115 FONT 8, "MS Shell Dlg", 0, 0, 0x1