Home | History | Annotate | Download | only in widget

Lines Matching defs:LayoutParams

337                     final LayoutParams lp = (LayoutParams) child.getLayoutParams();
350 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
365 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
387 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
514 LayoutParams lp = (LayoutParams) child.getLayoutParams();
681 LayoutParams lp = (LayoutParams) child.getLayoutParams();
701 lp.height = LayoutParams.WRAP_CONTENT;
745 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) {
759 allFillParent = allFillParent && lp.width == LayoutParams.MATCH_PARENT;
796 final LayoutParams lp = (LayoutParams)
833 LayoutParams lp = (LayoutParams) child.getLayoutParams();
871 } else if (delta < 0 && lp.height == LayoutParams.MATCH_PARENT) {
896 lp.width == LayoutParams.MATCH_PARENT;
901 allFillParent = allFillParent && lp.width == LayoutParams.MATCH_PARENT;
926 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
964 LayoutParams lp =
965 ((LayoutParams)child.getLayoutParams());
967 if (lp.width == LayoutParams.MATCH_PARENT) {
1007 LayoutParams lp = (LayoutParams) child.getLayoutParams();
1009 if (lp.height == LayoutParams.MATCH_PARENT) {
1153 final LayoutParams lp =
1154 (LayoutParams) child.getLayoutParams();
1276 final LayoutParams lp =
1277 (LayoutParams) child.getLayoutParams();
1279 if (baselineAligned && lp.height != LayoutParams.MATCH_PARENT) {
1412 public LayoutParams generateLayoutParams(AttributeSet attrs) {
1413 return new LayoutParams(getContext(), attrs);
1418 * {@link android.view.ViewGroup.LayoutParams#MATCH_PARENT}
1419 * and a height of {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT}
1421 * {@link #HORIZONTAL}, the width is set to {@link LayoutParams#WRAP_CONTENT}
1422 * and the height to {@link LayoutParams#WRAP_CONTENT}.
1425 protected LayoutParams generateDefaultLayoutParams() {
1427 return new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
1429 return new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT);
1435 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) {
1436 return new LayoutParams(p);
1440 // Override to allow type-checking of LayoutParams.
1442 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) {
1443 return p instanceof LayoutParams;
1471 public static class LayoutParams extends MarginLayoutParams {
1474 * allocated to the view associated with these LayoutParams. Specify
1482 * Gravity for the view associated with these LayoutParams.
1507 public LayoutParams(Context c, AttributeSet attrs) {
1523 public LayoutParams(int width, int height) {
1538 public LayoutParams(int width, int height, float weight) {
1546 public LayoutParams(ViewGroup.LayoutParams p) {
1553 public LayoutParams(MarginLayoutParams source) {
1563 public LayoutParams(LayoutParams source) {
1572 return output + "MatchParentShrinkingLinearLayout.LayoutParams={width="