HomeSort by relevance Sort by last modified time
    Searched refs:lp (Results 1 - 25 of 324) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/tests/coretests/src/android/preference/
ListPreferenceTest.java 26 ListPreference lp = new ListPreference(getContext()); local
27 lp.setEntries(entries);
28 lp.setEntryValues(entryValues);
30 lp.setValue(entryValues[1]);
31 assertTrue(lp.getSummary() == null);
33 lp.setSummary("%1$s");
34 assertEquals(entries[1], lp.getSummary());
36 lp.setValue(entryValues[2]);
37 assertEquals(entries[2], lp.getSummary());
39 lp.setSummary(null)
    [all...]
  /frameworks/base/core/java/android/inputmethodservice/
SoftInputWindow.java 39 WindowManager.LayoutParams lp = getWindow().getAttributes(); local
40 lp.token = token;
41 getWindow().setAttributes(lp);
95 WindowManager.LayoutParams lp = getWindow().getAttributes(); local
97 if (lp.gravity == Gravity.TOP || lp.gravity == Gravity.BOTTOM) {
98 return lp.height;
100 return lp.width;
114 WindowManager.LayoutParams lp = getWindow().getAttributes(); local
116 if (lp.gravity == Gravity.TOP || lp.gravity == Gravity.BOTTOM)
135 WindowManager.LayoutParams lp = getWindow().getAttributes(); local
152 WindowManager.LayoutParams lp = getWindow().getAttributes(); local
    [all...]
  /external/mksh/src/
lalloc.c 46 void *lp; local
57 *lpp = (lp = ptr - ALLOC_SIZE);
59 while (ap->next != lp)
87 ALLOC_ITEM *lp = NULL; local
93 pp = findptr(&lp, ptr, ap);
94 pp->next = lp->next;
98 (lp = remalloc(lp, numb + ALLOC_SIZE)) == NULL
100 || ALLOC_ISUNALIGNED(lp)
105 lp->next = ap->next
115 ALLOC_ITEM *lp, *pp; local
128 ALLOC_ITEM *lp; local
    [all...]
  /packages/apps/Gallery2/src/com/android/camera/ui/
CameraControls.java 185 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) v.getLayoutParams(); local
186 int tw = lp.leftMargin + v.getMeasuredWidth() + lp.rightMargin;
187 int th = lp.topMargin + v.getMeasuredHeight() + lp.bottomMargin;
191 result.left = (r + l) / 2 - tw / 2 + lp.leftMargin;
192 result.right = (r + l) / 2 + tw / 2 - lp.rightMargin;
193 result.bottom = b - lp.bottomMargin;
194 result.top = b - th + lp.topMargin;
198 result.right = r - lp.rightMargin
222 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) v.getLayoutParams(); local
234 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) v.getLayoutParams(); local
274 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) v.getLayoutParams(); local
    [all...]
RotatableLayout.java 95 ViewGroup.LayoutParams lp = getLayoutParams(); local
96 int width = lp.width;
97 int height = lp.height;
98 lp.height = width;
99 lp.width = height;
100 setLayoutParams(lp);
150 LayoutParams lp = (LayoutParams) view.getLayoutParams();
151 int gravity = lp.gravity;
175 lp.gravity = ngravity;
176 int ml = lp.leftMargin
    [all...]
  /system/core/sh/
nodes.c.pat 95 sizenodelist(lp)
96 struct nodelist *lp;
98 while (lp) {
100 calcsize(lp->n);
101 lp = lp->next;
119 copynodelist(lp)
120 struct nodelist *lp;
126 while (lp) {
130 (*lpp)->n = copynode(lp->n)
    [all...]
  /development/apps/Development/src/com/android/development/
PointerLocation.java 36 WindowManager.LayoutParams lp = getWindow().getAttributes(); local
37 lp.screenBrightness = 1.0f;
38 getWindow().setAttributes(lp);
  /external/grub/netboot/
depca.c 465 static struct depca_private lp; variable in typeref:struct:depca_private
480 lp.rx_cur = lp.tx_cur = 0;
482 for (i = 0; i <= lp.rxRingMask; i++) {
483 writel((p = lp.dma_buffs + i * RX_BUFF_SZ) | R_OWN, &lp.rx_ring[i].base);
484 writew(-RX_BUFF_SZ, &lp.rx_ring[i].buf_length);
485 lp.rx_memcpy[i] = (char *) (p + lp.bus_offset);
487 for (i = 0; i <= lp.txRingMask; i++)
    [all...]
lance.c 142 static struct lance_interface *lp; variable in typeref:struct:lance_interface
262 lp->init_block.phys_addr[i] = nic->node_addr[i];
265 lp->rx_ring[i].buf_length = -ETH_FRAME_LEN-4;
267 lp->rx_ring[i].u.base = virt_to_bus(lp->rbuf[i]) & 0xffffff;
269 lp->rx_ring[i].u.addr[3] = 0x80;
271 lp->rx_idx = 0;
272 lp->init_block.mode = 0x0; /* enable Rx and Tx */
273 l = (Address)virt_to_bus(&lp->init_block);
306 status = lp->rx_ring[lp->rx_idx].u.base >> 24
    [all...]
  /external/openssl/crypto/des/
qud_cksm.c 84 struct lp_st { int a:32; int b:32; } *lp; local
86 DES_LONG *lp; local
91 lp = (struct lp_st *) &(output[0])[0];
93 lp = (DES_LONG *) &(output[0])[0];
123 if (lp != NULL)
128 (*lp).a = z0;
129 (*lp).b = z1;
130 lp++;
132 *lp++ = z0;
133 *lp++ = z1
    [all...]
  /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...]
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...]
  /external/bison/lib/
obstack.c 322 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */
325 lp = (h)->chunk;
329 while (lp != 0 && ((void *) lp >= obj || (void *) (lp)->limit < obj))
331 plp = lp->prev;
332 lp = plp;
334 return lp != 0;
346 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */
349 lp = h->chunk
321 register struct _obstack_chunk *lp; \/* below addr of any objects in this chunk *\/ variable in typeref:struct:_obstack_chunk
344 register struct _obstack_chunk *lp; \/* below addr of any objects in this chunk *\/ local
380 register struct _obstack_chunk* lp; local
    [all...]
  /ndk/sources/host-tools/sed-4.2.1/lib/
obstack.c 324 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */
327 lp = (h)->chunk;
331 while (lp != 0 && ((void *) lp >= obj || (void *) (lp)->limit < obj))
333 plp = lp->prev;
334 lp = plp;
336 return lp != 0;
348 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */
351 lp = h->chunk
323 register struct _obstack_chunk *lp; \/* below addr of any objects in this chunk *\/ variable in typeref:struct:_obstack_chunk
346 register struct _obstack_chunk *lp; \/* below addr of any objects in this chunk *\/ local
382 register struct _obstack_chunk* lp; local
    [all...]
  /cts/tests/src/android/hardware/cts/
CameraStubActivity.java 37 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams(); local
38 lp.width = LAYOUT_WIDTH;
39 lp.height = LAYOUT_HEIGHT;
40 mSurfaceView.setLayoutParams(lp);
  /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/base/core/java/android/widget/
LinearLayout.java 326 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
327 final int top = child.getTop() - lp.topMargin - mDividerHeight;
339 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
340 bottom = child.getBottom() + lp.bottomMargin;
354 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
357 position = child.getRight() + lp.rightMargin;
359 position = child.getLeft() - lp.leftMargin - mDividerWidth;
376 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
378 position = child.getLeft() - lp.leftMargin - mDividerWidth;
380 position = child.getRight() + lp.rightMargin
503 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); local
669 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); local
783 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) local
819 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); local
892 final LinearLayout.LayoutParams lp = local
931 LinearLayout.LayoutParams lp = ((LinearLayout.LayoutParams)child.getLayoutParams()); local
1010 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) local
1157 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) local
1201 final LinearLayout.LayoutParams lp = local
1308 final LinearLayout.LayoutParams lp = local
1349 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); local
1495 final LinearLayout.LayoutParams lp = local
1607 final LinearLayout.LayoutParams lp = local
    [all...]
  /frameworks/base/core/java/com/android/internal/view/menu/
ActionMenuView.java 117 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
118 lp.leftMargin = lp.rightMargin = 0;
176 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
177 lp.expanded = false;
178 lp.extraPixels = 0;
179 lp.cellsUsed = 0;
180 lp.expandable = false;
181 lp.leftMargin = 0;
182 lp.rightMargin = 0
214 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
240 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
270 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); local
274 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); local
286 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
322 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
355 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
463 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local
479 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
ActionBarOverlayLayout.java 147 LayoutParams lp = (LayoutParams)view.getLayoutParams(); local
148 if (left && lp.leftMargin != insets.left) {
150 lp.leftMargin = insets.left;
152 if (top && lp.topMargin != insets.top) {
154 lp.topMargin = insets.top;
156 if (right && lp.rightMargin != insets.right) {
158 lp.rightMargin = insets.right;
160 if (bottom && lp.bottomMargin != insets.bottom) {
162 lp.bottomMargin = insets.bottom;
230 LayoutParams lp = (LayoutParams) mActionBarTop.getLayoutParams() local
336 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
    [all...]
  /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);
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
ActionBarOverlayLayout.java 72 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) view.getLayoutParams(); local
73 if (left && lp.leftMargin != insets.left) {
75 lp.leftMargin = insets.left;
77 if (top && lp.topMargin != insets.top) {
79 lp.topMargin = insets.top;
81 if (right && lp.rightMargin != insets.right) {
83 lp.rightMargin = insets.right;
85 if (bottom && lp.bottomMargin != insets.bottom) {
87 lp.bottomMargin = insets.bottom;
  /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/support/v7/appcompat/src/android/support/v7/internal/view/menu/
ActionMenuView.java 117 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
118 lp.leftMargin = lp.rightMargin = 0;
178 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
179 lp.expanded = false;
180 lp.extraPixels = 0;
181 lp.cellsUsed = 0;
182 lp.expandable = false;
183 lp.leftMargin = 0;
184 lp.rightMargin = 0
222 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
252 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
284 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); local
290 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); local
306 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
342 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
377 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
482 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local
    [all...]
  /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
455 SizeAdaptiveLayout.LayoutParams lp = local
471 SizeAdaptiveLayout.LayoutParams lp = local
    [all...]

Completed in 1039 milliseconds

1 2 3 4 5 6 7 8 91011>>