/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/ |
D | UnfoldHapticsPlayerTest.kt | 55 testFoldProvider.onFoldUpdate(isFolded = true) in testUnfoldingTransitionFinishingEarly_playsHaptics() 56 testFoldProvider.onFoldUpdate(isFolded = false) in testUnfoldingTransitionFinishingEarly_playsHaptics() 70 testFoldProvider.onFoldUpdate(isFolded = true) in testHapticsDisabled_unfoldingTransitionFinishing_doesNotPlayHaptics() 71 testFoldProvider.onFoldUpdate(isFolded = false) in testHapticsDisabled_unfoldingTransitionFinishing_doesNotPlayHaptics() 81 testFoldProvider.onFoldUpdate(isFolded = true) in testUnfoldingTransitionFinishingLate_doesNotPlayHaptics() 82 testFoldProvider.onFoldUpdate(isFolded = false) in testUnfoldingTransitionFinishingLate_doesNotPlayHaptics() 93 testFoldProvider.onFoldUpdate(isFolded = true) in testFoldingAfterUnfolding_doesNotPlayHaptics() 94 testFoldProvider.onFoldUpdate(isFolded = false) in testFoldingAfterUnfolding_doesNotPlayHaptics() 105 testFoldProvider.onFoldUpdate(isFolded = true) in testFoldingAfterUnfolding_doesNotPlayHaptics() 113 testFoldProvider.onFoldUpdate(isFolded = true) in testUnfoldingAfterFoldingAndUnfolding_playsHaptics() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/util/ |
D | UnfoldOnlyProgressProviderTest.kt | 51 foldProvider.onFoldUpdate(isFolded = true) in unfolded_unfoldAnimationFinished_propagatesEvents() 52 foldProvider.onFoldUpdate(isFolded = false) in unfolded_unfoldAnimationFinished_propagatesEvents() 64 foldProvider.onFoldUpdate(isFolded = true) in unfoldedWithAnimation_foldAnimation_doesNotPropagateEvents() 65 foldProvider.onFoldUpdate(isFolded = false) in unfoldedWithAnimation_foldAnimation_doesNotPropagateEvents() 82 foldProvider.onFoldUpdate(isFolded = true) in unfoldedWithAnimation_foldAnimationSeveralTimes_doesNotPropagateEvents() 83 foldProvider.onFoldUpdate(isFolded = false) in unfoldedWithAnimation_foldAnimationSeveralTimes_doesNotPropagateEvents() 102 foldProvider.onFoldUpdate(isFolded = true) in unfoldedAgainAfterFolding_propagatesEvents() 103 foldProvider.onFoldUpdate(isFolded = false) in unfoldedAgainAfterFolding_propagatesEvents() 114 foldProvider.onFoldUpdate(isFolded = true) in unfoldedAgainAfterFolding_propagatesEvents() 119 foldProvider.onFoldUpdate(isFolded = false) in unfoldedAgainAfterFolding_propagatesEvents()
|
D | TestFoldProvider.kt | 31 fun onFoldUpdate(isFolded: Boolean) { in onFoldUpdate() 32 listeners.forEach { it.onFoldUpdated(isFolded) } in onFoldUpdate()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/unfold/util/ |
D | UnfoldOnlyProgressProvider.kt | 36 private var isFolded = false in <lambda>() variable 48 if (!isFolded) { in <lambda>() 55 override fun onFoldUpdated(isFolded: Boolean) { in <lambda>() 56 if (isFolded) { in <lambda>() 60 this@UnfoldOnlyProgressProvider.isFolded = isFolded in <lambda>()
|
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/compat/ |
D | ScreenSizeFoldProvider.kt | 30 private var isFolded: Boolean = false variable 39 callback.onFoldUpdated(isFolded) in registerCallback() 49 if (newIsFolded == isFolded) { in onConfigurationChange() 53 isFolded = newIsFolded in onConfigurationChange() 54 callbacks.forEach { it.onFoldUpdated(isFolded) } in onConfigurationChange()
|
D | SizeScreenStatusProvider.kt | 29 override fun onFoldUpdated(isFolded: Boolean) { in onFoldUpdated() 30 if (!isFolded) { in onFoldUpdated()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | FoldStateListener.kt | 50 val isFolded = foldedDeviceStates.contains(state.identifier) in onFoldStateChanged() constant 51 if (wasFolded == isFolded) { in onFoldStateChanged() 54 wasFolded = isFolded in onFoldStateChanged() 56 listener.onFoldStateChanged(isFolded, willGoToSleep) in onFoldStateChanged()
|
D | CentralSurfacesImpl.java | 1115 private void onFoldedStateChanged(boolean isFolded, boolean willGoToSleep) { in onFoldedStateChanged() argument 1117 onFoldedStateChangedInternal(isFolded, willGoToSleep); in onFoldedStateChanged() 1121 private void onFoldedStateChangedInternal(boolean isFolded, boolean willGoToSleep) { in onFoldedStateChangedInternal() argument 1136 isFolded, willGoToSleep, isShadeOpen, isShadeExpandingOrCollapsing, leaveOpen)); in onFoldedStateChangedInternal()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/ |
D | FoldAodAnimationController.kt | 64 private var isFolded = false in <lambda>() variable in com.android.systemui.unfold.FoldAodAnimationController 159 isFolded && in <lambda>() 181 if (isFolded) { in <lambda>() 246 Consumer { isFolded -> in <lambda>() method 247 if (!isFolded) { in <lambda>() 251 this.isFolded = isFolded in <lambda>() 252 if (isFolded) { in <lambda>()
|
D | UnfoldLightRevealOverlayAnimation.kt | 60 private var isFolded: Boolean = false in <lambda>() variable in com.android.systemui.unfold.UnfoldLightRevealOverlayAnimation 99 if (!isFolded && !isUnfoldHandled && contentResolver.areAnimationsEnabled()) { in <lambda>() 181 Consumer { isFolded -> in <lambda>() method 182 if (isFolded) { in <lambda>() 186 this.isFolded = isFolded in <lambda>()
|
D | UnfoldTraceLogger.kt | 70 deviceStateRepository.isFolded.collect { isFolded -> in <lambda>() method 72 if (isFolded) { in <lambda>()
|
D | UnfoldProgressProvider.kt | 46 override fun onFoldUpdated(isFolded: Boolean) { in addListener() 47 listener.onFoldStateChanged(isFolded) in addListener()
|
D | UnfoldHapticsPlayer.kt | 36 foldProvider.registerCallback({ isFolded -> in <lambda>() method 37 if (isFolded) { in <lambda>()
|
D | FoldLightRevealOverlayAnimation.kt | 106 .flatMapLatest { isFolded -> in <lambda>() method 108 if (!areAnimationEnabled.first() || !isFolded) { in <lambda>()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/unfold/system/ |
D | DeviceStateRepository.kt | 31 val isFolded: Flow<Boolean> in <lambda>() constant 42 override val isFolded: Flow<Boolean> constant in com.android.systemui.unfold.system.DeviceStateRepositoryImpl 45 val callback = FoldCallback { isFolded -> trySend(isFolded) } in <lambda>() method
|
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/updates/ |
D | DeviceFoldStateProvider.kt | 73 private var isFolded = false variable 109 !isFolded && 200 override fun onFoldUpdated(isFolded: Boolean) { in onFoldUpdated() 202 this@DeviceFoldStateProvider.isFolded = isFolded in onFoldUpdated() 205 if (isFolded) { in onFoldUpdated() 264 if (!isFolded && !isUnfoldHandled) { in cancelAnimation() 273 if (!isFolded) { in cancelAnimation() 312 if (isScreenOn && !isFolded) { in updateHingeAngleProviderState()
|
D | FoldProvider.kt | 24 fun onFoldUpdated(isFolded: Boolean) in registerCallback()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/ |
D | DisplayStateInteractorImplTest.kt | 87 val isFolded by collectLastValue(interactor.isFolded) in isFoldedChanges() constant 91 callback.onFoldUpdated(isFolded = true) in isFoldedChanges() 92 assertThat(isFolded).isTrue() in isFoldedChanges() 94 callback.onFoldUpdated(isFolded = false) in isFoldedChanges() 95 assertThat(isFolded).isFalse() in isFoldedChanges()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/ |
D | DisplayStateInteractor.kt | 48 val isFolded: Flow<Boolean> in <lambda>() constant 90 override val isFolded: Flow<Boolean> = constant 102 override fun onFoldUpdated(isFolded: Boolean) { in <lambda>() 103 sendFoldStateUpdate(isFolded) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/updates/ |
D | DeviceStateRepositoryTest.kt | 47 val flowValue = collectLastValue(foldStateRepository.isFolded) in <lambda>() 62 val flowValue = collectLastValue(foldStateRepository.isFolded) in <lambda>()
|
D | DeviceFoldStateProviderTest.kt | 693 fun notifyFolded(isFolded: Boolean) { in <lambda>() 694 callbacks.forEach { it.onFoldUpdated(isFolded) } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/ |
D | PromptIconViewModel.kt | 138 displayStateInteractor.isFolded, in <lambda>() 146 isFolded: Boolean, in <lambda>() method 154 getSfpsIconViewAsset(rotation, isFolded, isInRearDisplayMode) in <lambda>() 184 displayStateInteractor.isFolded, in <lambda>() 193 isFolded: Boolean, in <lambda>() method 202 getSfpsIconViewAsset(rotation, isFolded, isInRearDisplayMode) in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/ |
D | ShellUnfoldProgressProvider.java | 50 default void onFoldStateChanged(boolean isFolded) {} in onFoldStateChanged() argument
|
D | UnfoldTransitionHandler.java | 294 public void onFoldStateChanged(boolean isFolded) { in onFoldStateChanged() argument 295 if (isFolded) { in onFoldStateChanged()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/unfold/ |
D | UnfoldTransitionHandlerTest.java | 390 public void onFoldStateChanged(boolean isFolded) { in onFoldStateChanged() argument 391 mListeners.forEach(unfoldListener -> unfoldListener.onFoldStateChanged(isFolded)); in onFoldStateChanged()
|