Home | History | Annotate | Download | only in widget

Lines Matching refs:UNDEFINED

166      * The constant used to indicate that a value is undefined.
174 public static final int UNDEFINED = Integer.MIN_VALUE;
219 private static final int DEFAULT_COUNT = UNDEFINED;
629 return margin == UNDEFINED ? getDefaultMargin(view, lp, horizontal, leading) : margin;
685 final int count = (axis.definedCount != UNDEFINED) ? axis.definedCount : 0;
711 // Find suitable row/col values when at least one is undefined.
780 if (span.min != UNDEFINED && span.min < 0) {
785 if (count != UNDEFINED) {
840 // Apply defaults, so as to remove UNDEFINED values
1168 public int definedCount = UNDEFINED;
1169 private int maxIndex = UNDEFINED;
1202 // the number Integer.MIN_VALUE + 1 comes up in undefined cells
1213 return result == -1 ? UNDEFINED : result;
1217 if (maxIndex == UNDEFINED) {
1228 if (count != UNDEFINED && count < getMaxIndex()) {
1710 maxIndex = UNDEFINED;
1779 * {@code false}; otherwise {@link #UNDEFINED}, to
1783 * {@code false}; otherwise {@link #UNDEFINED}, to
1787 * {@code false}; otherwise {@link #UNDEFINED}, to
1791 * {@code false}; otherwise {@link #UNDEFINED}, to
1793 * <li>{@link #rowSpec}<code>.row</code> = {@link #UNDEFINED} </li>
1796 * <li>{@link #columnSpec}<code>.column</code> = {@link #UNDEFINED} </li>
1816 private static final int DEFAULT_MARGIN = UNDEFINED;
1817 private static final int DEFAULT_ROW = UNDEFINED;
1818 private static final int DEFAULT_COLUMN = UNDEFINED;
1819 private static final Interval DEFAULT_SPAN = new Interval(UNDEFINED, UNDEFINED + 1);
1854 public Spec rowSpec = Spec.UNDEFINED;
1868 public Spec columnSpec = Spec.UNDEFINED;
1900 this(Spec.UNDEFINED, Spec.UNDEFINED);
1945 // Here we use the value UNDEFINED (as distinct from zero) to represent the undefined state
2219 // todo test this works correctly when the returned value is UNDEFINED
2346 static final Spec UNDEFINED = spec(GridLayout.UNDEFINED);
2421 * To leave the start index undefined, use the value {@link #UNDEFINED}.
2428 return new Spec(start != UNDEFINED, start, size, alignment);
2438 * To leave the start index undefined, use the value {@link #UNDEFINED}.
2455 * To leave the start index undefined, use the value {@link #UNDEFINED}.
2472 * To leave the start index undefined, use the value {@link #UNDEFINED}.
2546 return UNDEFINED;
2551 return UNDEFINED;
2670 return baseline == -1 ? UNDEFINED : baseline;
2722 return UNDEFINED;