OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NightDisplayController
(Results
1 - 14
of
14
) sorted by null
/packages/apps/Settings/tests/robotests/src/com/android/internal/app/
NightDisplayController.java
22
public class
NightDisplayController
{
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
AutoTileManagerTest.java
22
import com.android.internal.app.
NightDisplayController
;
58
if (!
NightDisplayController
.isAvailable(mContext)) {
67
if (!
NightDisplayController
.isAvailable(mContext)) {
76
if (!
NightDisplayController
.isAvailable(mContext)) {
80
NightDisplayController
.AUTO_MODE_TWILIGHT);
86
if (!
NightDisplayController
.isAvailable(mContext)) {
90
NightDisplayController
.AUTO_MODE_CUSTOM);
96
if (!
NightDisplayController
.isAvailable(mContext)) {
100
NightDisplayController
.AUTO_MODE_DISABLED);
/packages/apps/Settings/src/com/android/settings/display/
NightDisplayPreferenceController.java
19
import com.android.internal.app.
NightDisplayController
;
32
return
NightDisplayController
.isAvailable(mContext);
NightDisplayPreference.java
21
import com.android.internal.app.
NightDisplayController
;
29
implements
NightDisplayController
.Callback {
31
private
NightDisplayController
mController;
37
mController = new
NightDisplayController
(context);
61
private String getFormattedTimeString(
NightDisplayController
.LocalTime localTime) {
80
case
NightDisplayController
.AUTO_MODE_DISABLED:
85
case
NightDisplayController
.AUTO_MODE_CUSTOM:
96
case
NightDisplayController
.AUTO_MODE_TWILIGHT:
119
public void onCustomStartTimeChanged(
NightDisplayController
.LocalTime startTime) {
124
public void onCustomEndTimeChanged(
NightDisplayController
.LocalTime endTime)
[
all
...]
NightDisplaySettings.java
28
import com.android.internal.app.
NightDisplayController
;
42
implements
NightDisplayController
.Callback, Preference.OnPreferenceChangeListener {
53
private
NightDisplayController
mController;
67
mController = new
NightDisplayController
(context);
95
String.valueOf(
NightDisplayController
.AUTO_MODE_DISABLED),
96
String.valueOf(
NightDisplayController
.AUTO_MODE_CUSTOM),
97
String.valueOf(
NightDisplayController
.AUTO_MODE_TWILIGHT)
142
final
NightDisplayController
.LocalTime initialTime;
154
final
NightDisplayController
.LocalTime time =
155
new
NightDisplayController
.LocalTime(hourOfDay, minute)
[
all
...]
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
NightDisplayCondition.java
21
import com.android.internal.app.
NightDisplayController
;
28
implements
NightDisplayController
.Callback {
30
private
NightDisplayController
mController;
34
mController = new
NightDisplayController
(manager.getContext());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
AutoTileManager.java
23
import com.android.internal.app.
NightDisplayController
;
72
&&
NightDisplayController
.isAvailable(mContext)) {
73
Dependency.get(
NightDisplayController
.class).setListener(mNightDisplayCallback);
82
Dependency.get(
NightDisplayController
.class).setListener(null);
129
final
NightDisplayController
.Callback mNightDisplayCallback =
130
new
NightDisplayController
.Callback() {
140
if (autoMode ==
NightDisplayController
.AUTO_MODE_CUSTOM
141
|| autoMode ==
NightDisplayController
.AUTO_MODE_TWILIGHT) {
149
mHandler.post(() -> Dependency.get(
NightDisplayController
.class)
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
NightDisplayTile.java
25
import com.android.internal.app.
NightDisplayController
;
34
implements
NightDisplayController
.Callback {
36
private
NightDisplayController
mController;
41
mController = new
NightDisplayController
(mContext, ActivityManager.getCurrentUser());
46
return
NightDisplayController
.isAvailable(mContext);
68
mController = new
NightDisplayController
(mContext, newUserId);
/frameworks/base/services/core/java/com/android/server/display/
NightDisplayService.java
45
import com.android.internal.app.
NightDisplayController
;
61
implements
NightDisplayController
.Callback {
135
private
NightDisplayController
mController;
244
mController = new
NightDisplayController
(getContext(), mCurrentUser);
307
if (autoMode ==
NightDisplayController
.AUTO_MODE_CUSTOM) {
309
} else if (autoMode ==
NightDisplayController
.AUTO_MODE_TWILIGHT) {
319
public void onCustomStartTimeChanged(
NightDisplayController
.LocalTime startTime) {
328
public void onCustomEndTimeChanged(
NightDisplayController
.LocalTime endTime) {
427
private abstract class AutoMode implements
NightDisplayController
.Callback {
438
private
NightDisplayController
.LocalTime mStartTime
[
all
...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
NightDisplayServiceTest.java
32
import com.android.internal.app.
NightDisplayController
;
33
import com.android.internal.app.
NightDisplayController
.LocalTime;
63
private
NightDisplayController
mNightDisplayController;
86
mNightDisplayController = new
NightDisplayController
(mContext, mUserId);
[
all
...]
/frameworks/base/core/java/com/android/internal/app/
NightDisplayController.java
44
public final class
NightDisplayController
{
46
private static final String TAG = "
NightDisplayController
";
82
public
NightDisplayController
(@NonNull Context context) {
86
public
NightDisplayController
(@NonNull Context context, int userId) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/
Dependency.java
26
import com.android.internal.app.
NightDisplayController
;
191
mProviders.put(
NightDisplayController
.class, () ->
192
new
NightDisplayController
(mContext));
/frameworks/base/services/java/com/android/server/
SystemServer.java
54
import com.android.internal.app.
NightDisplayController
;
[
all
...]
/frameworks/base/
compiled-classes-phone
[
all
...]
Completed in 1321 milliseconds