Home | History | Annotate | Download | only in widget

Lines Matching defs:layoutParams

59  * is {@link android.widget.TableLayout.LayoutParams#WRAP_CONTENT}. If the child
61 * {@link android.widget.TableLayout.LayoutParams#WRAP_CONTENT}.</p>
415 public void addView(View child, ViewGroup.LayoutParams params) {
424 public void addView(View child, int index, ViewGroup.LayoutParams params) {
501 final ViewGroup.LayoutParams layoutParams = row.getLayoutParams();
502 layoutParams.height = LayoutParams.WRAP_CONTENT;
635 public LayoutParams generateLayoutParams(AttributeSet attrs) {
636 return new TableLayout.LayoutParams(getContext(), attrs);
641 * {@link android.view.ViewGroup.LayoutParams#MATCH_PARENT},
642 * and a height of {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT}.
645 protected LinearLayout.LayoutParams generateDefaultLayoutParams() {
646 return new LayoutParams();
653 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) {
654 return p instanceof TableLayout.LayoutParams;
661 protected LinearLayout.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) {
662 return new LayoutParams(p);
683 public static class LayoutParams extends LinearLayout.LayoutParams {
687 public LayoutParams(Context c, AttributeSet attrs) {
694 public LayoutParams(int w, int h) {
701 public LayoutParams(int w, int h, float initWeight) {
707 * {@link android.view.ViewGroup.LayoutParams} and the child height to
708 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT}.</p>
710 public LayoutParams() {
717 public LayoutParams(ViewGroup.LayoutParams p) {
724 public LayoutParams(MarginLayoutParams source) {
730 * {@link android.view.ViewGroup.LayoutParams#MATCH_PARENT}; the row's
732 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} if no layout