/packages/apps/Settings/src/com/android/settings/wfd/ |
WifiDisplaySettings.java | 402 ListPreference lp = new ListPreference(getPrefContext()); local 403 lp.setOnPreferenceChangeListener(new OnPreferenceChangeListener() { 424 lp.setKey("wps"); 425 lp.setTitle(R.string.wifi_display_wps_config); 426 lp.setEntries(wpsEntries); 427 lp.setEntryValues(wpsValues); 428 lp.setValue("" + mWpsConfig); 429 lp.setSummary("%1$s"); 430 mCertCategory.addPreference(lp); 433 lp = new ListPreference(getPrefContext()) [all...] |
/cts/tests/netlegacy22.api/src/android/net/cts/legacy/api22/ |
ConnectivityManagerLegacyTest.java | 99 LinkProperties lp = mCm.getLinkProperties(networks[i]); local 100 for (LinkAddress address : lp.getLinkAddresses()) {
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
ExpandableListScenario.java | 260 final ViewGroup.LayoutParams lp = new AbsListView.LayoutParams( local 263 result.setLayoutParams(lp);
|
/development/apps/Development/src/com/android/development/ |
PackageSummary.java | 160 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( local 181 activities.addView(view, lp); 196 receivers.addView(view, lp); 209 services.addView(view, lp); 222 providers.addView(view, lp); 235 instrumentation.addView(view, lp);
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
MainActivity.java | 183 final ViewGroup.LayoutParams lp = titlesView.getLayoutParams(); local 191 lp.height = (Integer) valueAnimator.getAnimatedValue(); 193 lp.width = (Integer) valueAnimator.getAnimatedValue(); 195 titlesView.setLayoutParams(lp);
|
/external/dhcpcd-6.8.2/dbus/ |
rpc-dbus.c | 249 size_t l, lp; local 253 lp = strlen(prefix); 263 if (strncmp(p, prefix, lp) == 0 && 264 strncmp(p + lp, dhop->var, l) == 0) 267 dhop, p + l + lp);
|
/external/dhcpcd-6.8.2/ |
dhcp-common.c | 217 uint8_t *lp; local 226 lp = p++; 230 p = lp = NULL; 243 *lp = (uint8_t)(p - lp - 1); 244 if (*lp == '\0') 246 lp = p++; 254 *lp = (uint8_t)(p - lp - 1);
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zHandler.cpp | 420 UInt32 lp = d % 5;
local 422 if (lp != 0) dest = AddProp32(dest, "lp", lp);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_setup.c | 761 struct llvmpipe_context *lp = llvmpipe_context(setup->pipe); local 775 util_viewport_zmin_zmax(&viewports[i], lp->rasterizer->clip_halfz, 1202 struct llvmpipe_context *lp = llvmpipe_context(setup->pipe); local [all...] |
/external/one-true-awk/ |
b.c | 384 int b, lp; local 389 lp = info(p); /* look for high-water mark of subscripts */ local 390 while (setcnt >= maxsetvec || lp >= maxsetvec) { /* guessing here! */ 398 setvec[lp] = 0; 401 if (setvec[lp] != 1) { 402 setvec[lp] = 1;
|
/external/wpa_supplicant_8/src/wps/ |
wps_upnp_ssdp.c | 94 const char *lp = l; local 95 while (*lp && *lp != '\n') 96 lp++; 97 if (*lp == '\n') 98 lp++; 99 return lp - l;
|
/frameworks/base/core/java/android/widget/ |
FrameLayout.java | 186 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 188 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 190 child.getMeasuredHeight() + lp.topMargin + lp.bottomMargin); 193 if (lp.width == LayoutParams.MATCH_PARENT || 194 lp.height == LayoutParams.MATCH_PARENT) { 224 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); local 227 if (lp.width == LayoutParams.MATCH_PARENT) { 230 - lp.leftMargin - lp.rightMargin) 276 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local [all...] |
TableRow.java | 194 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 199 final int span = lp.span; 205 final int gravity = lp.gravity; 216 Math.max(0, columnWidth - lp.leftMargin - lp.rightMargin), measureMode 219 mPaddingTop + mPaddingBottom + lp.topMargin + 220 lp .bottomMargin + totalHeight, lp.height); 226 lp.mOffset[LayoutParams.LOCATION_NEXT] = columnWidth - childWidth; 235 lp.mOffset[LayoutParams.LOCATION] = lp.mOffset[LayoutParams.LOCATION_NEXT] [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
IconMenuItemView.java | 271 IconMenuView.LayoutParams lp = (IconMenuView.LayoutParams) getLayoutParams(); local 272 if (lp == null) { 274 lp = new IconMenuView.LayoutParams( 279 lp.desiredWidth = (int) Layout.getDesiredWidth(getText(), 0, getText().length(), 282 return lp;
|
/frameworks/base/core/java/com/android/internal/widget/ |
AlertDialogLayout.java | 231 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 232 if (lp.width == LayoutParams.MATCH_PARENT) { 235 final int oldHeight = lp.height; 236 lp.height = child.getMeasuredHeight(); 240 lp.height = oldHeight; 316 final LinearLayout.LayoutParams lp = local 319 int layoutGravity = lp.gravity; 331 + lp.leftMargin - lp.rightMargin; 335 childLeft = childRight - childWidth - lp.rightMargin [all...] |
MessagingLinearLayout.java | 85 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 86 lp.hide = true; 99 LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); local 112 int newHeight = Math.max(totalHeight, totalHeight + childHeight + lp.topMargin + 113 lp.bottomMargin + spacing); 125 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin 127 lp.hide = false; 164 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 172 childLeft = childRight - childWidth - lp.rightMargin 205 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 239 final ViewGroup.LayoutParams lp = view.getLayoutParams(); local [all...] |
NotificationActionListLayout.java | 133 MarginLayoutParams lp = (MarginLayoutParams) c.getLayoutParams(); local 150 usedWidth += c.getMeasuredWidth() + lp.rightMargin + lp.leftMargin; 244 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); local 247 + lp.topMargin - lp.bottomMargin; 249 childLeft += lp.leftMargin; 251 childLeft += childWidth + lp.rightMargin;
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
KeyguardSecurityViewFlipper.java | 219 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 221 if (lp.maxWidth > 0 && lp.maxWidth < maxWidth) { 222 maxWidth = lp.maxWidth; 224 if (lp.maxHeight > 0 && lp.maxHeight < maxHeight) { 225 maxHeight = lp.maxHeight; 238 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 240 final int childWidthSpec = makeChildMeasureSpec(maxWidth, lp.width); 241 final int childHeightSpec = makeChildMeasureSpec(maxHeight, lp.height) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
AssistManager.java | 134 WindowManager.LayoutParams lp = getLayoutParams(); local 135 mWindowManager.addView(mView, lp); 166 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( local 174 lp.token = new Binder(); 175 lp.gravity = Gravity.BOTTOM | Gravity.START; 176 lp.setTitle("AssistPreviewPanel"); 177 lp.softInputMode = WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED 179 return lp;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
QuickQSPanel.java | 224 LayoutParams lp = new LayoutParams(spaceWidth, mTileDimensionSize); local 226 lp.weight = 1; 228 lp.gravity = Gravity.CENTER; 229 return lp; 259 LayoutParams lp = new LayoutParams(mTileDimensionSize, mTileDimensionSize); local 260 lp.gravity = Gravity.CENTER; 261 return lp;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
ScreenPinningRequest.java | 98 WindowManager.LayoutParams lp = getWindowLayoutParams(); local 99 mWindowManager.addView(mRequestWindow, lp); 109 final WindowManager.LayoutParams lp = new WindowManager.LayoutParams( local 116 lp.token = new Binder(); 117 lp.privateFlags |= WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS; 118 lp.setTitle("ScreenPinningConfirmation"); 119 lp.gravity = Gravity.FILL; 120 return lp;
|
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/ |
MainActivity.java | 175 RecyclerView.LayoutParams lp = (RecyclerView.LayoutParams) v.getLayoutParams(); local 176 final int pos = lp.getViewAdapterPosition();
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
AlertDialogLayout.java | 223 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 224 if (lp.width == LayoutParams.MATCH_PARENT) { 227 final int oldHeight = lp.height; 228 lp.height = child.getMeasuredHeight(); 232 lp.height = oldHeight; 308 final LinearLayoutCompat.LayoutParams lp = local 311 int layoutGravity = lp.gravity; 323 + lp.leftMargin - lp.rightMargin; 327 childLeft = childRight - childWidth - lp.rightMargin [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
Editor.java | 117 LinearLayout lp = (LinearLayout) inflater.inflate( local 119 mSeekBar = (SeekBar) lp.findViewById(R.id.primarySeekBar);
|
EditorDraw.java | 256 LinearLayout lp = (LinearLayout) inflater.inflate( local 259 mTabletUI = new EditorDrawTabletUI(this, mContext, lp);
|