Lines Matching defs:lp
267 ViewGroup.LayoutParams lp = mTabScrollView.getLayoutParams();
268 if (lp != null) {
269 lp.width = LayoutParams.WRAP_CONTENT;
270 lp.height = LayoutParams.MATCH_PARENT;
372 ViewGroup.LayoutParams lp = mTabScrollView.getLayoutParams();
373 lp.width = LayoutParams.WRAP_CONTENT;
374 lp.height = LayoutParams.MATCH_PARENT;
1036 final ViewGroup.LayoutParams lp = generateLayoutParams(customView.getLayoutParams());
1037 final ActionBar.LayoutParams ablp = lp instanceof ActionBar.LayoutParams ?
1038 (ActionBar.LayoutParams) lp : null;
1053 customNavHeightMode = lp.height != LayoutParams.WRAP_CONTENT ?
1057 (lp.height >= 0 ? Math.min(lp.height, height) : height) - verticalMargin);
1059 final int customNavWidthMode = lp.width != LayoutParams.WRAP_CONTENT ?
1062 (lp.width >= 0 ? Math.min(lp.width, availableWidth) : availableWidth)
1069 if (hgrav == Gravity.CENTER_HORIZONTAL && lp.width == LayoutParams.MATCH_PARENT) {
1191 ViewGroup.LayoutParams lp = customView.getLayoutParams();
1192 final ActionBar.LayoutParams ablp = lp instanceof ActionBar.LayoutParams ?
1193 (ActionBar.LayoutParams) lp : null;
1285 public ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams lp) {
1286 if (lp == null) {
1287 lp = generateDefaultLayoutParams();
1289 return lp;