Home
last modified time | relevance | path

Searched refs:contentHeight (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/
DNotificationScrimNestedScrollConnectionTest.kt35 private var contentHeight = 0f in <lambda>() variable
45 contentHeight = { contentHeight }, in <lambda>()
54 contentHeight = COLLAPSED_CONTENT_HEIGHT in <lambda>()
68 contentHeight = EXPANDED_CONTENT_HEIGHT in <lambda>()
83 contentHeight = EXPANDED_CONTENT_HEIGHT in <lambda>()
98 contentHeight = EXPANDED_CONTENT_HEIGHT in <lambda>()
205 contentHeight = EXPANDED_CONTENT_HEIGHT in <lambda>()
224 contentHeight = EXPANDED_CONTENT_HEIGHT in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/
DNotificationHeadsUpHeight.kt70 val contentHeight = view.topHeadsUpHeight in measure() constant
73 constraints.copy(minHeight = contentHeight, maxHeight = contentHeight) in measure()
DNotificationStackContentHeight.kt75 val contentHeight = padding + view.intrinsicStackHeight in measure() constant
78 constraints.copy(minHeight = contentHeight, maxHeight = contentHeight) in measure()
DNotificationScrimNestedScrollConnection.kt37 contentHeight: () -> Float, in <lambda>()
50 contentHeight() > minVisibleScrimHeight() && in offsetBeforeStart()
DNotifications.kt269 contentHeight = { stackHeight.intValue.toFloat() }, in NotificationScrollingStack()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DCustomScrollView.java119 final int contentHeight = content.getMeasuredHeight(); in calculateDimensions() local
126 mHeight = Math.min(contentHeight, maxHeight); in calculateDimensions()
134 + ", contentHeight=" + contentHeight in calculateDimensions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthPanelController.java146 public void updateForContentDimensions(int contentWidth, int contentHeight, in updateForContentDimensions() argument
150 + " Height: " + contentHeight in updateForContentDimensions()
178 ValueAnimator heightAnimator = ValueAnimator.ofInt(mContentHeight, contentHeight); in updateForContentDimensions()
201 mContentHeight = contentHeight; in updateForContentDimensions()
/frameworks/base/core/tests/coretests/src/com/android/internal/view/
DWebViewCaptureHelperTest.java48 int contentHeight = (int) (target.getContentHeight() * target.getScale()); in setInitialScrollPosition() local
58 Log.d(TAG, "scrollToPosition: position=" + position + " contentHeight=" + contentHeight in setInitialScrollPosition()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContextView.java388 final int contentHeight = b - t - getPaddingTop() - getPaddingBottom(); in onLayout() local
395 x += positionChild(mClose, x, y, contentHeight, isLayoutRtl); in onLayout()
401 x += positionChild(mTitleLayout, x, y, contentHeight, isLayoutRtl); in onLayout()
405 x += positionChild(mCustomView, x, y, contentHeight, isLayoutRtl); in onLayout()
411 x += positionChild(mMenuView, x, y, contentHeight, !isLayoutRtl); in onLayout()
DAbsActionBarView.java320 protected int positionChild(View child, int x, int y, int contentHeight, boolean reverse) { in positionChild() argument
323 int childTop = y + (contentHeight - childHeight) / 2; in positionChild()
DActionBarView.java1095 final int contentHeight = b - t - getPaddingTop() - getPaddingBottom(); in onLayout() local
1097 if (contentHeight <= 0) { in onLayout()
1124 next(x, startOffset, isLayoutRtl), y, contentHeight, isLayoutRtl); in onLayout()
1136 x += positionChild(mListNavLayout, x, y, contentHeight, isLayoutRtl); in onLayout()
1143 x += positionChild(mTabScrollView, x, y, contentHeight, isLayoutRtl); in onLayout()
1151 positionChild(mMenuView, menuStart, y, contentHeight, !isLayoutRtl); in onLayout()
1157 positionChild(mIndeterminateProgressView, menuStart, y, contentHeight, !isLayoutRtl); in onLayout()
DScrollingTabContainerView.java193 public void setContentHeight(int contentHeight) { in setContentHeight() argument
194 mContentHeight = contentHeight; in setContentHeight()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DExpandedViewAnimationControllerImpl.java206 int contentHeight = mExpandedView.getContentHeight(); in animateCollapse() local
213 mFlingAnimationUtils.applyDismissing(tempAnimator, mCollapsedAmount, contentHeight, in animateCollapse()
214 mSwipeUpVelocity, (contentHeight - mCollapsedAmount)); in animateCollapse()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/
DCoreDocument.java222 float contentHeight = mHeight * contentScaleY; in computeTranslate() local
246 translateY = (h - contentHeight) / 2f; in computeTranslate()
250 translateY = h - contentHeight; in computeTranslate()
/frameworks/base/core/java/android/widget/
DMagnifier.java1079 private void updateContentFactors(final int contentHeight, final float zoom) { in updateContentFactors() argument
1080 if (mContentHeight == contentHeight && mZoom == zoom) { in updateContentFactors()
1083 if (mContentHeight < contentHeight) { in updateContentFactors()
1085 mBBQ.update(mBbqSurfaceControl, mContentWidth, contentHeight, in updateContentFactors()
1090 outline.setRoundRect(0, 0, mContentWidth, contentHeight, 0); in updateContentFactors()
1094 mOffsetX + mContentWidth, mOffsetY + contentHeight); in updateContentFactors()
1098 mOffsetX + mContentWidth, mOffsetY + contentHeight); in updateContentFactors()
1102 mRenderer.getRootNode().beginRecording(mContentWidth, contentHeight); in updateContentFactors()
1113 mContentHeight = contentHeight; in updateContentFactors()
DScrollView.java1479 final int contentHeight = getHeight() - mPaddingBottom - mPaddingTop; in computeVerticalScrollRange() local
1481 return contentHeight; in computeVerticalScrollRange()
1486 final int overscrollBottom = Math.max(0, scrollRange - contentHeight); in computeVerticalScrollRange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationTemplateViewWrapper.java306 public void setContentHeight(int contentHeight, int minHeightHint) { in setContentHeight() argument
307 super.setContentHeight(contentHeight, minHeightHint); in setContentHeight()
309 mContentHeight = contentHeight; in setContentHeight()
DNotificationViewWrapper.java353 public void setContentHeight(int contentHeight, int minHeightHint) { in setContentHeight() argument
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DPerfTimeline.java123 int contentHeight = getHeight() - paddingTop - paddingBottom; in onDraw() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DAmbientState.java507 public void setContentHeight(int contentHeight) { in setContentHeight() argument
508 mContentHeight = contentHeight; in setContentHeight()
DNotificationStackScrollLayout.java2350 int contentHeight = mContentHeight;
2352 contentHeight = mHeadsUpInset + getTopHeadsUpPinnedHeight();
2354 int scrollRange = Math.max(0, contentHeight - mMaxLayoutHeight);
2356 scrollRange += Math.min(imeInset, Math.max(0, contentHeight - (getHeight() - imeInset)));
4063 int contentHeight; in getEmptyBottomMargin() local
4069 contentHeight = Math.max(mSplitShadeMinContentHeight, mContentHeight); in getEmptyBottomMargin()
4071 contentHeight = mContentHeight; in getEmptyBottomMargin()
4073 return Math.max(mMaxLayoutHeight - contentHeight, 0); in getEmptyBottomMargin()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationContentViewTest.kt235 view.contentHeight = expandedHeight in <lambda>()
254 view.contentHeight = contractedHeight in <lambda>()
660 contentHeight = expandedHeight in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/
DBluetoothTileDialogViewModel.kt200 dialogDelegate.contentHeight in showDialog()
DBluetoothTileDialogDelegate.kt88 internal val contentHeight in <lambda>() constant in com.android.systemui.bluetooth.qsdialog.BluetoothTileDialogDelegate
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/
DBluetoothTileDialogViewModelTest.kt161 whenever(bluetoothTileDialogDelegate.contentHeight).thenReturn(getMutableStateFlow(0)) in setUp()

12