Lines Matching defs:LayoutParams
164 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
181 ViewGroup.LayoutParams.WRAP_CONTENT);
221 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
259 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
285 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
315 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams();
319 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams());
331 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
367 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
388 * <p>Sets the expandable and cellsUsed fields of LayoutParams.
399 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
454 LayoutParams p = (LayoutParams) v.getLayoutParams();
507 final LayoutParams lp = (LayoutParams) v.getLayoutParams();
523 final LayoutParams lp = (LayoutParams) v.getLayoutParams();
576 protected LayoutParams generateDefaultLayoutParams() {
577 LayoutParams params = new LayoutParams(LayoutParams.WRAP_CONTENT,
578 LayoutParams.WRAP_CONTENT);
584 public LayoutParams generateLayoutParams(AttributeSet attrs) {
585 return new LayoutParams(getContext(), attrs);
589 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) {
591 final LayoutParams result = p instanceof LayoutParams
592 ? new LayoutParams((LayoutParams) p)
593 : new LayoutParams(p);
603 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) {
604 return p != null && p instanceof LayoutParams;
608 public LayoutParams generateOverflowButtonLayoutParams() {
609 LayoutParams result = generateDefaultLayoutParams();
789 public static class LayoutParams extends LinearLayout.LayoutParams {
813 public LayoutParams(Context c, AttributeSet attrs) {
817 public LayoutParams(ViewGroup.LayoutParams other) {
821 public LayoutParams(LayoutParams other) {
822 super((LinearLayout.LayoutParams) other);
826 public LayoutParams(int width, int height) {
832 public LayoutParams(int width, int height, boolean isOverflowButton) {