Lines Matching refs:GridLayout

68  * through {@code N} inclusive. Regardless of how GridLayout is
76 * by their {@link GridLayout.LayoutParams#rowSpec rowSpec} and
77 * {@link GridLayout.LayoutParams#columnSpec columnSpec} layout parameters.
80 * Although cells do not normally overlap in a GridLayout, GridLayout does
88 * wishes to occupy, GridLayout assigns cell locations automatically using its:
89 * {@link GridLayout#setOrientation(int) orientation},
90 * {@link GridLayout#setRowCount(int) rowCount} and
91 * {@link GridLayout#setColumnCount(int) columnCount} properties.
104 * {@link GridLayout#setUseDefaultMargins(boolean) useDefaultMargins}
114 * As of API 21, GridLayout's distribution of excess space accomodates the principle of weight.
138 * GridLayout's algorithms favour rows and columns that are closer to its <em>right</em>
139 * and <em>bottom</em> edges. To be more precise, GridLayout treats each of its layout
141 * given axis. During layout, GridLayout solves the constraints so as to return the unique
147 * For layout purposes, GridLayout treats views whose visibility status is
159 * See {@link GridLayout.LayoutParams} for a full description of the
160 * layout parameters used by GridLayout.
170 public class GridLayout extends ViewGroup {
215 * For example, when {@code GridLayout} is in {@link #ALIGN_BOUNDS} mode,
230 * For example, when {@code GridLayout} is in {@link #ALIGN_MARGINS} mode,
243 static final Printer LOG_PRINTER = new LogPrinter(Log.DEBUG, GridLayout.class.getName());
281 public GridLayout(Context context) {
285 public GridLayout(Context context, AttributeSet attrs) {
289 public GridLayout(Context context, AttributeSet attrs, int defStyleAttr) {
293 public GridLayout(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
297 attrs, R.styleable.GridLayout, defStyleAttr, defStyleRes);
329 * GridLayout uses the orientation property for two purposes:
342 * one of GridLayout's children is dependent on its width - and its width is, in turn,
347 * in multi-line mode (the default) it is normally best to leave GridLayout's
352 * GridLayout, so it's fine to leave GridLayout in {@code HORIZONTAL} mode even if
438 * Returns whether or not this GridLayout will allocate default margins when no
452 * When {@code true}, GridLayout allocates default margins around children
465 * @param useDefaultMargins use {@code true} to make GridLayout allocate default margins
534 * When this property is {@code true}, GridLayout is forced to place the row boundaries
537 * When this property is {@code false} GridLayout is at liberty to place the vertical row
542 * @param rowOrderPreserved {@code true} to force GridLayout to respect the order
570 * When this property is {@code true}, GridLayout is forced to place the column boundaries
573 * When this property is {@code false} GridLayout is at liberty to place the horizontal column
578 * @param columnOrderPreserved use {@code true} to force GridLayout to respect the order
997 + "layout operations. Check the javadoc for GridLayout.LayoutParams#rowSpec.");
1196 return GridLayout.class.getName();
1203 along either the horizontal or vertical axis. A GridLayout uses two instances of this class -
1320 groupBounds.getValue(i).include(GridLayout.this, c, spec, this, size);
1389 . as parental constraints when GridLayout has no children
1591 GridLayout converts its requirements into a system of linear constraints of the
1913 * Layout information associated with each of the children of a GridLayout.
1915 * GridLayout supports both row and column spanning and arbitrary forms of alignment within
1919 * {@link GridLayout.Spec Specs} are immutable structures
1927 * alignment within its cell group by using the {@link GridLayout.LayoutParams#setGravity(int)}
1937 * declared in the layout parameters of GridLayout's children. In addition,
1938 * GridLayout does not distinguish the special size value {@link #MATCH_PARENT} from
1941 * as discussed in {@link GridLayout}.
1947 * a GridLayout.
1955 * {@link GridLayout#setUseDefaultMargins(boolean) useDefaultMargins} is
1959 * {@link GridLayout#setUseDefaultMargins(boolean) useDefaultMargins} is
1963 * {@link GridLayout#setUseDefaultMargins(boolean) useDefaultMargins} is
1967 * {@link GridLayout#setUseDefaultMargins(boolean) useDefaultMargins} is
1980 * See {@link GridLayout} for a more complete description of the conventions
1981 * used by GridLayout in the interpretation of the properties of this class.
2030 * must be made to notify GridLayout of the change. GridLayout is normally able
2044 * must be made to notify GridLayout of the change. GridLayout is normally able
2304 This is useful in the GridLayout class where we can rely on the order of children not
2398 protected int getOffset(GridLayout gl, View c, Alignment a, int size, boolean horizontal) {
2402 protected final void include(GridLayout gl, View c, Spec spec, Axis axis, int size) {
2516 * See {@link GridLayout} for a description of the conventions used by GridLayout
2537 static final Spec UNDEFINED = spec(GridLayout.UNDEFINED);
2651 * {@link android.widget.GridLayout.LayoutParams}.
2742 * The GridLayout class defines the most common alignments used in general layout:
2956 protected int getOffset(GridLayout gl, View c, Alignment a, int size, boolean hrz) {