/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationShelfTest.kt | 278 expansionFraction = 0.25f, in updateState_expansionChanging_shelfTransparent() 288 expansionFraction = 0.85f, in updateState_expansionChangingWhileBouncerInTransit_shelfTransparent() 296 expansionFraction = 0.6f, in updateState_expansionChanging_shelfAlphaUpdated() 303 val expansionFraction = 0.6f in updateState_largeScreen_expansionChanging_shelfAlphaUpdated_largeScreenValue() constant 305 whenever(largeScreenShadeInterpolator.getNotificationContentAlpha(expansionFraction)) in updateState_largeScreen_expansionChanging_shelfAlphaUpdated_largeScreenValue() 309 expansionFraction = expansionFraction, in updateState_largeScreen_expansionChanging_shelfAlphaUpdated_largeScreenValue() 319 expansionFraction = 0.95f, in updateState_expansionChangingWhileBouncerInTransit_shelfAlphaUpdated() 329 expansionFraction = 0.95f, in updateState_largeScreen_expansionChangingWhileBouncerInTransit_bouncerInterpolatorUsed() 460 expansionFraction: Float, in updateState_expansionChanging_shelfAlphaUpdated() 471 whenever(ambientState.expansionFraction).thenReturn(expansionFraction) in updateState_expansionChanging_shelfAlphaUpdated()
|
D | NotificationStackScrollLayoutTest.java | 218 final float expansionFraction = 0.2f; in testUpdateStackHeight_qsExpansionGreaterThanZero() local 222 mAmbientState.setExpansionFraction(expansionFraction); in testUpdateStackHeight_qsExpansionGreaterThanZero() 230 BouncerPanelExpansionCalculator.aboutToShowBouncerProgress(expansionFraction)); in testUpdateStackHeight_qsExpansionGreaterThanZero() 237 final float expansionFraction = 0.2f; in testUpdateStackHeight_qsExpansionZero() local 241 mAmbientState.setExpansionFraction(expansionFraction); in testUpdateStackHeight_qsExpansionZero() 247 float expected = MathUtils.lerp(0, overExpansion, expansionFraction); in testUpdateStackHeight_qsExpansionZero() 254 final float expansionFraction = 0.5f; in testUpdateStackHeight_withExpansionAmount_whenDozeNotChanging() local 257 endHeight, expansionFraction); in testUpdateStackHeight_withExpansionAmount_whenDozeNotChanging() 259 mStackScroller.updateStackHeight(endHeight, expansionFraction); in testUpdateStackHeight_withExpansionAmount_whenDozeNotChanging() 265 final float expansionFraction = 0.5f; in updateStackEndHeightAndStackHeight_normallyUpdatesBoth() local [all …]
|
D | StackScrollAlgorithmTest.kt | 304 expansionFraction = 0.25f, in <lambda>() 314 expansionFraction = 0.85f, in <lambda>() 324 expansionFraction = 0.6f, in <lambda>() 332 val expansionFraction = 0.6f in <lambda>() constant 336 whenever(largeScreenShadeInterpolator.getNotificationContentAlpha(expansionFraction)) in <lambda>() 340 expansionFraction = expansionFraction, in <lambda>() 351 expansionFraction = 0.95f, in <lambda>() 360 ambientState.expansionFraction = 0.6f in <lambda>() 398 ambientState.expansionFraction = 0f in <lambda>() 1258 expansionFraction: Float, in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/transition/ |
D | ScrimShadeTransitionController.kt | 64 val expansionFraction = calculateScrimExpansionFraction(expansionEvent) in onStateChanged() constant 65 scrimController.setRawPanelExpansionFraction(expansionFraction) in onStateChanged() 66 lastExpansionFraction = expansionFraction in onStateChanged()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/ |
D | Notifications.kt | 188 val expansionFraction by viewModel.expandFraction.collectAsStateWithLifecycle(0f) in NotificationScrollingStack() constant 287 IntOffset(x = 0, y = (scrimOffset.value * expansionFraction).roundToInt()) in NotificationScrollingStack() 297 { expansionFraction }, in NotificationScrollingStack() 335 (expansionFraction / EXPANSION_FOR_MAX_SCRIM_ALPHA).coerceAtMost(1f) in NotificationScrollingStack() 428 expansionFraction: () -> Float, in calculateCornerRadius() 435 fraction = (expansionFraction() / EXPANSION_FOR_MAX_CORNER_RADIUS).coerceIn(0f, 1f), in calculateCornerRadius()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/ |
D | BouncerSwipeTouchHandler.java | 334 float expansionFraction = (float) animation.getAnimatedValue(); in createExpansionAnimator() 335 setPanelExpansion(expansionFraction); in createExpansionAnimator()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | AmbientState.java | 200 public void setExpansionFraction(float expansionFraction) { in setExpansionFraction() argument 201 mExpansionFraction = expansionFraction; in setExpansionFraction()
|
D | StackScrollAlgorithm.java | 625 float expansionFraction = getExpansionFractionWithoutShelf( 636 algorithmState.mCurrentYPosition += expansionFraction * gap; 719 viewState.height *= expansionFraction; 724 expansionFraction * (getMaxAllowedChildHeight(view) + mPaddingBetweenElements);
|
D | NotificationStackScrollLayoutController.java | 1246 public void setQsExpansionFraction(float expansionFraction) { in setQsExpansionFraction() argument 1247 mView.setQsExpansionFraction(expansionFraction); in setQsExpansionFraction()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ScrimController.java | 882 public void setQsPosition(float expansionFraction, int qsPanelBottomY) { in setQsPosition() argument 883 if (isNaN(expansionFraction)) { in setQsPosition() 886 expansionFraction = ShadeInterpolation.getNotificationScrimAlpha(expansionFraction); in setQsPosition() 888 if (mQsExpansion != expansionFraction || mQsBottomVisible != qsBottomVisible) { in setQsPosition() 889 mQsExpansion = expansionFraction; in setQsPosition()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | QuickSettingsControllerImpl.java | 1369 private void checkCorrectScrimVisibility(float expansionFraction) { in checkCorrectScrimVisibility() argument 1377 if (expansionFraction == 1 && keyguardViewsVisible) { in checkCorrectScrimVisibility()
|
D | NotificationPanelViewController.java | 2463 void adjustBackAnimationScale(float expansionFraction) { in adjustBackAnimationScale() argument 2464 if (expansionFraction > 0.0f) { // collapsing in adjustBackAnimationScale() 2465 float animatedFraction = expansionFraction * mCurrentBackProgress; in adjustBackAnimationScale()
|