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

1 2 3 4 5 6 7 8 9

  /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...]
  /sdk/apps/NotificationStudio/src/com/android/notificationstudio/
MaxHeightScrollView.java 38 setMeasuredDimension(getMeasuredWidth(), Math.min(getMeasuredHeight(), mMaxHeight));
  /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);
  /packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
WeekButton.java 47 int w = getMeasuredWidth();
  /packages/apps/Camera/src/com/android/camera/ui/
RotateLayout.java 81 final int w = getMeasuredWidth();
109 int w = getMeasuredWidth();
139 w = mChild.getMeasuredWidth();
146 h = mChild.getMeasuredWidth();
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
StackLayout.java 41 int width = child.getMeasuredWidth();
RotateLayout.java 71 w = mChild.getMeasuredWidth();
78 h = mChild.getMeasuredWidth();
ZoomControlBar.java 76 mIconWidth = mZoomIn.getMeasuredWidth();
148 int sliderWidth = mZoomSlider.getMeasuredWidth();
  /packages/apps/Camera2/src/com/android/camera/ui/
RotateLayout.java 74 w = mChild.getMeasuredWidth();
81 h = mChild.getMeasuredWidth();
  /packages/apps/DeskClock/src/com/android/deskclock/widget/
EllipsizeLayout.java 101 totalLength += child.getMeasuredWidth()
112 int maxWidth = ellipsizeView.getMeasuredWidth() - (totalLength - parentWidth);
  /packages/experimental/Bummer/src/com/android/dreams/bummer/
BummerView.java 47 final float framew = parent.getMeasuredWidth();
49 final float textw = getMeasuredWidth();
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
BummerView.java 47 final float framew = parent.getMeasuredWidth();
49 final float textw = getMeasuredWidth();
  /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;
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
AbsActionBarView.java 186 availableWidth -= child.getMeasuredWidth();
193 int childWidth = child.getMeasuredWidth();
203 int childWidth = child.getMeasuredWidth();
  /cts/tests/tests/widget/src/android/widget/cts/
FrameLayoutTest.java 159 compareScaledPixels(100, textView.getMeasuredWidth());
161 assertEquals(textView.getMeasuredWidth(), frameLayout.getMeasuredWidth());
174 compareScaledPixels(50, button.getMeasuredWidth());
176 assertEquals(button.getMeasuredWidth(), frameLayout.getMeasuredWidth());
188 assertEquals(textView.getMeasuredWidth(), frameLayout.getMeasuredWidth());
  /development/samples/ApiDemos/src/com/example/android/apis/view/
CustomLayout.java 102 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin);
105 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin);
108 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin);
153 final int width = child.getMeasuredWidth();
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
PrintDialogFrame.java 39 int measuredWidth = getMeasuredWidth();
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
IconMerger.java 52 int width = getMeasuredWidth();
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactListPinnedHeaderView.java 128 leftHeaderTextView = rightHeaderTextView - mHeaderTextView.getMeasuredWidth();
131 rightCountTextView = mCountTextView.getMeasuredWidth() + leftCountTextView;
134 rightHeaderTextView = mHeaderTextView.getMeasuredWidth() + leftHeaderTextView;
138 leftCountTextView = rightCountTextView - mCountTextView.getMeasuredWidth();
  /frameworks/base/core/java/android/app/
FragmentBreadCrumbs.java 196 childLeft = childRight - child.getMeasuredWidth();
200 childLeft = mPaddingLeft + (mRight - mLeft - child.getMeasuredWidth()) / 2;
201 childRight = childLeft + child.getMeasuredWidth();
207 childRight = childLeft + child.getMeasuredWidth();
235 maxWidth = Math.max(maxWidth, child.getMeasuredWidth());
  /packages/apps/Launcher2/src/com/android/launcher2/
Cling.java 125 return new int[]{getMeasuredWidth() / 2, getMeasuredHeight() - (mButtonBarHeight / 2)};
127 return new int[]{getMeasuredWidth() - (mButtonBarHeight / 2), getMeasuredHeight() / 2};
132 return new int[]{getMeasuredWidth() - cornerXOffset, cornerYOffset};
201 Bitmap b = Bitmap.createBitmap(getMeasuredWidth(), getMeasuredHeight(),
225 mBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight());
  /packages/apps/Launcher3/src/com/android/launcher3/
DragLayer.java 331 (int) (mTmpXY[0] + scale * descendant.getMeasuredWidth()),
383 r.set(left, top, left + v.getMeasuredWidth(), top + v.getMeasuredHeight());
514 coord[0] = lp.x + (int) (child.getMeasuredWidth() * (1 - childScale) / 2);
533 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2;
540 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2;
543 toX -= (Math.round(scale * (dragView.getMeasuredWidth()
544 - child.getMeasuredWidth()))) / 2;
567 view.getMeasuredWidth(), fromY + view.getMeasuredHeight())
    [all...]

Completed in 974 milliseconds

1 2 3 4 5 6 7 8 9