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

1 2 3

  /frameworks/base/core/tests/coretests/src/android/widget/layout/table/
CellSpanTest.java 67 int spanWidth = mA.getMeasuredWidth() + mB.getMeasuredWidth();
69 mSpanThenCell.getMeasuredWidth());
74 int spanWidth = mB.getMeasuredWidth() + mC.getMeasuredWidth();
76 mCellThenSpan.getMeasuredWidth());
81 int spanWidth = mA.getMeasuredWidth() + mB.getMeasuredWidth() +
82 mC.getMeasuredWidth();
83 assertEquals("span is broken", spanWidth, mSpan.getMeasuredWidth());
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/gridview/
GridInHorizontalTest.java 46 assertTrue("Grid has 0 width", mGridView.getMeasuredWidth() > 0);
GridInVerticalTest.java 46 assertTrue("Grid has 0 width", mGridView.getMeasuredWidth() > 0);
  /packages/apps/Gallery/src/com/android/camera/
EvenlySpacedLayout.java 58 width += child.getMeasuredWidth();
62 width = Math.max(width, child.getMeasuredWidth());
77 usedWidth += child.getMeasuredWidth();
88 int w = child.getMeasuredWidth();
115 int w = child.getMeasuredWidth();
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListUnspecifiedMeasure.java 50 assertTrue(mListView.getMeasuredWidth() > 0);
  /frameworks/base/test-runner/src/android/test/
ViewAsserts.java 137 int firstRight = xy[0] + first.getMeasuredWidth();
140 int secondRight = xy[0] + second.getMeasuredWidth();
156 int firstRight = xy[0] + first.getMeasuredWidth();
159 int secondRight = xy[0] + second.getMeasuredWidth();
290 int center = (reference.getMeasuredWidth() - test.getMeasuredWidth()) / 2;
  /cts/tests/tests/widget/src/android/widget/cts/
FrameLayoutTest.java 217 compareScaledPixels(100, textView.getMeasuredWidth());
219 assertEquals(textView.getMeasuredWidth(), frameLayout.getMeasuredWidth());
232 compareScaledPixels(50, button.getMeasuredWidth());
234 assertEquals(button.getMeasuredWidth(), frameLayout.getMeasuredWidth());
246 assertEquals(textView.getMeasuredWidth(), frameLayout.getMeasuredWidth());
TableLayoutTest.java 339 int orignalWidth0 = column0.getMeasuredWidth();
341 int orignalWidth1 = column1.getMeasuredWidth();
343 int orignalWidth2 = column2.getMeasuredWidth();
535 int orignalWidth0 = child0.getMeasuredWidth();
540 int orignalWidth1 = child1.getMeasuredWidth() + column12.getMeasuredWidth();
542 int orignalWidth2 = child2.getMeasuredWidth();
    [all...]
  /packages/apps/Camera/src/com/android/camera/ui/
RotatePane.java 60 setMeasuredSize(c.getMeasuredWidth(), c.getMeasuredHeight());
65 setMeasuredSize(c.getMeasuredHeight(), c.getMeasuredWidth());
LinearLayout.java 31 width = Math.max(width, view.getMeasuredWidth());
  /frameworks/base/core/java/com/android/internal/widget/
WeightedLinearLayout.java 62 int width = getMeasuredWidth();
  /frameworks/base/core/java/android/widget/
AbsoluteLayout.java 75 childRight = lp.x + child.getMeasuredWidth();
121 childLeft + child.getMeasuredWidth(),
SlidingDrawer.java 272 int width = widthSpecSize - handle.getMeasuredWidth() - mTopOffset;
319 int childWidth = handle.getMeasuredWidth();
331 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(),
338 mTopOffset + childWidth + content.getMeasuredWidth(),
640 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(),
648 mTopOffset + childWidth + content.getMeasuredWidth(),
    [all...]
Spinner.java 149 int width = sel.getMeasuredWidth();
236 int width = child.getMeasuredWidth();
LinearLayout.java 428 final int measuredWidth = child.getMeasuredWidth() + margin;
533 final int measuredWidth = child.getMeasuredWidth() + margin;
575 int uniformMeasureSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(),
704 final int childWidth = child.getMeasuredWidth();
    [all...]
FrameLayout.java 246 maxWidth = Math.max(maxWidth, child.getMeasuredWidth());
290 final int width = child.getMeasuredWidth();
TableRow.java 224 final int childWidth = child.getMeasuredWidth();
310 final int width = child.getMeasuredWidth() + layoutParams.leftMargin +
  /development/samples/Home/src/com/example/android/home/
ApplicationsStackLayout.java 198 int childWidth = mButton.getMeasuredWidth();
221 int childWidth = mButton.getMeasuredWidth();
259 childWidth = view.getMeasuredWidth();
  /development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/
FixedGridLayout.java 100 int w = child.getMeasuredWidth();
  /packages/apps/Contacts/src/com/android/contacts/
PinnedHeaderListView.java 116 mHeaderViewWidth = mHeaderView.getMeasuredWidth();
TabStripView.java 65 setMinimumWidth(((HorizontalScrollView) getParent()).getMeasuredWidth());
ContactListItemView.java 227 int buttonWidth = mCallButton.getMeasuredWidth();
247 int iconWidth = mPresenceIcon.getMeasuredWidth();
282 dataLeftBound = leftBound + mLabelView.getMeasuredWidth();
  /packages/apps/Phone/src/com/android/phone/
ButtonGridLayout.java 119 mButtonWidth = child.getMeasuredWidth();
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
PictureLayout.java 156 childLeft + child.getMeasuredWidth(),
  /cts/tests/tests/view/src/android/view/cts/
ViewStubTest.java 189 assertEquals(0, viewStub.getMeasuredWidth());
193 assertEquals(0, viewStub.getMeasuredWidth());

Completed in 732 milliseconds

1 2 3