/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...] |
/external/mksh/src/ |
lalloc.c | 46 void *lp; local 57 *lpp = (lp = ptr - ALLOC_SIZE); 59 while (ap->next != lp) 72 ALLOC_ITEM *lp = NULL; local 78 pp = findptr(&lp, ptr, ap); 79 pp->next = lp->next; 83 (lp = remalloc(lp, numb + ALLOC_SIZE)) == NULL 85 || ALLOC_ISUNALIGNED(lp) 91 lp->next = ap->next 101 ALLOC_ITEM *lp, *pp; local 114 ALLOC_ITEM *lp; local [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
SoftInputWindow.java | 43 WindowManager.LayoutParams lp = getWindow().getAttributes(); local 44 lp.token = token; 45 getWindow().setAttributes(lp); 99 WindowManager.LayoutParams lp = getWindow().getAttributes(); local 101 if (lp.gravity == Gravity.TOP || lp.gravity == Gravity.BOTTOM) { 102 return lp.height; 104 return lp.width; 118 WindowManager.LayoutParams lp = getWindow().getAttributes(); local 120 if (lp.gravity == Gravity.TOP || lp.gravity == Gravity.BOTTOM) 139 WindowManager.LayoutParams lp = getWindow().getAttributes(); local 156 WindowManager.LayoutParams lp = getWindow().getAttributes(); local [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);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
CellLayoutChildren.java | 60 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); local 62 if ((lp.cellX <= x) && (x < lp.cellX + lp.cellHSpan) && 63 (lp.cellY <= y) && (y < lp.cellY + lp.cellVSpan)) { 82 public void setupLp(CellLayout.LayoutParams lp) { 83 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap); 89 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams() local 104 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); local [all...] |
AppWidgetResizeFrame.java | 89 LayoutParams lp; local 92 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 94 addView(mLeftHandle, lp); 98 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 100 addView(mRightHandle, lp); 104 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 106 addView(mTopHandle, lp); 110 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 112 addView(mBottomHandle, lp); 189 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams() local 237 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) mWidgetView.getLayoutParams(); local 293 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) mWidgetView.getLayoutParams(); local 307 final DragLayer.LayoutParams lp = (DragLayer.LayoutParams) 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...] |
DragView.java | 97 DragLayer.LayoutParams lp = mLayoutParams; 98 lp.x += deltaX; 99 lp.y += deltaY; 200 DragLayer.LayoutParams lp = new DragLayer.LayoutParams(0, 0); local 201 lp.width = mBitmap.getWidth(); 202 lp.height = mBitmap.getHeight(); 203 lp.x = touchX - mRegistrationX; 204 lp.y = touchY - mRegistrationY; 205 lp.customPosition = true; 206 setLayoutParams(lp); 218 DragLayer.LayoutParams lp = mLayoutParams; local 233 DragLayer.LayoutParams lp = mLayoutParams; local [all...] |
/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...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenuView.java | 150 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 151 lp.expanded = false; 152 lp.extraPixels = 0; 153 lp.cellsUsed = 0; 154 lp.expandable = false; 155 lp.leftMargin = 0; 156 lp.rightMargin = 0; 157 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText(); 160 final int cellsAvailable = lp.isOverflowButton ? 1 : cellsRemaining; 166 if (lp.expandable) expandableItemCount++ 188 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 214 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 244 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); local 248 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); local 260 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 297 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 329 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 425 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local [all...] |
/external/bison/lib/ |
obstack.c | 334 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ 337 lp = (h)->chunk; 341 while (lp != 0 && ((void *) lp >= obj || (void *) (lp)->limit < obj)) 343 plp = lp->prev; 344 lp = plp; 346 return lp != 0; 358 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ 361 lp = h->chunk 333 register struct _obstack_chunk *lp; \/* below addr of any objects in this chunk *\/ variable in typeref:struct:_obstack_chunk 356 register struct _obstack_chunk *lp; \/* below addr of any objects in this chunk *\/ local 392 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);
|
/frameworks/base/core/java/android/widget/ |
LinearLayout.java | 309 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 310 final int top = child.getTop() - lp.topMargin; 322 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 323 bottom = child.getBottom() + lp.bottomMargin; 336 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 337 final int left = child.getLeft() - lp.leftMargin; 349 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 350 right = child.getRight() + lp.rightMargin; 468 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); local 469 return childTop + lp.topMargin + childBaseline 634 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); local 748 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) local 784 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); local 857 final LinearLayout.LayoutParams lp = local 896 LinearLayout.LayoutParams lp = ((LinearLayout.LayoutParams)child.getLayoutParams()); local 975 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) local 1122 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) local 1166 final LinearLayout.LayoutParams lp = local 1273 final LinearLayout.LayoutParams lp = local 1314 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); local 1456 final LinearLayout.LayoutParams lp = local 1564 final LinearLayout.LayoutParams lp = local [all...] |
FrameLayout.java | 294 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 296 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 298 child.getMeasuredHeight() + lp.topMargin + lp.bottomMargin); 301 if (lp.width == LayoutParams.MATCH_PARENT || 302 lp.height == LayoutParams.MATCH_PARENT) { 333 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); local 337 if (lp.width == LayoutParams.MATCH_PARENT) { 340 lp.leftMargin - lp.rightMargin 384 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local [all...] |
ViewSwitcher.java | 81 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 82 if (lp == null) { 83 lp = new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); 85 addView(child, 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);
|
/bionic/libm/src/ |
e_remainder.c | 37 u_int32_t sx,lx,lp; local 41 EXTRACT_WORDS(hp,lp,p); 47 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */ 50 (((hp-0x7ff00000)|lp)!=0))) 55 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/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);
|
/cts/tests/src/android/media/cts/ |
MediaStubActivity.java | 37 ViewGroup.LayoutParams lp = surfaceV.getLayoutParams(); local 38 lp.width = WIDTH; 39 lp.height = HEIGHT; 40 surfaceV.setLayoutParams(lp);
|
/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...] |