/cts/tests/tests/widget/src/android/widget/cts/util/ |
ListItemFactory.java | 96 final LinearLayout.LayoutParams lp local 98 lp.setMargins(10, 0, 10, 0); 99 lp.weight = 0.33f; 121 ll.addView(button, lp); 123 ll.addView(new View(context), lp); 129 ll.addView(button, lp); 131 ll.addView(new View(context), lp); 137 ll.addView(button, lp); 139 ll.addView(new View(context), lp); 158 final ViewGroup.LayoutParams lp = new AbsListView.LayoutParams local 198 final ViewGroup.LayoutParams lp = new AbsListView.LayoutParams( local 239 final AbsListView.LayoutParams lp = local [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
ListItemFactory.java | 96 final LinearLayout.LayoutParams lp local 98 lp.setMargins(10, 0, 10, 0); 99 lp.weight = 0.33f; 121 ll.addView(button, lp); 123 ll.addView(new View(context), lp); 129 ll.addView(button, lp); 131 ll.addView(new View(context), lp); 137 ll.addView(button, lp); 139 ll.addView(new View(context), lp); 159 final ViewGroup.LayoutParams lp = new AbsListView.LayoutParams local 199 final ViewGroup.LayoutParams lp = new AbsListView.LayoutParams( local 240 final AbsListView.LayoutParams lp = local [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/ |
InfoBarLayout.java | 81 LayoutParams lp = (LayoutParams) views[i].getLayoutParams(); local 82 lp.startMargin = i == 0 ? startMargin : horizontalSpacing; 83 lp.topMargin = 0; 84 lp.endMargin = i == views.length - 1 ? endMargin : 0; 85 lp.bottomMargin = 0; 93 LayoutParams lp = (LayoutParams) views[i].getLayoutParams(); local 94 lp.startMargin = 0; 95 lp.topMargin = i == 0 ? 0 : verticalSpacing; 96 lp.endMargin = 0; 97 lp.bottomMargin = i == views.length - 1 ? bottomMargin : 0 306 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 391 LayoutParams lp = (LayoutParams) mMessageView.getLayoutParams(); local 407 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 437 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 485 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local [all...] |
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
exec.c | 136 size_t lp, ln, len; local 175 lp = 1; 177 lp = strlen(p); 185 if (lp + ln + 2 > sizeof(buf)) { 191 iov[1].iov_len = lp; 197 bcopy(p, buf, lp); 198 buf[lp] = '/'; 199 bcopy(name, buf + lp + 1, ln); 200 buf[lp + ln + 1] = '\0';
|
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/ |
SimpleStringAdapter.java | 80 RecyclerView.LayoutParams lp = new RecyclerView.LayoutParams( local 83 lp.leftMargin = 10; 84 lp.rightMargin = 5; 85 lp.topMargin = 20; 86 lp.bottomMargin = 15; 87 h.mTextView.setLayoutParams(lp);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_query.c | 158 llvmpipe_check_render_cond(struct llvmpipe_context *lp) 160 struct pipe_context *pipe = &lp->pipe; 164 if (!lp->render_cond_query) 166 wait = (lp->render_cond_mode == PIPE_RENDER_COND_WAIT || 167 lp->render_cond_mode == PIPE_RENDER_COND_BY_REGION_WAIT); 169 b = pipe->get_query_result(pipe, lp->render_cond_query, wait, (void*)&result);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_query.c | 158 llvmpipe_check_render_cond(struct llvmpipe_context *lp) 160 struct pipe_context *pipe = &lp->pipe; 164 if (!lp->render_cond_query) 166 wait = (lp->render_cond_mode == PIPE_RENDER_COND_WAIT || 167 lp->render_cond_mode == PIPE_RENDER_COND_BY_REGION_WAIT); 169 b = pipe->get_query_result(pipe, lp->render_cond_query, wait, (void*)&result);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
GridLayoutTest.java | 158 ViewGroup.LayoutParams lp = gridLayout.generateLayoutParams(null); local 159 assertNotNull(lp); 160 assertTrue(lp instanceof GridLayout.LayoutParams); 161 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, lp.width); 162 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, lp.height); 174 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(spec(0), spec(0)); local 175 lp.setGravity(Gravity.CENTER); 177 container.addView(v, lp); 182 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(spec(row), spec(0)); local 183 lp.setGravity(va.gravity | Gravity.CENTER_HORIZONTAL) 193 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(spec(0), spec(col)); local 207 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(spec(row), spec(col)); local [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/view/ |
CardViewActivity.java | 85 ViewGroup.LayoutParams lp; local 87 lp = setViewBounds(mCardView); 89 lp = setViewBounds(mInfoText); 93 + "\n w: " + lp.width + "\nh: " + lp.height 99 ViewGroup.LayoutParams lp = view.getLayoutParams(); local 100 boolean changed = lp.width != mWidthSeekBar.getProgress() 101 || lp.height != mHeightSeekBar.getProgress(); 103 return lp; 105 lp.width = mWidthSeekBar.getProgress() [all...] |
/external/eigen/test/ |
permutationmatrices.cpp | 32 LeftPermutationType lp(lv); 36 MatrixType m_permuted = lp * m_original * rp; 42 Matrix<Scalar,Rows,Rows> lm(lp); 47 VERIFY_IS_APPROX(lp.inverse()*m_permuted*rp.inverse(), m_original); 51 VERIFY((lp*lp.inverse()).toDenseMatrix().isIdentity()); 59 VERIFY_IS_APPROX((lp*lp2).toDenseMatrix().template cast<Scalar>(), lm*lm2); 69 m_permuted = lp.inverse() * m_permuted; 70 VERIFY_IS_APPROX(m_permuted, lp.inverse()*m_original); 77 m_permuted = lp * m_permuted [all...] |
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
FakeApp.java | 117 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( local 123 lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED; 125 lp.width = ViewGroup.LayoutParams.MATCH_PARENT; 126 lp.height = ViewGroup.LayoutParams.MATCH_PARENT; 129 lp.x = maxSize; 130 lp.y = maxSize; 131 lp.setTitle(getPackageName()); 132 wm.addView(view, lp);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
MultiPaneChallengeLayout.java | 188 private int getVirtualHeight(LayoutParams lp, int height, int heightUsed) { 197 if (lp.childType == LayoutParams.CHILD_TYPE_USER_SWITCHER) { 201 } else if (lp.childType == LayoutParams.CHILD_TYPE_PAGE_DELETE_DROP_TARGET) { 232 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 234 if (lp.childType == LayoutParams.CHILD_TYPE_CHALLENGE) { 244 } else if (lp.childType == LayoutParams.CHILD_TYPE_USER_SWITCHER) { 255 if (lp.maxWidth >= 0) { 257 Math.min(lp.maxWidth, width), MeasureSpec.EXACTLY); 259 if (lp.maxHeight >= 0) { 261 Math.min(lp.maxHeight, insetHeight), MeasureSpec.EXACTLY) 282 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 350 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 369 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
NoSaveStateFrameLayout.java | 37 NoSaveStateFrameLayout.LayoutParams lp = new NoSaveStateFrameLayout.LayoutParams( local 39 child.setLayoutParams(lp);
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
DashboardContainerView.java | 60 ViewGroup.LayoutParams lp = v.getLayoutParams(); local 62 lp.width = (int) ((colSpan * cellWidth) + (colSpan - 1) * mCellGapX); 65 int newWidthSpec = getChildMeasureSpec(widthMeasureSpec, 0, lp.width); 66 int newHeightSpec = getChildMeasureSpec(heightMeasureSpec, 0, lp.height); 74 lp.height = cellHeight; 98 final ViewGroup.LayoutParams lp = child.getLayoutParams(); local 106 final int childWidth = lp.width; 107 final int childHeight = lp.height;
|
/external/chromium_org/third_party/lzma_sdk/ |
LzmaLib.h | 21 state_size = (4 + (1.5 << (lc + lp))) KB 22 by default (lc=3, lp=0), state_size = 16 KB. 26 0 1 lc, lp and pb in encoded form. 39 -1 for any from: level, loc, lp, pb, fb, numThreads 70 lp - The number of literal pos bits (low bits of current position for literals). 72 The lp switch is intended for periodical data when the period is equal to 2^lp. 73 For example, for 32-bit (4 bytes) periodical data you can use lp=2. Often it's 74 better to set lc=0, if you change lp switch. 103 int lp, /* 0 <= lp <= 4, default = 0 * [all...] |
LzmaLib.c | 20 int lp, /* 0 <= lp <= 4, default = 0 */ 31 props.lp = lp;
|
/external/chromium_org/third_party/ots/third_party/lzma_sdk/ |
LzmaLib.h | 22 state_size = (4 + (1.5 << (lc + lp))) KB 23 by default (lc=3, lp=0), state_size = 16 KB. 27 0 1 lc, lp and pb in encoded form. 40 -1 for any from: level, loc, lp, pb, fb, numThreads 71 lp - The number of literal pos bits (low bits of current position for literals). 73 The lp switch is intended for periodical data when the period is equal to 2^lp. 74 For example, for 32-bit (4 bytes) periodical data you can use lp=2. Often it's 75 better to set lc=0, if you change lp switch. 104 int lp, /* 0 <= lp <= 4, default = 0 * [all...] |
LzmaLib.c | 21 int lp, /* 0 <= lp <= 4, default = 0 */ 32 props.lp = lp;
|
/external/lzma/C/ |
LzmaLib.h | 21 state_size = (4 + (1.5 << (lc + lp))) KB
22 by default (lc=3, lp=0), state_size = 16 KB.
26 0 1 lc, lp and pb in encoded form.
39 -1 for any from: level, loc, lp, pb, fb, numThreads
70 lp - The number of literal pos bits (low bits of current position for literals).
72 The lp switch is intended for periodical data when the period is equal to 2^lp.
73 For example, for 32-bit (4 bytes) periodical data you can use lp=2. Often it's
74 better to set lc=0, if you change lp switch.
103 int lp, /* 0 <= lp <= 4, default = 0 */ [all...] |
LzmaLib.c | 20 int lp, /* 0 <= lp <= 4, default = 0 */
31 props.lp = lp;
|
/frameworks/base/core/java/android/widget/ |
ViewSwitcher.java | 95 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 96 if (lp == null) { 97 lp = new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); 99 addView(child, lp);
|
FrameLayout.java | 437 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 439 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 441 child.getMeasuredHeight() + lp.topMargin + lp.bottomMargin); 444 if (lp.width == LayoutParams.MATCH_PARENT || 445 lp.height == LayoutParams.MATCH_PARENT) { 476 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); local 480 if (lp.width == LayoutParams.MATCH_PARENT) { 483 lp.leftMargin - lp.rightMargin 532 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ControlBar.java | 78 LayoutParams lp = (LayoutParams) second.getLayoutParams(); local 79 int extraMargin = marginStart - lp.getMarginStart(); 80 lp.setMarginStart(marginStart); 81 second.setLayoutParams(lp);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
SlidingPaneLayout.java | 504 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 507 lp.dimWhenOffset = false; 511 if (lp.weight > 0) { 512 weightSum += lp.weight; 516 if (lp.width == 0) continue; 520 final int horizontalMargin = lp.leftMargin + lp.rightMargin; 521 if (lp.width == LayoutParams.WRAP_CONTENT) { 524 } else if (lp.width == LayoutParams.FILL_PARENT) { 528 childWidthSpec = MeasureSpec.makeMeasureSpec(lp.width, MeasureSpec.EXACTLY) 680 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 946 final LayoutParams lp = (LayoutParams) mSlideableView.getLayoutParams(); local 968 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local 994 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 1054 final LayoutParams lp = (LayoutParams) mSlideableView.getLayoutParams(); local 1247 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 1335 final LayoutParams lp = (LayoutParams) releasedChild.getLayoutParams(); local 1362 final LayoutParams lp = (LayoutParams) mSlideableView.getLayoutParams(); local [all...] |
/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);
|