Home
last modified time | relevance | path

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/
DLayoutPointTest.java21 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()
DControlPointTest.java41 LayoutPoint layoutPoint = point.toLayout(); in testConvertToLayout()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutPoint.java31 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()
DViewHierarchy.java248 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()
DControlPoint.java147 public LayoutPoint toLayout() { in toLayout()
151 return LayoutPoint.create(mCanvas, lx, ly); in toLayout()
DMarqueeGesture.java80 LayoutPoint topLeft = ControlPoint.create(mCanvas, x, y).toLayout(); in update()
81 LayoutPoint bottomRight = ControlPoint.create(mCanvas, x + w, y + h).toLayout(); in update()
DIncludeOverlay.java79 ControlPoint topLeft = LayoutPoint.create(mCanvas, mask.x, mask.y).toControl(); in paint()
80 ControlPoint bottomRight = LayoutPoint.create(mCanvas, mask.x + mask.width, in paint()
DSelectionHandle.java117 public boolean contains(LayoutPoint point, int distance) { in contains()
DResizeGesture.java142 LayoutPoint p = pos.toLayout(); in getNewBounds()
143 LayoutPoint start = mStart.toLayout(); in getNewBounds()
DGestureManager.java332 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()
DSelectionHandles.java59 public SelectionHandle findHandle(LayoutPoint point, int distance) { in findHandle()
DSelectionManager.java306 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()
DLintTooltipManager.java148 LayoutPoint p = ControlPoint.create(mCanvas, event.x, event.y).toLayout(); in computeNodes()
DMoveGesture.java348 final LayoutPoint canvasPoint = getDropLocation(event).toLayout(); in drop()
629 LayoutPoint p = getDropLocation(event).toLayout(); in processDropEvent()
DLayoutCanvas.java1099 LayoutPoint p = ControlPoint.create(this, e).toLayout(); in hover()