OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:autoMode
(Results
1 - 4
of
4
) sorted by null
/frameworks/base/core/java/com/android/internal/app/
NightDisplayController.java
52
public @interface
AutoMode
{}
128
public @
AutoMode
int getAutoMode() {
129
int
autoMode
= Secure.getIntForUser(mContext.getContentResolver(),
131
if (
autoMode
== -1) {
135
autoMode
= mContext.getResources().getInteger(
139
if (
autoMode
!= AUTO_MODE_DISABLED
140
&&
autoMode
!= AUTO_MODE_CUSTOM
141
&&
autoMode
!= AUTO_MODE_TWILIGHT) {
142
Slog.e(TAG, "Invalid
autoMode
: " +
autoMode
);
[
all
...]
/packages/apps/Settings/src/com/android/settings/display/
NightDisplayPreference.java
75
final int
autoMode
= mController.getAutoMode();
78
switch (
autoMode
) {
114
public void onAutoModeChanged(int
autoMode
) {
NightDisplaySettings.java
164
public void onAutoModeChanged(int
autoMode
) {
165
mAutoModePreference.setValue(String.valueOf(
autoMode
));
167
final boolean showCustomSchedule =
autoMode
== NightDisplayController.AUTO_MODE_CUSTOM;
/frameworks/base/services/core/java/com/android/server/display/
NightDisplayService.java
94
private
AutoMode
mAutoMode;
275
public void onAutoModeChanged(int
autoMode
) {
281
if (
autoMode
== NightDisplayController.AUTO_MODE_CUSTOM) {
283
} else if (
autoMode
== NightDisplayController.AUTO_MODE_TWILIGHT) {
306
private abstract class
AutoMode
implements NightDisplayController.Callback {
311
private class CustomAutoMode extends
AutoMode
implements AlarmManager.OnAlarmListener {
427
private class TwilightAutoMode extends
AutoMode
implements TwilightListener {
Completed in 225 milliseconds