Searched refs:LayoutPoint (Results 1 – 15 of 15) sorted by relevance
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | LayoutPointTest.java | 21 LayoutPoint point = LayoutPoint.create(mCanvas, 10, 20); in testCreateFromCoordinates() 27 LayoutPoint point1 = LayoutPoint.create(mCanvas, 1, 1); in testEquals() 28 LayoutPoint point2 = LayoutPoint.create(mCanvas, 1, 2); in testEquals() 29 LayoutPoint point3 = LayoutPoint.create(mCanvas, 2, 1); in testEquals() 30 LayoutPoint point2b = LayoutPoint.create(mCanvas, 1, 2); in testEquals() 46 LayoutPoint point = LayoutPoint.create(new TestLayoutCanvas(), 10, 20); in testConvertToControl() 56 LayoutPoint layoutPoint = controlPoint.toLayout(); in testConvertToControl()
|
D | ControlPointTest.java | 41 LayoutPoint layoutPoint = point.toLayout(); in testConvertToLayout()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | LayoutPoint.java | 31 public final class LayoutPoint { class 53 public static LayoutPoint create(LayoutCanvas canvas, MouseEvent event) { in create() 72 public static LayoutPoint create(LayoutCanvas canvas, DragSourceEvent event) { in create() 87 public static LayoutPoint create(LayoutCanvas canvas, int x, int y) { in create() 88 return new LayoutPoint(canvas, x, y); in create() 98 private LayoutPoint(LayoutCanvas canvas, int x, int y) { in LayoutPoint() method in LayoutPoint 149 LayoutPoint other = (LayoutPoint) obj; in equals()
|
D | ViewHierarchy.java | 248 LayoutPoint layoutSize = imageSize.toLayout(); in createMergeInfo() 392 LayoutPoint topLeft, in findWithin() 393 LayoutPoint bottomRight) { in findWithin() 470 public CanvasViewInfo findViewInfoAt(LayoutPoint p) { in findViewInfoAt() 486 private CanvasViewInfo findViewInfoAt_Recursive(LayoutPoint p, CanvasViewInfo canvasViewInfo) { in findViewInfoAt_Recursive() 521 /* package */ List<CanvasViewInfo> findAltViewInfoAt(LayoutPoint p) { in findAltViewInfoAt() 534 LayoutPoint p, CanvasViewInfo parent, List<CanvasViewInfo> outList) { in findAltViewInfoAt_Recursive()
|
D | ControlPoint.java | 147 public LayoutPoint toLayout() { in toLayout() 151 return LayoutPoint.create(mCanvas, lx, ly); in toLayout()
|
D | MarqueeGesture.java | 80 LayoutPoint topLeft = ControlPoint.create(mCanvas, x, y).toLayout(); in update() 81 LayoutPoint bottomRight = ControlPoint.create(mCanvas, x + w, y + h).toLayout(); in update()
|
D | IncludeOverlay.java | 79 ControlPoint topLeft = LayoutPoint.create(mCanvas, mask.x, mask.y).toControl(); in paint() 80 ControlPoint bottomRight = LayoutPoint.create(mCanvas, mask.x + mask.width, in paint()
|
D | SelectionHandle.java | 117 public boolean contains(LayoutPoint point, int distance) { in contains()
|
D | ResizeGesture.java | 142 LayoutPoint p = pos.toLayout(); in getNewBounds() 143 LayoutPoint start = mStart.toLayout(); in getNewBounds()
|
D | GestureManager.java | 332 LayoutPoint layoutPoint = controlPoint.toLayout(); in updateCursor() 511 LayoutPoint p = ControlPoint.create(mCanvas, e).toLayout(); in mouseDoubleClick() 721 LayoutPoint p = LayoutPoint.create(mCanvas, e); in dragStart()
|
D | SelectionHandles.java | 59 public SelectionHandle findHandle(LayoutPoint point, int distance) { in findHandle()
|
D | SelectionManager.java | 306 LayoutPoint p = ControlPoint.create(mCanvas, e).toLayout(); in menuClick() 345 LayoutPoint p = ControlPoint.create(mCanvas, e).toLayout(); in select() 576 public void selectWithin(LayoutPoint topLeft, LayoutPoint bottomRight, in selectWithin() 1111 LayoutPoint layoutPoint = controlPoint.toLayout(); in findHandle()
|
D | LintTooltipManager.java | 148 LayoutPoint p = ControlPoint.create(mCanvas, event.x, event.y).toLayout(); in computeNodes()
|
D | MoveGesture.java | 348 final LayoutPoint canvasPoint = getDropLocation(event).toLayout(); in drop() 629 LayoutPoint p = getDropLocation(event).toLayout(); in processDropEvent()
|
D | LayoutCanvas.java | 1099 LayoutPoint p = ControlPoint.create(this, e).toLayout(); in hover()
|