/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
LinearLayoutTest.java | 36 LayoutParams lp = new LayoutParams(WRAP_CONTENT, WRAP_CONTENT); local 37 lp.gravity = va | ha; 39 container.addView(v, lp);
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
CustomLayout.java | 44 CustomLayout.LayoutParams lp = (CustomLayout.LayoutParams) child.getLayoutParams(); local 45 child.layout(lp.mLeft, lp.mTop, lp.mRight, lp.mBottom);
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
BrowseRowsFrameLayout.java | 51 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); local 53 getPaddingLeft() + getPaddingRight() + widthUsed, lp.width); 55 getPaddingTop() + getPaddingBottom() + heightUsed, lp.height);
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
GridSpacingItemDecoration.java | 49 GridLayoutManager.LayoutParams lp = (GridLayoutManager.LayoutParams) view.getLayoutParams(); local 51 int column = lp.getSpanIndex();
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
CalculatorScrollView.java | 59 final ViewGroup.LayoutParams lp = child.getLayoutParams(); local 61 0 /* padding */, lp.width); 63 getPaddingTop() + getPaddingBottom(), lp.height); 75 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); local 77 lp.leftMargin + lp.rightMargin, lp.width); 79 getPaddingTop() + getPaddingBottom() + lp.topMargin + lp.bottomMargin, lp.height) [all...] |
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
CheckBoxItem.java | 48 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) checkBox.getLayoutParams(); local 49 lp.gravity = Gravity.TOP | Gravity.CENTER_HORIZONTAL; 50 lp.topMargin = 53 checkBox.setLayoutParams(lp);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
ViewLayoutUtils.java | 49 final ViewGroup.LayoutParams lp = view.getLayoutParams(); local 50 if (lp instanceof MarginLayoutParams) { 51 final MarginLayoutParams marginLayoutParams = (MarginLayoutParams)lp; 75 final ViewGroup.LayoutParams lp = view.getLayoutParams(); local 76 if (lp instanceof LinearLayout.LayoutParams) { 77 final LinearLayout.LayoutParams params = (LinearLayout.LayoutParams)lp; 82 } else if (lp instanceof FrameLayout.LayoutParams) { 83 final FrameLayout.LayoutParams params = (FrameLayout.LayoutParams)lp; 90 + lp.getClass().getName());
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ |
Utils.java | 99 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(w, h); local 100 lp.setMargins(marginLeft, marginTop, marginRight, marginBottom); 101 videoView.setLayoutParams(lp);
|
/art/compiler/optimizing/ |
induction_var_range.h | 159 HLoopInformation* lp = phi->GetBlock()->GetLoopInformation(); // closest enveloping loop local 160 return (lp != nullptr) && (induction_analysis_->LookupInfo(lp, phi) != nullptr);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
NotificationDisplay.java | 56 RelativeLayout.LayoutParams lp = new RelativeLayout.LayoutParams( local 59 lp.addRule(RelativeLayout.CENTER_IN_PARENT); 61 container.addView(button, lp);
|
MenuInflateFromXml.java | 113 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( local 116 lp.setMargins(10, 10, 10, 10); 117 layout.addView(mInstructionsText, lp);
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/ |
LzmaEnc.h | 22 int lp; /* 0 <= lp <= 4, default = 0 */
member in struct:_CLzmaEncProps
|
/external/ltp/testcases/kernel/syscalls/cma/ |
process_vm_readv02.c | 119 char *lp, *rp; local 130 lp = SAFE_MALLOC(tst_exit, len + 1); 131 local.iov_base = lp; 140 if (strncmp(lp, tst_string, len) != 0) 142 "received string: %256s", tst_string, lp);
|
process_vm_writev02.c | 149 unsigned char *lp, *rp; local 161 lp = SAFE_MALLOC(tst_exit, bufsz + PADDING_SIZE * 2); 164 lp[i] = DEFAULT_CHAR; 166 lp[i + PADDING_SIZE] = i % 256; 168 local.iov_base = lp + PADDING_SIZE;
|
/external/lzma/C/ |
LzmaEnc.h | 22 int lp; /* 0 <= lp <= 4, default = 0 */
member in struct:_CLzmaEncProps
|
/frameworks/base/core/java/android/widget/ |
ViewSwitcher.java | 86 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 87 if (lp == null) { 88 lp = new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); 90 addView(child, lp);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TextGammaActivity.java | 92 final LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( local 95 lp.setMargins(0, 74, 0, 0); 96 layout.addView(gamma, lp);
|
/frameworks/support/samples/SupportTransitionDemos/src/main/java/com/example/android/support/transition/widget/ |
ReparentImageUsage.java | 79 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(size, size); local 80 parent.addView(photo, lp);
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
StaggeredGridLayoutManagerWrapContentTest.java | 66 TestedFrameLayout.FullControlLayoutParams lp = local 81 layoutAndCheck(lp, adapter, expected, 60, 20); 87 TestedFrameLayout.FullControlLayoutParams lp = local 102 layoutAndCheck(lp, adapter, expected, 20, 60); 107 TestedFrameLayout.FullControlLayoutParams lp = local 109 lp.wSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); 123 layoutAndCheck(lp, adapter, expected, 6000, 20); 128 TestedFrameLayout.FullControlLayoutParams lp = local 130 lp.hSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); 144 layoutAndCheck(lp, adapter, expected, 60, 5500) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
BasicSlider.java | 43 LinearLayout lp = (LinearLayout) inflater.inflate( local 45 mSeekBar = (SeekBar) lp.findViewById(R.id.primarySeekBar);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
ShortcutAndWidgetContainer.java | 64 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); local 66 if ((lp.cellX <= x) && (x < lp.cellX + lp.cellHSpan) && 67 (lp.cellY <= y) && (y < lp.cellY + lp.cellVSpan)) { 84 final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); local 86 canvas.drawRect(lp.x, lp.y, lp.x + lp.width, lp.y + lp.height, p) 117 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); local 140 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); local [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
ShortcutAndWidgetContainer.java | 66 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); local 68 if ((lp.cellX <= x) && (x < lp.cellX + lp.cellHSpan) && 69 (lp.cellY <= y) && (y < lp.cellY + lp.cellVSpan)) { 93 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); local 96 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, 99 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX) 114 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); local 146 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); local [all...] |
/packages/experimental/Bummer/src/com/android/dreams/bummer/ |
Bummer.java | 54 final FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams( local 59 mFrame.addView(mApology, lp);
|
/external/adhd/cras/src/dsp/ |
crossover2.h | 43 * Each lp or hp is an LR4 filter, which consists of two second-order 47 struct lr42 lp[3], hp[3]; member in struct:crossover2
|
/external/ltp/testcases/network/tcp_cmds/sendfile/ |
testsf_s.c | 37 char *lp; local 127 lp = &rbuf[0]; 132 while (*lp != '=') { /* convert ascii to integer */ 133 nbuf[count] = *lp; 135 lp++; 141 lp++; 143 tst_resm(TINFO, "The file to send is %s\n", lp); 145 if ((fd = open(lp, O_RDONLY)) < 0) { 165 tst_resm(TINFO, "File %s sent in %d parts\n", lp, chunks);
|