HomeSort by relevance Sort by last modified time
    Searched refs:lp (Results 76 - 100 of 549) sorted by null

1 2 34 5 6 7 8 91011>>

  /frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
GridLayoutTest.java 41 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(rowSpec, colSpec); local
42 //GridLayout.LayoutParams lp = new GridLayout.LayoutParams();
43 lp.setGravity(va | ha);
45 container.addView(v, lp);
LayoutInsetsTest.java 43 LayoutParams lp = new LayoutParams(); local
44 lp.setGravity(GRAVITIES[(i % N)]);
45 p.addView(c, lp);
  /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;
  /external/tcpdump/
util.c 284 tok2strbuf(register const struct tok *lp, register const char *fmt,
287 if (lp != NULL) {
288 while (lp->s != NULL) {
289 if (lp->v == v)
290 return (lp->s);
291 ++lp;
305 tok2str(register const struct tok *lp, register const char *fmt,
314 return tok2strbuf(lp, fmt, v, ret, sizeof(buf[0]));
323 bittok2str_internal(register const struct tok *lp, register const char *fmt,
331 while (lp != NULL && lp->s != NULL)
    [all...]
  /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...]
Toolbar.java 840 final LayoutParams lp = generateDefaultLayoutParams(); local
841 lp.gravity = Gravity.END | (mButtonGravity & Gravity.VERTICAL_GRAVITY_MASK);
842 mMenuView.setLayoutParams(lp);
994 final LayoutParams lp = generateDefaultLayoutParams(); local
1005 final LayoutParams lp = generateDefaultLayoutParams(); local
1020 final LayoutParams lp; local
1120 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); local
1145 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); local
1258 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
1387 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); local
1391 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); local
1437 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); local
1445 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); local
1464 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); local
1472 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); local
1533 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local
1547 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
1560 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
1572 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
1632 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
1641 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
1722 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
1730 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
1941 final LayoutParams lp = generateDefaultLayoutParams(); local
    [all...]
AbsoluteLayout.java 75 AbsoluteLayout.LayoutParams lp local
78 childRight = lp.x + child.getMeasuredWidth();
79 childBottom = lp.y + child.getMeasuredHeight();
118 AbsoluteLayout.LayoutParams lp = local
121 int childLeft = mPaddingLeft + lp.x;
122 int childTop = mPaddingTop + lp.y;
  /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/support/v4/api21/android/support/v4/widget/
DrawerLayoutCompatApi21.java 57 public static void applyMarginInsets(ViewGroup.MarginLayoutParams lp, Object insets,
67 lp.leftMargin = wi.getSystemWindowInsetLeft();
68 lp.topMargin = wi.getSystemWindowInsetTop();
69 lp.rightMargin = wi.getSystemWindowInsetRight();
70 lp.bottomMargin = wi.getSystemWindowInsetBottom();
  /packages/apps/Dialer/src/com/android/dialer/widget/
OverlappingPaneLayout.java 414 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
420 if (lp.weight > 0) {
421 weightSum += lp.weight;
425 if (lp.height == 0) continue;
429 final int verticalMargin = lp.topMargin + lp.bottomMargin;
430 if (lp.height == LayoutParams.WRAP_CONTENT) {
433 } else if (lp.height == LayoutParams.MATCH_PARENT) {
437 childHeightSpec = MeasureSpec.makeMeasureSpec(lp.height, MeasureSpec.EXACTLY);
441 if (lp.width == LayoutParams.WRAP_CONTENT)
585 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
803 final LayoutParams lp = (LayoutParams) mSlideableView.getLayoutParams(); local
815 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
853 final LayoutParams lp = (LayoutParams) mSlideableView.getLayoutParams(); local
1126 final LayoutParams lp = (LayoutParams) releasedChild.getLayoutParams(); local
1186 final LayoutParams lp = (LayoutParams) mSlideableView.getLayoutParams(); local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
EditorColorBorderTabletUI.java 93 LinearLayout lp = (LinearLayout) inflater.inflate( local
98 LinearLayout buttonContainer = (LinearLayout) lp.findViewById(R.id.listStyles);
100 mCBCornerSizeSeekBar = (SeekBar) lp.findViewById(R.id.colorBorderCornerSizeSeekBar);
101 mCBCornerSizeValue = (TextView) lp.findViewById(R.id.colorBorderCornerValue);
102 mCBSizeSeekBar = (SeekBar) lp.findViewById(R.id.colorBorderSizeSeekBar);
104 mCBSizeValue = (TextView) lp.findViewById(R.id.colorBorderSizeValue);
105 setupCBSizeSeekBar(lp);
106 setupCBCornerSizeSeekBar(lp);
107 setupColor(lp, res);
110 private void setupCBSizeSeekBar(LinearLayout lp) {
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
Toolbar.java 841 final LayoutParams lp = generateDefaultLayoutParams(); local
842 lp.gravity = GravityCompat.END | (mButtonGravity & Gravity.VERTICAL_GRAVITY_MASK);
843 mMenuView.setLayoutParams(lp);
996 final LayoutParams lp = generateDefaultLayoutParams(); local
1008 final LayoutParams lp = generateDefaultLayoutParams(); local
1023 final LayoutParams lp; local
1128 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); local
1153 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); local
1271 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
1403 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); local
1407 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); local
1453 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); local
1461 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); local
1480 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); local
1488 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); local
1549 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local
1563 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
1576 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
1588 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
1649 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
1658 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
1740 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
1748 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
1973 final LayoutParams lp = generateDefaultLayoutParams(); local
    [all...]
  /frameworks/base/core/java/android/net/
StaticIpConfiguration.java 106 LinkProperties lp = new LinkProperties(); local
107 lp.setInterfaceName(iface);
109 lp.addLinkAddress(ipAddress);
112 lp.addRoute(route);
115 lp.addDnsServer(dns);
117 lp.setDomains(domains);
118 return lp;
  /frameworks/base/core/java/com/android/internal/widget/
ActionBarOverlayLayout.java 291 LayoutParams lp = (LayoutParams)view.getLayoutParams();
292 if (left && lp.leftMargin != insets.left) {
294 lp.leftMargin = insets.left;
296 if (top && lp.topMargin != insets.top) {
298 lp.topMargin = insets.top;
300 if (right && lp.rightMargin != insets.right) {
302 lp.rightMargin = insets.right;
304 if (bottom && lp.bottomMargin != insets.bottom) {
306 lp.bottomMargin = insets.bottom;
375 LayoutParams lp = (LayoutParams) mActionBarTop.getLayoutParams()
    [all...]
SizeAdaptiveLayout.java 159 SizeAdaptiveLayout.LayoutParams lp = local
161 if (DEBUG) Log.d(TAG, "active min: " + lp.minHeight + " max: " + lp.maxHeight);
176 SizeAdaptiveLayout.LayoutParams lp = local
179 int height = Math.max(heightIn, lp.minHeight);
180 if (lp.maxHeight != SizeAdaptiveLayout.LayoutParams.UNBOUNDED) {
181 height = Math.min(height, lp.maxHeight);
206 SizeAdaptiveLayout.LayoutParams lp = local
209 " with min: " + lp.minHeight +
210 " max: " + lp.maxHeight)
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
ActionBarOverlayLayout.java 294 LayoutParams lp = (LayoutParams)view.getLayoutParams(); local
295 if (left && lp.leftMargin != insets.left) {
297 lp.leftMargin = insets.left;
299 if (top && lp.topMargin != insets.top) {
301 lp.topMargin = insets.top;
303 if (right && lp.rightMargin != insets.right) {
305 lp.rightMargin = insets.right;
307 if (bottom && lp.bottomMargin != insets.bottom) {
309 lp.bottomMargin = insets.bottom;
378 LayoutParams lp = (LayoutParams) mActionBarTop.getLayoutParams() local
489 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
lp_state_setup.c 668 struct llvmpipe_context *lp)
797 lp_make_setup_variant_key(struct llvmpipe_context *lp,
800 struct lp_fragment_shader *fs = lp->fs;
806 key->flatshade_first = lp->rasterizer->flatshade_first;
807 key->pixel_center_half = lp->rasterizer->gl_rasterization_rules;
808 key->twoside = lp->rasterizer->light_twoside;
812 key->color_slot = lp->color_slot [0];
813 key->bcolor_slot = lp->bcolor_slot[0];
814 key->spec_slot = lp->color_slot [1];
815 key->bspec_slot = lp->bcolor_slot[1]
    [all...]
lp_jit.c 44 lp_jit_create_types(struct lp_fragment_shader_variant *lp)
46 struct gallivm_state *gallivm = lp->gallivm;
163 lp->jit_context_ptr_type = LLVMPointerType(context_type, 0);
187 lp_jit_init_types(struct lp_fragment_shader_variant *lp)
189 if (!lp->jit_context_ptr_type)
190 lp_jit_create_types(lp);
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_state_setup.c 668 struct llvmpipe_context *lp)
797 lp_make_setup_variant_key(struct llvmpipe_context *lp,
800 struct lp_fragment_shader *fs = lp->fs;
806 key->flatshade_first = lp->rasterizer->flatshade_first;
807 key->pixel_center_half = lp->rasterizer->gl_rasterization_rules;
808 key->twoside = lp->rasterizer->light_twoside;
812 key->color_slot = lp->color_slot [0];
813 key->bcolor_slot = lp->bcolor_slot[0];
814 key->spec_slot = lp->color_slot [1];
815 key->bspec_slot = lp->bcolor_slot[1]
    [all...]
lp_jit.c 44 lp_jit_create_types(struct lp_fragment_shader_variant *lp)
46 struct gallivm_state *gallivm = lp->gallivm;
163 lp->jit_context_ptr_type = LLVMPointerType(context_type, 0);
187 lp_jit_init_types(struct lp_fragment_shader_variant *lp)
189 if (!lp->jit_context_ptr_type)
190 lp_jit_create_types(lp);
  /packages/apps/Settings/src/com/android/settings/
SetupChooseLockPassword.java 142 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) view.getLayoutParams(); local
143 lp.setMargins(lp.leftMargin, lp.topMargin, lp.rightMargin, bottomMargin);
144 view.setLayoutParams(lp);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
BaseScrollAdapterFragment.java 186 LayoutParams lp = mSelectorView.getLayoutParams(); local
187 lp.height = selectorHeight = mFragment.getActivity().getResources()
189 mSelectorView.setLayoutParams(lp);
209 LayoutParams lp = mSelectorView.getLayoutParams(); local
210 lp.height = 0;
211 mSelectorView.setLayoutParams(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);
  /packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
StaggeredGridView.java 859 final LayoutParams lp = (LayoutParams) view.getLayoutParams(); local
1296 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
    [all...]

Completed in 1563 milliseconds

1 2 34 5 6 7 8 91011>>