Home
last modified time | relevance | path

Searched refs:expandFraction (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/
DNotificationStackAppearanceIntegrationTest.kt122 val expandFraction by collectLastValue(scrollViewModel.expandFraction) in <lambda>() constant
123 assertThat(expandFraction).isEqualTo(0f) in <lambda>()
147 assertThat(expandFraction).isWithin(0.01f).of(progress) in <lambda>()
151 assertThat(expandFraction).isWithin(0.01f).of(1f) in <lambda>()
163 val expandFraction by collectLastValue(scrollViewModel.expandFraction) in <lambda>() constant
164 assertThat(expandFraction).isEqualTo(1f) in <lambda>()
179 val expandFraction by collectLastValue(scrollViewModel.expandFraction) in <lambda>() constant
180 assertThat(expandFraction).isEqualTo(1f) in <lambda>()
204 assertThat(expandFraction).isEqualTo(1f) in <lambda>()
208 assertThat(expandFraction).isEqualTo(1f) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DNavigationHandle.java171 float expandFraction = 0.9f; in animateLongPress() local
172 interpolator = t -> t <= expandFraction in animateLongPress()
173 ? Interpolators.clampToProgress(Interpolators.LEGACY, t, 0, expandFraction) in animateLongPress()
175 Interpolators.LINEAR, t, expandFraction, 1); in animateLongPress()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/view/
DNotificationScrollView.kt73 fun setExpandFraction(expandFraction: Float)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DNotificationsPlaceholderViewModel.kt76 val expandFraction: Flow<Float> = shadeInteractor.anyExpansion.dumpValue("expandFraction") constant
DNotificationScrollViewModel.kt63 val expandFraction: Flow<Float> = in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeLogger.kt323 expandFraction: Float, in logPanelClosedOnDown()
331 double1 = expandFraction.toDouble() in logPanelClosedOnDown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewbinder/
DNotificationScrollViewBinder.kt83 launch { viewModel.expandFraction.collect { view.setExpandFraction(it.coerceIn(0f, 1f)) } } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainer.java926 float expandFraction = 0.0f;
928 expandFraction = getGroupExpandFraction();
946 Math.min(viewState.getAlpha(), expandFraction));
1063 float expandFraction = getGroupExpandFraction();
1080 Math.min(viewState.getAlpha(), expandFraction));
DNotificationStackScrollLayout.java1498 public void setExpandFraction(float expandFraction) {
1502 final boolean nowExpanding = expandFraction != 0f && expandFraction != 1f;
1511 mAmbientState.setExpansionFraction(expandFraction);
1513 setExpandedHeight(expandFraction * getHeight());
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/
DNotifications.kt188 val expansionFraction by viewModel.expandFraction.collectAsStateWithLifecycle(0f) in NotificationScrollingStack()