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

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /packages/apps/Camera2/src/com/android/camera/widget/
SettingsCling.java 63 float referenceRight = referenceView.getX() + referenceView.getMeasuredWidth();
64 setTranslationX(referenceRight - getMeasuredWidth());
70 float triangleStartX = getMeasuredWidth() - referenceView.getMeasuredWidth() / 2;
82 float triangleStartX = getMeasuredWidth() - referenceView.getMeasuredWidth() / 2;
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
ManualLayoutFrame.java 56 mWidth = getMeasuredWidth();
73 final int contentLeft = (getMeasuredWidth() - content.getMeasuredWidth()) / 2;
75 final int contentRight = contentLeft + content.getMeasuredWidth();
  /sdk/apps/NotificationStudio/src/com/android/notificationstudio/
MaxHeightScrollView.java 38 setMeasuredDimension(getMeasuredWidth(), Math.min(getMeasuredHeight(), mMaxHeight));
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
ControlBar.java 76 int measuredWidth = first.getMeasuredWidth() + second.getMeasuredWidth();
84 setMeasuredDimension(getMeasuredWidth() + totalExtraMargin, getMeasuredHeight());
HorizontalHoverCardSwitcher.java 52 if (!isRtl && mCardLeft + view.getMeasuredWidth() > rightLimit) {
53 params.leftMargin = rightLimit - view.getMeasuredWidth();
57 params.leftMargin = mCardRight - view.getMeasuredWidth();
  /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/LegacyCamera/src/com/android/camera/ui/
StackLayout.java 41 int width = child.getMeasuredWidth();
RotateLayout.java 71 w = mChild.getMeasuredWidth();
78 h = mChild.getMeasuredWidth();
  /packages/apps/Messaging/src/com/android/messaging/ui/
MaxHeightScrollView.java 47 setMeasuredDimension(getMeasuredWidth(), Math.min(getMeasuredHeight(), mMaxHeight));
  /packages/apps/Messaging/src/com/android/messaging/ui/conversation/
MessageBubbleBackground.java 38 int bubbleWidth = getMeasuredWidth() - widthPadding;
  /packages/apps/Settings/src/com/android/settings/display/
MessageBubbleBackground.java 38 int bubbleWidth = getMeasuredWidth() - widthPadding;
  /packages/apps/Settings/src/com/android/settings/widget/
SlidingTabLayout.java 76 mTitleView.getMeasuredWidth() / titleCount, MeasureSpec.EXACTLY);
88 final int indicatorWidth = mIndicatorView.getMeasuredWidth();
89 final int totalWidth = getMeasuredWidth();
93 mTitleView.layout(leftPadding, 0, mTitleView.getMeasuredWidth() + rightPadding,
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
FixedSizeFrameLayout.java 73 measureContents(getMeasuredWidth(), getMeasuredHeight());
92 int width = getMeasuredWidth();
  /frameworks/base/tools/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
ErrorCatcher.java 60 setMeasuredDimension(resolveSize(child.getMeasuredWidth(), widthMeasureSpec),
88 child.layout(0, 0, child.getMeasuredWidth(), child.getMeasuredHeight());
  /packages/apps/Camera2/src/com/android/camera/ui/
RotateLayout.java 76 w = mChild.getMeasuredWidth();
83 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 145 int firstRight = xy[0] + first.getMeasuredWidth();
148 int secondRight = xy[0] + second.getMeasuredWidth();
164 int firstRight = xy[0] + first.getMeasuredWidth();
167 int secondRight = xy[0] + second.getMeasuredWidth();
298 int center = (reference.getMeasuredWidth() - test.getMeasuredWidth()) / 2;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
QSIconView.java 67 final int w = getMeasuredWidth();
70 final int iconLeft = (w - mIcon.getMeasuredWidth()) / 2;
121 child.layout(left, top, left + child.getMeasuredWidth(), top + child.getMeasuredHeight());

Completed in 593 milliseconds

1 2 3 4 5 6 7 8 91011>>