Lines Matching refs:coordinate
1299 // Compute the number of pixels the pointer's y-coordinate is past the view.
1401 // Adjust the y-coordinate of the origin the opposite number of pixels so that the
1801 * The location of a coordinate relative to items. This class represents a general area of the
1808 * Tracking a coordinate (e.g., an x-value) as a CoordinateLocation instead of as an int has the
1811 * given coordinate value falls within those Limits.
1836 * The type of this coordinate, which is one of AFTER_LAST_ITEM, BEFORE_FIRST_ITEM,
1842 * The limits before the coordinate; only populated when type == WITHIN_LIMITS or type ==
1848 * The limits after the coordinate; only populated when type == BETWEEN_TWO_ITEMS.
1858 * @param limitsList The sorted limits list for the coordinate type. If this
1861 * @param value The coordinate value.
2004 * @return The absolute coordinate (i.e., the x- or y-value) of the given relative
2005 * coordinate.
2007 private int getCoordinateValue(RelativeCoordinate coordinate,
2009 switch (coordinate.type) {
2016 return coordinate.limitsAfterCoordinate.lowerLimit;
2018 return coordinate.limitsBeforeCoordinate.upperLimit;
2021 return coordinate.limitsBeforeCoordinate.lowerLimit;
2024 throw new RuntimeException("Invalid coordinate value.");