Lines Matching refs:LayoutParams

46  * {@link android.widget.LinearLayout.LayoutParams LinearLayout.LayoutParams}.
53 * Also see {@link LinearLayout.LayoutParams android.widget.LinearLayout.LayoutParams}
354 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
367 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
396 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
418 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
545 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams();
721 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams();
741 lp.height = LayoutParams.WRAP_CONTENT;
785 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) {
799 allFillParent = allFillParent && lp.width == LayoutParams.MATCH_PARENT;
836 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams)
873 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams();
916 lp.width == LayoutParams.MATCH_PARENT;
921 allFillParent = allFillParent && lp.width == LayoutParams.MATCH_PARENT;
946 final LinearLayout.LayoutParams lp =
947 (LinearLayout.LayoutParams) child.getLayoutParams();
985 LinearLayout.LayoutParams lp = ((LinearLayout.LayoutParams)child.getLayoutParams());
987 if (lp.width == LayoutParams.MATCH_PARENT) {
1065 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams)
1105 lp.width = LayoutParams.WRAP_CONTENT;
1136 if (heightMode != MeasureSpec.EXACTLY && lp.height == LayoutParams.MATCH_PARENT) {
1165 allFillParent = allFillParent && lp.height == LayoutParams.MATCH_PARENT;
1217 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams)
1262 final LinearLayout.LayoutParams lp =
1263 (LinearLayout.LayoutParams) child.getLayoutParams();
1312 lp.height == LayoutParams.MATCH_PARENT;
1320 allFillParent = allFillParent && lp.height == LayoutParams.MATCH_PARENT;
1369 final LinearLayout.LayoutParams lp =
1370 (LinearLayout.LayoutParams) child.getLayoutParams();
1410 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams();
1412 if (lp.height == LayoutParams.MATCH_PARENT) {
1556 final LinearLayout.LayoutParams lp =
1557 (LinearLayout.LayoutParams) child.getLayoutParams();
1679 final LinearLayout.LayoutParams lp =
1680 (LinearLayout.LayoutParams) child.getLayoutParams();
1682 if (baselineAligned && lp.height != LayoutParams.MATCH_PARENT) {
1815 public LayoutParams generateLayoutParams(AttributeSet attrs) {
1816 return new LinearLayout.LayoutParams(getContext(), attrs);
1821 * {@link android.view.ViewGroup.LayoutParams#MATCH_PARENT}
1822 * and a height of {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT}
1824 * {@link #HORIZONTAL}, the width is set to {@link LayoutParams#WRAP_CONTENT}
1825 * and the height to {@link LayoutParams#WRAP_CONTENT}.
1828 protected LayoutParams generateDefaultLayoutParams() {
1830 return new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
1832 return new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT);
1838 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) {
1839 return new LayoutParams(p);
1843 // Override to allow type-checking of LayoutParams.
1845 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) {
1846 return p instanceof LinearLayout.LayoutParams;
1874 public static class LayoutParams extends ViewGroup.MarginLayoutParams {
1877 * allocated to the view associated with these LayoutParams. Specify
1885 * Gravity for the view associated with these LayoutParams.
1910 public LayoutParams(Context c, AttributeSet attrs) {
1924 public LayoutParams(int width, int height) {
1939 public LayoutParams(int width, int height, float weight) {
1947 public LayoutParams(ViewGroup.LayoutParams p) {
1954 public LayoutParams(ViewGroup.MarginLayoutParams source) {
1964 public LayoutParams(LayoutParams source) {
1973 return output + "LinearLayout.LayoutParams={width=" + sizeToString(width) +