Home
last modified time | relevance | path

Searched refs:centerX (Results 1 – 8 of 8) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSelectionHandle.java86 public final int centerX; field in SelectionHandle
100 public SelectionHandle(int centerX, int centerY, Position position) { in SelectionHandle() argument
102 this.centerX = centerX; in SelectionHandle()
118 return (point.x >= centerX - distance in contains()
119 && point.x <= centerX + distance in contains()
DSelectionOverlay.java239 int cx = horizontalTransform.translate(handle.centerX); in paintSelection()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DConstraintPainter.java580 int tx = targetBounds.centerX(); in paintVerticalConstraint()
777 graphics.drawLine(targetBounds.centerX(), targetBounds.y, in paintHorizontalCenterConstraint()
778 targetBounds.centerX(), targetBounds.y2()); in paintHorizontalCenterConstraint()
780 graphics.drawLine(sourceBounds.centerX(), sourceBounds.y, in paintHorizontalCenterConstraint()
781 sourceBounds.centerX(), sourceBounds.y2()); in paintHorizontalCenterConstraint()
DMoveHandler.java221 edge = new Segment(b.centerX(), b.y, b.y2(), null, null, CENTER_VERTICAL, NO_MARGIN); in updateMove()
DGuidelineHandler.java370 mCenterVertEdges.add(new Segment(b.centerX(), b.y, b.y2(), in addCenter()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridLayoutPainter.java191 int centerX = bounds.w / 2 + offsetX + x; in paintFreeFormDropFeedback() local
205 centerX - 3, y1 + (y2 - y1 - 16) / 2); in paintFreeFormDropFeedback()
DGridDropHandler.java296 int matchedLine = bounds.centerX(); in addCenterColumnMatch()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/api/
DRectTest.java292 assertEquals(25, r.centerX()); in testCenter()