Lines Matching defs:LayoutParams

64  * by their {@link GridLayout.LayoutParams#rowSpec rowSpec} and
65 * {@link GridLayout.LayoutParams#columnSpec columnSpec} layout parameters.
107 * {@link LayoutParams#setGravity(int) gravity} property of the child's layout parameters).
130 * {@link LinearLayout.LayoutParams#weight}. In general, it is not therefore possible
135 * use {@link #CENTER} alignment (or {@link LayoutParams#setGravity(int) gravity}).
140 * See {@link GridLayout.LayoutParams} for a full description of the
343 * value of each the upper bounds defined in {@link LayoutParams#rowSpec}.
348 * @see LayoutParams#rowSpec
363 * @see LayoutParams#rowSpec
376 * value of each the upper bounds defined in {@link LayoutParams#columnSpec}.
381 * @see LayoutParams#columnSpec
396 * @see LayoutParams#columnSpec
611 private int getDefaultMargin(View c, LayoutParams p, boolean horizontal, boolean leading) {
625 LayoutParams lp = getLayoutParams(view);
638 LayoutParams lp = getLayoutParams(view);
666 private static void setCellGroup(LayoutParams lp, int row, int rowSpan, int col, int colSpan) {
692 LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams();
758 protected void onSetLayoutParams(View child, ViewGroup.LayoutParams layoutParams) {
762 handleInvalidParams("supplied LayoutParams are of the wrong type");
768 final LayoutParams getLayoutParams(View c) {
769 return (LayoutParams) c.getLayoutParams();
776 private void checkLayoutParams(LayoutParams lp, boolean horizontal) {
797 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) {
798 if (!(p instanceof LayoutParams)) {
801 LayoutParams lp = (LayoutParams) p;
810 protected LayoutParams generateDefaultLayoutParams() {
811 return new LayoutParams();
815 public LayoutParams generateLayoutParams(AttributeSet attrs) {
816 return new LayoutParams(getContext(), attrs);
820 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) {
821 return new LayoutParams(p);
843 LayoutParams lp = new LayoutParams();
926 LayoutParams lp = (LayoutParams) c.getLayoutParams();
938 "operations. Check the javadoc for GridLayout.LayoutParams#rowSpec.");
959 LayoutParams lp = getLayoutParams(c);
1077 LayoutParams lp = getLayoutParams(c);
1207 LayoutParams params = getLayoutParams(c);
1232 "(and spans) defined in the LayoutParams of each child");
1250 LayoutParams lp = getLayoutParams(c);
1265 LayoutParams lp = getLayoutParams(c);
1607 LayoutParams lp = getLayoutParams(c);
1754 * alignment within its cell group by using the {@link GridLayout.LayoutParams#setGravity(int)}
1811 public static class LayoutParams extends MarginLayoutParams {
1848 * {@link ViewGroup#setLayoutParams(ViewGroup.LayoutParams)}
1862 * {@link ViewGroup#setLayoutParams(ViewGroup.LayoutParams)}
1873 private LayoutParams(
1884 * Constructs a new LayoutParams instance for this <code>rowSpec</code>
1886 * default values as defined in {@link LayoutParams}.
1891 public LayoutParams(Spec rowSpec, Spec columnSpec) {
1898 * Constructs a new LayoutParams with default values as defined in {@link LayoutParams}.
1900 public LayoutParams() {
1909 public LayoutParams(ViewGroup.LayoutParams params) {
1916 public LayoutParams(MarginLayoutParams params) {
1923 public LayoutParams(LayoutParams that) {
1935 * defined in {@link LayoutParams}.
1937 public LayoutParams(Context context, AttributeSet attrs) {
2018 LayoutParams that = (LayoutParams) o;
2473 * The {@link LayoutParams} class contains a {@link LayoutParams#rowSpec rowSpec}
2474 * and a {@link LayoutParams#columnSpec columnSpec} each of which contains an
2626 * This constant may be used in both {@link LayoutParams#rowSpec rowSpecs} and {@link
2627 * LayoutParams#columnSpec columnSpecs}.
2644 * This constant may only be used as an alignment in {@link LayoutParams#rowSpec rowSpecs}.
2705 * This constant may be used in both {@link LayoutParams#rowSpec rowSpecs} and
2706 * {@link LayoutParams#columnSpec columnSpecs}.