/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);
|
/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;
|
/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);
|
/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;
|
/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/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...] |
/cts/tests/tests/view/src/android/view/cts/ |
ViewGroup_MarginLayoutParamsTest.java | 98 ViewGroup.LayoutParams lp = new ViewGroup.LayoutParams(320, 480); local 99 mMarginLayoutParams = new ViewGroup.MarginLayoutParams(lp);
|
/external/clang/test/Sema/ |
overloadable-complex.c | 18 int *lp = foo(dc); local 27 long *lp = foo(dc); local
|
/external/clang/test/SemaCXX/ |
complex-overload.cpp | 18 int *lp = foo(dc); local 27 long *lp = foo(dc); local
|
/frameworks/base/core/tests/coretests/src/android/view/ |
IncludeTest.java | 75 final ViewGroup.LayoutParams lp = button1.getLayoutParams(); local 76 assertEquals("Included button should be 23dip x 23dip", 23, lp.width); 77 assertEquals("Included button should be 23dip x 23dip", 23, lp.height);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListItemsExpandOnSelection.java | 46 final AbsListView.LayoutParams lp = new AbsListView.LayoutParams( local 49 result.setLayoutParams(lp);
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
GridLayoutTest.java | 38 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(rowSpec, colSpec); local 39 //GridLayout.LayoutParams lp = new GridLayout.LayoutParams(); 40 lp.setGravity(va | ha); 42 container.addView(v, lp);
|
LinearLayoutTest.java | 36 LayoutParams lp = new LayoutParams(WRAP_CONTENT, WRAP_CONTENT); local 37 lp.gravity = va | ha; 39 container.addView(v, lp);
|
/frameworks/support/v4/java/android/support/v4/app/ |
NoSaveStateFrameLayout.java | 37 NoSaveStateFrameLayout.LayoutParams lp = new NoSaveStateFrameLayout.LayoutParams( local 39 child.setLayoutParams(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 | 90 LayoutParams lp; local 93 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 95 addView(mLeftHandle, lp); 99 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 101 addView(mRightHandle, lp); 105 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 107 addView(mTopHandle, lp); 111 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 113 addView(mBottomHandle, lp); 191 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams() local 239 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) mWidgetView.getLayoutParams(); local 295 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) mWidgetView.getLayoutParams(); local 309 final DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
FrameLayoutCompatUtils.java | 55 final ViewGroup.LayoutParams lp = view.getLayoutParams(); local 56 if (lp instanceof MarginLayoutParams) { 57 final MarginLayoutParams marginLayoutParams = (MarginLayoutParams)lp;
|
/packages/apps/Browser/src/com/android/browser/preferences/ |
AdvancedPreferencesFragment.java | 130 ListPreference lp = (ListPreference) pref; local 131 lp.setValue((String) objValue); 132 updateListPreferenceSummary(lp);
|
/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);
|
/external/libvpx/vp8/common/ |
reconintra4x4.c | 107 unsigned int lp[4]; local 108 lp[0] = (top_left + 2 * Left[0] + Left[1] + 2) >> 2; 109 lp[1] = (Left[0] + 2 * Left[1] + Left[2] + 2) >> 2; 110 lp[2] = (Left[1] + 2 * Left[2] + Left[3] + 2) >> 2; 111 lp[3] = (Left[2] + 2 * Left[3] + Left[3] + 2) >> 2; 117 predictor[c] = lp[r];
|
/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/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...] |
/frameworks/base/core/java/android/widget/ |
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/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);
|
/bionic/libc/unistd/ |
exec.c | 137 int cnt, lp, ln, len; local 176 lp = 1; 178 lp = strlen(p); 186 if (lp + ln + 2 > (int)sizeof(buf)) { 192 iov[1].iov_len = lp; 198 bcopy(p, buf, lp); 199 buf[lp] = '/'; 200 bcopy(name, buf + lp + 1, ln); 201 buf[lp + ln + 1] = '\0';
|