Home
last modified time | relevance | path

Searched refs:isOnKeyguard (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DAccessibilityActionsViewModelTest.kt59 val isOnKeyguard by collectLastValue(underTest.isOnKeyguard) in isOnKeyguard_isFalse_whenTransitioningAwayFromLockscreen() constant
78 assertThat(isOnKeyguard).isEqualTo(false) in isOnKeyguard_isFalse_whenTransitioningAwayFromLockscreen()
87 assertThat(isOnKeyguard).isEqualTo(false) in isOnKeyguard_isFalse_whenTransitioningAwayFromLockscreen()
93 val isOnKeyguard by collectLastValue(underTest.isOnKeyguard) in isOnKeyguard_isFalse_whenTransitioningToLockscreenIsRunning() constant
105 assertThat(isOnKeyguard).isEqualTo(false) in isOnKeyguard_isFalse_whenTransitioningToLockscreenIsRunning()
113 assertThat(isOnKeyguard).isEqualTo(false) in isOnKeyguard_isFalse_whenTransitioningToLockscreenIsRunning()
122 assertThat(isOnKeyguard).isEqualTo(true) in isOnKeyguard_isFalse_whenTransitioningToLockscreenIsRunning()
128 val isOnKeyguard by collectLastValue(underTest.isOnKeyguard) in isOnKeyguard_isTrue_whenKeyguardStateIsLockscreen_andShadeIsNotOpened() constant
137 assertThat(isOnKeyguard).isEqualTo(true) in isOnKeyguard_isTrue_whenKeyguardStateIsLockscreen_andShadeIsNotOpened()
143 val isOnKeyguard by collectLastValue(underTest.isOnKeyguard) in isOnKeyguard_isFalse_whenKeyguardStateIsLockscreen_andShadeOpened() constant
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/domain/startable/
DScrimStartableTest.kt79 isOnKeyguard = true, in <lambda>()
88 isOnKeyguard = true, in <lambda>()
97 isOnKeyguard = true, in <lambda>()
105 isOnKeyguard = true, in <lambda>()
114 isOnKeyguard = true, in <lambda>()
122 isOnKeyguard = true, in <lambda>()
132 isOnKeyguard = true, in <lambda>()
140 isOnKeyguard = true, in <lambda>()
149 isOnKeyguard = true, in <lambda>()
157 isOnKeyguard = true, in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DAccessibilityActionsViewBinder.kt44 viewModel.isOnKeyguard.collect { isOnKeyguard -> in <lambda>() method
46 if (isOnKeyguard) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DDreamCoordinator.kt44 private var isOnKeyguard = false in <lambda>() variable in com.android.systemui.statusbar.notification.collection.coordinator.DreamCoordinator
62 isFiltering = isLockscreenHostedDream && isOnKeyguard in <lambda>()
83 isOnKeyguard = newState == StatusBarState.KEYGUARD in <lambda>()
DKeyguardCoordinator.kt438 private fun isOnKeyguard(): Boolean = in <lambda>() method
455 !isOnKeyguard() -> false in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/domain/interactor/
DNotificationStackInteractor.kt50 ) { (isOnKeyguard, isAsleep) -> in <lambda>() method
51 isOnKeyguard || isAsleep in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/startable/
DScrimStartable.kt109 val isOnKeyguard = !isDeviceEntered in <lambda>() constant
134 isOnKeyguard && in <lambda>()
179 if (isOnKeyguard && isDreaming && !unlocking) { in <lambda>()
184 } else if (isOnKeyguard && !unlocking && !isOccluded) { in <lambda>()
186 } else if (isOnKeyguard && !unlocking && isDreaming) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithm.java152 } else if (ambientState.isOnKeyguard()) { in updateAlphaState()
186 if (view instanceof EmptyShadeView && ambientState.isOnKeyguard()) { in updateAlphaState()
335 float drawStart = ambientState.isOnKeyguard() ? 0 in updateClipping()
473 if (!ambientState.isOnKeyguard() in initAlgorithmState()
487 ambientState.getFractionToShade(), ambientState.isOnKeyguard()); in initAlgorithmState()
534 if (!ambientState.isOnKeyguard() in updatePositionsForState()
566 final float scrimPadding = ambientState.isOnKeyguard() in getExpansionFractionWithoutShelf()
635 ambientState.getFractionToShade(), ambientState.isOnKeyguard());
703 && ambientState.isOnKeyguard() && !ambientState.isPulseExpanding();
868 ambientState.isOnKeyguard(), row.getEntry().isStickyAndNotDemoted())) { in updateHeadsUpStates()
[all …]
DAmbientState.java226 if (isOnKeyguard() && !isFlinging && mIsFlinging) { in setFlinging()
536 public boolean isOnKeyguard() { in isOnKeyguard() method in AmbientState
DNotificationStackScrollLayout.java1375 if (mAmbientState.isOnKeyguard()
1404 return mAmbientState.isOnKeyguard()
2457 final float scrimTopPadding = mAmbientState.isOnKeyguard() ? 0 : mMinimumPaddings;
2505 previous, mAmbientState.getFractionToShade(), mAmbientState.isOnKeyguard());
2973 final float scrimTopPadding = mAmbientState.isOnKeyguard() ? 0 : mMinimumPaddings; in getPositionInLinearLayout()
DNotificationChildrenContainer.java912 || (!mContainingNotification.isOnKeyguard() && mContainingNotification.isExpanded())
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationShelfTest.kt170 whenever(ambientState.isOnKeyguard).thenReturn(true) in getAmountInShelf_lastViewBelowShelf_completelyInShelf()
200 whenever(ambientState.isOnKeyguard).thenReturn(true) in getAmountInShelf_lastViewAlmostBelowShelf_completelyInShelf()
230 whenever(ambientState.isOnKeyguard).thenReturn(true) in getAmountInShelf_lastViewHalfClippedByShelf_halfInShelf()
261 whenever(ambientState.isOnKeyguard).thenReturn(true) in getAmountInShelf_lastViewAboveShelf_notInShelf()
456 whenever(ambientState.isOnKeyguard).thenReturn(isOnLockscreen) in setOnLockscreen()
DAmbientStateTest.kt327 assertThat(sut.isOnKeyguard).isTrue() in <lambda>()
334 assertThat(sut.isOnKeyguard).isFalse() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DAccessibilityActionsViewModel.kt42 val isOnKeyguard = in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java214 if (ambientState.isExpansionChanging() && !ambientState.isOnKeyguard()) { in updateState()
287 final float actualWidth = mAmbientState.isOnKeyguard() in updateActualWidth()
482 if (mAmbientState.isOnKeyguard()) { in updateAppearance()
534 final boolean isUnlockedHeadsUp = !mAmbientState.isOnKeyguard()
754 if (mAmbientState.isExpansionChanging() && !mAmbientState.isOnKeyguard()) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
DActivityTransitionAnimatorTest.kt150 `when`(callback.isOnKeyguard()).thenReturn(true) in <lambda>()
181 `when`(callback.isOnKeyguard()).thenReturn(false) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanelControllerBase.java594 public void setIsOnKeyguard(boolean isOnKeyguard) { in setIsOnKeyguard() argument
595 boolean isOnSplitShadeLockscreen = mShouldUseSplitNotificationShade && isOnKeyguard; in setIsOnKeyguard()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DActivityTransitionAnimator.kt257 val hideKeyguardWithAnimation = callback.isOnKeyguard() && !showOverLockscreen in startIntentWithAnimation()
455 fun isOnKeyguard(): Boolean = false in startPendingIntent() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImpl.java3201 public boolean isOnKeyguard() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java1476 public boolean isOnKeyguard() {