Home
last modified time | relevance | path

Searched refs:SelectionHandle (Results 1 – 6 of 6) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSelectionHandles.java22 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SelectionHandle.Position;
35 public class SelectionHandles implements Iterable<SelectionHandle> {
37 private List<SelectionHandle> mHandles;
59 public SelectionHandle findHandle(LayoutPoint point, int distance) { in findHandle()
60 for (SelectionHandle handle : mHandles) { in findHandle()
83 mHandles = new ArrayList<SelectionHandle>(8); 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()
116 mHandles.add(new SelectionHandle(x2, my, Position.RIGHT_MIDDLE)); in createHandles()
[all …]
DSelectionHandle.java24 public class SelectionHandle { class
100 public SelectionHandle(int centerX, int centerY, Position position) { in SelectionHandle() method in SelectionHandle
DResizeGesture.java23 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SelectionHandle.Position;
46 private SelectionHandle mHandle;
62 public ResizeGesture(LayoutCanvas canvas, SelectionItem item, SelectionHandle handle) { in ResizeGesture()
223 private static SegmentType getHorizontalEdgeType(SelectionHandle handle) { in getHorizontalEdgeType()
241 private static SegmentType getVerticalEdgeType(SelectionHandle handle) { in getVerticalEdgeType()
DSelectionOverlay.java236 int radius = SelectionHandle.PIXEL_RADIUS; in paintSelection()
238 for (SelectionHandle handle : item.getSelectionHandles()) { in paintSelection()
DGestureManager.java319 Pair<SelectionItem, SelectionHandle> handlePair = in updateCursor()
322 SelectionHandle handle = handlePair.getSecond(); in updateCursor()
474 Pair<SelectionItem, SelectionHandle> handlePair = in mouseUp()
727 Pair<SelectionItem, SelectionHandle> handle = in dragStart()
DSelectionManager.java23 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.SelectionHandle.PIXEL_MARGIN;
24 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.SelectionHandle.PIXEL_RADIUS;
1109 public Pair<SelectionItem, SelectionHandle> findHandle(ControlPoint controlPoint) { in findHandle()
1117 SelectionHandle handle = handles.findHandle(layoutPoint, distance); in findHandle()