Home
last modified time | relevance | path

Searched refs:centerY (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.java88 public final int centerY; field in SelectionHandle
100 public SelectionHandle(int centerX, int centerY, Position position) { in SelectionHandle() argument
103 this.centerY = centerY; in SelectionHandle()
120 && point.y >= centerY - distance in contains()
121 && point.y <= centerY + distance); in contains()
DSelectionOverlay.java240 int cy = verticalTransform.translate(handle.centerY); in paintSelection()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DConstraintPainter.java733 int ty = targetBounds.centerY(); in paintHorizontalConstraint()
763 graphics.drawLine(targetBounds.x, targetBounds.centerY(), in paintVerticalCenterConstraint()
764 targetBounds.x2(), targetBounds.centerY()); in paintVerticalCenterConstraint()
766 graphics.drawLine(sourceBounds.x, sourceBounds.centerY(), in paintVerticalCenterConstraint()
767 sourceBounds.x2(), sourceBounds.centerY()); in paintVerticalCenterConstraint()
DMoveHandler.java223 edge = new Segment(b.centerY(), b.x, b.x2(), null, null, CENTER_HORIZONTAL, NO_MARGIN); in updateMove()
DGuidelineHandler.java366 mCenterHorizEdges.add(new Segment(b.centerY(), b.x, b.x2(), in addCenter()
/sdk/rule_api/src/com/android/ide/common/api/
DRect.java179 public int centerY() { in centerY() method in Rect
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridLayoutPainter.java215 int centerY = bounds.h / 2 + offsetY + y; in paintFreeFormDropFeedback() local
229 x1 + (x2 - x1 - 16) / 2, centerY - 3); in paintFreeFormDropFeedback()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/api/
DRectTest.java264 assertEquals(40, r.centerY()); in testCenter()