/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
Rotate3dTextActivity.java | 53 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( local 55 lp.weight = 1.0f; 56 return lp;
|
/frameworks/base/core/java/android/widget/ |
TableRow.java | 195 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 200 final int span = lp.span; 206 final int gravity = lp.gravity; 217 Math.max(0, columnWidth - lp.leftMargin - lp.rightMargin), measureMode 220 mPaddingTop + mPaddingBottom + lp.topMargin + 221 lp .bottomMargin + totalHeight, lp.height); 227 lp.mOffset[LayoutParams.LOCATION_NEXT] = columnWidth - childWidth; 236 lp.mOffset[LayoutParams.LOCATION] = lp.mOffset[LayoutParams.LOCATION_NEXT] [all...] |
AbsoluteLayout.java | 72 AbsoluteLayout.LayoutParams lp local 75 childRight = lp.x + child.getMeasuredWidth(); 76 childBottom = lp.y + child.getMeasuredHeight(); 115 AbsoluteLayout.LayoutParams lp = local 118 int childLeft = mPaddingLeft + lp.x; 119 int childTop = mPaddingTop + lp.y;
|
/frameworks/support/v4/java/android/support/v4/widget/ |
SlidingPaneLayout.java | 486 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 489 lp.dimWhenOffset = false; 493 if (lp.weight > 0) { 494 weightSum += lp.weight; 498 if (lp.width == 0) continue; 502 final int horizontalMargin = lp.leftMargin + lp.rightMargin; 503 if (lp.width == LayoutParams.WRAP_CONTENT) { 506 } else if (lp.width == LayoutParams.FILL_PARENT) { 510 childWidthSpec = MeasureSpec.makeMeasureSpec(lp.width, MeasureSpec.EXACTLY) 653 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 902 final LayoutParams lp = (LayoutParams) mSlideableView.getLayoutParams(); local 918 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local 944 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 999 final LayoutParams lp = (LayoutParams) mSlideableView.getLayoutParams(); local 1122 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 1210 final LayoutParams lp = (LayoutParams) releasedChild.getLayoutParams(); local 1226 final LayoutParams lp = (LayoutParams) mSlideableView.getLayoutParams(); local [all...] |
DrawerLayout.java | 451 final LayoutParams lp = (LayoutParams) activeDrawer.getLayoutParams(); local 452 if (lp.onScreen == 0) { 454 } else if (lp.onScreen == 1) { 469 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams(); local 470 if (lp.knownOpen) { 471 lp.knownOpen = false; 480 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams(); local 481 if (!lp.knownOpen) { 482 lp.knownOpen = true; 497 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams() local 627 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 671 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 967 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 1005 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams(); local 1048 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams(); local 1148 final LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); local 1260 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 1365 final LayoutParams lp = (LayoutParams) capturedChild.getLayoutParams(); local [all...] |
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
FakeBackgroundService.java | 91 WindowManager.LayoutParams lp = dialog.getWindow().getAttributes(); local 94 lp.x = maxSize; 95 lp.y = maxSize; 96 lp.setTitle(getPackageName() + ":background"); 97 dialog.getWindow().setAttributes(lp);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
QuickSettingsContainerView.java | 78 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) v.getLayoutParams(); local 80 lp.width = (int) ((colSpan * cellWidth) + (colSpan - 1) * mCellGap); 83 int newWidthSpec = MeasureSpec.makeMeasureSpec(lp.width, MeasureSpec.EXACTLY); 84 int newHeightSpec = MeasureSpec.makeMeasureSpec(lp.height, MeasureSpec.EXACTLY); 115 ViewGroup.LayoutParams lp = child.getLayoutParams(); local 120 final int childWidth = lp.width; 121 final int childHeight = lp.height;
|
/frameworks/base/core/java/com/android/internal/widget/ |
SizeAdaptiveLayout.java | 154 SizeAdaptiveLayout.LayoutParams lp = local 156 if (DEBUG) Log.d(TAG, "active min: " + lp.minHeight + " max: " + lp.maxHeight); 171 SizeAdaptiveLayout.LayoutParams lp = local 174 int height = Math.max(heightIn, lp.minHeight); 175 if (lp.maxHeight != SizeAdaptiveLayout.LayoutParams.UNBOUNDED) { 176 height = Math.min(height, lp.maxHeight); 201 SizeAdaptiveLayout.LayoutParams lp = local 204 " with min: " + lp.minHeight + 205 " max: " + lp.maxHeight) [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
CorpusSelectionDialog.java | 92 WindowManager.LayoutParams lp = window.getAttributes(); local 93 lp.width = WindowManager.LayoutParams.MATCH_PARENT; 94 lp.height = WindowManager.LayoutParams.MATCH_PARENT; 96 lp.flags |= WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM; 97 window.setAttributes(lp); 98 if (DBG) Log.d(TAG, "Window params: " + lp);
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
IconEditor.java | 86 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(iconSize, iconSize); local 87 lp.bottomMargin = lp.topMargin = lp.leftMargin = lp.rightMargin = outerMargin; 88 imageViewHolder.setLayoutParams(lp);
|
/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);
|
/system/core/sh/ |
nodes.c | 197 sizenodelist(lp) 198 struct nodelist *lp; 200 while (lp) { 202 calcsize(lp->n); 203 lp = lp->next; 300 copynodelist(lp) 301 struct nodelist *lp; 307 while (lp) { 311 (*lpp)->n = copynode(lp->n) [all...] |
var.c | 322 struct strlist *lp; local 325 for (lp = list ; lp ; lp = lp->next) { 326 setvareq(savestr(lp->text), flags); 334 struct strlist *lp; local 336 for (lp = list ; lp ; lp = lp->next [all...] |
/external/openssl/crypto/bn/ |
bn_print.c | 109 BN_ULONG *bn_data=NULL,*lp; local 129 lp=bn_data; 143 *lp=BN_div_word(t,BN_DEC_CONV); 144 lp++; 146 lp--; 150 BIO_snprintf(p,BUF_REMAIN,BN_DEC_FMT1,*lp); 152 while (lp != bn_data) 154 lp--; 155 BIO_snprintf(p,BUF_REMAIN,BN_DEC_FMT2,*lp);
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
StaggeredGridView.java | 514 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 519 final int colEnd = lp.column + Math.min(mColCount, lp.span); 520 for (int col = lp.column; col < colEnd; col++) { 521 final int colTop = top - rec.getMarginAbove(col - lp.column); 522 final int colBottom = bottom + rec.getMarginBelow(col - lp.column); 759 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 760 final int col = lp.column; 771 lp = (LayoutParams) child.getLayoutParams(); // Might have changed 774 final int span = Math.min(mColCount, lp.span) 843 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 894 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 1008 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 1248 ViewGroup.LayoutParams lp = view.getLayoutParams(); local 1501 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
TabletStatusBar.java | 219 final WindowManager.LayoutParams lp = new WindowManager.LayoutParams( local 233 lp.gravity = getStatusBarGravity(); 234 lp.setTitle("SystemBar"); 235 lp.packageName = mContext.getPackageName(); 236 mWindowManager.addView(sb, lp); 284 WindowManager.LayoutParams lp = mNotificationPanelParams = new WindowManager.LayoutParams( local 294 lp.gravity = Gravity.BOTTOM | Gravity.END; 295 lp.setTitle("NotificationPanel"); 296 lp.softInputMode = WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED 298 lp.windowAnimations = com.android.internal.R.style.Animation; // == no animatio 414 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( local 424 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( local 612 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( local 633 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( local 666 WindowManager.LayoutParams lp = local 675 WindowManager.LayoutParams lp = local 692 final WindowManager.LayoutParams lp local 1139 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( local [all...] |
/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/java/android/webkit/ |
ViewManager.java | 127 AbsoluteLayout.LayoutParams lp; local 131 lp = (AbsoluteLayout.LayoutParams) layoutParams; 132 lp.width = width; 133 lp.height = height; 134 lp.x = x; 135 lp.y = y; 137 lp = new AbsoluteLayout.LayoutParams(width, height, x, y); 141 v.mView.setLayoutParams(lp);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListItemsExpandOnSelection.java | 46 final AbsListView.LayoutParams lp = new AbsListView.LayoutParams( local 49 result.setLayoutParams(lp);
|
/packages/experimental/Bummer/src/com/android/dreams/bummer/ |
Bummer.java | 54 final FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams( local 59 mFrame.addView(mApology, lp);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ActionBarDisplayOptions.java | 96 ActionBar.LayoutParams lp = (ActionBar.LayoutParams) mCustomView.getLayoutParams(); local 98 switch (lp.gravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK) { 109 lp.gravity = lp.gravity & ~Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK | newGravity; 110 bar.setCustomView(mCustomView, lp);
|
/development/samples/Support7Demos/src/com/example/android/supportv7/app/ |
ActionBarDisplayOptions.java | 103 ActionBar.LayoutParams lp = mCustomViewLayoutParams; local 105 switch (lp.gravity & Gravity.HORIZONTAL_GRAVITY_MASK) { 116 lp.gravity = lp.gravity & ~Gravity.HORIZONTAL_GRAVITY_MASK | newGravity; 117 bar.setCustomView(mCustomView, lp);
|
/frameworks/base/core/java/com/android/internal/app/ |
PlatLogoActivity.java | 59 final LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( local 62 lp.gravity = Gravity.CENTER_HORIZONTAL; 63 lp.bottomMargin = (int) (-4*metrics.density); 71 view.addView(tv, lp); 79 view.addView(tv, 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...] |