Search in sources :

Example 1 with PocketJudgePreferenceController

use of com.android.settings.display.PocketJudgePreferenceController in project Resurrection_packages_apps_Settings by ResurrectionRemix.

the class DisplaySettings method buildPreferenceControllers.

private static List<AbstractPreferenceController> buildPreferenceControllers(Context context, Lifecycle lifecycle) {
    final List<AbstractPreferenceController> controllers = new ArrayList<>();
    controllers.add(new CameraGesturePreferenceController(context));
    controllers.add(new LiftToWakePreferenceController(context));
    controllers.add(new PocketJudgePreferenceController(context));
    controllers.add(new NightDisplayPreferenceController(context));
    controllers.add(new NightModePreferenceController(context));
    controllers.add(new ScreenSaverPreferenceController(context));
    controllers.add(new TapToWakePreferenceController(context));
    controllers.add(new TimeoutPreferenceController(context, KEY_SCREEN_TIMEOUT));
    controllers.add(new VrDisplayPreferenceController(context));
    controllers.add(new ShowOperatorNamePreferenceController(context));
    controllers.add(new ThemePreferenceController(context));
    controllers.add(new BrightnessLevelPreferenceController(context, lifecycle));
    controllers.add(new RefreshRatePreferenceController(context));
    return controllers;
}
Also used : ScreenSaverPreferenceController(com.android.settings.display.ScreenSaverPreferenceController) ShowOperatorNamePreferenceController(com.android.settings.display.ShowOperatorNamePreferenceController) BrightnessLevelPreferenceController(com.android.settings.display.BrightnessLevelPreferenceController) AbstractPreferenceController(com.android.settingslib.core.AbstractPreferenceController) VrDisplayPreferenceController(com.android.settings.display.VrDisplayPreferenceController) ArrayList(java.util.ArrayList) CameraGesturePreferenceController(com.android.settings.display.CameraGesturePreferenceController) TimeoutPreferenceController(com.android.settings.display.TimeoutPreferenceController) ThemePreferenceController(com.android.settings.display.ThemePreferenceController) TapToWakePreferenceController(com.android.settings.display.TapToWakePreferenceController) LiftToWakePreferenceController(com.android.settings.display.LiftToWakePreferenceController) NightModePreferenceController(com.android.settings.display.NightModePreferenceController) PocketJudgePreferenceController(com.android.settings.display.PocketJudgePreferenceController) NightDisplayPreferenceController(com.android.settings.display.NightDisplayPreferenceController) RefreshRatePreferenceController(com.android.settings.display.RefreshRatePreferenceController)

Aggregations

BrightnessLevelPreferenceController (com.android.settings.display.BrightnessLevelPreferenceController)1 CameraGesturePreferenceController (com.android.settings.display.CameraGesturePreferenceController)1 LiftToWakePreferenceController (com.android.settings.display.LiftToWakePreferenceController)1 NightDisplayPreferenceController (com.android.settings.display.NightDisplayPreferenceController)1 NightModePreferenceController (com.android.settings.display.NightModePreferenceController)1 PocketJudgePreferenceController (com.android.settings.display.PocketJudgePreferenceController)1 RefreshRatePreferenceController (com.android.settings.display.RefreshRatePreferenceController)1 ScreenSaverPreferenceController (com.android.settings.display.ScreenSaverPreferenceController)1 ShowOperatorNamePreferenceController (com.android.settings.display.ShowOperatorNamePreferenceController)1 TapToWakePreferenceController (com.android.settings.display.TapToWakePreferenceController)1 ThemePreferenceController (com.android.settings.display.ThemePreferenceController)1 TimeoutPreferenceController (com.android.settings.display.TimeoutPreferenceController)1 VrDisplayPreferenceController (com.android.settings.display.VrDisplayPreferenceController)1 AbstractPreferenceController (com.android.settingslib.core.AbstractPreferenceController)1 ArrayList (java.util.ArrayList)1