Searched refs:getMeasuredWidth (Results 1 - 25 of 123) sorted by relevance

12345

/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
H A DCellSpanTest.java67 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/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DControlBar.java76 int measuredWidth = first.getMeasuredWidth() + second.getMeasuredWidth();
84 setMeasuredDimension(getMeasuredWidth() + totalExtraMargin, getMeasuredHeight());
H A DHorizontalHoverCardSwitcher.java52 if (!isRtl && mCardLeft + view.getMeasuredWidth() > rightLimit) {
53 params.leftMargin = rightLimit - view.getMeasuredWidth();
57 params.leftMargin = mCardRight - view.getMeasuredWidth();
H A DScaleFrameLayout.java95 final int width = child.getMeasuredWidth();
159 setMeasuredDimension((int)(getMeasuredWidth() * mLayoutScaleX + 0.5f),
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridInHorizontalTest.java46 assertTrue("Grid has 0 width", mGridView.getMeasuredWidth() > 0);
H A DGridInVerticalTest.java46 assertTrue("Grid has 0 width", mGridView.getMeasuredWidth() > 0);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListUnspecifiedMeasure.java50 assertTrue(mListView.getMeasuredWidth() > 0);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DNumPadKey.java141 int left = centerX - mDigitText.getMeasuredWidth() / 2;
143 mDigitText.layout(left, top, left + mDigitText.getMeasuredWidth(), bottom);
147 left = centerX - mKlondikeText.getMeasuredWidth() / 2;
148 mKlondikeText.layout(left, top, left + mKlondikeText.getMeasuredWidth(), bottom);
/frameworks/base/tools/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
H A DErrorCatcher.java60 setMeasuredDimension(resolveSize(child.getMeasuredWidth(), widthMeasureSpec),
88 child.layout(0, 0, child.getMeasuredWidth(), child.getMeasuredHeight());
/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java137 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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DIconMerger.java52 int width = getMeasuredWidth();
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
H A DVerticalSeekBar.java49 setMeasuredDimension(getMeasuredHeight(), getMeasuredWidth());
/frameworks/base/core/java/android/app/
H A DFragmentBreadCrumbs.java215 childLeft = childRight - child.getMeasuredWidth();
219 childLeft = mPaddingLeft + (mRight - mLeft - child.getMeasuredWidth()) / 2;
220 childRight = childLeft + child.getMeasuredWidth();
226 childRight = childLeft + child.getMeasuredWidth();
254 maxWidth = Math.max(maxWidth, child.getMeasuredWidth());
/frameworks/base/core/java/android/widget/
H A DAbsoluteLayout.java78 childRight = lp.x + child.getMeasuredWidth();
124 childLeft + child.getMeasuredWidth(),
H A DDayPickerViewPager.java71 maxWidth = Math.max(maxWidth, child.getMeasuredWidth());
113 getMeasuredWidth() - getPaddingLeft() - getPaddingRight(),
H A DActionMenuView.java416 final int measuredWidth = child.getMeasuredWidth();
456 overflowWidth = v.getMeasuredWidth();
478 final int size = v.getMeasuredWidth() + p.leftMargin + p.rightMargin;
491 final int width = v.getMeasuredWidth();
513 int width = v.getMeasuredWidth();
529 int width = v.getMeasuredWidth();
H A DSlidingDrawer.java298 int width = widthSpecSize - handle.getMeasuredWidth() - mTopOffset;
345 int childWidth = handle.getMeasuredWidth();
357 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(),
364 mTopOffset + childWidth + content.getMeasuredWidth(),
666 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(),
674 mTopOffset + childWidth + content.getMeasuredWidth(),
/frameworks/base/core/java/com/android/internal/widget/
H A DDialogViewAnimator.java71 maxWidth = Math.max(maxWidth, child.getMeasuredWidth()
115 getMeasuredWidth() - getPaddingLeft() - getPaddingRight()
H A DWeightedLinearLayout.java66 int width = getMeasuredWidth();
H A DActionBarView.java954 homeWidth = homeLayout.getMeasuredWidth();
962 rightOfCenter = Math.max(0, rightOfCenter - mMenuView.getMeasuredWidth());
970 rightOfCenter - mIndeterminateProgressView.getMeasuredWidth());
983 final int listNavWidth = mListNavLayout.getMeasuredWidth();
996 final int tabWidth = mTabScrollView.getMeasuredWidth();
1053 availableWidth -= horizontalMargin + customView.getMeasuredWidth();
1063 leftOfCenter = Math.max(0, leftOfCenter - mTitleLayout.getMeasuredWidth());
1150 menuStart += direction * mMenuView.getMeasuredWidth();
1156 menuStart += direction * mIndeterminateProgressView.getMeasuredWidth();
1172 final int navWidth = customView.getMeasuredWidth();
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintOptionsLayout.java103 rowWidth += child.getMeasuredWidth() + childParams.getMarginStart()
153 final int childRight = childLeft + child.getMeasuredWidth();
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DSignalTileView.java91 left = right - indicator.getMeasuredWidth();
94 right = left + indicator.getMeasuredWidth();
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DDebugOverlayView.java142 addRect(new Rect(getMeasuredWidth() - sCornerRectSize, getMeasuredHeight() - sCornerRectSize,
143 getMeasuredWidth(), getMeasuredHeight()), 0xFFff0000);
150 canvas.drawRect(0, 0, getMeasuredWidth(), getMeasuredHeight(), mDebugOutline);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionMenuView.java420 final int measuredWidth = child.getMeasuredWidth();
460 overflowWidth = v.getMeasuredWidth();
481 final int size = v.getMeasuredWidth() + p.leftMargin + p.rightMargin;
494 final int width = v.getMeasuredWidth();
516 int width = v.getMeasuredWidth();
532 int width = v.getMeasuredWidth();
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarContainer.java132 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight());
273 setMeasuredDimension(getMeasuredWidth(),
297 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight());

Completed in 258 milliseconds

12345