/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/ |
HorizontalHoverCardSwitcher.java | 51 if (!isRtl && mCardLeft + view.getMeasuredWidth() > rightLimit) { 52 params.leftMargin = rightLimit - view.getMeasuredWidth(); 56 params.leftMargin = mCardRight - view.getMeasuredWidth();
|
ThumbsBar.java | 221 int width = getMeasuredWidth(); 239 int heroLeft = getWidth() / 2 - heroView.getMeasuredWidth() / 2; 240 int heroRight = getWidth() / 2 + heroView.getMeasuredWidth() / 2; 248 child.layout(heroLeft - child.getMeasuredWidth(), 252 heroLeft -= child.getMeasuredWidth(); 259 heroRight + child.getMeasuredWidth(), 261 heroRight += child.getMeasuredWidth();
|
ControlBar.java | 105 int measuredWidth = first.getMeasuredWidth() + second.getMeasuredWidth(); 113 setMeasuredDimension(getMeasuredWidth() + totalExtraMargin, getMeasuredHeight());
|
/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/Settings/tests/robotests/src/com/android/settings/widget/ |
RingProgressBarTest.java | 52 assertEquals(100, mProgressBar.getMeasuredWidth()); 61 assertEquals(100, mProgressBar.getMeasuredWidth());
|
/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/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/ |
FillContentLayoutTest.java | 49 assertEquals(123, layout.getMeasuredWidth()); 67 assertEquals(123, child.getMeasuredWidth()); 85 assertEquals(88, child.getMeasuredWidth());
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListUnspecifiedMeasure.java | 50 assertTrue(mListView.getMeasuredWidth() > 0);
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
CustomSnackbarMainContent.java | 49 if ((mMaxWidth > 0) && (getMeasuredWidth() > mMaxWidth)) {
|
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
CustomSnackbarMainContent.java | 50 if ((mMaxWidth > 0) && (getMeasuredWidth() > mMaxWidth)) {
|
/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();
|
/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/ |
RingProgressBar.java | 53 final int measuredWidth = getMeasuredWidth();
|
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/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();
|