Lines Matching defs:lp
448 FrameLayout.LayoutParams lp;
455 lp = (FrameLayout.LayoutParams) searchBar.getLayoutParams();
456 lp.width = searchBarBounds.width();
457 lp.height = searchBarBounds.height();
458 lp.topMargin = searchBarTopExtraPaddingPx;
462 lp.gravity = Gravity.LEFT;
472 lp.gravity = Gravity.TOP|Gravity.CENTER_HORIZONTAL;
474 searchBar.setLayoutParams(lp);
478 lp = (FrameLayout.LayoutParams) workspace.getLayoutParams();
479 lp.gravity = Gravity.CENTER;
481 workspace.setLayoutParams(lp);
487 lp = (FrameLayout.LayoutParams) hotseat.getLayoutParams();
498 lp.gravity = Gravity.RIGHT;
499 lp.width = normalHotseatBarHeightPx;
500 lp.height = LayoutParams.MATCH_PARENT;
504 lp.gravity = Gravity.BOTTOM;
505 lp.width = LayoutParams.MATCH_PARENT;
506 lp.height = hotseatBarHeightPx;
513 lp.gravity = Gravity.BOTTOM;
514 lp.width = LayoutParams.MATCH_PARENT;
515 lp.height = hotseatBarHeightPx;
520 hotseat.setLayoutParams(lp);
530 lp = (FrameLayout.LayoutParams) pageIndicator.getLayoutParams();
531 lp.gravity = Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM;
532 lp.width = LayoutParams.WRAP_CONTENT;
533 lp.height = LayoutParams.WRAP_CONTENT;
534 lp.bottomMargin = hotseatBarHeightPx;
535 pageIndicator.setLayoutParams(lp);
543 lp = (FrameLayout.LayoutParams) overviewMode.getLayoutParams();
544 lp.gravity = Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM;
550 lp.width = Math.min(availableWidthPx, maxWidth);
551 lp.height = overviewButtonBarHeight;
552 overviewMode.setLayoutParams(lp);
554 if (lp.width > totalItemWidth && visibleChildCount > 1) {
556 int margin = (lp.width - totalItemWidth) / (visibleChildCount-1);