HomeSort by relevance Sort by last modified time
    Searched defs:lp (Results 276 - 300 of 545) sorted by null

<<11121314151617181920>>

  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
NavigationBarView.java 446 WindowManager.LayoutParams lp = (WindowManager.LayoutParams) getLayoutParams(); local
447 if (lp != null) {
448 boolean old = lp.windowAnimations != 0;
450 lp.windowAnimations = R.style.Animation_NavigationBarFadeIn;
452 lp.windowAnimations = 0;
457 wm.updateViewLayout(this, lp);
462 WindowManager.LayoutParams lp = (WindowManager.LayoutParams) getLayoutParams(); local
463 if (lp != null) {
464 boolean oldSlippery = (lp.flags & WindowManager.LayoutParams.FLAG_SLIPPERY) != 0;
466 lp.flags |= WindowManager.LayoutParams.FLAG_SLIPPERY
    [all...]
  /frameworks/base/services/core/java/com/android/server/policy/keyguard/
KeyguardServiceDelegate.java 349 final WindowManager.LayoutParams lp = new WindowManager.LayoutParams( local
351 lp.softInputMode = WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE;
352 lp.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_NOSENSOR;
353 lp.privateFlags |= WindowManager.LayoutParams.PRIVATE_FLAG_FAKE_HARDWARE_ACCELERATED;
354 lp.setTitle("KeyguardScrim");
366 wm.addView(view, lp);
  /frameworks/support/design/src/android/support/design/widget/
Snackbar.java 443 final ViewGroup.LayoutParams lp = mView.getLayoutParams(); local
445 if (lp instanceof CoordinatorLayout.LayoutParams) {
474 ((CoordinatorLayout.LayoutParams) lp).setBehavior(behavior);
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
BaseCardView.java 538 BaseCardView.LayoutParams lp = (BaseCardView.LayoutParams) child local
540 if (lp.viewType == LayoutParams.VIEW_TYPE_INFO) {
543 } else if (lp.viewType == LayoutParams.VIEW_TYPE_EXTRA) {
786 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams lp) {
787 if (lp instanceof LayoutParams) {
788 return new LayoutParams((LayoutParams) lp);
790 return new LayoutParams(lp);
    [all...]
DetailsOverviewRowPresenter.java 433 ViewGroup.LayoutParams lp = overview.getLayoutParams(); local
434 lp.height = getCardHeight(overview.getContext());
435 overview.setLayoutParams(lp);
FullWidthDetailsOverviewRowPresenter.java 659 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) local
664 lp.setMarginStart(v.getResources().getDimensionPixelSize(
668 lp.setMarginStart(v.getResources().getDimensionPixelSize(R.dimen.lb_details_v2_left)
669 - lp.width);
676 lp.topMargin =
678 - lp.height / 2;
681 lp.topMargin = v.getResources().getDimensionPixelSize(
688 lp.topMargin = 0;
691 v.setLayoutParams(lp);
GridLayoutManager.java 865 final LayoutParams lp = (LayoutParams) view.getLayoutParams(); local
866 final ItemAlignmentFacet facet = lp.getItemAlignmentFacet();
958 public RecyclerView.LayoutParams generateLayoutParams(ViewGroup.LayoutParams lp) {
959 if (lp instanceof LayoutParams) {
960 return new LayoutParams((LayoutParams) lp);
961 } else if (lp instanceof RecyclerView.LayoutParams) {
962 return new LayoutParams((RecyclerView.LayoutParams) lp);
963 } else if (lp instanceof MarginLayoutParams) {
964 return new LayoutParams((MarginLayoutParams) lp);
966 return new LayoutParams(lp);
1167 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local
1172 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local
1428 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
1756 LayoutParams lp = (LayoutParams) view.getLayoutParams(); local
3252 ViewGroup.LayoutParams lp = host.getLayoutParams(); local
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
ActionBarOverlayLayout.java 258 LayoutParams lp = (LayoutParams)view.getLayoutParams(); local
259 if (left && lp.leftMargin != insets.left) {
261 lp.leftMargin = insets.left;
263 if (top && lp.topMargin != insets.top) {
265 lp.topMargin = insets.top;
267 if (right && lp.rightMargin != insets.right) {
269 lp.rightMargin = insets.right;
271 if (bottom && lp.bottomMargin != insets.bottom) {
273 lp.bottomMargin = insets.bottom;
339 LayoutParams lp = (LayoutParams) mActionBarTop.getLayoutParams() local
427 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
    [all...]
ActionMenuView.java 167 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
168 lp.leftMargin = lp.rightMargin = 0;
224 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
225 lp.expanded = false;
226 lp.extraPixels = 0;
227 lp.cellsUsed = 0;
228 lp.expandable = false;
229 lp.leftMargin = 0;
230 lp.rightMargin = 0
262 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
288 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
318 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); local
322 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); local
334 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
370 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
402 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
509 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local
525 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local
    [all...]
ScrollingTabContainerView.java 473 LayoutParams lp = new LayoutParams(LayoutParams.WRAP_CONTENT, local
475 lp.gravity = Gravity.CENTER_VERTICAL;
476 iconView.setLayoutParams(lp);
493 LayoutParams lp = new LayoutParams(LayoutParams.WRAP_CONTENT, local
495 lp.gravity = Gravity.CENTER_VERTICAL;
496 textView.setLayoutParams(lp);
ToolbarWidgetWrapper.java 140 final ViewGroup.LayoutParams lp = mToolbar.getLayoutParams(); local
141 lp.height = height;
142 mToolbar.setLayoutParams(lp);
425 Toolbar.LayoutParams lp = (Toolbar.LayoutParams) mTabView.getLayoutParams(); local
426 lp.width = ViewGroup.LayoutParams.WRAP_CONTENT;
427 lp.height = ViewGroup.LayoutParams.WRAP_CONTENT;
428 lp.gravity = Gravity.START | Gravity.BOTTOM;
487 Toolbar.LayoutParams lp = (Toolbar.LayoutParams) mTabView.getLayoutParams(); local
488 lp.width = ViewGroup.LayoutParams.WRAP_CONTENT;
489 lp.height = ViewGroup.LayoutParams.WRAP_CONTENT
502 Toolbar.LayoutParams lp = new Toolbar.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, local
    [all...]
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
BaseWrapContentTest.java 92 TestedFrameLayout.FullControlLayoutParams lp = local
95 lp.wSpec = View.MeasureSpec.makeMeasureSpec(25, View.MeasureSpec.UNSPECIFIED);
96 lp.hSpec = View.MeasureSpec.makeMeasureSpec(50, View.MeasureSpec.AT_MOST);
98 lp.hSpec = View.MeasureSpec.makeMeasureSpec(25, View.MeasureSpec.UNSPECIFIED);
99 lp.wSpec = View.MeasureSpec.makeMeasureSpec(50, View.MeasureSpec.AT_MOST);
101 rv.setLayoutParams(lp);
151 public List<Snapshot> runScenario(Scenario scenario, ViewGroup.LayoutParams lp,
161 recyclerView.setLayoutParams(lp);
202 void layoutAndCheck(TestedFrameLayout.FullControlLayoutParams lp,
209 recyclerView.setLayoutParams(lp);
462 RecyclerView.LayoutParams lp = (RecyclerView.LayoutParams) child.getLayoutParams(); local
588 lp = new TestedFrameLayout.FullControlLayoutParams( local
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
AppWidgetResizeFrame.java 95 LayoutParams lp; local
98 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT,
100 addView(mLeftHandle, lp);
104 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT,
106 addView(mRightHandle, lp);
110 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT,
112 addView(mTopHandle, lp);
116 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT,
118 addView(mBottomHandle, lp);
203 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams() local
401 final DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); local
    [all...]
DragLayer.java 414 final LayoutParams lp = (LayoutParams) flp; local
415 if (lp.customPosition) {
416 child.layout(lp.x, lp.y, lp.x + lp.width, lp.y + lp.height);
445 LayoutParams lp = new LayoutParams(-1, -1); local
446 lp.customPosition = true
478 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); local
    [all...]
PagedViewCellLayout.java 103 final PagedViewCellLayout.LayoutParams lp = params; local
107 if (lp.cellX >= 0 && lp.cellX <= (mCellCountX - 1) &&
108 lp.cellY >= 0 && (lp.cellY <= mCellCountY - 1)) {
111 if (lp.cellHSpan < 0) lp.cellHSpan = mCellCountX;
112 if (lp.cellVSpan < 0) lp.cellVSpan = mCellCountY;
115 mChildren.addView(child, index, lp);
309 PagedViewCellLayout.LayoutParams lp = (PagedViewCellLayout.LayoutParams) child.getLayoutParams(); local
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
AppWidgetResizeFrame.java 95 LayoutParams lp; local
98 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT,
100 lp.leftMargin = handleMargin;
101 addView(mLeftHandle, lp);
105 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT,
107 lp.rightMargin = handleMargin;
108 addView(mRightHandle, lp);
112 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT,
114 lp.topMargin = handleMargin;
115 addView(mTopHandle, lp);
211 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); local
414 final DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); local
    [all...]
DeviceProfile.java 448 FrameLayout.LayoutParams lp; local
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
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/allapps/
AllAppsContainerView.java 387 MarginLayoutParams lp = (MarginLayoutParams) mSearchContainer.getLayoutParams(); local
388 lp.leftMargin = padding.left;
389 lp.rightMargin = padding.right;
390 mSearchContainer.setLayoutParams(lp);
AllAppsGridAdapter.java 337 GridLayoutManager.LayoutParams lp = (GridLayoutManager.LayoutParams) local
339 if (lp.isItemRemoved()) {
  /packages/apps/Settings/src/com/android/settings/widget/
MatchParentShrinkingLinearLayout.java 337 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
338 final int top = child.getTop() - lp.topMargin - mDividerHeight;
350 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
351 bottom = child.getBottom() + lp.bottomMargin;
365 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
368 position = child.getRight() + lp.rightMargin;
370 position = child.getLeft() - lp.leftMargin - mDividerWidth;
387 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
389 position = child.getLeft() - lp.leftMargin - mDividerWidth;
391 position = child.getRight() + lp.rightMargin
514 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
681 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
796 final LayoutParams lp = (LayoutParams) local
833 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
926 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
964 LayoutParams lp = local
1007 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
1153 final LayoutParams lp = local
1276 final LayoutParams lp = local
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
SuggestionStripLayoutHelper.java 560 final ViewGroup.LayoutParams lp = v.getLayoutParams(); local
561 if (lp instanceof LinearLayout.LayoutParams) {
562 final LinearLayout.LayoutParams llp = (LinearLayout.LayoutParams)lp;
  /packages/services/Telephony/src/com/android/phone/
EmergencyDialer.java 172 WindowManager.LayoutParams lp = getWindow().getAttributes(); local
173 lp.flags |= WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED;
177 // lp.userActivityTimeout = USER_ACTIVITY_TIMEOUT_WHEN_NO_PROX_SENSOR;
179 getWindow().setAttributes(lp);
  /system/core/toolbox/
newfs_msdos.c 850 struct disklabel *lp, dlp; local
854 lp = NULL;
858 lp = getdiskbyname(dtype);
862 if (lp == NULL) {
874 lp = &dlp;
880 lp = &dlp;
885 if (lp == NULL) {
909 lp = &dlp;
913 bpb->bps = ckgeom(fname, lp->d_secsize, "bytes/sector");
915 bpb->spt = ckgeom(fname, lp->d_nsectors, "sectors/track")
    [all...]
  /frameworks/support/v4/java/android/support/v4/widget/
SlidingPaneLayout.java 510 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
513 lp.dimWhenOffset = false;
517 if (lp.weight > 0) {
518 weightSum += lp.weight;
522 if (lp.width == 0) continue;
526 final int horizontalMargin = lp.leftMargin + lp.rightMargin;
527 if (lp.width == LayoutParams.WRAP_CONTENT) {
530 } else if (lp.width == LayoutParams.FILL_PARENT) {
534 childWidthSpec = MeasureSpec.makeMeasureSpec(lp.width, MeasureSpec.EXACTLY)
686 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
952 final LayoutParams lp = (LayoutParams) mSlideableView.getLayoutParams(); local
974 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local
1000 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
1060 final LayoutParams lp = (LayoutParams) mSlideableView.getLayoutParams(); local
1256 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
1349 final LayoutParams lp = (LayoutParams) releasedChild.getLayoutParams(); local
1376 final LayoutParams lp = (LayoutParams) mSlideableView.getLayoutParams(); local
    [all...]
  /prebuilts/sdk/current/support/v7/recyclerview/libs/
android-support-v7-recyclerview.jar 

Completed in 794 milliseconds

<<11121314151617181920>>