Home
last modified time | relevance | path

Searched refs:ControlPoint (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/
DControlPointTest.java25 ControlPoint point = ControlPoint.create(mCanvas, mouseEvent); in testCreateFromMouseEvent()
31 ControlPoint point = ControlPoint.create(mCanvas, 10, 20); in testCreateFromCoordinates()
37 ControlPoint point = ControlPoint.create(new TestLayoutCanvas(), 10, 20); in testConvertToLayout()
47 ControlPoint controlPoint = layoutPoint.toControl(); in testConvertToLayout()
56 ControlPoint point1 = ControlPoint.create(mCanvas, 1, 1); in testEquals()
57 ControlPoint point2 = ControlPoint.create(mCanvas, 1, 2); in testEquals()
58 ControlPoint point3 = ControlPoint.create(mCanvas, 2, 1); in testEquals()
59 ControlPoint point2b = ControlPoint.create(mCanvas, 1, 2); in testEquals()
DLayoutPointTest.java50 ControlPoint controlPoint = point.toControl(); in testConvertToControl()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DControlPoint.java32 public final class ControlPoint { class
54 public static ControlPoint create(LayoutCanvas canvas, MouseEvent event) { in create()
58 return new ControlPoint(canvas, event.x, event.y); in create()
69 public static ControlPoint create(LayoutCanvas canvas, MenuDetectEvent event) { in create()
72 return new ControlPoint(canvas, p.x, p.y); in create()
87 public static ControlPoint create(LayoutCanvas canvas, DragSourceEvent event) { in create()
90 return new ControlPoint(canvas, event.x, event.y); in create()
102 public static ControlPoint create(LayoutCanvas canvas, DropTargetEvent event) { in create()
106 return new ControlPoint(canvas, p.x, p.y); in create()
119 public static ControlPoint create(LayoutCanvas canvas, int x, int y) { in create()
[all …]
DGesture.java73 protected ControlPoint mStart;
98 public void begin(ControlPoint pos, int startMask) { in begin()
109 public void update(ControlPoint pos) { in update()
121 public void end(ControlPoint pos, boolean canceled) { in end()
DGestureManager.java250 private void startGesture(ControlPoint mousePos, Gesture gesture, int mask) { in startGesture()
272 private void updateMouse(ControlPoint mousePos, TypedEvent event) { in updateMouse()
286 private void finishGesture(ControlPoint mousePos, boolean canceled) { in finishGesture()
313 void updateCursor(ControlPoint controlPoint) { in updateCursor()
409 public ControlPoint getCurrentControlPoint() { in getCurrentControlPoint()
410 return ControlPoint.create(mCanvas, mLastMouseX, mLastMouseY); in getCurrentControlPoint()
448 ControlPoint controlPoint = ControlPoint.create(mCanvas, e); in mouseMove()
465 ControlPoint mousePos = ControlPoint.create(mCanvas, e); in mouseUp()
511 LayoutPoint p = ControlPoint.create(mCanvas, e).toLayout(); in mouseDoubleClick()
523 ControlPoint mousePos = ControlPoint.create(mCanvas, e); in mouseEnter()
[all …]
DLayoutPoint.java57 return ControlPoint.create(canvas, event).toLayout(); in create()
75 return ControlPoint.create(canvas, event).toLayout(); in create()
111 public ControlPoint toControl() { in toControl()
115 return ControlPoint.create(mCanvas, cx, cy); in toControl()
DMarqueeGesture.java67 public void update(ControlPoint pos) { in update()
80 LayoutPoint topLeft = ControlPoint.create(mCanvas, x, y).toLayout(); in update()
81 LayoutPoint bottomRight = ControlPoint.create(mCanvas, x + w, y + h).toLayout(); in update()
DResizeGesture.java74 public void begin(ControlPoint pos, int startMask) { in begin()
107 public void update(ControlPoint pos) { in update()
118 public void end(ControlPoint pos, boolean canceled) { in end()
141 private Rect getNewBounds(ControlPoint pos) { in getNewBounds()
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()
DMoveGesture.java129 public void begin(ControlPoint pos, int startMask) { in begin()
137 public void end(ControlPoint pos, boolean canceled) { in end()
611 private ControlPoint getDropLocation(DropTargetEvent event) { in getDropLocation()
612 return ControlPoint.create(mCanvas, event); in getDropLocation()
DLintTooltipManager.java148 LayoutPoint p = ControlPoint.create(mCanvas, event.x, event.y).toLayout(); in computeNodes()
DViewHierarchy.java245 ControlPoint imageSize = ControlPoint.create(mCanvas, in createMergeInfo()
DRenderPreviewManager.java1368 RenderPreview getPreview(ControlPoint mousePos) { in getPreview()
1429 public void moved(ControlPoint mousePos) { in moved()
1448 public void enter(ControlPoint mousePos) { in enter()
1457 public void exit(ControlPoint mousePos) { in exit()
1472 public boolean click(ControlPoint mousePos) { in click()
DSelectionManager.java306 LayoutPoint p = ControlPoint.create(mCanvas, e).toLayout(); in menuClick()
345 LayoutPoint p = ControlPoint.create(mCanvas, e).toLayout(); in select()
1109 public Pair<SelectionItem, SelectionHandle> findHandle(ControlPoint controlPoint) { in findHandle()
DLayoutCanvas.java1099 LayoutPoint p = ControlPoint.create(this, e).toLayout(); in hover()