Home
last modified time | relevance | path

Searched refs:offsetX (Results 1 – 9 of 9) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridLayoutPainter.java170 int offsetX = 0; in paintFreeFormDropFeedback() local
178 offsetX -= dragBounds.w; in paintFreeFormDropFeedback()
180 offsetX -= dragBounds.w / 2; in paintFreeFormDropFeedback()
191 int centerX = bounds.w / 2 + offsetX + x; in paintFreeFormDropFeedback()
219 x1 = offsetX + x - 1; in paintFreeFormDropFeedback()
223 x1 = bounds.w + offsetX + x - 1; in paintFreeFormDropFeedback()
239 offsetX += x - bounds.x; in paintFreeFormDropFeedback()
244 mRule.drawElement(gc, first, offsetX, offsetY); in paintFreeFormDropFeedback()
247 int x1 = dragBounds.x + offsetX; in paintFreeFormDropFeedback()
254 gc.drawRect(b.x + offsetX, b.y + offsetY, in paintFreeFormDropFeedback()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DFrameLayoutRule.java100 int offsetX = b.x - currBounds.x;
102 drawElement(gc, it, offsetX, offsetY);
DAbsoluteLayoutRule.java111 int offsetX = x - be.x + (feedback.dragBounds != null ? feedback.dragBounds.x : 0); in drawFeedback() local
115 drawElement(gc, element, offsetX, offsetY); in drawFeedback()
DLinearLayoutRule.java434 int offsetX;
437 offsetX = b.x - be.x;
441 offsetX = currX - be.x - (isLast ? 0 : (be.w / 2));
459 px = bounds.x + offsetX;
472 drawElement(gc, element, offsetX, offsetY);
DBaseLayoutRule.java313 public void drawElement(IGraphics gc, IDragElement element, int offsetX, int offsetY) { in drawElement() argument
316 gc.drawRect(b.x + offsetX, b.y + offsetY, b.x + offsetX + b.w, b.y + offsetY + b.h); in drawElement()
320 drawElement(gc, inner, offsetX, offsetY); in drawElement()
DRelativeLayoutRule.java164 int offsetX = p.x + (feedback.dragBounds != null ? feedback.dragBounds.x : 0); in onDropMove() local
166 state.updateMove(feedback, elements, offsetX, offsetY, feedback.modifierMask); in onDropMove()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DMoveHandler.java180 int offsetX, int offsetY, int modifierMask) { in updateMove() argument
192 mBounds = new Rect(offsetX, offsetY, firstBounds.w, firstBounds.h); in updateMove()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DGestureManager.java865 e.offsetX = -deltaX; in dragStart()
DPaletteControl.java901 event.offsetX = (int) (scale * mImageLayoutBounds.width / 2); in createDragImage()