/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/ |
D | UiModeNightTileUserActionInteractorTest.kt | 84 val isNightMode = true in <lambda>() constant 87 underTest.handleInput(QSTileInputTestKtx.click(createModel(isNightMode, isPowerSave))) in <lambda>() 94 val isNightMode = false in <lambda>() constant 97 underTest.handleInput(QSTileInputTestKtx.click(createModel(isNightMode, isPowerSave))) in <lambda>() 104 val isNightMode = true in <lambda>() constant 106 underTest.handleInput(QSTileInputTestKtx.longClick(createModel(isNightMode))) in <lambda>() 117 val isNightMode = false in <lambda>() constant 119 underTest.handleInput(QSTileInputTestKtx.longClick(createModel(isNightMode))) in <lambda>()
|
D | UiModeNightTileDataInteractorTest.kt | 138 assertThat(flowValues.map { it.isNightMode }).containsExactly(false, true, false).inOrder() in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/ |
D | UiModeNightTileMapper.kt | 58 if (isNightMode) in map() 65 if (isNightMode) { in map() 76 if (isNightMode) in map() 86 if (isNightMode) in map() 109 if (isNightMode) QSTileState.ActivationState.ACTIVE in map()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | DynamicRenderResources.java | 142 public void setWallpaper(String wallpaperPath, boolean isNightMode) { in setWallpaper() argument 147 mDynamicColorMap = createDynamicColorMap(wallpaperPath, isNightMode); in setWallpaper() 160 static Map<String, Integer> createDynamicColorMap(String wallpaperPath, boolean isNightMode) { in createDynamicColorMap() argument 168 ColorScheme scheme = new ColorScheme(seed, isNightMode); in createDynamicColorMap()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubbleOverflowContainerView.java | 211 final boolean isNightMode = (mode == Configuration.UI_MODE_NIGHT_YES); in updateTheme() 220 mEmptyStateImage.setImageDrawable(isNightMode in updateTheme() 225 .setBackgroundColor(isNightMode in updateTheme() 232 int bgColor = typedArray.getColor(0, isNightMode ? Color.BLACK : Color.WHITE); in updateTheme() 233 int textColor = typedArray.getColor(1, isNightMode ? Color.WHITE : Color.BLACK); in updateTheme() 234 textColor = ContrastColorUtil.ensureTextContrast(textColor, bgColor, isNightMode); in updateTheme()
|
/frameworks/base/services/core/java/com/android/server/ |
D | UiModeManagerInternal.java | 26 public abstract boolean isNightMode(); in isNightMode() method in UiModeManagerInternal
|
D | UiModeManagerService.java | 2322 public boolean isNightMode() { in isNightMode() method in UiModeManagerService.LocalService
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/model/ |
D | UiModeNightTileModel.kt | 28 val isNightMode: Boolean, constant in com.android.systemui.qs.tiles.impl.uimodenight.domain.model.UiModeNightTileModel
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/interactor/ |
D | UiModeNightTileUserActionInteractor.kt | 47 uiModeManager.setNightModeActivated(!input.data.isNightMode) in handleInput()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | AutoFillUI.java | 234 serviceLabel, serviceIcon, mUiModeMgr.isNightMode(), maxInputLengthForAutofill, in showFillUi() 415 }, mUiModeMgr.isNightMode(), isUpdate, compatMode, showServiceIcon); in showSaveUi() 450 mUiModeMgr.isNightMode(), new DialogFillUi.UiCallback() { in showFillDialog() 565 pw.print(prefix); pw.print("Night mode: "); pw.println(mUiModeMgr.isNightMode()); in dump()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | HandleMenu.java | 238 final boolean isNightMode = (mode == Configuration.UI_MODE_NIGHT_YES); in getWindowingIconColor() 242 final int inActiveColor = typedArray.getColor(0, isNightMode ? Color.WHITE : Color.BLACK); in getWindowingIconColor() 243 final int activeColor = typedArray.getColor(1, isNightMode ? Color.WHITE : Color.BLACK); in getWindowingIconColor()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/ |
D | ThemeOverlayControllerTest.java | 173 protected boolean isNightMode() { in setup() 779 protected boolean isNightMode() { in catchException_whenPackageNameIsOverlayName() 819 protected boolean isNightMode() { in onWallpaperColorsChanged_defersUntilSetupIsCompleted_ifHasColors()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeOverlayController.java | 581 protected boolean isNightMode() { in isNightMode() method in ThemeOverlayController 600 mColorScheme = isNightMode() ? mDarkColorScheme : mLightColorScheme; in createOverlays()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationTest.java | 1851 boolean isNightMode = (currentConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK) in runInNightMode() 1853 assertEquals(nightMode, isNightMode); in runInNightMode()
|