Home | History | Annotate | Download | only in widget

Lines Matching refs:lp

109             final LayoutParams lp = (LayoutParams) child.getLayoutParams();
110 lp.hide = true;
123 LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams();
135 int newHeight = Math.max(totalHeight, totalHeight + childHeight + lp.topMargin +
136 lp.bottomMargin + (first ? 0 : mSpacing));
141 lp.hide = false;
152 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
154 if (child.getVisibility() == GONE || lp.hide) {
174 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin
205 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
207 if (child.getVisibility() == GONE || lp.hide) {
216 childLeft = childRight - childWidth - lp.rightMargin;
218 childLeft = paddingLeft + lp.leftMargin;
225 childTop += lp.topMargin;
228 childTop += childHeight + lp.bottomMargin;
236 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
237 if (lp.hide) {
255 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams lp) {
256 LayoutParams copy = new LayoutParams(lp.width, lp.height);
257 if (lp instanceof MarginLayoutParams) {
258 copy.copyMarginsFrom((MarginLayoutParams) lp);