Searched refs:expandFraction (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/ |
D | NotificationStackAppearanceIntegrationTest.kt | 122 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/ |
D | NavigationHandle.java | 171 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/ |
D | NotificationScrollView.kt | 73 fun setExpandFraction(expandFraction: Float)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/ |
D | NotificationsPlaceholderViewModel.kt | 76 val expandFraction: Flow<Float> = shadeInteractor.anyExpansion.dumpValue("expandFraction") constant
|
D | NotificationScrollViewModel.kt | 63 val expandFraction: Flow<Float> = in <lambda>() constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | ShadeLogger.kt | 323 expandFraction: Float, in logPanelClosedOnDown() 331 double1 = expandFraction.toDouble() in logPanelClosedOnDown()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewbinder/ |
D | NotificationScrollViewBinder.kt | 83 launch { viewModel.expandFraction.collect { view.setExpandFraction(it.coerceIn(0f, 1f)) } } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationChildrenContainer.java | 926 float expandFraction = 0.0f; 928 expandFraction = getGroupExpandFraction(); 946 Math.min(viewState.getAlpha(), expandFraction)); 1063 float expandFraction = getGroupExpandFraction(); 1080 Math.min(viewState.getAlpha(), expandFraction));
|
D | NotificationStackScrollLayout.java | 1498 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/ |
D | Notifications.kt | 188 val expansionFraction by viewModel.expandFraction.collectAsStateWithLifecycle(0f) in NotificationScrollingStack()
|