Home | History | Annotate | Download | only in widget

Lines Matching refs:lp

251             ViewGroup.LayoutParams lp = mTabScrollView.getLayoutParams();
252 if (lp != null) {
253 lp.width = LayoutParams.WRAP_CONTENT;
254 lp.height = LayoutParams.MATCH_PARENT;
361 ViewGroup.LayoutParams lp = mTabScrollView.getLayoutParams();
362 lp.width = LayoutParams.WRAP_CONTENT;
363 lp.height = LayoutParams.MATCH_PARENT;
1015 final ViewGroup.LayoutParams lp = generateLayoutParams(customView.getLayoutParams());
1016 final ActionBar.LayoutParams ablp = lp instanceof ActionBar.LayoutParams ?
1017 (ActionBar.LayoutParams) lp : null;
1032 customNavHeightMode = lp.height != LayoutParams.WRAP_CONTENT ?
1036 (lp.height >= 0 ? Math.min(lp.height, height) : height) - verticalMargin);
1038 final int customNavWidthMode = lp.width != LayoutParams.WRAP_CONTENT ?
1041 (lp.width >= 0 ? Math.min(lp.width, availableWidth) : availableWidth)
1048 if (hgrav == Gravity.CENTER_HORIZONTAL && lp.width == LayoutParams.MATCH_PARENT) {
1170 ViewGroup.LayoutParams lp = customView.getLayoutParams();
1171 final ActionBar.LayoutParams ablp = lp instanceof ActionBar.LayoutParams ?
1172 (ActionBar.LayoutParams) lp : null;
1264 public ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams lp) {
1265 if (lp == null) {
1266 lp = generateDefaultLayoutParams();
1268 return lp;