HomeSort by relevance Sort by last modified time
    Searched refs:lp (Results 26 - 50 of 549) sorted by null

12 3 4 5 6 7 8 91011>>

  /development/samples/ApiDemos/src/com/example/android/apis/view/
CustomLayout.java 99 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
100 if (lp.position == LayoutParams.POSITION_LEFT) {
102 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin);
103 } else if (lp.position == LayoutParams.POSITION_RIGHT) {
105 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin);
108 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin);
111 child.getMeasuredHeight() + lp.topMargin + lp.bottomMargin)
151 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
LinearLayoutCompat.java 297 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
298 final int top = child.getTop() - lp.topMargin - mDividerHeight;
310 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
311 bottom = child.getBottom() + lp.bottomMargin;
325 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
328 position = child.getRight() + lp.rightMargin;
330 position = child.getLeft() - lp.leftMargin - mDividerWidth;
347 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
349 position = child.getLeft() - lp.leftMargin - mDividerWidth;
351 position = child.getRight() + lp.rightMargin
466 LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) child.getLayoutParams(); local
629 LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) child.getLayoutParams(); local
745 final LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) local
782 LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) child.getLayoutParams(); local
856 final LinearLayoutCompat.LayoutParams lp = local
895 LinearLayoutCompat.LayoutParams lp = ((LinearLayoutCompat.LayoutParams)child.getLayoutParams()); local
975 final LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) local
1125 final LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) local
1170 final LinearLayoutCompat.LayoutParams lp = local
1277 final LinearLayoutCompat.LayoutParams lp = local
1318 LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) child.getLayoutParams(); local
1464 final LinearLayoutCompat.LayoutParams lp = local
1577 final LinearLayoutCompat.LayoutParams lp = local
    [all...]
ActionMenuView.java 166 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
167 lp.leftMargin = lp.rightMargin = 0;
223 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
224 lp.expanded = false;
225 lp.extraPixels = 0;
226 lp.cellsUsed = 0;
227 lp.expandable = false;
228 lp.leftMargin = 0;
229 lp.rightMargin = 0
261 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
287 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
317 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); local
321 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); local
333 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
369 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
401 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
508 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local
524 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local
    [all...]
  /frameworks/base/core/java/android/widget/
ActionMenuView.java 156 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
157 lp.leftMargin = lp.rightMargin = 0;
213 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
214 lp.expanded = false;
215 lp.extraPixels = 0;
216 lp.cellsUsed = 0;
217 lp.expandable = false;
218 lp.leftMargin = 0;
219 lp.rightMargin = 0
251 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
277 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
307 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); local
311 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); local
323 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
359 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
391 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
499 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local
515 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local
    [all...]
LinearLayout.java 351 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
352 final int top = child.getTop() - lp.topMargin - mDividerHeight;
364 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
365 bottom = child.getBottom() + lp.bottomMargin;
379 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
382 position = child.getRight() + lp.rightMargin;
384 position = child.getLeft() - lp.leftMargin - mDividerWidth;
401 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
403 position = child.getLeft() - lp.leftMargin - mDividerWidth;
405 position = child.getRight() + lp.rightMargin
528 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); local
695 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); local
810 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) local
847 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); local
920 final LinearLayout.LayoutParams lp = local
959 LinearLayout.LayoutParams lp = ((LinearLayout.LayoutParams)child.getLayoutParams()); local
1039 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) local
1188 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) local
1233 final LinearLayout.LayoutParams lp = local
1340 final LinearLayout.LayoutParams lp = local
1381 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); local
1527 final LinearLayout.LayoutParams lp = local
1639 final LinearLayout.LayoutParams lp = local
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedViewCellLayoutChildren.java 92 PagedViewCellLayout.LayoutParams lp = local
94 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap,
98 int childWidthMeasureSpec = MeasureSpec.makeMeasureSpec(lp.width,
100 int childheightMeasureSpec = MeasureSpec.makeMeasureSpec(lp.height,
121 PagedViewCellLayout.LayoutParams lp = local
123 minRowX = Math.min(minRowX, lp.x);
124 maxRowX = Math.max(maxRowX, lp.x + lp.width);
134 PagedViewCellLayout.LayoutParams lp = local
137 int childLeft = offsetX + lp.x
    [all...]
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...]
  /packages/apps/Launcher3/src/com/android/launcher3/
PagedViewCellLayoutChildren.java 92 PagedViewCellLayout.LayoutParams lp = local
94 lp.setup(getContext(),
99 int childWidthMeasureSpec = MeasureSpec.makeMeasureSpec(lp.width,
101 int childheightMeasureSpec = MeasureSpec.makeMeasureSpec(lp.height,
122 PagedViewCellLayout.LayoutParams lp = local
124 minRowX = Math.min(minRowX, lp.x);
125 maxRowX = Math.max(maxRowX, lp.x + lp.width);
135 PagedViewCellLayout.LayoutParams lp = local
138 int childLeft = offsetX + lp.x
    [all...]
InsettableFrameLayout.java 22 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
26 } else if (!lp.ignoreInsets) {
27 lp.topMargin += (newInsets.top - oldInsets.top);
28 lp.leftMargin += (newInsets.left - oldInsets.left);
29 lp.rightMargin += (newInsets.right - oldInsets.right);
30 lp.bottomMargin += (newInsets.bottom - oldInsets.bottom);
32 child.setLayoutParams(lp);
82 public LayoutParams(ViewGroup.LayoutParams lp) {
83 super(lp);
AppWidgetResizeFrame.java 92 LayoutParams lp; local
95 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT,
97 addView(mLeftHandle, lp);
101 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT,
103 addView(mRightHandle, lp);
107 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT,
109 addView(mTopHandle, lp);
113 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT,
115 addView(mBottomHandle, lp);
200 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams() local
398 final DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); local
    [all...]
  /external/ltrace/sysdeps/linux-gnu/arm/
regs.c 43 arm_get_register(struct process *proc, enum arm_register reg, uint32_t *lp)
49 *lp = (uint32_t)l;
54 arm_set_register(struct process *proc, enum arm_register reg, uint32_t lp)
57 (void *)(reg * 4L), (void *)lp);
62 uint32_t *lp)
64 if (arm_get_register(proc, reg, lp) < 0)
67 *lp += 8;
73 arch_addr_t pc_val, uint32_t *lp)
119 *lp = res & 0xffffffff;
regs.h 36 /* Write value of register REG to *LP. Return 0 on success or a
38 int arm_get_register(struct process *proc, enum arm_register reg, uint32_t *lp);
42 uint32_t *lp);
47 arch_addr_t pc, uint32_t *lp);
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListViewHeight.java 62 ViewGroup.MarginLayoutParams lp;
63 lp = (ViewGroup.MarginLayoutParams) mInnerList.getLayoutParams();
64 lp.height = 200;
65 mInnerList.setLayoutParams(lp);
78 ViewGroup.MarginLayoutParams lp;
79 lp = (ViewGroup.MarginLayoutParams) mInnerList.getLayoutParams();
80 lp.height = lp.MATCH_PARENT;
81 mInnerList.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());
  /bionic/libm/upstream-freebsd/lib/msun/src/
e_remainder.c 38 u_int32_t sx,lx,lp; local
42 EXTRACT_WORDS(hp,lp,p);
48 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */
51 (((hp-0x7ff00000)|lp)!=0)))
56 if (((hx-hp)|(lx-lp))==0) return zero*x;
  /external/fdlibm/
e_remainder.c 40 unsigned sx,lx,lp; local
46 lp = __LO(p); /* low word of p */
52 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */
55 (((hp-0x7ff00000)|lp)!=0)))
60 if (((hx-hp)|(lx-lp))==0) return zero*x;
  /frameworks/base/core/tests/coretests/src/com/android/internal/widget/
SizeAdaptiveLayoutTest.java 81 SizeAdaptiveLayout.LayoutParams lp = local
83 int height = (int) lp.minHeight + 10;
98 SizeAdaptiveLayout.LayoutParams lp = local
100 int height = (int) lp.minHeight;
115 SizeAdaptiveLayout.LayoutParams lp = local
117 int height = (int) lp.minHeight - 10;
132 SizeAdaptiveLayout.LayoutParams lp = local
134 lp.maxHeight = 500;
135 mLargeView.setLayoutParams(lp);
136 int height = (int) (lp.minHeight + 10)
151 SizeAdaptiveLayout.LayoutParams lp = local
167 SizeAdaptiveLayout.LayoutParams lp = local
183 SizeAdaptiveLayout.LayoutParams lp = local
199 SizeAdaptiveLayout.LayoutParams lp = local
215 SizeAdaptiveLayout.LayoutParams lp = local
231 SizeAdaptiveLayout.LayoutParams lp = local
247 SizeAdaptiveLayout.LayoutParams lp = local
304 SizeAdaptiveLayout.LayoutParams lp = local
326 SizeAdaptiveLayout.LayoutParams lp = local
348 SizeAdaptiveLayout.LayoutParams lp = local
444 SizeAdaptiveLayout.LayoutParams lp = local
460 SizeAdaptiveLayout.LayoutParams lp = local
    [all...]
  /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);
AbstractLayoutTest.java 60 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) v.getLayoutParams(); local
61 lp.topMargin = (lp.topMargin + 1) % 31;
62 lp.leftMargin = (lp.leftMargin + 1) % 31;
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
BrowseRowsFrameLayout.java 46 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); local
48 getPaddingLeft() + getPaddingRight() + widthUsed, lp.width);
50 getPaddingTop() + getPaddingBottom() + heightUsed, lp.height);
ScaleFrameLayout.java 93 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
101 int gravity = lp.gravity;
112 lp.leftMargin - lp.rightMargin;
115 childLeft = parentRight - width - lp.rightMargin;
119 childLeft = parentLeft + lp.leftMargin;
124 childTop = parentTop + lp.topMargin;
128 lp.topMargin - lp.bottomMargin;
131 childTop = parentBottom - height - lp.bottomMargin
    [all...]
ShadowOverlayContainer.java 159 LayoutParams lp = mWrappedView.getLayoutParams(); local
160 if (lp.width == LayoutParams.MATCH_PARENT) {
164 childWidthMeasureSpec = getChildMeasureSpec(widthMeasureSpec, 0, lp.width);
166 if (lp.height == LayoutParams.MATCH_PARENT) {
170 childHeightMeasureSpec = getChildMeasureSpec(heightMeasureSpec, 0, lp.height);
182 lp = child.getLayoutParams();
183 if (lp.width == LayoutParams.MATCH_PARENT) {
187 childWidthMeasureSpec = getChildMeasureSpec(widthMeasureSpec, 0, lp.width);
190 if (lp.height == LayoutParams.MATCH_PARENT) {
194 childHeightMeasureSpec = getChildMeasureSpec(heightMeasureSpec, 0, lp.height)
    [all...]
  /ndk/sources/android/support/src/musl-locale/
strfmon.c 12 int lp, rp, w, fw; local
53 lp = 0;
55 if (*fmt=='#') for (lp=0, fmt++; isdigit(*fmt); fmt++)
56 lp = 10*lp + (*fmt-'0');
62 w = lp + 1 + rp;
  /packages/apps/Calculator/src/com/android/calculator2/
CalculatorPadLayout.java 78 final MarginLayoutParams lp = (MarginLayoutParams) childView.getLayoutParams(); local
80 final int childTop = paddingTop + lp.topMargin + rowIndex * rowHeight;
81 final int childBottom = childTop - lp.topMargin - lp.bottomMargin + rowHeight;
82 final int childLeft = paddingLeft + lp.leftMargin +
84 final int childRight = childLeft - lp.leftMargin - lp.rightMargin + columnWidth;
  /packages/apps/Browser/src/com/android/browser/
BookmarkItem.java 164 final ViewGroup.LayoutParams lp = child.getLayoutParams(); local
167 mPaddingLeft + mPaddingRight, lp.width);
169 mPaddingTop + mPaddingBottom, lp.height);
184 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); local
187 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin
188 + widthUsed, lp.width);
190 mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin
191 + heightUsed, lp.height)
    [all...]

Completed in 1145 milliseconds

12 3 4 5 6 7 8 91011>>