Home
last modified time | relevance | path

Searched refs:shouldShow (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyboard/shortcut/ui/viewmodel/
DShortcutHelperViewModelTest.kt58 val shouldShow by collectLastValue(viewModel.shouldShow) in shouldShow_falseByDefault() constant
60 assertThat(shouldShow).isFalse() in shouldShow_falseByDefault()
66 val shouldShow by collectLastValue(viewModel.shouldShow) in shouldShow_trueAfterShowRequested() constant
70 assertThat(shouldShow).isTrue() in shouldShow_trueAfterShowRequested()
76 val shouldShow by collectLastValue(viewModel.shouldShow) in shouldShow_trueAfterToggleRequested() constant
80 assertThat(shouldShow).isTrue() in shouldShow_trueAfterToggleRequested()
86 val shouldShow by collectLastValue(viewModel.shouldShow) in shouldShow_falseAfterToggleTwice() constant
91 assertThat(shouldShow).isFalse() in shouldShow_falseAfterToggleTwice()
97 val shouldShow by collectLastValue(viewModel.shouldShow) in shouldShow_falseAfterViewClosed() constant
102 assertThat(shouldShow).isFalse() in shouldShow_falseAfterViewClosed()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerUITest.java404 boolean shouldShow = mPowerUI.shouldShowHybridWarning(state.get()); in testShouldShowHybridWarning_lowLevelWarning()
405 assertThat(shouldShow).isTrue(); in testShouldShowHybridWarning_lowLevelWarning()
409 shouldShow = mPowerUI.shouldShowHybridWarning(state.get()); in testShouldShowHybridWarning_lowLevelWarning()
410 assertThat(shouldShow).isFalse(); in testShouldShowHybridWarning_lowLevelWarning()
415 shouldShow = mPowerUI.shouldShowHybridWarning(state.get()); in testShouldShowHybridWarning_lowLevelWarning()
416 assertThat(shouldShow).isFalse(); in testShouldShowHybridWarning_lowLevelWarning()
422 shouldShow = mPowerUI.shouldShowHybridWarning(state.get()); in testShouldShowHybridWarning_lowLevelWarning()
423 assertThat(shouldShow).isFalse(); in testShouldShowHybridWarning_lowLevelWarning()
427 shouldShow = mPowerUI.shouldShowHybridWarning(state.get()); in testShouldShowHybridWarning_lowLevelWarning()
428 assertThat(shouldShow).isTrue(); in testShouldShowHybridWarning_lowLevelWarning()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleEducationController.kt48 val shouldShow = in shouldShowStackEducation() constant
52 logDebug("Show stack edu: $shouldShow") in shouldShowStackEducation()
53 return shouldShow in shouldShowStackEducation()
63 val shouldShow = in shouldShowManageEducation() constant
67 logDebug("Show manage edu: $shouldShow") in shouldShowManageEducation()
68 return shouldShow in shouldShowManageEducation()
DBubbleStackView.java1397 final boolean shouldShow = (!seen || BubbleDebugConfig.forceShowUserEducation(mContext)) in shouldShowManageEdu()
1399 ProtoLog.d(WM_SHELL_BUBBLES, "Show manage edu=%b", shouldShow); in shouldShowManageEdu()
1400 if (shouldShow && BubbleDebugConfig.neverShowUserEducation(mContext)) { in shouldShowManageEdu()
1404 return shouldShow; in shouldShowManageEdu()
1444 final boolean shouldShow = !seen || BubbleDebugConfig.forceShowUserEducation(mContext); in shouldShowStackEdu()
1445 ProtoLog.d(WM_SHELL_BUBBLES, "Show stack edu=%b", shouldShow); in shouldShowStackEdu()
1446 if (shouldShow && BubbleDebugConfig.neverShowUserEducation(mContext)) { in shouldShowStackEdu()
1450 return shouldShow; in shouldShowStackEdu()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/ui/viewmodel/
DDeviceBasedSatelliteViewModel.kt95 .flatMapLatest { shouldShow -> in shouldShow() method
96 if (shouldShow) { in shouldShow()
116 ) { shouldShow, state, signalStrength -> in signalStrength() method
117 if (shouldShow) { in signalStrength()
129 ) { shouldShow, connectionState -> in connectionState() method
134 bool1 = shouldShow in connectionState()
139 if (shouldShow) { in connectionState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/
DShortcutHelperActivityStarter.kt52 viewModel.shouldShow.collect { shouldShow -> in <lambda>() method
53 if (shouldShow) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/view/
DShortcutHelperActivity.kt108 viewModel.shouldShow.flowWithLifecycle(lifecycle).collect { shouldShow -> in <lambda>() method
109 if (!shouldShow) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/
DBatteryMeterView.java537 boolean shouldShow = mShowPercentMode == MODE_ON || mShowPercentMode == MODE_ESTIMATE; in updateShowPercent()
538 if (!mBatteryStateUnknown && !shouldShow && (mShowPercentMode != MODE_OFF)) { in updateShowPercent()
541 shouldShow = 0 != whitelistIpcs(() -> Settings.System in updateShowPercent()
551 shouldShow, in updateShowPercent()
573 boolean shouldShow = in updateShowPercentLegacy()
577 shouldShow = shouldShow && !mBatteryStateUnknown; in updateShowPercentLegacy()
579 if (shouldShow) { in updateShowPercentLegacy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/
DTooltipManager.kt115 if (!shouldShow()) return in <lambda>()
159 private fun shouldShow() = shown < maxTimesShown in <lambda>() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/viewmodel/
DShortcutHelperViewModel.kt35 val shouldShow = constant
/frameworks/base/core/java/android/view/
DWindowManagerImpl.java274 public void setShouldShowWithInsecureKeyguard(int displayId, boolean shouldShow) { in setShouldShowWithInsecureKeyguard() argument
277 .setShouldShowWithInsecureKeyguard(displayId, shouldShow); in setShouldShowWithInsecureKeyguard()
283 public void setShouldShowSystemDecors(int displayId, boolean shouldShow) { in setShouldShowSystemDecors() argument
286 .setShouldShowSystemDecors(displayId, shouldShow); in setShouldShowSystemDecors()
DIWindowManager.aidl679 void setShouldShowWithInsecureKeyguard(int displayId, boolean shouldShow); in setShouldShowWithInsecureKeyguard() argument
701 void setShouldShowSystemDecors(int displayId, boolean shouldShow); in setShouldShowSystemDecors() argument
DWindowManager.java1704 default void setShouldShowWithInsecureKeyguard(int displayId, boolean shouldShow) { in setShouldShowWithInsecureKeyguard() argument
1719 default void setShouldShowSystemDecors(int displayId, boolean shouldShow) { in setShouldShowSystemDecors() argument
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayWindowSettings.java200 void setShouldShowWithInsecureKeyguardLocked(@NonNull DisplayContent dc, boolean shouldShow) { in setShouldShowWithInsecureKeyguardLocked() argument
201 if (!dc.isPrivate() && shouldShow) { in setShouldShowWithInsecureKeyguardLocked()
209 overrideSettings.mShouldShowWithInsecureKeyguard = shouldShow; in setShouldShowWithInsecureKeyguardLocked()
232 void setShouldShowSystemDecorsLocked(@NonNull DisplayContent dc, boolean shouldShow) { in setShouldShowSystemDecorsLocked() argument
236 overrideSettings.mShouldShowSystemDecors = shouldShow; in setShouldShowSystemDecorsLocked()
DWindowManagerService.java7729 public void setShouldShowWithInsecureKeyguard(int displayId, boolean shouldShow) { in setShouldShowWithInsecureKeyguard() argument
7745 shouldShow); in setShouldShowWithInsecureKeyguard()
7772 public void setShouldShowSystemDecors(int displayId, boolean shouldShow) { in setShouldShowSystemDecors() argument
7790 mDisplayWindowSettings.setShouldShowSystemDecorsLocked(displayContent, shouldShow); in setShouldShowSystemDecors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DPrivacyDotViewController.kt537 val shouldShow = state.shouldShowDot() in <lambda>() constant
538 if (shouldShow != currentViewState.shouldShowDot()) { in <lambda>()
539 if (shouldShow && state.designatedCorner != null) { in <lambda>()
541 } else if (!shouldShow && state.designatedCorner != null) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DMobileIconViewModel.kt254 ) { networkTypeIconGroup, shouldShow -> in networkTypeIconGroup() method
264 !shouldShow -> null in networkTypeIconGroup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewbinder/
DNotificationListViewBinder.kt213 .collect { (shouldShow, areNotifsHidden, hasFilteredNotifs) -> in <lambda>() method
215 shouldShow, in <lambda>()
/frameworks/layoutlib/bridge/src/android/view/
DWindowManagerImpl.java252 public void setShouldShowWithInsecureKeyguard(int displayId, boolean shouldShow) { in setShouldShowWithInsecureKeyguard() argument
257 public void setShouldShowSystemDecors(int displayId, boolean shouldShow) { in setShouldShowSystemDecors() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsDialogLiteTest.java436 assertThat(screenshotAction.shouldShow()).isTrue(); in testShouldShowScreenshot()
447 assertThat(screenshotAction.shouldShow()).isFalse(); in testShouldNotShowScreenshot()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialogLite.java557 return action.shouldShow(); in shouldShowAction()
1039 public boolean shouldShow() { in shouldShow() method in GlobalActionsDialogLite.ScreenshotAction
1750 default boolean shouldShow() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutController.java1428 final boolean shouldShow = getVisibleNotificationCount() == 0 in updateShowEmptyShadeView()
1437 mView.updateEmptyShadeView(shouldShow, mZenModeController.areNotificationsHiddenInShade()); in updateShowEmptyShadeView()
/frameworks/base/core/java/android/widget/
DEditor.java5198 private boolean shouldShow() { in shouldShow() method in Editor.HandleView
5324 if (shouldShow()) { in updatePosition()
5589 final boolean shouldShow = checkForTransforms() /*check not rotated and compute scale*/ in updateMagnifier()
5593 if (shouldShow) { in updateMagnifier()
/frameworks/base/boot/
Dboot-image-profile.txt19632 HSPLandroid/widget/Editor$HandleView;->shouldShow()Z
/frameworks/base/config/
Dboot-image-profile.txt19696 HSPLandroid/widget/Editor$HandleView;->shouldShow()Z

12