Home
last modified time | relevance | path

Searched refs:getMeasuredHeight (Results 1 – 25 of 144) sorted by relevance

123456

/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DMessagingLinearLayoutTest.java60 mView.layout(0, 0, mView.getMeasuredWidth(), mView.getMeasuredHeight()); in testSingleChild()
63 assertEquals(150, mView.getMeasuredHeight()); in testSingleChild()
75 mView.layout(0, 0, mView.getMeasuredWidth(), mView.getMeasuredHeight()); in testLargeSmall()
79 assertEquals(205, mView.getMeasuredHeight()); in testLargeSmall()
91 mView.layout(0, 0, mView.getMeasuredWidth(), mView.getMeasuredHeight()); in testSmallSmall()
95 assertEquals(105, mView.getMeasuredHeight()); in testSmallSmall()
107 mView.layout(0, 0, mView.getMeasuredWidth(), mView.getMeasuredHeight()); in testLargeLarge()
111 assertEquals(350, mView.getMeasuredHeight()); in testLargeLarge()
123 mView.layout(0, 0, mView.getMeasuredWidth(), mView.getMeasuredHeight()); in testLargeSmall_largeWrapsWith3indentbutNotFullHeight_andHitsMax()
127 assertEquals(355, mView.getMeasuredHeight());; in testLargeSmall_largeWrapsWith3indentbutNotFullHeight_andHitsMax()
[all …]
DImageFloatingTextViewTest.java131 mView.getMeasuredHeight() <= mTextView.getMeasuredHeight()); in parametrizedTest()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintContentView.java238 mClosedOptionsOffsetY = mSummaryContent.getMeasuredHeight() in onMeasure()
239 - mDraggableContent.getMeasuredHeight(); in onMeasure()
250 params.height = heightSize - mStaticContent.getMeasuredHeight() in onMeasure()
251 - mSummaryContent.getMeasuredHeight() - mDynamicContent.getMeasuredHeight() in onMeasure()
252 + mDraggableContent.getMeasuredHeight(); in onMeasure()
257 if (mOldDraggableHeight != mDraggableContent.getMeasuredHeight()) { in onMeasure()
261 mOldDraggableHeight = mDraggableContent.getMeasuredHeight(); in onMeasure()
274 mStaticContent.layout(left, top, right, mStaticContent.getMeasuredHeight()); in onLayout()
277 mSummaryContent.layout(left, mStaticContent.getMeasuredHeight(), right, in onLayout()
278 mStaticContent.getMeasuredHeight() + mSummaryContent.getMeasuredHeight()); in onLayout()
[all …]
DPrintOptionsLayout.java107 rowHeight = Math.max(rowHeight, child.getMeasuredHeight() + childParams.topMargin in onMeasure()
162 final int childBottom = childTop + child.getMeasuredHeight(); in onLayout()
168 rowHeight = Math.max(rowHeight, child.getMeasuredHeight() in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationUndoLayout.java94 + mConfirmationTextView.getMeasuredHeight() in onMeasure()
95 + mUndoView.getMeasuredHeight() in onMeasure()
111 int parentBottom = getMeasuredHeight(); in onLayout()
124 mMultilineTopMargin + mConfirmationTextView.getMeasuredHeight()); in onLayout()
132 parentBottom - mUndoView.getMeasuredHeight() - undoLayoutParams.bottomMargin, in onLayout()
/frameworks/base/core/java/com/android/internal/widget/
DAlertDialogLayout.java121 usedHeight += topPanel.getMeasuredHeight(); in tryOnMeasure()
130 buttonWantsHeight = buttonPanel.getMeasuredHeight() - buttonHeight; in tryOnMeasure()
147 middleHeight = middlePanel.getMeasuredHeight(); in tryOnMeasure()
171 usedHeight += buttonPanel.getMeasuredHeight(); in tryOnMeasure()
191 usedHeight += middlePanel.getMeasuredHeight(); in tryOnMeasure()
238 lp.height = child.getMeasuredHeight(); in forceUniformWidth()
284 final int totalLength = getMeasuredHeight(); in onLayout()
316 final int childHeight = child.getMeasuredHeight(); in onLayout()
DActionBarContainer.java132 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight()); in setSplitBackground()
276 return view == null || view.getVisibility() == GONE || view.getMeasuredHeight() == 0; in isCollapsed()
281 return view.getMeasuredHeight() + lp.topMargin + lp.bottomMargin; in getMeasuredHeightWithMargins()
323 final int containerHeight = getMeasuredHeight(); in onLayout()
325 final int tabHeight = tabContainer.getMeasuredHeight(); in onLayout()
333 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight()); in onLayout()
DDecorCaptionView.java287 captionHeight = mCaption.getMeasuredHeight(); in onMeasure()
308 mCaption.layout(0, 0, mCaption.getMeasuredWidth(), mCaption.getMeasuredHeight()); in onLayout()
320 mContent.layout(0, 0, mContent.getMeasuredWidth(), mContent.getMeasuredHeight()); in onLayout()
323 captionHeight + mContent.getMeasuredHeight()); in onLayout()
DDialogViewAnimator.java77 maxHeight = Math.max(maxHeight, child.getMeasuredHeight() in onMeasure()
127 getMeasuredHeight() - getPaddingTop() - getPaddingBottom() in onMeasure()
/frameworks/base/test-runner/src/android/test/
DViewAsserts.java219 int firstBottom = xy[1] + first.getMeasuredHeight(); in assertBottomAligned()
222 int secondBottom = xy[1] + second.getMeasuredHeight(); in assertBottomAligned()
238 int firstBottom = xy[1] + first.getMeasuredHeight(); in assertBottomAligned()
241 int secondBottom = xy[1] + second.getMeasuredHeight(); in assertBottomAligned()
319 int center = (reference.getMeasuredHeight() - test.getMeasuredHeight()) / 2; in assertVerticalCenterAligned()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DFillContentLayoutTest.java48 assertThat(layout.getMeasuredHeight()).isEqualTo(123); in testMeasureMinSize()
67 assertThat(child.getMeasuredHeight()).isEqualTo(123); in testMeasureChildIsSmallerThanMaxSize()
86 assertThat(child.getMeasuredHeight()).isEqualTo(88); in testMeasureChildIsSmallerThanParent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSmartReplyViewTest.java298 10 + expectedView.getMeasuredHeight()); in testLayout_shortChoices()
302 mView.layout(10, 10, 10 + mView.getMeasuredWidth(), 10 + mView.getMeasuredHeight()); in testLayout_shortChoices()
335 10 + expectedView.getMeasuredHeight()); in testLayout_choiceWithTwoLines()
339 mView.layout(10, 10, 10 + mView.getMeasuredWidth(), 10 + mView.getMeasuredHeight()); in testLayout_choiceWithTwoLines()
374 10 + expectedView.getMeasuredHeight()); in testLayout_choiceWithThreeLines()
378 mView.layout(10, 10, 10 + mView.getMeasuredWidth(), 10 + mView.getMeasuredHeight()); in testLayout_choiceWithThreeLines()
416 10 + expectedView.getMeasuredHeight()); in testLayout_squeezeLongest()
422 mView.layout(10, 10, 10 + mView.getMeasuredWidth(), 10 + mView.getMeasuredHeight()); in testLayout_squeezeLongest()
440 10 + expectedView.getMeasuredHeight()); in testMeasure_dropLongest()
446 mView.layout(10, 10, 10 + mView.getMeasuredWidth(), 10 + mView.getMeasuredHeight()); in testMeasure_dropLongest()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DFillInWrapTest.java53 mChild.getMeasuredHeight() < mContainer.getMeasuredHeight()); in testLayout()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewPrecomputedTextPerfTest.java346 textView.layout(0, 0, textView.getMeasuredWidth(), textView.getMeasuredHeight()); in testOnDraw_RandomText()
348 textView.getMeasuredWidth(), textView.getMeasuredHeight()); in testOnDraw_RandomText()
373 textView.layout(0, 0, textView.getMeasuredWidth(), textView.getMeasuredHeight()); in testOnDraw_RandomText_Selectable()
375 textView.getMeasuredWidth(), textView.getMeasuredHeight()); in testOnDraw_RandomText_Selectable()
402 textView.layout(0, 0, textView.getMeasuredWidth(), textView.getMeasuredHeight()); in testOnDraw_PrecomputedText()
404 textView.getMeasuredWidth(), textView.getMeasuredHeight()); in testOnDraw_PrecomputedText()
432 textView.layout(0, 0, textView.getMeasuredWidth(), textView.getMeasuredHeight()); in testOnDraw_PrecomputedText_Selectable()
434 textView.getMeasuredWidth(), textView.getMeasuredHeight()); in testOnDraw_PrecomputedText_Selectable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DSignalTileView.java85 int hs = MeasureSpec.makeMeasureSpec(mIconFrame.getMeasuredHeight(), MeasureSpec.EXACTLY); in onMeasure()
86 int ws = MeasureSpec.makeMeasureSpec(mIconFrame.getMeasuredHeight(), MeasureSpec.AT_MOST); in onMeasure()
115 mIconFrame.getBottom() - indicator.getMeasuredHeight(), in layoutIndicator()
DPseudoGridView.java82 maxHeight = Math.max(maxHeight, child.getMeasuredHeight()); in onMeasure()
87 if (child.getMeasuredHeight() != maxHeight) { in onMeasure()
114 int height = child.getMeasuredHeight(); in onLayout()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DFixedSizeFrameLayout.java73 measureContents(getMeasuredWidth(), getMeasuredHeight()); in requestLayout()
93 int height = getMeasuredHeight(); in layoutContents()
DRecentsView.java450 mTaskStackView.layout(left, top, left + getMeasuredWidth(), top + getMeasuredHeight());
458 int childHeight = mEmptyView.getMeasuredHeight();
484 setTranslationY(getMeasuredHeight());
742 mStackActionButton.setTranslationY(mStackActionButton.getMeasuredHeight() *
781 mStackActionButton.animate().translationY(mStackActionButton.getMeasuredHeight()
847 ? dockState.getPreDockedBounds(getMeasuredWidth(), getMeasuredHeight(),
849 : dockState.getDockedBounds(getMeasuredWidth(), getMeasuredHeight(),
902 top = windowRect.height() - (mStackActionButton.getMeasuredHeight()
910 (actionButtonRect.height() - mStackActionButton.getMeasuredHeight()) / 2;
913 top + mStackActionButton.getMeasuredHeight());
/frameworks/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
DErrorCatcher.java61 resolveSize(child.getMeasuredHeight(), heightMeasureSpec)); in onMeasure()
88 child.layout(0, 0, child.getMeasuredWidth(), child.getMeasuredHeight()); in onLayout()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DZenRadioLayout.java59 if (radio.getLayoutParams().height != content.getMeasuredHeight()) { in onMeasure()
61 radio.getLayoutParams().height = content.getMeasuredHeight(); in onMeasure()
/frameworks/base/core/java/android/widget/
DToolbar.java1684 child.getMeasuredHeight() > 0) { in shouldCollapse()
1715 height = Math.max(height, mNavButtonView.getMeasuredHeight() + in onMeasure()
1725 height = Math.max(height, mCollapseButtonView.getMeasuredHeight() + in onMeasure()
1739 height = Math.max(height, mMenuView.getMeasuredHeight() + in onMeasure()
1751 height = Math.max(height, mExpandedActionView.getMeasuredHeight() + in onMeasure()
1759 height = Math.max(height, mLogoView.getMeasuredHeight() + in onMeasure()
1775 height = Math.max(height, child.getMeasuredHeight() + getVerticalMargins(child)); in onMeasure()
1788 titleHeight = mTitleTextView.getMeasuredHeight() + getVerticalMargins(mTitleTextView); in onMeasure()
1796 titleHeight += mSubtitleTextView.getMeasuredHeight() + in onMeasure()
1900 titleHeight += lp.topMargin + mTitleTextView.getMeasuredHeight() + lp.bottomMargin; in onLayout()
[all …]
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DFlowLayout.java60 lineHeight = Math.max(lineHeight, child.getMeasuredHeight()); in onMeasure()
101 final int childHeight = child.getMeasuredHeight(); in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java158 mOldHeight = mList.getMeasuredHeight(); in onMeasure()
167 int newHeight = mList.getMeasuredHeight(); in onMeasure()
458 setCutPoint(mList.getMeasuredHeight()); in updatePosition()
512 viewsTotalHeight = mList.getMeasuredHeight() + mSeparatedView.getMeasuredHeight(); in updatePaddingAndGravityIfTooTall()
514 screenHeight = getMeasuredHeight(); in updatePaddingAndGravityIfTooTall()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsColumnLayoutTest.java174 doReturn(1000).when(mColumnLayout).getMeasuredHeight(); in testShouldSnapToPowerButton_vertical()
177 doReturn(500).when(wrapper).getMeasuredHeight(); in testShouldSnapToPowerButton_vertical()
181 doReturn(600).when(mColumnLayout).getMeasuredHeight(); in testShouldSnapToPowerButton_vertical()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsColumnLayout.java144 dialogSize = wrapper.getMeasuredHeight(); in shouldSnapToPowerButton()
145 screenSize = getMeasuredHeight(); in shouldSnapToPowerButton()

123456