Lines Matching refs:LayoutParams

39  * {@link android.widget.TableLayout.LayoutParams#MATCH_PARENT} and
40 * {@link android.widget.TableLayout.LayoutParams#WRAP_CONTENT}.</p>
43 * Also see {@link TableRow.LayoutParams android.widget.TableRow.LayoutParams}
163 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams();
194 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
226 lp.mOffset[LayoutParams.LOCATION_NEXT] = columnWidth - childWidth;
235 lp.mOffset[LayoutParams.LOCATION] = lp.mOffset[LayoutParams.LOCATION_NEXT];
238 lp.mOffset[LayoutParams.LOCATION] = lp.mOffset[LayoutParams.LOCATION_NEXT] / 2;
242 lp.mOffset[LayoutParams.LOCATION] = lp.mOffset[LayoutParams.LOCATION_NEXT] = 0;
256 LayoutParams layoutParams = (LayoutParams) child.getLayoutParams();
267 return ((TableRow.LayoutParams) child.getLayoutParams()).mOffset[LayoutParams.LOCATION];
275 return ((TableRow.LayoutParams) child.getLayoutParams()).mOffset[LayoutParams.LOCATION_NEXT];
298 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams();
302 case LayoutParams.WRAP_CONTENT:
303 spec = getChildMeasureSpec(widthMeasureSpec, 0, LayoutParams.WRAP_CONTENT);
305 case LayoutParams.MATCH_PARENT:
353 public LayoutParams generateLayoutParams(AttributeSet attrs) {
354 return new TableRow.LayoutParams(getContext(), attrs);
359 * {@link android.view.ViewGroup.LayoutParams#MATCH_PARENT},
360 * a height of {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} and no spanning.
363 protected LinearLayout.LayoutParams generateDefaultLayoutParams() {
364 return new LayoutParams();
371 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) {
372 return p instanceof TableRow.LayoutParams;
379 protected LinearLayout.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) {
380 return new LayoutParams(p);
391 * @see android.widget.TableLayout.LayoutParams
396 public static class LayoutParams extends LinearLayout.LayoutParams {
417 public LayoutParams(Context c, AttributeSet attrs) {
439 public LayoutParams(int w, int h) {
452 public LayoutParams(int w, int h, float initWeight) {
459 * <p>Sets the child width to {@link android.view.ViewGroup.LayoutParams}
461 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT}.</p>
463 public LayoutParams() {
472 * <p>Sets the child width to {@link android.view.ViewGroup.LayoutParams#MATCH_PARENT}
474 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT}.</p>
478 public LayoutParams(int column) {
486 public LayoutParams(ViewGroup.LayoutParams p) {
493 public LayoutParams(MarginLayoutParams source) {