Home
last modified time | relevance | path

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

12345

/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()
DRingProgressBarTest.java48 assertEquals(100, mProgressBar.getMeasuredHeight()); in testMeasurePortrait()
57 assertEquals(100, mProgressBar.getMeasuredHeight()); in testMeasureLandscape()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java264 coord[1] = lp.y + (child.getMeasuredHeight() * (1 - childScale) / 2); in animateViewIntoPosition()
285 toY -= dragView.getMeasuredHeight() * (1 - toScale) / 2; in animateViewIntoPosition()
295 toY -= (1 - scale) * dragView.getMeasuredHeight() / 2; in animateViewIntoPosition()
299 toY -= (Math.round(scale * (dragView.getHeight() - child.getMeasuredHeight()))) / 2; in animateViewIntoPosition()
317 view.getMeasuredWidth(), fromY + view.getMeasuredHeight()); in animateViewIntoPosition()
318 Rect to = new Rect(toX, toY, toX + view.getMeasuredWidth(), toY + view.getMeasuredHeight()); in animateViewIntoPosition()
379 final int height = view.getMeasuredHeight(); in animateView()
580 child.setPivotY(child.getMeasuredHeight() / 2); in onMeasure()
618 final int height = child.getMeasuredHeight(); in onLayout()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DConversationMessageView.java105 Math.max(mContactIconView.getMeasuredWidth(), mContactIconView.getMeasuredHeight()), in onMeasure()
122 final int maxHeight = Math.max(mContactIconView.getMeasuredHeight(), in onMeasure()
123 mMessageBubble.getMeasuredHeight()); in onMeasure()
133 final int iconHeight = mContactIconView.getMeasuredHeight(); in onLayout()
136 final int contentHeight = mMessageBubble.getMeasuredHeight(); in onLayout()
/packages/apps/Settings/src/com/android/settings/display/
DConversationMessageView.java105 Math.max(mContactIconView.getMeasuredWidth(), mContactIconView.getMeasuredHeight()), in onMeasure()
122 final int maxHeight = Math.max(mContactIconView.getMeasuredHeight(), in onMeasure()
123 mMessageBubble.getMeasuredHeight()); in onMeasure()
133 final int iconHeight = mContactIconView.getMeasuredHeight(); in onLayout()
136 final int contentHeight = mMessageBubble.getMeasuredHeight(); in onLayout()
/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.java319 view.getMeasuredHeight()); in onMeasure()
336 final int cellHeight = getMeasuredHeight() / GRID_HEIGHT; in onLayout()
348 tileTop + view.getMeasuredHeight()); in onLayout()
363 tileTop + mPlusTextView.getMeasuredHeight()); in onLayout()
/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.java716 final int childHeight = child.getMeasuredHeight(); in measureVertical()
853 int childHeight = child.getMeasuredHeight() + share; in measureVertical()
876 int childHeight = child.getMeasuredHeight() + delta; in measureVertical()
880 delta -= childHeight - child.getMeasuredHeight(); in measureVertical()
904 mTotalLength = Math.max(totalLength, totalLength + child.getMeasuredHeight() + in measureVertical()
971 lp.height = child.getMeasuredHeight(); in forceUniformWidth()
1002 int uniformMeasureSpec = MeasureSpec.makeMeasureSpec(getMeasuredHeight(), in forceUniformHeight()
1151 final int childHeight = child.getMeasuredHeight(); in layoutVertical()
1273 final int childHeight = child.getMeasuredHeight(); in layoutHorizontal()
1315 int descent = child.getMeasuredHeight() - childBaseline; in layoutHorizontal()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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.java716 final int childHeight = child.getMeasuredHeight(); in measureVertical()
853 int childHeight = child.getMeasuredHeight() + share; in measureVertical()
876 int childHeight = child.getMeasuredHeight() + delta; in measureVertical()
880 delta -= childHeight - child.getMeasuredHeight(); in measureVertical()
904 mTotalLength = Math.max(totalLength, totalLength + child.getMeasuredHeight() + in measureVertical()
971 lp.height = child.getMeasuredHeight(); in forceUniformWidth()
1002 int uniformMeasureSpec = MeasureSpec.makeMeasureSpec(getMeasuredHeight(), in forceUniformHeight()
1151 final int childHeight = child.getMeasuredHeight(); in layoutVertical()
1273 final int childHeight = child.getMeasuredHeight(); in layoutHorizontal()
1315 int descent = child.getMeasuredHeight() - childBaseline; in layoutHorizontal()
/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/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/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/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java238 int height = getMeasuredHeight() + extraVerticalSpace; in orientAboutObject()
324 … lp.bottomMargin = getPopupContainer().getHeight() - y - getMeasuredHeight() - insets.top; in orientAboutObject()
349 setY(dragLayer.getHeight() / 2 - getMeasuredHeight() / 2); in onLayout()
470 int arrowCenterY = mIsAboveIcon ? getMeasuredHeight() : 0; in createOpenCloseOutlineProvider()
475 mEndRect.set(0, 0, getMeasuredWidth(), getMeasuredHeight()); in createOpenCloseOutlineProvider()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationContainer.java631 return overlayView.getMeasuredHeight(); in measureOverlay()
722 final int h = nonScrollingChild.getMeasuredHeight(); in onLayout()
804 overlayView.getHeight(), overlayView.getMeasuredHeight()); in positionOverlay()
808 overlayView.getMeasuredHeight()); in positionOverlay()
809 final int childBottom = overlayTopY + overlayView.getMeasuredHeight(); in positionOverlay()
1002 height, getMeasuredHeight()); in removeViewAtAdapterIndex()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DMiniDrawerView.java193 final int availableHeight = getMeasuredHeight() - getPaddingBottom() - getPaddingTop(); in onLayout()
203 childHeight += params.topMargin + params.bottomMargin + child.getMeasuredHeight(); in onLayout()
232 childToHide.getMeasuredHeight(); in onLayout()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DTaskThumbnailView.java209 getMeasuredHeight() + currentDrawnInsets.bottom, in onDraw()
329 float excessHeight = thumbnailWidth * thumbnailScale - getMeasuredHeight(); in updateThumbnailMatrix()
356 mClippedInsets.bottom = heightWithInsets - mClippedInsets.top - getMeasuredHeight(); in updateThumbnailMatrix()
363 if (Math.round(bitmapHeight) < getMeasuredHeight()) { in updateThumbnailMatrix()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DMultiTargetSwitchPreference.java57 final int padding = (int) ((holder.itemView.getMeasuredHeight() in onBindViewHolder()
58 - switchView.getMeasuredHeight()) / 2 + 0.5f); in onBindViewHolder()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DRotateLayout.java72 h = mChild.getMeasuredHeight(); in onMeasure()
77 w = mChild.getMeasuredHeight(); in onMeasure()
/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/Camera2/src/com/android/camera/ui/
DRotateLayout.java77 h = mChild.getMeasuredHeight(); in onMeasure()
82 w = mChild.getMeasuredHeight(); in onMeasure()

12345