Lines Matching refs:LayoutParams
28 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
56 public LayoutParams generateLayoutParams(AttributeSet attrs) {
57 return new InsettableFrameLayout.LayoutParams(getContext(), attrs);
61 protected LayoutParams generateDefaultLayoutParams() {
62 return new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
65 // Override to allow type-checking of LayoutParams.
67 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) {
68 return p instanceof InsettableFrameLayout.LayoutParams;
72 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) {
73 return new LayoutParams(p);
76 public static class LayoutParams extends FrameLayout.LayoutParams {
79 public LayoutParams(Context c, AttributeSet attrs) {
88 public LayoutParams(int width, int height) {
92 public LayoutParams(ViewGroup.LayoutParams lp) {