/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
D | RelativeLayoutRuleTest.java | 29 protected INode dragInto(Rect dragBounds, Point dragPoint, Point secondDragPoint, in dragInto() argument 43 return super.dragInto(new RelativeLayoutRule(), layout, dragBounds, dragPoint, in dragInto() 47 protected INode dragInto(Rect dragBounds, Point dragPoint, Point secondDragPoint, in dragInto() argument 57 return dragInto(dragBounds, dragPoint, secondDragPoint, insertIndex, in dragInto()
|
D | FrameLayoutRuleTest.java | 26 protected void dragInto(Rect dragBounds, Point dragPoint, int insertIndex, int currentIndex, in dragInto() argument 39 super.dragInto(new FrameLayoutRule(), layout, dragBounds, dragPoint, null, in dragInto()
|
D | AbsoluteLayoutRuleTest.java | 28 protected INode dragInto(Rect dragBounds, Point dragPoint, int insertIndex, int currentIndex, in dragInto() argument 41 return super.dragInto(new AbsoluteLayoutRule(), layout, dragBounds, dragPoint, null, in dragInto()
|
D | LinearLayoutRuleTest.java | 46 protected void dragIntoEmpty(Rect dragBounds) { in dragIntoEmpty() argument 47 boolean haveBounds = dragBounds.isValid(); in dragIntoEmpty() 56 "android.widget.Button", dragBounds).id("@+id/Button01")); in dragIntoEmpty() 104 protected INode dragInto(boolean vertical, Rect dragBounds, Point dragPoint, in dragInto() argument 121 return super.dragInto(new LinearLayoutRule(), linearLayout, dragBounds, dragPoint, null, in dragInto()
|
D | LayoutTestBase.java | 68 protected INode dragInto(IViewRule rule, INode targetNode, Rect dragBounds, Point dropPoint, in dragInto() argument 76 "android.widget.Button", dragBounds).id(draggedButtonId)); in dragInto()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
D | AbsoluteLayoutRule.java | 111 int offsetX = x - be.x + (feedback.dragBounds != null ? feedback.dragBounds.x : 0); in drawFeedback() 112 int offsetY = y - be.y + (feedback.dragBounds != null ? feedback.dragBounds.y : 0); in drawFeedback() 179 int deltaX = (feedback.dragBounds != null ? feedback.dragBounds.x : 0); in onDropped() 180 int deltaY = (feedback.dragBounds != null ? feedback.dragBounds.y : 0); in onDropped()
|
D | RelativeLayoutRule.java | 164 int offsetX = p.x + (feedback.dragBounds != null ? feedback.dragBounds.x : 0); in onDropMove() 165 int offsetY = p.y + (feedback.dragBounds != null ? feedback.dragBounds.y : 0); in onDropMove()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
D | GridLayoutPainter.java | 169 Rect dragBounds = first.getBounds(); in paintFreeFormDropFeedback() local 173 offsetY -= dragBounds.h; in paintFreeFormDropFeedback() 178 offsetX -= dragBounds.w; in paintFreeFormDropFeedback() 180 offsetX -= dragBounds.w / 2; in paintFreeFormDropFeedback() 247 int x1 = dragBounds.x + offsetX; in paintFreeFormDropFeedback() 248 int y1 = dragBounds.y + offsetY + feedback.dragBaseline; in paintFreeFormDropFeedback() 249 gc.drawLine(x1, y1, x1 + dragBounds.w, y1); in paintFreeFormDropFeedback() 295 Rect dragBounds = first.getBounds(); in paintGridModeDropFeedback() local 296 int offsetX = cellBounds.x - dragBounds.x; in paintGridModeDropFeedback() 297 int offsetY = cellBounds.y - dragBounds.y; in paintGridModeDropFeedback() [all …]
|
D | GridDropHandler.java | 87 Rect dragBounds = feedback.dragBounds; in computeMatches() local 88 int w = dragBounds != null ? dragBounds.w : 0; in computeMatches() 89 int h = dragBounds != null ? dragBounds.h : 0; in computeMatches() 91 if (dragBounds != null) { in computeMatches() 94 x1 += dragBounds.x; in computeMatches() 95 y1 += dragBounds.y; in computeMatches() 212 && dragBounds != null && dragBounds.w < cellWidth - 10) { in computeMatches() 223 && dragBounds != null && dragBounds.h < cellHeight - 10) { in computeMatches()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | GlobalCanvasDragInfo.java | 161 public void setDragBounds(Rect dragBounds) { in setDragBounds() argument 162 mDragBounds = dragBounds; in setDragBounds()
|
D | MoveGesture.java | 552 Rect dragBounds = null; in updateDropFeedback() local 563 dragBounds = new Rect(x, y, w, h); in updateDropFeedback() 569 df.dragBounds = dragBounds; in updateDropFeedback()
|
D | GestureManager.java | 870 Rect dragBounds = null; in dragStart() local 873 dragBounds = new Rect(deltaX, deltaY, width, height); in dragStart() 874 dragInfo.setDragBounds(dragBounds); in dragStart()
|
D | PaletteControl.java | 759 Rect dragBounds = null; in dragStart() local 773 dragBounds = new Rect(x, y, scaledWidth, scaledHeight); in dragStart() 794 dragInfo.setDragBounds(dragBounds); in dragStart()
|