Lines Matching refs:Spec

658         Spec spec = horizontal ? p.columnSpec : p.rowSpec;
686 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
741 final Spec majorSpec = horizontal ? lp.rowSpec : lp.columnSpec;
749 final Spec minorSpec = horizontal ? lp.columnSpec : lp.rowSpec;
813 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
921 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
1034 Spec columnSpec = lp.columnSpec;
1035 Spec rowSpec = lp.rowSpec;
1108 PackedMap<Spec, Bounds> groupBounds;
1148 Spec spec = horizontal ? params.columnSpec : params.rowSpec;
1186 private PackedMap<Spec, Bounds> createGroupBounds() {
1187 Assoc<Spec, Bounds> assoc = Assoc.of(Spec.class, Bounds.class);
1192 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
1208 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
1215 public PackedMap<Spec, Bounds> getGroupBounds() {
1229 Spec[] keys = getGroupBounds().keys;
1561 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
1603 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
1634 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
1690 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
1810 * {@link GridLayout.Spec Specs} are immutable structures
1821 * The weight property is also included in Spec and specifies the proportion of any
1926 public Spec rowSpec = Spec.UNDEFINED;
1940 public Spec columnSpec = Spec.UNDEFINED;
1947 Spec rowSpec, Spec columnSpec) {
1962 public LayoutParams(Spec rowSpec, Spec columnSpec) {
1972 this(Spec.UNDEFINED, Spec.UNDEFINED);
2051 float colWeight = a.getFloat(COLUMN_WEIGHT, Spec.DEFAULT_WEIGHT);
2056 float rowWeight = a.getFloat(ROW_WEIGHT, Spec.DEFAULT_WEIGHT);
2292 protected final void include(GridLayout gl, View c, Spec spec, Axis axis, int size) {
2401 * A Spec defines the horizontal or vertical characteristics of a group of
2426 public static class Spec {
2427 static final Spec UNDEFINED = spec(GridLayout.UNDEFINED);
2435 private Spec(boolean startDefined, Interval span, Alignment alignment, float weight) {
2442 Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) {
2456 final Spec copyWriteSpan(Interval span) {
2457 return new Spec(startDefined, span, alignment, weight);
2460 final Spec copyWriteAlignment(Alignment alignment) {
2461 return new Spec(startDefined, span, alignment, weight);
2470 * properties of this Spec and the supplied parameter are pairwise equal,
2476 * {@code Spec}; {@code false} otherwise
2487 Spec spec = (Spec) that;
2509 * Return a Spec, {@code spec}, where:
2523 public static Spec spec(int start, int size, Alignment alignment, float weight) {
2524 return new Spec(start != UNDEFINED, start, size, alignment, weight);
2534 public static Spec spec(int start, Alignment alignment, float weight) {
2547 public static Spec spec(int start, int size, float weight) {
2557 public static Spec spec(int start, float weight) {
2568 public static Spec spec(int start, int size, Alignment alignment) {
2569 return spec(start, size, alignment, Spec.DEFAULT_WEIGHT);
2573 * Return a Spec, {@code spec}, where:
2586 public static Spec spec(int start, Alignment alignment) {
2591 * Return a Spec, {@code spec}, where:
2603 public static Spec spec(int start, int size) {
2608 * Return a Spec, {@code spec}, where:
2619 public static Spec spec(int start) {