Home
last modified time | relevance | path

Searched refs:fullHeight (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/battery/
H A DBatterySpecsTest.kt32 val fullHeight = BatterySpecs.getFullBatteryHeight(56f, displayShield = false) regex
34 assertThat(fullHeight).isEqualTo(56f)
40 val fullHeight = BatterySpecs.getFullBatteryHeight(mainHeight, displayShield = true) regex
45 assertThat(fullHeight).isWithin(.0001f).of(expectedFullHeight)
75 val fullHeight = BATTERY_HEIGHT_WITH_SHIELD * 7.7f regex
77 val mainHeight = BatterySpecs.getMainBatteryHeight(fullHeight, displayShield = true)
/aosp14/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/material/
H A DModalBottomSheet.kt325 val fullHeight = constraints.maxHeight.toFloat() regex
365 fullHeight.roundToInt()
372 .bottomSheetSwipeable(sheetState, fullHeight, sheetHeightState)
417 fullHeight: Float,
422 val anchors = if (sheetHeight < fullHeight / 2 || sheetState.isSkipHalfExpanded) {
424 fullHeight to Hidden,
425 fullHeight - sheetHeight to Expanded
429 fullHeight to Hidden,
430 fullHeight / 2 to HalfExpanded,
431 max(0f, fullHeight - sheetHeight) to Expanded
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DSplitShadeLockScreenOverScroller.kt99 val fullHeight: Int = nsslController.height
100 val fullHeightProgress: Float = MathUtils.saturate(dragDownAmount / fullHeight)
101 val overshootStart: Float = transitionToFullShadeDistance / fullHeight.toFloat()
H A DNotificationShelf.java750 int fullHeight = view.getActualHeight() + mPaddingBetweenElements;
756 viewStart + fullHeight - iconTransformStart,
760 fullHeight = Math.min(fullHeight, view.getMinHeight() - getIntrinsicHeight());
766 float viewEnd = viewStart + fullHeight;
785 float fullAmount = (shelfClipStart - viewStart) / fullHeight;
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
H A DStackScrollAlgorithmTest.kt148 val fullHeight = ambientState.layoutMaxHeight + marginBottom - ambientState.stackY regex
149 val centeredY = ambientState.stackY + fullHeight / 2f - emptyShadeView.height / 2f
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DStackScrollAlgorithm.java586 float fullHeight = ambientState.getLayoutMaxHeight() + mMarginBottom local
588 viewState.setYTranslation((fullHeight - getMaxAllowedChildHeight(view)) / 2f);
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardViewMediator.java1002 final int fullHeight = getLaunchContainer().getHeight();
1005 final float initialHeight = fullHeight / 3f;
1017 final float initialHeight = fullHeight / 2f;
1023 (int) (fullHeight - initialHeight) / 2,
1024 (int) (initialHeight + (fullHeight - initialHeight) / 2),