Home
last modified time | relevance | path

Searched refs:getMeasuredHeight (Results 1 – 25 of 119) 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()
/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/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/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/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsRecyclerView.java170 mLastVisibleWidgetContentTableHeight = view.getMeasuredHeight(); in getCurrentScrollY()
173 && view.getMeasuredHeight() > 0) { in getCurrentScrollY()
175 mWidgetHeaderHeight = view.getMeasuredHeight(); in getCurrentScrollY()
193 int firstPageHeight = getMeasuredHeight() - getPaddingTop() - getPaddingBottom(); in getAvailableScrollHeight()
/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/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java253 coord[1] = lp.y + (child.getMeasuredHeight() * (1 - childScale) / 2); in animateViewIntoPosition()
283 float scaleShiftY = dragView.getMeasuredHeight() * (1 - toScale) / 2; in animateViewIntoPosition()
300 view.getMeasuredWidth(), fromY + view.getMeasuredHeight()); in animateViewIntoPosition()
301 Rect to = new Rect(toX, toY, toX + view.getMeasuredWidth(), toY + view.getMeasuredHeight()); in animateViewIntoPosition()
362 final int height = view.getMeasuredHeight(); in animateView()
/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/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/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/Launcher3/src/com/android/launcher3/
DButtonDropTarget.java136 y = -getMeasuredHeight(); in onDragEnter()
259 int viewHeight = dragObject.dragView.getMeasuredHeight(); in getIconRect()
282 final int top = to.top + (getMeasuredHeight() - height) / 2; in getIconRect()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DLandscapePagedViewHandler.java121 return view.getMeasuredHeight(); in getMeasuredSize()
268 return view.getMeasuredHeight(); in getTaskMenuWidth()
331 final int childHeight = child.getMeasuredHeight(); in getChildBounds()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DDeepShortcutTextView.java68 mDragHandleBounds.set(0, 0, mDragHandleWidth, getMeasuredHeight()); in onMeasure()
87 (int) ((getMeasuredHeight() - mLoadingStatePlaceholder.getIntrinsicHeight()) in setLoadingBounds()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java510 mOutlineRadius, getMeasuredWidth(), getMeasuredHeight(), in updateArrowColor()
567 int height = getMeasuredHeight() + extraVerticalSpace + childMargins; in orientAboutObject()
652 getPopupContainer().getHeight() - y - getMeasuredHeight() - insets.top; in orientAboutObject()
680 setY(dragLayer.getHeight() / 2 - getMeasuredHeight() / 2); in onLayout()
730 setPivotY(mIsAboveIcon ? getMeasuredHeight() : 0); in getOpenCloseAnimator()
/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()

12345