Home
last modified time | relevance | path

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

123456

/packages/apps/Gallery/src/com/android/camera/
DEvenlySpacedLayout.java59 height = Math.max(height, child.getMeasuredHeight()); in onMeasure()
61 height += child.getMeasuredHeight(); in onMeasure()
89 int h = child.getMeasuredHeight(); in layoutHorizontal()
104 usedHeight += child.getMeasuredHeight(); in layoutVertical()
116 int h = child.getMeasuredHeight(); in layoutVertical()
/packages/apps/Camera2/src/com/android/camera/widget/
DSettingsCling.java67 if (referenceTop < getMeasuredHeight()) { in updatePosition()
69 setTranslationY(referenceTop + referenceView.getMeasuredHeight()); in updatePosition()
81 setTranslationY(referenceTop - getMeasuredHeight()); in updatePosition()
83 float triangleStartY = getMeasuredHeight(); in updatePosition()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DAspectRatioFrameLayoutTest.java52 assertThat(mLayout.getMeasuredHeight()).isEqualTo(50); in measure_squareAspectRatio_squeezeWidth()
65 assertThat(mLayout.getMeasuredHeight()).isEqualTo(100); in measure_squareAspectRatio_stretchWidth()
78 assertThat(mLayout.getMeasuredHeight()).isEqualTo(100); in measure_squareAspectRatio_doNotStretch()
94 assertThat(mLayout.getMeasuredHeight()).isEqualTo(100); in measure_rectangleAspectRatio_stretch()
/packages/apps/Messaging/src/com/android/messaging/ui/
DImeDetectFrameLayout.java33 final int measuredHeight = getMeasuredHeight(); in onMeasure()
39 getMeasuredHeight()); in onMeasure()
42 if (measuredHeight != getMeasuredHeight() && getContext() instanceof ImeUtil.ImeStateHost) { in onMeasure()
DLineWrapLayout.java72 int childMeasuredHeight = currChild.getMeasuredHeight() + layoutParams.topMargin + in onMeasure()
117 int childHeight = currChild.getMeasuredHeight(); in onLayout()
146 int childHeight = currChild.getMeasuredHeight(); in onLayout()
DMultiAttachmentLayout.java324 view.getMeasuredHeight()); in onMeasure()
341 final int cellHeight = getMeasuredHeight() / GRID_HEIGHT; in onLayout()
353 tileTop + view.getMeasuredHeight()); in onLayout()
368 tileTop + mPlusTextView.getMeasuredHeight()); in onLayout()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DResolverViewPager.java51 int height = getMeasuredHeight(); in onMeasure()
57 if (maxHeight < child.getMeasuredHeight()) { in onMeasure()
58 maxHeight = child.getMeasuredHeight(); in onMeasure()
/packages/apps/Settings/src/com/android/settings/widget/
DSlidingTabLayout.java79 mIndicatorView.getMeasuredHeight(), MeasureSpec.EXACTLY); in onMeasure()
87 final int indicatorBottom = getMeasuredHeight(); in onLayout()
88 final int indicatorHeight = mIndicatorView.getMeasuredHeight(); in onLayout()
95 mTitleView.getMeasuredHeight()); in onLayout()
DMatchParentShrinkingLinearLayout.java717 final int childHeight = child.getMeasuredHeight(); in measureVertical()
854 int childHeight = child.getMeasuredHeight() + share; in measureVertical()
877 int childHeight = child.getMeasuredHeight() + delta; in measureVertical()
881 delta -= childHeight - child.getMeasuredHeight(); in measureVertical()
905 mTotalLength = Math.max(totalLength, totalLength + child.getMeasuredHeight() + in measureVertical()
972 lp.height = child.getMeasuredHeight(); in forceUniformWidth()
1003 int uniformMeasureSpec = MeasureSpec.makeMeasureSpec(getMeasuredHeight(), in forceUniformHeight()
1152 final int childHeight = child.getMeasuredHeight(); in layoutVertical()
1274 final int childHeight = child.getMeasuredHeight(); in layoutHorizontal()
1316 int descent = child.getMeasuredHeight() - childBaseline; in layoutHorizontal()
/packages/apps/Settings/src/com/android/settings/display/
DConversationMessageView.java107 Math.max(mContactIconView.getMeasuredWidth(), mContactIconView.getMeasuredHeight()), in onMeasure()
124 final int maxHeight = Math.max(mContactIconView.getMeasuredHeight(), in onMeasure()
125 mMessageBubble.getMeasuredHeight()); in onMeasure()
135 final int iconHeight = mContactIconView.getMeasuredHeight(); in onLayout()
138 final int contentHeight = mMessageBubble.getMeasuredHeight(); in onLayout()
/packages/apps/Launcher3/src/com/android/launcher3/
DDropTargetBar.java255 barCenter + (button.getMeasuredWidth() / 2), button.getMeasuredHeight()); in onLayout()
263 barCenter - (buttonGap / 2), leftButton.getMeasuredHeight()); in onLayout()
266 rightButton.getMeasuredHeight()); in onLayout()
280 leftButton.getMeasuredHeight()); in onLayout()
282 rightButton.getMeasuredHeight()); in onLayout()
DButtonDropTarget.java156 y = -getMeasuredHeight(); in onDragEnter()
286 int viewHeight = dragObject.dragView.getMeasuredHeight(); in getIconRect()
309 final int top = to.top + (getMeasuredHeight() - height) / 2; in getIconRect()
453 int availableHeight = getMeasuredHeight(); in resizeTextToFit()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaPickerPanel.java147 tabStripHeight = mTabStrip.getMeasuredHeight(); in onMeasure()
150 tabStripHeight = Math.min(mTabStrip.getMeasuredHeight(), in onMeasure()
173 final int viewPagerHeight = mViewPager.getMeasuredHeight(); in onLayout()
177 mTabStrip.layout(0, y, width, y + mTabStrip.getMeasuredHeight()); in onLayout()
314 return mDefaultViewPagerHeight + mTabStrip.getMeasuredHeight(); in measureHeight()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DMultiTargetSwitchPreference.java57 final int padding = (int) ((holder.itemView.getMeasuredHeight() in onBindViewHolder()
58 - switchView.getMeasuredHeight()) / 2 + 0.5f); in onBindViewHolder()
/packages/apps/Settings/tests/unit/src/com/android/settings/widget/
DRingProgressBarTest.java49 assertEquals(100, mProgressBar.getMeasuredHeight()); in testMeasurePortrait()
58 assertEquals(100, mProgressBar.getMeasuredHeight()); in testMeasureLandscape()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DRotateLayout.java72 h = mChild.getMeasuredHeight(); in onMeasure()
77 w = mChild.getMeasuredHeight(); in onMeasure()
/packages/apps/Camera2/src/com/android/camera/ui/
DRotateLayout.java77 h = mChild.getMeasuredHeight(); in onMeasure()
82 w = mChild.getMeasuredHeight(); in onMeasure()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DBummerView.java48 final float frameh = parent.getMeasuredHeight();
50 final float texth = getMeasuredHeight();
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DDefaultPagedViewHandler.java101 return (view.getPaddingTop() + view.getMeasuredHeight() + insets.top in getCenterForPage()
120 final int childHeight = child.getMeasuredHeight(); in getChildBounds()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java1165 mScrapHeight = scrapView.getMeasuredHeight();
1262 child.getMeasuredHeight());
1283 top + child.getMeasuredHeight());
1287 top + child.getMeasuredHeight());
1291 top + child.getMeasuredHeight());
1294 top += child.getMeasuredHeight();
1299 child.layout(left, top + maxSize / 2 - child.getMeasuredHeight() / 2,
1301 top + maxSize / 2 + child.getMeasuredHeight() / 2);
1305 top + child.getMeasuredHeight());
1308 child.layout(left, top + maxSize - child.getMeasuredHeight(),
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsBottomSheet.java103 mContent.layout(contentLeft, height - mContent.getMeasuredHeight(), in onLayout()
110 if (widgetsTable.getMeasuredHeight() > widgetsTableScrollView.getMeasuredHeight()) { in onLayout()
/packages/apps/Contacts/src/com/android/contacts/widget/
DInterpolatingLayout.java258 height = Math.max(child.getMeasuredHeight(), height); in onMeasure()
271 height = Math.max(fillChild.getMeasuredHeight(), height); in onMeasure()
311 Gravity.apply(gravity, child.getMeasuredWidth(), child.getMeasuredHeight(), in onLayout()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListItemView.java472 mCheckBoxHeight = mCheckBox.getMeasuredHeight(); in onMeasure()
481 mDeleteImageButtonHeight = mDeleteImageButton.getMeasuredHeight(); in onMeasure()
494 mNameTextViewHeight = mNameTextView.getMeasuredHeight(); in onMeasure()
501 mPhoneticNameTextViewHeight = mPhoneticNameTextView.getMeasuredHeight(); in onMeasure()
531 mDataViewHeight = mDataView.getMeasuredHeight(); in onMeasure()
537 mLabelViewHeight = mLabelView.getMeasuredHeight(); in onMeasure()
545 mSnippetTextViewHeight = mSnippetView.getMeasuredHeight(); in onMeasure()
553 mStatusTextViewHeight = mPresenceIcon.getMeasuredHeight(); in onMeasure()
567 Math.max(mNameTextViewHeight, mWorkProfileIcon.getMeasuredHeight()); in onMeasure()
582 Math.max(mStatusTextViewHeight, mStatusView.getMeasuredHeight()); in onMeasure()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchLandscapeLayout.kt129 val lapsListHeight: Int = lapsListView.getMeasuredHeight() in onLayout()
148 val stopwatchHeight: Int = mStopwatchView.getMeasuredHeight() in onLayout()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java372 mOutlineRadius, getMeasuredWidth(), getMeasuredHeight(), in updateArrowColor()
428 int height = getMeasuredHeight() + extraVerticalSpace + childMargins; in orientAboutObject()
514 getPopupContainer().getHeight() - y - getMeasuredHeight() - insets.top; in orientAboutObject()
542 setY(dragLayer.getHeight() / 2 - getMeasuredHeight() / 2); in onLayout()
649 setPivotY(mIsAboveIcon ? getMeasuredHeight() : 0f); in setPivotForOpenCloseAnimation()

123456