Home
last modified time | relevance | path

Searched refs:LocalTime (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DNightDisplayController.java193 public @NonNull LocalTime getCustomStartTime() { in getCustomStartTime()
205 return LocalTime.valueOf(startTimeValue); in getCustomStartTime()
215 public boolean setCustomStartTime(@NonNull LocalTime startTime) { in setCustomStartTime()
227 public @NonNull LocalTime getCustomEndTime() { in getCustomEndTime()
239 return LocalTime.valueOf(endTimeValue); in getCustomEndTime()
249 public boolean setCustomEndTime(@NonNull LocalTime endTime) { in setCustomEndTime()
380 public static class LocalTime { class in NightDisplayController
391 public LocalTime(int hourOfDay, int minute) { in LocalTime() method in NightDisplayController.LocalTime
458 private static LocalTime valueOf(int millis) { in valueOf()
461 return new LocalTime(hourOfDay, minutes); in valueOf()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DNightDisplayService.java319 public void onCustomStartTimeChanged(NightDisplayController.LocalTime startTime) { in onCustomStartTimeChanged()
328 public void onCustomEndTimeChanged(NightDisplayController.LocalTime endTime) { in onCustomEndTimeChanged()
438 private NightDisplayController.LocalTime mStartTime;
439 private NightDisplayController.LocalTime mEndTime;
527 public void onCustomStartTimeChanged(NightDisplayController.LocalTime startTime) { in onCustomStartTimeChanged()
534 public void onCustomEndTimeChanged(NightDisplayController.LocalTime endTime) { in onCustomEndTimeChanged()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNightDisplayServiceTest.java33 import com.android.internal.app.NightDisplayController.LocalTime;
969 private static LocalTime getLocalTimeRelativeToNow(int offsetMinutes) { in getLocalTimeRelativeToNow()
972 return new LocalTime(c.get(Calendar.HOUR_OF_DAY), c.get(Calendar.MINUTE)); in getLocalTimeRelativeToNow()
984 final LocalTime sunset = getLocalTimeRelativeToNow(sunsetOffset); in getTwilightStateRelativeToNow()
985 final LocalTime sunrise = getLocalTimeRelativeToNow(sunriseOffset); in getTwilightStateRelativeToNow()
/frameworks/base/api/
Dcurrent.txt61719 method public static java.time.LocalDateTime of(java.time.LocalDate, java.time.LocalTime);
61734 method public java.time.LocalTime toLocalTime();
61750 …public final class LocalTime implements java.lang.Comparable java.io.Serializable java.time.tempor…
61754 method public int compareTo(java.time.LocalTime);
61756 method public static java.time.LocalTime from(java.time.temporal.TemporalAccessor);
61762 method public boolean isAfter(java.time.LocalTime);
61763 method public boolean isBefore(java.time.LocalTime);
61766 method public java.time.LocalTime minusHours(long);
61767 method public java.time.LocalTime minusMinutes(long);
61768 method public java.time.LocalTime minusNanos(long);
[all …]
Dsystem-current.txt65627 method public static java.time.LocalDateTime of(java.time.LocalDate, java.time.LocalTime);
65642 method public java.time.LocalTime toLocalTime();
65658 …public final class LocalTime implements java.lang.Comparable java.io.Serializable java.time.tempor…
65662 method public int compareTo(java.time.LocalTime);
65664 method public static java.time.LocalTime from(java.time.temporal.TemporalAccessor);
65670 method public boolean isAfter(java.time.LocalTime);
65671 method public boolean isBefore(java.time.LocalTime);
65674 method public java.time.LocalTime minusHours(long);
65675 method public java.time.LocalTime minusMinutes(long);
65676 method public java.time.LocalTime minusNanos(long);
[all …]
/frameworks/base/services/
Dprofile-classes3099 Lcom/android/internal/app/NightDisplayController$LocalTime;
/frameworks/base/
Dcompiled-classes-phone5246 com.android.internal.app.NightDisplayController$LocalTime