Home
last modified time | relevance | path

Searched refs:getMeasuredHeight (Results 1 – 25 of 120) 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/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/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/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/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/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/Launcher3/src/com/android/launcher3/touch/
DLandscapePagedViewHandler.java71 out.halfScreenSize = view.getMeasuredHeight() / 2; in getCurveProperties()
119 return view.getMeasuredHeight(); in getMeasuredSize()
236 return view.getMeasuredHeight(); in getTaskMenuWidth()
254 final int childHeight = child.getMeasuredHeight(); in getChildBounds()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java258 int height = getMeasuredHeight() + extraVerticalSpace; in orientAboutObject()
356 … lp.bottomMargin = getPopupContainer().getHeight() - y - getMeasuredHeight() - insets.top; in orientAboutObject()
383 setY(dragLayer.getHeight() / 2 - getMeasuredHeight() / 2); in onLayout()
407 mEndRect.set(0, 0, getMeasuredWidth(), getMeasuredHeight()); in animateOpen()
453 mEndRect.set(0, 0, getMeasuredWidth(), getMeasuredHeight()); in animateClose()
519 int arrowCenterY = mIsAboveIcon ? getMeasuredHeight() : 0; in createOpenCloseOutlineProvider()
/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/dragndrop/
DDragLayer.java266 coord[1] = lp.y + (child.getMeasuredHeight() * (1 - childScale) / 2); in animateViewIntoPosition()
296 float scaleShiftY = dragView.getMeasuredHeight() * (1 - toScale) / 2; in animateViewIntoPosition()
313 view.getMeasuredWidth(), fromY + view.getMeasuredHeight()); in animateViewIntoPosition()
314 Rect to = new Rect(toX, toY, toX + view.getMeasuredWidth(), toY + view.getMeasuredHeight()); in animateViewIntoPosition()
375 final int height = view.getMeasuredHeight(); in animateView()
/packages/apps/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/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/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/screensavers/PhotoTable/src/com/android/dreams/phototable/
DBummerView.java48 final float frameh = parent.getMeasuredHeight();
50 final float texth = getMeasuredHeight();
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DScaleBehavior.java51 float originalChildHeight = child.getMeasuredHeight(); in onDependentViewChanged()
64 child.layout(0, top, child.getMeasuredWidth(), top + child.getMeasuredHeight()); in onLayoutChild()

12345