Home | History | Annotate | Download | only in relative

Lines Matching refs:sourceY

392         int sourceY = sourceSegmentTypeY.getY(sourceNode, sourceBounds);
394 UNKNOWN ? sourceY : targetSegmentTypeY.getY(targetNode, targetBounds);
443 if (sourceY > sharedY + 2) { // Skip when source falls on the margin line
447 graphics.drawArrow(center, sourceY, center, sharedY + 2, ARROW_SIZE);
453 graphics.drawArrow(center, targetY, center, sourceY, ARROW_SIZE);
458 if (sourceY < sharedY - 2) {
462 graphics.drawArrow(center, sourceY, center, sharedY - 3, ARROW_SIZE);
466 graphics.drawArrow(center, targetY, center, sourceY, ARROW_SIZE);
480 if (sourceY == targetY) {
482 sourceY -= 2 * ARROW_SIZE;
484 sourceY += 2 * ARROW_SIZE;
487 sourceY += sourceBounds.h / 2 - 2 * ARROW_SIZE;
490 sourceY = targetY - 2 * ARROW_SIZE;
495 graphics.drawArrow(center, sourceY, center, targetY, ARROW_SIZE);
533 UNKNOWN ? sourceY : targetSegmentTypeY.getY(targetNode, targetBounds);
560 if (Math.abs(sharedY - sourceY) < 2 * ARROW_SIZE) {
562 sourceY = sharedY - 2 * ARROW_SIZE;
564 sharedY = sourceY;
565 sourceY = sharedY + 2 * ARROW_SIZE;
567 sharedY = sourceY;
568 sourceY = sharedY - 2 * ARROW_SIZE;
577 graphics.drawArrow(x, sourceY, x, sharedY, ARROW_SIZE);