/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 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 …]
|
D | SelectionHandles.java | 88 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()
|
D | ImageUtils.java | 236 int x1, y1, x2, y2; in crop() local 238 x1 = initialCrop.x; in crop() 243 x1 = 0; in crop() 250 if (x1 == x2 || y1 == y2) { in crop() 265 for (int x = x1; x < x2; x++) { in crop() 278 leftEdge: for (; x1 < x2; x1++) { in crop() 280 if (!filter.crop(image, x1, y)) { in crop() 287 rightEdge: for (; x2 > x1; x2--) { in crop() 297 for (int x = x1; x < x2; x++) { in crop() 305 if (x1 == 0 && y1 == 0 && x2 == image.getWidth() && y2 == image.getHeight()) { in crop() [all …]
|
D | IncludeOverlay.java | 82 int x1 = topLeft.x; in paint() local 87 gc.fillRectangle(x1, y1, x2 - x1, y2 - y1); in paint()
|
D | SelectionOverlay.java | 204 int x1 = r.x; in paintSelection() local 210 x1 += insets.left; in paintSelection() 216 gc.drawRect(x1, y1, x2, y2); in paintSelection()
|
D | PreviewIconFactory.java | 329 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()
|
D | PaletteControl.java | 1034 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/ |
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 | 83 int x1 = p.x; in computeMatches() local 91 x1 += dragBounds.x; in computeMatches() 97 int x2 = x1 + w; in computeMatches() 100 if (x2 < bounds.x || y2 < bounds.y || x1 > bounds.x2() || y1 > bounds.y2()) { in computeMatches() 109 addLeftSideMatch(x1, columnMatches, max); in computeMatches() 111 addCenterColumnMatch(bounds, x1, y1, x2, y2, columnMatches, max); in computeMatches() 125 addColumnGapMatch(bounds, x1, x2, columnMatches, max); in computeMatches() 130 x1 = ((x1 - MARGIN_SIZE - bounds.x) / GRID_SIZE) * GRID_SIZE in computeMatches() 134 x2 = x1 + w; in computeMatches() 139 if (columnMatches.size() == 0 && x1 >= bounds.x) { in computeMatches() [all …]
|
D | GridLayoutPainter.java | 93 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/rule_api/src/com/android/ide/common/api/ |
D | IGraphics.java | 43 void drawLine(int x1, int y1, int x2, int y2); in drawLine() argument 60 void drawArrow(int x1, int y1, int x2, int y2, int size); in drawArrow() argument 74 void drawRect(int x1, int y1, int x2, int y2); in drawRect() argument 92 void fillRect(int x1, int y1, int x2, int y2); in fillRect() argument
|
/sdk/traceview/src/com/android/traceview/ |
D | TimeLineView.java | 628 int x1 = dim.x - extent.x - labelMarginX; in draw() local 629 gcImage.drawString(rd.mName, x1, y1, true); in draw() 816 int x1 = dim.x - RightMargin - extent.x; in drawTickLegend() local 817 gc.drawString(info, x1, 1, true); in drawTickLegend() 825 int x1 = LeftMargin; in drawMethod() local 829 gc.fillRectangle(x1, y1, width, mSmallFontHeight); in drawMethod() 830 x1 += width + METHOD_BLOCK_MARGIN; in drawMethod() 831 gc.drawString(mMethodName, x1, y1, true); in drawMethod() 839 int x1 = LeftMargin + 2 * mSmallFontWidth + METHOD_BLOCK_MARGIN; in drawDetails() local 841 gc.drawString(mDetails, x1, y1, true); in drawDetails() [all …]
|
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/ |
D | LayoutViewer.java | 157 int x1 = Math.max(left, clipX); in updateSelection() local 161 clipX = x1; in updateSelection() 163 clipWidth = x2 - x1; in updateSelection() 266 int x1 = Math.max(parentClipping.x, left); in paintRecursive() local 277 if (x2 <= x1 || y2 <= y1) { in paintRecursive() 280 gc.setClipping(x1, y1, x2 - x1, y2 - y1); in paintRecursive()
|
D | TreeViewOverview.java | 268 float x1 = node.left + DrawableViewNode.NODE_WIDTH; in paintRecursive() local 273 float cx1 = x1 + TreeView.BEZIER_FRACTION * DrawableViewNode.PARENT_CHILD_SPACING; in paintRecursive() 277 connectionPath.moveTo(x1, y1); in paintRecursive()
|
D | TreeView.java | 890 float x1 = node.left + DrawableViewNode.NODE_WIDTH; in paintRecursive() local 894 float cx1 = x1 + BEZIER_FRACTION * DrawableViewNode.PARENT_CHILD_SPACING; in paintRecursive() 898 connectionPath.moveTo(x1, y1); in paintRecursive()
|
/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 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/templates/activities/FullscreenActivity/root/src/app_package/util/ |
D | SystemUiHider.java.ftl | 39 public static final int FLAG_LAYOUT_IN_SCREEN_OLDER_DEVICES = 0x1;
|