Home
last modified time | relevance | path

Searched refs:overlayManager (Results 1 – 22 of 22) sorted by relevance

/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/systemui/systembarpresets/
DSystemBarPresetsReducer.kt35 val overlayManager: OverlayManager, in <lambda>() constant in com.android.car.customization.tool.features.rro.systemui.systembarpresets.SystemBarPresetsReducer
43 overlayManager.setEnabled( in <lambda>()
49 togglePersistentRRO(overlayManager, action.packageToEnable != null) in <lambda>()
52 overlayManager.setEnabled( in <lambda>()
62 private fun togglePersistentRRO(overlayManager: OverlayManager, enable: Boolean) { in <lambda>()
64 if (overlayManager.getOverlayInfo(persistentRRO, UserHandle.SYSTEM) != null) { in <lambda>()
65 overlayManager.setEnabled( in <lambda>()
71 if (overlayManager.getOverlayInfo(persistentRRO, UserHandle.CURRENT) != null) { in <lambda>()
72 overlayManager.setEnabled( in <lambda>()
DSystemBarPresetsModule.kt44 fun provideSystemBarItem(overlayManager: OverlayManager): MenuItem =
45 systemBarPresetsDropDownItem(overlayManager)
51 overlayManager: OverlayManager,
53 ): MenuActionReducer = SystemBarPresetsReducer(overlayManager, context)
DSystemBarPresetsItem.kt25 internal fun systemBarPresetsDropDownItem(overlayManager: OverlayManager): MenuItem.DropDown { in <lambda>()
34 overlayManager.getOverlayInfo( in <lambda>()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/systemui/themepresets/
DThemePresetsItem.kt30 fun filterInstalled(overlayManager: OverlayManager) = ThemeRRO( in <lambda>()
32 overlayManager.getOverlayInfo(rroPackage, UserHandle.SYSTEM)?.isValid() ?: false in <lambda>()
35 overlayManager.getOverlayInfo(rroPackage, UserHandle.CURRENT)?.isValid() ?: false in <lambda>()
39 fun isActive(overlayManager: OverlayManager): Boolean { in <lambda>()
41 overlayManager.getOverlayInfo(rroPackage, UserHandle.SYSTEM)?.isEnabled ?: false in <lambda>()
43 overlayManager.getOverlayInfo(rroPackage, UserHandle.CURRENT)?.isEnabled ?: false in <lambda>()
48 internal fun rroThemePresetsDropDownItem(overlayManager: OverlayManager): MenuItem.DropDown { in rroThemePresetsDropDownItem()
62 ).mapValues { (_, themeRros) -> themeRros.filterInstalled(overlayManager) } in rroThemePresetsDropDownItem()
69 isActive = theme.isActive(overlayManager), in rroThemePresetsDropDownItem()
DThemePresetsModule.kt44 fun provideRROPresetSelection(overlayManager: OverlayManager): MenuItem =
45 rroThemePresetsDropDownItem(overlayManager)
52 overlayManager: OverlayManager,
53 ): MenuActionReducer = ThemePresetsReducer(context, overlayManager)
DThemePresetsReducer.kt37 private val overlayManager: OverlayManager, in <lambda>() constant in com.android.car.customization.tool.features.rro.systemui.themepresets.ThemePresetsReducer
58 overlayManager.setEnabled( in <lambda>()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/systemui/cutouts/
DDisplayCutoutsModule.kt44 fun provideCutoutsItem(overlayManager: OverlayManager): MenuItem =
45 cutoutsDropDownItem(overlayManager)
52 overlayManager: OverlayManager,
53 ): MenuActionReducer = DisplayCutoutsReducer(context, overlayManager)
DDisplayCutoutsReducer.kt36 val overlayManager: OverlayManager, in <lambda>() constant in com.android.car.customization.tool.features.rro.systemui.cutouts.DisplayCutoutsReducer
43 overlayManager.setEnabled( in <lambda>()
51 overlayManager.setEnabled( in <lambda>()
DDisplayCutoutsItem.kt26 internal fun cutoutsDropDownItem(overlayManager: OverlayManager): MenuItem.DropDown { in <lambda>()
39 overlayManager.getOverlayInfo( in <lambda>()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/oemtokens/oemtokenstoggle/
DOemTokensToggleModule.kt50 overlayManager: OverlayManager, in <lambda>()
59 overlayManager.getOverlayInfosForTarget(sharedLib, UserHandle.CURRENT) in <lambda>()
80 overlayManager: OverlayManager, in <lambda>()
81 ): MenuActionReducer = OemTokensToggleReducer(context, overlayManager) in <lambda>()
DOemTokensToggleReducer.kt40 private val overlayManager: OverlayManager, in clone() constant in com.android.car.customization.tool.features.oemtokens.oemtokenstoggle.OemTokensToggleReducer
45 overlayManager.setEnabled(action.rroPackage, action.newValue, UserHandle.CURRENT) in clone()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppButtonRepository.kt89 val overlayManager = checkNotNull(context.getSystemService(OverlayManager::class.java)) in <lambda>() constant
103 app.isEnabledResourceOverlay(overlayManager) -> return false in <lambda>()
140 private fun ApplicationInfo.isEnabledResourceOverlay(overlayManager: OverlayManager): Boolean = in <lambda>()
142 overlayManager.getOverlayInfo(packageName, userHandle)?.isEnabled == true in <lambda>()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/unbundled/apprro/
DUnbundledRroPanelReducer.kt34 private val overlayManager: OverlayManager, in <lambda>() constant in com.android.car.customization.tool.features.rro.unbundled.apprro.UnbundledRroPanelReducer
47 overlayManager.getOverlayInfosForTarget( in <lambda>()
85 overlayManager.setEnabled(action.rroPackage, action.newState, UserHandle.CURRENT) in <lambda>()
DUnbundledRroModule.kt92 overlayManager: OverlayManager, in provideDialerRROPanelLauncher()
93 ): PanelActionReducer = UnbundledRroPanelReducer(overlayManager) in provideDialerRROPanelLauncher()
/packages/apps/Settings/src/com/android/settings/development/
DEmulateDisplayCutoutPreferenceController.java33 IOverlayManager overlayManager) { in EmulateDisplayCutoutPreferenceController() argument
34 super(context, packageManager, overlayManager, DisplayCutout.EMULATION_OVERLAY_CATEGORY); in EmulateDisplayCutoutPreferenceController()
DOverlayCategoryPreferenceController.java67 IOverlayManager overlayManager, String category) { in OverlayCategoryPreferenceController() argument
69 mOverlayManager = overlayManager; in OverlayCategoryPreferenceController()
72 mAvailable = overlayManager != null && !getOverlayInfos().isEmpty(); in OverlayCategoryPreferenceController()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/list/
DRroListPanelModule.kt58 overlayManager: OverlayManager,
59 ): PanelActionReducer = RroListPanelReducer(packageManager, overlayManager)
DRroListPanelReducer.kt49 private val overlayManager: OverlayManager, in <lambda>() constant in com.android.car.customization.tool.features.rro.list.RroListPanelReducer
113 overlayManager.setEnabled(action.rroPackage, action.newState, currentUserHandle) in <lambda>()
158 overlayManager.getOverlayInfosForTarget( in <lambda>()
/packages/apps/Settings/src/com/android/settings/gestures/
DSystemNavigationGestureSettings.java282 IOverlayManager overlayManager) { in migrateOverlaySensitivityToSettings() argument
289 info = overlayManager.getOverlayInfo(NAV_BAR_MODE_GESTURAL_OVERLAY, USER_CURRENT); in migrateOverlaySensitivityToSettings()
294 setCurrentSystemNavigationMode(overlayManager, KEY_SYSTEM_NAV_GESTURAL); in migrateOverlaySensitivityToSettings()
314 static void setCurrentSystemNavigationMode(IOverlayManager overlayManager, String key) { in setCurrentSystemNavigationMode() argument
329 overlayManager.setEnabledExclusiveInCategory(overlayPackage, USER_CURRENT); in setCurrentSystemNavigationMode()
/packages/apps/DocumentsUI/src/com/android/documentsui/theme/
DThemeOverlayManager.java47 public ThemeOverlayManager(@NonNull OverlayManager overlayManager, String targetPackageId) { in ThemeOverlayManager() argument
48 mOverlayManager = overlayManager; in ThemeOverlayManager()
/packages/apps/Settings/src/com/android/settings/display/
DThemePreferenceController.java58 ThemePreferenceController(Context context, IOverlayManager overlayManager) { in ThemePreferenceController() argument
60 mOverlayService = overlayManager; in ThemePreferenceController()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java698 public void onPluginConnected(LauncherOverlayPlugin overlayManager, Context context) {
699 switchOverlay(() -> overlayManager.createOverlayManager(this));