HomeSort by relevance Sort by last modified time
    Searched defs:lp (Results 326 - 350 of 637) sorted by null

<<11121314151617181920>>

  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
KeyboardShortcuts.java 642 RelativeLayout.LayoutParams lp = local
644 lp.removeRule(RelativeLayout.ALIGN_PARENT_START);
645 shortcutKeyword.setLayoutParams(lp);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
CarStatusBar.java 286 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( local
294 lp.setTitle("CarNavigationBar");
295 lp.windowAnimations = 0;
296 mWindowManager.addView(mNavigationBarWindow, lp);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
MessagingLayoutTransformState.java 336 final ViewGroup.LayoutParams lp = view.getLayoutParams(); local
337 if (lp instanceof MessagingLinearLayout.LayoutParams
338 && ((MessagingLinearLayout.LayoutParams) lp).hide) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
StatusBarWindowView.java 151 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
152 if (!lp.ignoreRightInset
153 && (lp.rightMargin != mRightInset || lp.leftMargin != mLeftInset)) {
154 lp.rightMargin = mRightInset;
155 lp.leftMargin = mLeftInset;
208 WindowManager.LayoutParams lp = (WindowManager.LayoutParams) getLayoutParams(); local
209 lp.token = windowToken;
210 setLayoutParams(lp);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
SmartReplyView.java 278 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
352 lp.show = true;
372 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
373 lp.show = false;
374 lp.squeezeStatus = LayoutParams.SQUEEZE_STATUS_NONE;
462 final LayoutParams lp = (LayoutParams) button.getLayoutParams(); local
464 lp.squeezeStatus = LayoutParams.SQUEEZE_STATUS_FAILED;
467 lp.squeezeStatus = LayoutParams.SQUEEZE_STATUS_PENDING;
480 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
481 if (!lp.show)
528 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
545 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
566 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
CarVolumeDialogImpl.java 160 final WindowManager.LayoutParams lp = mWindow.getAttributes(); local
161 lp.format = PixelFormat.TRANSLUCENT;
162 lp.setTitle(VolumeDialogImpl.class.getSimpleName());
163 lp.gravity = Gravity.TOP | Gravity.CENTER_HORIZONTAL;
164 lp.windowAnimations = -1;
165 mWindow.setAttributes(lp);
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
SmartReplyViewTest.java 411 ViewGroup.MarginLayoutParams lp = local
414 lp.leftMargin = mSpacing;
416 lp.rightMargin = mSpacing;
  /frameworks/support/leanback/src/main/java/androidx/leanback/widget/
AbstractMediaItemPresenter.java 612 final ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) local
628 final float deltaWidth = lp.width - targetWidth;
629 final float deltaLeft = lp.leftMargin - targetLeft;
636 lp.width = targetWidth;
637 lp.leftMargin = targetLeft;
650 lp.leftMargin = Math.round(targetLeft + deltaLeft * fractionToEnd);
651 lp.width = Math.round(targetWidth + deltaWidth * fractionToEnd);
BaseCardView.java 579 BaseCardView.LayoutParams lp = (BaseCardView.LayoutParams) child local
581 if (lp.viewType == LayoutParams.VIEW_TYPE_INFO) {
585 } else if (lp.viewType == LayoutParams.VIEW_TYPE_EXTRA) {
830 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams lp) {
831 if (lp instanceof LayoutParams) {
832 return new LayoutParams((LayoutParams) lp);
834 return new LayoutParams(lp);
    [all...]
DetailsOverviewRowPresenter.java 432 ViewGroup.LayoutParams lp = overview.getLayoutParams(); local
433 lp.height = getCardHeight(overview.getContext());
434 overview.setLayoutParams(lp);
FullWidthDetailsOverviewRowPresenter.java 653 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) local
658 lp.setMarginStart(v.getResources().getDimensionPixelSize(
662 lp.setMarginStart(v.getResources().getDimensionPixelSize(R.dimen.lb_details_v2_left)
663 - lp.width);
670 lp.topMargin =
672 - lp.height / 2;
675 lp.topMargin = v.getResources().getDimensionPixelSize(
682 lp.topMargin = 0;
685 v.setLayoutParams(lp);
  /frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/
LocalPlayer.java 501 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams(); local
505 lp.width = surfaceWidth;
506 lp.height = surfaceWidth * height / width;
510 lp.width = surfaceHeight * width / height;
511 lp.height = surfaceHeight;
513 Log.i(TAG, "video rect is " + lp.width + "x" + lp.height);
514 mSurfaceView.setLayoutParams(lp);
580 ViewGroup.LayoutParams lp = mPresentationSurfaceView.getLayoutParams(); local
582 lp.width = surfaceWidth
    [all...]
  /frameworks/support/slices/view/src/main/java/androidx/slice/widget/
RowView.java 479 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) iv.getLayoutParams(); local
480 lp.width = mImageSize;
481 lp.height = mImageSize;
482 iv.setLayoutParams(lp);
  /frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
ActionMenuView.java 169 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
170 lp.leftMargin = lp.rightMargin = 0;
226 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
227 lp.expanded = false;
228 lp.extraPixels = 0;
229 lp.cellsUsed = 0;
230 lp.expandable = false;
231 lp.leftMargin = 0;
232 lp.rightMargin = 0
264 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
290 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
320 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); local
324 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); local
336 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
372 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
404 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
511 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local
527 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local
    [all...]
ScrollingTabContainerView.java 475 LayoutParams lp = new LayoutParams(LayoutParams.WRAP_CONTENT, local
477 lp.gravity = Gravity.CENTER_VERTICAL;
478 iconView.setLayoutParams(lp);
495 LayoutParams lp = new LayoutParams(LayoutParams.WRAP_CONTENT, local
497 lp.gravity = Gravity.CENTER_VERTICAL;
498 textView.setLayoutParams(lp);
ToolbarWidgetWrapper.java 145 final ViewGroup.LayoutParams lp = mToolbar.getLayoutParams(); local
146 lp.height = height;
147 mToolbar.setLayoutParams(lp);
428 Toolbar.LayoutParams lp = (Toolbar.LayoutParams) mTabView.getLayoutParams(); local
429 lp.width = ViewGroup.LayoutParams.WRAP_CONTENT;
430 lp.height = ViewGroup.LayoutParams.WRAP_CONTENT;
431 lp.gravity = Gravity.START | Gravity.BOTTOM;
490 Toolbar.LayoutParams lp = (Toolbar.LayoutParams) mTabView.getLayoutParams(); local
491 lp.width = ViewGroup.LayoutParams.WRAP_CONTENT;
492 lp.height = ViewGroup.LayoutParams.WRAP_CONTENT
505 Toolbar.LayoutParams lp = new Toolbar.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, local
    [all...]
  /frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
BaseWrapContentTest.java 84 TestedFrameLayout.FullControlLayoutParams lp = local
87 lp.wSpec = View.MeasureSpec.makeMeasureSpec(25, View.MeasureSpec.UNSPECIFIED);
88 lp.hSpec = View.MeasureSpec.makeMeasureSpec(50, View.MeasureSpec.AT_MOST);
90 lp.hSpec = View.MeasureSpec.makeMeasureSpec(25, View.MeasureSpec.UNSPECIFIED);
91 lp.wSpec = View.MeasureSpec.makeMeasureSpec(50, View.MeasureSpec.AT_MOST);
93 rv.setLayoutParams(lp);
145 public List<Snapshot> runScenario(Scenario scenario, ViewGroup.LayoutParams lp,
155 recyclerView.setLayoutParams(lp);
196 void layoutAndCheck(TestedFrameLayout.FullControlLayoutParams lp,
203 recyclerView.setLayoutParams(lp);
455 RecyclerView.LayoutParams lp = (RecyclerView.LayoutParams) child.getLayoutParams(); local
548 lp = new TestedFrameLayout.FullControlLayoutParams( local
    [all...]
GridLayoutManagerTest.java 93 ViewGroup.LayoutParams lp = holder.itemView.getLayoutParams();
94 if (lp == null) {
95 lp = new ViewGroup.LayoutParams(w / 2, h / 2);
96 holder.itemView.setLayoutParams(lp);
98 lp.width = w / 2;
99 lp.height = h / 2;
100 holder.itemView.setLayoutParams(lp);
104 TestedFrameLayout.FullControlLayoutParams lp local
106 recyclerView.setLayoutParams(lp);
192 ViewGroup.LayoutParams lp = recyclerView.getLayoutParams() local
833 ViewGroup.LayoutParams lp = view.getLayoutParams(); local
    [all...]
LinearLayoutManagerTest.java 82 ViewGroup.LayoutParams lp = recyclerView.getLayoutParams(); local
83 lp.height = WRAP_CONTENT;
84 lp.width = MATCH_PARENT;
    [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 210 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); local
213 lp.x = mTempRange1.start;
214 lp.width = mTempRange1.size();
218 lp.y = mTempRange1.start;
219 lp.height = mTempRange1.size();
227 lp.width = sTmpRect.width() + sTmpRect.left - lp.x;
230 lp.height = sTmpRect.height() + sTmpRect.top - lp.y;
233 lp.x = sTmpRect.left
261 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) mWidgetView.getLayoutParams(); local
425 final DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); local
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DragView.java 560 DragLayer.LayoutParams lp = new DragLayer.LayoutParams(0, 0); local
561 lp.width = mBitmap.getWidth();
562 lp.height = mBitmap.getHeight();
563 lp.customPosition = true;
564 setLayoutParams(lp);
  /packages/apps/Launcher3/src/com/android/launcher3/folder/
FolderPagedView.java 225 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) view.getLayoutParams(); local
226 lp.cellX = item.cellX;
227 lp.cellY = item.cellY;
229 view, -1, mFolder.mLauncher.getViewIdForItem(item), lp, true);
339 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) v.getLayoutParams(); local
352 lp.cellX = info.cellX;
353 lp.cellY = info.cellY;
355 v, -1, mFolder.mLauncher.getViewIdForItem(info), lp, true);

Completed in 1276 milliseconds

<<11121314151617181920>>