Home | History | Annotate | Download | only in widget

Lines Matching defs:LayoutParams

56  * is {@link android.widget.TableLayout.LayoutParams#WRAP_CONTENT}. If the child
58 * {@link android.widget.TableLayout.LayoutParams#WRAP_CONTENT}.</p>
416 public void addView(View child, ViewGroup.LayoutParams params) {
425 public void addView(View child, int index, ViewGroup.LayoutParams params) {
502 final ViewGroup.LayoutParams layoutParams = row.getLayoutParams();
503 layoutParams.height = LayoutParams.WRAP_CONTENT;
636 public LayoutParams generateLayoutParams(AttributeSet attrs) {
637 return new TableLayout.LayoutParams(getContext(), attrs);
642 * {@link android.view.ViewGroup.LayoutParams#MATCH_PARENT},
643 * and a height of {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT}.
646 protected LinearLayout.LayoutParams generateDefaultLayoutParams() {
647 return new LayoutParams();
654 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) {
655 return p instanceof TableLayout.LayoutParams;
662 protected LinearLayout.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) {
663 return new LayoutParams(p);
677 public static class LayoutParams extends LinearLayout.LayoutParams {
681 public LayoutParams(Context c, AttributeSet attrs) {
688 public LayoutParams(int w, int h) {
695 public LayoutParams(int w, int h, float initWeight) {
701 * {@link android.view.ViewGroup.LayoutParams} and the child height to
702 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT}.</p>
704 public LayoutParams() {
711 public LayoutParams(ViewGroup.LayoutParams p) {
718 public LayoutParams(MarginLayoutParams source) {
724 * {@link android.view.ViewGroup.LayoutParams#MATCH_PARENT}; the row's
726 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} if no layout