Searched refs:sourceX (Results 1 – 1 of 1) sorted by relevance
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
D | ConstraintPainter.java | 622 int sourceX = sourceSegmentTypeX.getX(sourceNode, sourceBounds); in paintHorizontalConstraint() local 624 sourceX : targetSegmentTypeX.getX(targetNode, targetBounds); in paintHorizontalConstraint() 642 if (sourceX > sharedX + 2) { // Skip when source falls on the margin line in paintHorizontalConstraint() 646 graphics.drawArrow(sourceX, center, sharedX + 2, center, ARROW_SIZE); in paintHorizontalConstraint() 652 graphics.drawArrow(targetX, center, sourceX, center, ARROW_SIZE); in paintHorizontalConstraint() 657 if (sourceX < sharedX - 2) { in paintHorizontalConstraint() 661 graphics.drawArrow(sourceX, center, sharedX - 3, center, ARROW_SIZE); in paintHorizontalConstraint() 665 graphics.drawArrow(targetX, center, sourceX, center, ARROW_SIZE); in paintHorizontalConstraint() 670 if (sourceX == targetX) { in paintHorizontalConstraint() 672 sourceX -= 2 * ARROW_SIZE; in paintHorizontalConstraint() [all …]
|