/packages/apps/Settings/src/com/android/settings/widget/ |
MatchParentShrinkingLinearLayout.java | 337 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 338 final int top = child.getTop() - lp.topMargin - mDividerHeight; 350 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 351 bottom = child.getBottom() + lp.bottomMargin; 365 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 368 position = child.getRight() + lp.rightMargin; 370 position = child.getLeft() - lp.leftMargin - mDividerWidth; 387 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 389 position = child.getLeft() - lp.leftMargin - mDividerWidth; 391 position = child.getRight() + lp.rightMargin 514 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 681 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 796 final LayoutParams lp = (LayoutParams) local 833 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 926 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 964 LayoutParams lp = local 1007 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 1153 final LayoutParams lp = local 1276 final LayoutParams lp = local [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/ |
WifiDetailPreferenceControllerTest.java | 509 // Pretend that the NetworkCallback was triggered with a new copy of lp. We need to create a 510 // new copy because the code only updates if !mLinkProperties.equals(lp). 511 private void updateLinkProperties(LinkProperties lp) { 512 mCallbackCaptor.getValue().onLinkPropertiesChanged(mockNetwork, new LinkProperties(lp)); 540 LinkProperties lp = new LinkProperties(); local 542 lp.addLinkAddress(Constants.IPV6_LINKLOCAL); 543 updateLinkProperties(lp); 547 lp.addRoute(Constants.IPV4_DEFAULT); 548 updateLinkProperties(lp); 552 lp.addLinkAddress(Constants.IPV4_ADDR) [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
ScheduleRowPresenter.java | 196 final ViewGroup.LayoutParams lp = mSelectorView.getLayoutParams(); local 259 lp.width = targetWidth; 264 final float deltaWidth = lp.width - targetWidth; 274 lp.width = targetWidth + Math.round(deltaWidth * fraction); [all...] |
/packages/apps/TV/src/com/android/tv/ui/ |
TvViewUiManager.java | 392 FrameLayout.LayoutParams lp; 399 if (lp == null) { 400 lp = new FrameLayout.LayoutParams(0, 0); 401 lp.gravity = startValue.gravity; 403 interpolateMargins(lp, startValue, endValue, fraction); 404 return lp; 620 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(0, 0); local 621 lp.setMarginStart(startMargin); 622 lp.setMarginEnd(endMargin); 623 lp.topMargin = topMargin [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
SuggestionStripLayoutHelper.java | 560 final ViewGroup.LayoutParams lp = v.getLayoutParams(); local 561 if (lp instanceof LinearLayout.LayoutParams) { 562 final LinearLayout.LayoutParams llp = (LinearLayout.LayoutParams)lp;
|
/packages/services/Telephony/src/com/android/phone/ |
EmergencyDialer.java | 186 WindowManager.LayoutParams lp = getWindow().getAttributes(); local 187 lp.flags |= WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED; 191 // lp.userActivityTimeout = USER_ACTIVITY_TIMEOUT_WHEN_NO_PROX_SENSOR; 193 getWindow().setAttributes(lp);
|
/system/core/toolbox/ |
newfs_msdos.c | 851 struct disklabel *lp, dlp; local 855 lp = NULL; 859 lp = getdiskbyname(dtype); 863 if (lp == NULL) { 875 lp = &dlp; 881 lp = &dlp; 886 if (lp == NULL) { 910 lp = &dlp; 914 bpb->bps = ckgeom(fname, lp->d_secsize, "bytes/sector"); 916 bpb->spt = ckgeom(fname, lp->d_nsectors, "sectors/track") [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
Vpn.java | 817 LinkProperties lp = new LinkProperties(); local 919 LinkProperties lp = makeLinkProperties(); local 936 LinkProperties lp = makeLinkProperties(); local 1905 final LinkProperties lp = cm.getLinkProperties(network); local [all...] |
/frameworks/base/tests/net/java/android/net/apf/ |
ApfTest.java | 980 LinkProperties lp = new LinkProperties(); local 991 LinkProperties lp = new LinkProperties(); local 1086 LinkProperties lp = new LinkProperties(); local 1341 LinkProperties lp = new LinkProperties(); local [all...] |
/frameworks/support/slidingpanelayout/src/main/java/androidx/slidingpanelayout/widget/ |
SlidingPaneLayout.java | 500 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 503 lp.dimWhenOffset = false; 507 if (lp.weight > 0) { 508 weightSum += lp.weight; 512 if (lp.width == 0) continue; 516 final int horizontalMargin = lp.leftMargin + lp.rightMargin; 517 if (lp.width == LayoutParams.WRAP_CONTENT) { 520 } else if (lp.width == LayoutParams.MATCH_PARENT) { 524 childWidthSpec = MeasureSpec.makeMeasureSpec(lp.width, MeasureSpec.EXACTLY) 676 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 940 final LayoutParams lp = (LayoutParams) mSlideableView.getLayoutParams(); local 962 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local 988 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 1075 final LayoutParams lp = (LayoutParams) mSlideableView.getLayoutParams(); local 1270 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 1366 final LayoutParams lp = (LayoutParams) releasedChild.getLayoutParams(); local 1393 final LayoutParams lp = (LayoutParams) mSlideableView.getLayoutParams(); local [all...] |
/prebuilts/maven_repo/android/com/android/support/support-v4/18.0.0/ |
support-v4-18.0.0.jar | |
/bionic/libc/tzcode/ |
localtime.c | 1590 register const struct lsinfo * lp; local 2208 register struct lsinfo const * lp; local [all...] |
/cts/tests/app/src/android/app/cts/ |
DialogTest.java | 337 final WindowManager.LayoutParams lp = d.getWindow().getAttributes(); local 343 d.setContentView(inflate2.inflate(R.layout.alert_dialog_text_entry, null), lp); 572 final WindowManager.LayoutParams lp = d.getWindow().getAttributes(); local 573 lp.setTitle("test OnWindowAttributesChanged"); 576 d.getWindow().setAttributes(lp); 582 assertSame(lp, d.getWindow().getAttributes()); [all...] |
/cts/tests/tests/location/src/android/location/cts/ |
LocationManagerTest.java | 79 LocationProvider lp = mManager.getProvider(TEST_MOCK_PROVIDER_NAME); local 80 if (lp != null) { [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
WindowTest.java | 267 final ViewGroup.LayoutParams lp = new ViewGroup.LayoutParams(VIEWGROUP_LAYOUT_WIDTH, local 275 mWindow.addContentView(inflater.inflate(R.layout.windowstub_addlayout, null), lp); local 453 final ViewGroup.LayoutParams lp = new ViewGroup.LayoutParams(VIEWGROUP_LAYOUT_WIDTH, local 475 mWindow.setContentView(setView, lp); [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
LinearLayoutTest.java | 227 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 228 lp.height = 0; 229 lp.width = LayoutParams.MATCH_PARENT; 230 child.setLayoutParams(lp); 246 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 247 lp.height = LayoutParams.MATCH_PARENT; 248 lp.width = 0; 249 child.setLayoutParams(lp); 267 ViewGroup.LayoutParams lp = new ViewGroup.LayoutParams(320, 240); local 269 LayoutParams layoutParams1 = parent.generateLayoutParams(lp); 314 ViewGroup.MarginLayoutParams lp = new ViewGroup.MarginLayoutParams(3, 5); local [all...] |
ListViewTest.java | 1095 ViewGroup.LayoutParams lp = new ViewGroup.LayoutParams( local [all...] |
RemoteViewsTest.java | 129 FrameLayout.MarginLayoutParams lp = new FrameLayout.MarginLayoutParams( local 132 mResult.setLayoutParams(lp); [all...] |
/external/dhcpcd-6.8.2/ |
dhcp.c | 717 uint8_t *m, *lp, *p, *auth; local 894 lp = p; 914 *lp = (uint8_t)(*lp + i); 943 lp = p++; 944 *lp = sizeof(ul); 955 if (vivco->len + 2 + *lp > 255) { 965 *lp = (uint8_t)(*lp + vivco->len + 1); 998 for (lp = n_params + 1; lp < p; lp++ [all...] |
/external/icu/icu4c/source/i18n/ |
rbnf.cpp | 1523 int32_t lp = description.indexOf(gLenientParse, -1, 0); local [all...] |
/external/icu/icu4c/source/test/intltest/ |
caltest.cpp | 3669 int32_t lp = calChinese->get(UCAL_IS_LEAP_MONTH, status); local [all...] |
ssearch.cpp | 725 UnicodeString lp = "fuss"; local 735 UnicodeString lpUnescaped = lp.unescape(); [all...] |
/external/icu/icu4c/source/tools/tzcode/ |
localtime.c | 1421 register const struct lsinfo * lp; local 2003 register struct lsinfo * lp; local [all...] |
/external/libpng/contrib/libtests/ |
pngimage.c | 690 const char *lp; local 695 case INFORMATION: lp = "information"; break; 696 case LIBPNG_WARNING: lp = "warning(libpng)"; break; 697 case APP_WARNING: lp = "warning(pngimage)"; break; 698 case APP_FAIL: lp = "error(continuable)"; break; 699 case LIBPNG_ERROR: lp = "error(libpng)"; break; 700 case LIBPNG_BUG: lp = "bug(libpng)"; break; 701 case APP_ERROR: lp = "error(pngimage)"; break; 702 case USER_ERROR: lp = "error(user)"; break; 706 default: lp = "bug(pngimage)"; break [all...] |
/external/libpng/contrib/tools/ |
pngcp.c | 598 const char *lp; local 603 case INFORMATION: lp = "information"; break; 604 case LIBPNG_WARNING: lp = "warning(libpng)"; break; 605 case APP_WARNING: lp = "warning(pngcp)"; break; 606 case APP_FAIL: lp = "error(continuable)"; break; 607 case LIBPNG_ERROR: lp = "error(libpng)"; break; 608 case LIBPNG_BUG: lp = "bug(libpng)"; break; 609 case APP_ERROR: lp = "error(pngcp)"; break; 610 case USER_ERROR: lp = "error(user)"; break; 614 default: lp = "bug(pngcp)"; break [all...] |