Lines Matching defs:Axis
110 * If alignment was defined along a given axis then the component
254 final Axis mHorizontalAxis = new Axis(true);
255 final Axis mVerticalAxis = new Axis(false);
324 * To control which axis should be processed first during the layout operation:
325 * when orientation is {@link #HORIZONTAL} the horizontal axis is laid out first.
662 Axis axis = horizontal ? mHorizontalAxis : mVerticalAxis;
665 boolean isAtEdge = leading1 ? (span.min == 0) : (span.max == axis.getCount());
682 Axis axis = horizontal ? mHorizontalAxis : mVerticalAxis;
683 int[] margins = leading ? axis.getLeadingMargins() : axis.getTrailingMargins();
730 final Axis axis = horizontal ? mHorizontalAxis : mVerticalAxis;
731 final int count = (axis.definedCount != UNDEFINED) ? axis.definedCount : 0;
829 Axis axis = horizontal ? mHorizontalAxis : mVerticalAxis;
830 int count = axis.definedCount;
1016 Axis axis = horizontal ? mHorizontalAxis : mVerticalAxis;
1017 int[] locations = axis.getLocations();
1054 // Use the orientation property to decide which axis should be laid out first.
1102 to the mHorizontalAxis and mVerticalAxis instances of the internal Axis class.
1203 along either the horizontal or vertical axis. A GridLayout uses two instances of this class -
1204 distinguished by the "horizontal" flag which is true for the horizontal axis and false
1207 final class Axis {
1243 private Axis(boolean horizontal) {
1796 * The row and column specs contain the leading and trailing indices along each axis
2266 protected final void include(GridLayout gl, View c, Spec spec, Axis axis) {
2268 boolean horizontal = axis.horizontal;
2378 * along the appropriate axis.
2541 * group is specified by the two alignments which act along each axis independently.