HomeSort by relevance Sort by last modified time
    Searched refs:getLayoutParams (Results 1 - 25 of 243) sorted by null

1 2 3 4 5 6 7 8 910

  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
ViewUtil.java 35 final ViewGroup.LayoutParams p = view.getLayoutParams();
  /frameworks/base/core/tests/coretests/src/android/view/
IncludeTest.java 56 button1.getLayoutParams().width != button2.getLayoutParams().width);
58 button1.getLayoutParams().height != button2.getLayoutParams().height);
75 final ViewGroup.LayoutParams lp = button1.getLayoutParams();
ViewStubTest.java 81 stub.getLayoutParams().width, swapped.getLayoutParams().width);
83 stub.getLayoutParams().height, swapped.getLayoutParams().height);
  /frameworks/base/core/tests/coretests/src/com/android/internal/widget/
SizeAdaptiveLayoutTest.java 82 (SizeAdaptiveLayout.LayoutParams) mLargeView.getLayoutParams();
99 (SizeAdaptiveLayout.LayoutParams) mSmallView.getLayoutParams();
116 (SizeAdaptiveLayout.LayoutParams) mSmallView.getLayoutParams();
133 (SizeAdaptiveLayout.LayoutParams) mLargeView.getLayoutParams();
152 (SizeAdaptiveLayout.LayoutParams) mLargeView.getLayoutParams();
168 (SizeAdaptiveLayout.LayoutParams) mSmallView.getLayoutParams();
184 (SizeAdaptiveLayout.LayoutParams) mSmallView.getLayoutParams();
200 (SizeAdaptiveLayout.LayoutParams) mSmallView.getLayoutParams();
216 (SizeAdaptiveLayout.LayoutParams) mLargeView.getLayoutParams();
232 (SizeAdaptiveLayout.LayoutParams) mLargeView.getLayoutParams();
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
LinearLayoutTest.java 17 ViewGroup.LayoutParams layoutParams = new LinearLayout(null).getLayoutParams();
29 assertTrue(linearLayout.getLayoutParams() == params);
FrameLayoutTest.java 30 ViewGroup.LayoutParams layoutParams = frameLayout.getLayoutParams();
  /frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
FrameLayoutMarginTest.java 65 ((ViewGroup.MarginLayoutParams) mLeftView.getLayoutParams()).leftMargin);
71 ((ViewGroup.MarginLayoutParams) mRightView.getLayoutParams()).rightMargin);
77 ((ViewGroup.MarginLayoutParams) mTopView.getLayoutParams()).topMargin);
83 ((ViewGroup.MarginLayoutParams) mBottomView.getLayoutParams()).bottomMargin);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
EmojiLayoutParams.java 64 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) vp.getLayoutParams();
71 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) ll.getLayoutParams();
77 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) ll.getLayoutParams();
83 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) ib.getLayoutParams();
  /cts/tests/tests/widget/src/android/widget/cts/
RelativeLayout_LayoutParamsTest.java 67 layoutParams = (RelativeLayout.LayoutParams) (view1.getLayoutParams());
76 layoutParams = (RelativeLayout.LayoutParams) (view2.getLayoutParams());
88 layoutParams = (RelativeLayout.LayoutParams) (view3.getLayoutParams());
99 layoutParams = (RelativeLayout.LayoutParams) (view4.getLayoutParams());
109 layoutParams = (RelativeLayout.LayoutParams) (view5.getLayoutParams());
119 layoutParams = (RelativeLayout.LayoutParams) (view6.getLayoutParams());
129 layoutParams = (RelativeLayout.LayoutParams) (view7.getLayoutParams());
139 layoutParams = (RelativeLayout.LayoutParams) (view8.getLayoutParams());
151 layoutParams = (RelativeLayout.LayoutParams) (view9.getLayoutParams());
174 layoutParams = (RelativeLayout.LayoutParams) (view1.getLayoutParams());
    [all...]
TableLayoutTest.java 457 assertNull(child1.getLayoutParams());
460 assertEquals(100, tableLayout.getChildAt(0).getLayoutParams().width);
461 assertEquals(200, tableLayout.getChildAt(0).getLayoutParams().height);
467 assertNull(child2.getLayoutParams());
471 assertEquals(100, tableLayout.getChildAt(0).getLayoutParams().width);
472 assertEquals(200, tableLayout.getChildAt(0).getLayoutParams().height);
473 assertEquals(200, tableLayout.getChildAt(1).getLayoutParams().width);
474 assertEquals(300, tableLayout.getChildAt(1).getLayoutParams().height);
495 assertNull(child1.getLayoutParams());
498 assertEquals(100, tableLayout.getChildAt(0).getLayoutParams().width)
    [all...]
  /frameworks/volley/src/com/android/volley/toolbox/
NetworkImageView.java 107 boolean isFullyWrapContent = getLayoutParams() != null
108 && getLayoutParams().height == LayoutParams.WRAP_CONTENT
109 && getLayoutParams().width == LayoutParams.WRAP_CONTENT;
  /cts/tests/src/android/hardware/cts/
CameraStubActivity.java 37 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams();
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
ExpandableNotificationRow.java 71 ViewGroup.LayoutParams lp = getLayoutParams();
  /frameworks/support/v4/java/android/support/v4/app/
NoSaveStateFrameLayout.java 33 ViewGroup.LayoutParams childParams = child.getLayoutParams();
  /packages/apps/Camera/src/com/android/camera/ui/
PreviewSurfaceView.java 43 ViewGroup.LayoutParams p = getLayoutParams();
  /packages/apps/DeskClock/src/com/android/deskclock/
CircleButtonsLayout.java 91 MarginLayoutParams stopParams = (MarginLayoutParams) mStop.getLayoutParams();
99 MarginLayoutParams labelParams = (MarginLayoutParams) mLabel.getLayoutParams();
170 MarginLayoutParams leftParams = (MarginLayoutParams) mLeft.getLayoutParams();
173 MarginLayoutParams rightParams = (MarginLayoutParams) mRight.getLayoutParams();
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
ViewLayoutUtils.java 46 final ViewGroup.LayoutParams lp = view.getLayoutParams();
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
InfoBarLayout.java 166 ((LayoutParams) mIconView.getLayoutParams()).align = LayoutParams.ALIGN_START;
167 ((LayoutParams) mMessageView.getLayoutParams()).align = LayoutParams.ALIGN_START;
171 mIconView.getLayoutParams().width = mDimensionIconSize;
172 mIconView.getLayoutParams().height = mDimensionIconSize;
215 LayoutParams params = (LayoutParams) member.getLayoutParams();
313 LayoutParams params = (LayoutParams) child.getLayoutParams();
340 LayoutParams params = (LayoutParams) child.getLayoutParams();
449 LayoutParams params = (LayoutParams) groupChild.getLayoutParams();
460 LayoutParams params = (LayoutParams) child.getLayoutParams();
467 assert getLayoutParams().height == LayoutParams.WRAP_CONTEN
    [all...]
  /frameworks/base/core/java/com/android/internal/view/menu/
ActionMenuView.java 116 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
175 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
213 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
239 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
269 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams();
273 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams());
285 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
321 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
354 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
409 LayoutParams p = (LayoutParams) v.getLayoutParams();
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
LinearLayoutICS.java 88 final LayoutParams params = (LayoutParams) child.getLayoutParams();
117 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
140 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
  /packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
ReorderHelper.java 74 final LayoutParams lp = (LayoutParams) reorderTarget.getLayoutParams();
135 final LayoutParams lp = (LayoutParams) reorderTarget.getLayoutParams();
231 final LayoutParams childLayoutParam = (LayoutParams) child.getLayoutParams();
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedViewCellLayoutChildren.java 93 (PagedViewCellLayout.LayoutParams) child.getLayoutParams();
122 (PagedViewCellLayout.LayoutParams) child.getLayoutParams();
135 (PagedViewCellLayout.LayoutParams) child.getLayoutParams();
  /packages/apps/Launcher3/src/com/android/launcher3/
PagedViewCellLayoutChildren.java 93 (PagedViewCellLayout.LayoutParams) child.getLayoutParams();
123 (PagedViewCellLayout.LayoutParams) child.getLayoutParams();
136 (PagedViewCellLayout.LayoutParams) child.getLayoutParams();
  /frameworks/base/core/java/android/widget/
TableRow.java 164 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams();
195 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
257 LayoutParams layoutParams = (LayoutParams) child.getLayoutParams();
268 return ((TableRow.LayoutParams) child.getLayoutParams()).mOffset[LayoutParams.LOCATION];
276 return ((TableRow.LayoutParams) child.getLayoutParams()).mOffset[LayoutParams.LOCATION_NEXT];
299 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams();
  /development/samples/Support7Demos/src/com/example/android/supportv7/media/
OverlayDisplayWindow.java 252 mTextureView.getLayoutParams().width = mWidth;
253 mTextureView.getLayoutParams().height = mWidth * height / width;
255 mTextureView.getLayoutParams().width = mHeight * width / height;
256 mTextureView.getLayoutParams().height = mHeight;
289 mTextureView.getLayoutParams().width = mWidth;
290 mTextureView.getLayoutParams().height = mHeight;
354 (mWidth - mTextureView.getLayoutParams().width) * scale / 2);
356 (mHeight - mTextureView.getLayoutParams().height) * scale / 2);

Completed in 819 milliseconds

1 2 3 4 5 6 7 8 910