/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
StatusBarIconController.java | 113 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( local 115 lp.setMargins(mIconHPadding, 0, mIconHPadding, 0); 116 return lp; 321 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( local 323 child.setLayoutParams(lp);
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
MediaRecorderCameraActivity.java | 73 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams(); local 74 lp.width = LAYOUT_WIDTH; 75 lp.height = LAYOUT_HEIGHT; 76 mSurfaceView.setLayoutParams(lp);
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
LocationInWindowTests.java | 112 private void runTest(LayoutParams lp) { 113 final TestActivity activity = launchAndWait(mActivity, lp); 164 LayoutParams lp) { 166 new Intent().putExtra(EXTRA_LAYOUT_PARAMS, lp)); 188 final FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(1, 1); local 189 lp.leftMargin = 6; 190 lp.topMargin = 7; 191 frame.addView(mView, lp);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
GridLayoutTest.java | 172 ViewGroup.LayoutParams lp = mGridLayout.generateLayoutParams(null); local 173 assertNotNull(lp); 174 assertTrue(lp instanceof GridLayout.LayoutParams); 175 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, lp.width); 176 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, lp.height); 182 ViewGroup.MarginLayoutParams lp = new ViewGroup.MarginLayoutParams(3, 5); local 183 lp.leftMargin = 1; 184 lp.topMargin = 2; 185 lp.rightMargin = 3; 186 lp.bottomMargin = 4 207 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(spec(0), spec(0)); local 215 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(spec(row), spec(0)); local 226 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(spec(0), spec(col)); local 240 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(spec(row), spec(col)); local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/media/projection/ |
MediaProjectionDemo.java | 176 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams(); local 185 lp.height = mDisplayHeight; 186 lp.width = mDisplayWidth; 187 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...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Time/ |
Time.c | 98 const struct lsinfo * lp;
local 117 lp = &sp->lsis[i];
118 if (*timep >= lp->ls_trans) {
119 if (*timep == lp->ls_trans) {
120 hit = ((i == 0 && lp->ls_corr > 0) ||
121 lp->ls_corr > sp->lsis[i - 1].ls_corr);
131 corr = lp->ls_corr;
|
/external/e2fsprogs/util/ |
symlinks.c | 169 char *p, *np, *lp, *tail, *msg; local 236 tail = lp = lpath; 238 while (*p && (*p == *lp)) { 239 if (*lp++ == '/') { 240 tail = lp;
|
/external/libgsm/src/ |
long_term.c | 359 register float *lp = dp_float - lambda; local 362 register float a = lp[-8], b = lp[-7], c = lp[-6], 363 d = lp[-5], e = lp[-4], f = lp[-3], 364 g = lp[-2], h = lp[-1]; 380 a = lp[K]; 525 register float *lp = dp_float - lambda; local 739 register float *lp = dp_float - lambda; local [all...] |
/external/libvpx/libvpx/vpx_dsp/mips/ |
vpx_convolve_avg_msa.c | 223 int32_t lp, cnt; local 225 for (lp = 0; lp < w; ++lp) { 226 dst[lp] = (((dst[lp] + src[lp]) + 1) >> 1);
|
/external/ltp/tools/pounder21/src/memxfer5b/ |
memxfer5b.c | 74 long *lp, *lq; local 211 lp = (long *)p1; 214 *lp++ = *lq++;
|
/external/lzma/C/ |
Lzma2Dec.c | 143 unsigned lc, lp;
local 149 lp = b % 5;
150 if (lc + lp > LZMA2_LCLP_MAX)
153 p->decoder.prop.lp = lp;
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
LZMA2InputStream.java | 308 int lp = props / 9; local 309 int lc = props - lp * 9; 311 if (lc + lp > 4) 314 lzma = new LZMADecoder(lz, rc, lc, lp, pb);
|
LZMA2Options.java | 64 * Maximum value for lc + lp is 4. 135 private int lp; field in class:LZMA2Options 171 public LZMA2Options(int dictSize, int lc, int lp, int pb, int mode, 175 setLcLp(lc, lp); 205 lp = LP_DEFAULT; 286 * The sum of <code>lc</code> and <code>lp</code> is limited to 4. 291 * <code>lc</code> and <code>lp</code> 294 public void setLcLp(int lc, int lp) throws UnsupportedOptionsException { 295 if (lc < 0 || lp < 0 || lc > LC_LP_MAX || lp > LC_LP_MA [all...] |
/external/ppp/pppd/plugins/radius/ |
avpair.c | 369 VALUE_PAIR *vp, *fp = NULL, *lp = NULL; local 380 if (lp) 381 lp->next = vp; 382 lp = vp;
|
/external/syslinux/com32/modules/ |
ifmemdsk.c | 370 } *lp, list[] = { local 387 for (lp = list;; lp++) { 388 if (((id ^ lp->id) & lp->mask) == 0) 389 return lp->name;
|
/external/syslinux/dosutil/ |
mdiskchk.c | 96 } *lp, list[] = { local 113 for (lp = list;; lp++) { 114 if (((id ^ lp->id) & lp->mask) == 0) 115 return lp->name;
|
/external/tcpdump/ |
print-atalk.c | 97 register const struct LAP *lp; local 103 if (length < sizeof(*lp)) { 107 if (!ND_TTEST2(*bp, sizeof(*lp))) { 111 lp = (const struct LAP *)bp; 112 bp += sizeof(*lp); 113 length -= sizeof(*lp); 114 hdrlen = sizeof(*lp); 115 switch (lp->type) { 128 ataddr_string(ndo, 0, lp->src), ddpskt_string(ndo, sdp->srcSkt))); 130 ataddr_string(ndo, 0, lp->dst), ddpskt_string(ndo, sdp->dstSkt))) [all...] |
print-ospf.c | 623 register const uint32_t *lp; local 705 lp = lsap->lsa_un.un_sla.sla_tosmetric; 706 while ((const u_char *)lp < ls_end) { 709 ND_TCHECK(*lp); 710 ul = EXTRACT_32BITS(lp); 716 ++lp; 722 lp = lsap->lsa_un.un_sla.sla_tosmetric; 723 while ((const u_char *)lp < ls_end) { 726 ND_TCHECK(*lp); 727 ul = EXTRACT_32BITS(lp); [all...] |
/external/xmlrpcpp/src/ |
XmlRpcServerConnection.cpp | 83 char *lp = 0; // Start of content-length value local 88 lp = cp + 16; 111 if (lp == 0) { 116 _contentLength = atoi(lp);
|
/frameworks/av/packages/MediaComponents/src/com/android/widget/ |
BaseLayout.java | 60 public LayoutParams generateLayoutParams_impl(LayoutParams lp) { 61 if (lp instanceof MarginLayoutParams) { 62 return lp; 64 return new MarginLayoutParams(lp); 85 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); local 87 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 89 child.getMeasuredHeight() + lp.topMargin + lp.bottomMargin); 92 if (lp.width == LayoutParams.MATCH_PARENT | 124 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); local 172 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); local [all...] |
/frameworks/base/core/java/android/net/ |
StaticIpConfiguration.java | 105 LinkProperties lp = new LinkProperties(); local 106 lp.setInterfaceName(iface); 108 lp.addLinkAddress(ipAddress); 111 lp.addRoute(route); 114 lp.addDnsServer(dns); 116 lp.setDomains(domains); 117 return lp;
|
/frameworks/base/core/java/android/view/animation/ |
GridLayoutAnimationController.java | 298 ViewGroup.LayoutParams lp = view.getLayoutParams(); local 299 AnimationParameters params = (AnimationParameters) lp.layoutAnimationParameters;
|
LayoutAnimationController.java | 371 ViewGroup.LayoutParams lp = view.getLayoutParams(); local 372 AnimationParameters params = lp.layoutAnimationParameters;
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuDialogHelper.java | 79 WindowManager.LayoutParams lp = mDialog.getWindow().getAttributes(); local 80 lp.type = WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG; 82 lp.token = windowToken; 84 lp.flags |= WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM;
|