Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/battery/
DBatterySpecsTest.kt32 val fullHeight = BatterySpecs.getFullBatteryHeight(56f, displayShield = false) in getFullBatteryHeight_shieldFalse_returnsMainHeight() constant
34 assertThat(fullHeight).isEqualTo(56f) in getFullBatteryHeight_shieldFalse_returnsMainHeight()
40 val fullHeight = BatterySpecs.getFullBatteryHeight(mainHeight, displayShield = true) in getFullBatteryHeight_shieldTrue_returnsMainHeightPlusShield() constant
45 assertThat(fullHeight).isWithin(.0001f).of(expectedFullHeight) in getFullBatteryHeight_shieldTrue_returnsMainHeightPlusShield()
75 val fullHeight = BATTERY_HEIGHT_WITH_SHIELD * 7.7f in getMainBatteryHeight_shieldTrue_returnsNotFullHeight() constant
77 val mainHeight = BatterySpecs.getMainBatteryHeight(fullHeight, displayShield = true) in getMainBatteryHeight_shieldTrue_returnsNotFullHeight()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/material/
DModalBottomSheet.kt325 val fullHeight = constraints.maxHeight.toFloat() in ModalBottomSheetLayout() constant
365 fullHeight.roundToInt() in ModalBottomSheetLayout()
372 .bottomSheetSwipeable(sheetState, fullHeight, sheetHeightState) in ModalBottomSheetLayout()
417 fullHeight: Float, in bottomSheetSwipeable()
422 val anchors = if (sheetHeight < fullHeight / 2 || sheetState.isSkipHalfExpanded) { in bottomSheetSwipeable()
424 fullHeight to Hidden, in bottomSheetSwipeable()
425 fullHeight - sheetHeight to Expanded in bottomSheetSwipeable()
429 fullHeight to Hidden, in bottomSheetSwipeable()
430 fullHeight / 2 to HalfExpanded, in bottomSheetSwipeable()
431 max(0f, fullHeight - sheetHeight) to Expanded in bottomSheetSwipeable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWindowManagerOcclusionManager.kt277 val fullHeight = transitionContainer.height in <lambda>() constant
282 val initialHeight = fullHeight / 3f in <lambda>()
296 val initialHeight = fullHeight / 2f in <lambda>()
302 top = (fullHeight - initialHeight).toInt() / 2, in <lambda>()
303 bottom = (initialHeight + (fullHeight - initialHeight) / 2).toInt(), in <lambda>()
DKeyguardViewMediator.java1025 final int fullHeight = getTransitionContainer().getHeight();
1028 final float initialHeight = fullHeight / 3f;
1046 fullHeight,
1051 final float initialHeight = fullHeight / 2f;
1057 (int) (fullHeight - initialHeight) / 2,
1058 (int) (initialHeight + (fullHeight - initialHeight) / 2),
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DSplitShadeLockScreenOverScroller.kt99 val fullHeight: Int = nsslController.height in <lambda>() constant
100 val fullHeightProgress: Float = MathUtils.saturate(dragDownAmount / fullHeight) in <lambda>()
101 val overshootStart: Float = transitionToFullShadeDistance / fullHeight.toFloat() in <lambda>()
DNotificationShelf.java733 int fullHeight = view.getActualHeight() + mPaddingBetweenElements;
739 viewStart + fullHeight - iconTransformStart,
743 fullHeight = Math.min(fullHeight, view.getMinHeight() - getIntrinsicHeight());
749 float viewEnd = viewStart + fullHeight;
767 float fullAmount = (shelfClipStart - viewStart) / fullHeight;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DActivatableNotificationView.java541 final int fullHeight = getActualHeight(); in updateAppearRect() local
542 float height = fullHeight * interpolatedFraction; in updateAppearRect()
551 fullHeight - (fullHeight - mTargetPoint.y) * fraction); in updateAppearRect()
556 /* top= */ fullHeight - height, in updateAppearRect()
558 /* bottom= */ fullHeight in updateAppearRect()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithm.java684 float fullHeight = ambientState.getLayoutMaxHeight() + mMarginBottom local
686 viewState.setYTranslation((fullHeight - getMaxAllowedChildHeight(view)) / 2f);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithmTest.kt282 val fullHeight = ambientState.layoutMaxHeight + marginBottom - ambientState.stackY in <lambda>() constant
283 val centeredY = ambientState.stackY + fullHeight / 2f - emptyShadeView.height / 2f in <lambda>()