Home
last modified time | relevance | path

Searched refs:offsetY (Results 1 – 10 of 10) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridLayoutPainter.java171 int offsetY = 0; in paintFreeFormDropFeedback() local
173 offsetY -= dragBounds.h; in paintFreeFormDropFeedback()
175 offsetY -= feedback.dragBaseline; in paintFreeFormDropFeedback()
195 y1 = offsetY + y - 1; in paintFreeFormDropFeedback()
199 y1 = bounds.h + offsetY + y - 1; in paintFreeFormDropFeedback()
215 int centerY = bounds.h / 2 + offsetY + y; in paintFreeFormDropFeedback()
240 offsetY += y - bounds.y; in paintFreeFormDropFeedback()
244 mRule.drawElement(gc, first, offsetX, offsetY); in paintFreeFormDropFeedback()
248 int y1 = dragBounds.y + offsetY + feedback.dragBaseline; 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/relative/
DMoveHandler.java180 int offsetX, int offsetY, int modifierMask) { in updateMove() argument
192 mBounds = new Rect(offsetX, offsetY, firstBounds.w, firstBounds.h); in updateMove()
239 edge = new Segment(offsetY + baseline, b.x, b.x2(), null, null, BASELINE, in updateMove()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DFrameLayoutRule.java101 int offsetY = b.y - currBounds.y;
102 drawElement(gc, it, offsetX, offsetY);
DAbsoluteLayoutRule.java112 int offsetY = y - be.y + (feedback.dragBounds != null ? feedback.dragBounds.y : 0); in drawFeedback() local
115 drawElement(gc, element, offsetX, offsetY); in drawFeedback()
DLinearLayoutRule.java432 int offsetY;
435 offsetY = currY - be.y - (isLast ? 0 : (be.h / 2));
439 offsetY = b.y - be.y;
463 py = bounds.y + offsetY;
469 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.java165 int offsetY = p.y + (feedback.dragBounds != null ? feedback.dragBounds.y : 0); in onDropMove() local
166 state.updateMove(feedback, elements, offsetX, offsetY, feedback.modifierMask); in onDropMove()
/sdk/traceview/src/com/android/traceview/
DTimeLineView.java623 int offsetY = rowYMarginHalf - mScrollOffsetY; in draw() local
626 int y1 = rd.mRank * rowYSpace + offsetY; in draw()
2029 int offsetY = mScrollOffsetY; in computeVisibleRows() local
2031 if (offsetY + ydim > spaceNeeded) { in computeVisibleRows()
2032 offsetY = spaceNeeded - ydim; in computeVisibleRows()
2033 if (offsetY < 0) { in computeVisibleRows()
2034 offsetY = 0; in computeVisibleRows()
2037 mStartRow = offsetY / rowYSpace; in computeVisibleRows()
2038 mEndRow = (offsetY + ydim) / rowYSpace; in computeVisibleRows()
2043 return offsetY; in computeVisibleRows()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DGestureManager.java839 e.offsetY = -deltaY; in dragStart()
DPaletteControl.java899 event.offsetY = (int) (scale * mImageLayoutBounds.height / 2); in createDragImage()