Home
last modified time | relevance | path

Searched refs:sunset (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/app/
DTwilightCalculator.java67 public long sunset; field in TwilightCalculator
118 sunset = -1; in calculateTwilight()
123 sunset = -1; in calculateTwilight()
130 sunset = Math.round((solarTransitJ2000 + hourAngle) * DateUtils.DAY_IN_MILLIS) + UTC_2000; in calculateTwilight()
133 if (sunrise < time && sunset > time) { in calculateTwilight()
DTwilightManager.java149 final long yesterdaySunset = calculator.sunset; in updateState()
155 final long todaySunset = calculator.sunset; in updateState()
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightState.java67 public Calendar sunset() { in sunset() method in TwilightState
68 final Calendar sunset = Calendar.getInstance(); in sunset() local
69 sunset.setTimeInMillis(mSunsetTimeMillis); in sunset()
70 return sunset; in sunset()
/frameworks/base/services/core/java/com/android/server/display/
DNightDisplayService.java567 final Calendar sunset = state.sunset(); in updateActivated() local
571 && (lastActivatedTime.after(sunrise) ^ lastActivatedTime.after(sunset))) { in updateActivated()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNightDisplayServiceTest.java984 final LocalTime sunset = getLocalTimeRelativeToNow(sunsetOffset); in getTwilightStateRelativeToNow() local
988 long sunsetMillis = sunset.getDateTimeBefore(now).getTimeInMillis(); in getTwilightStateRelativeToNow()
991 sunsetMillis = sunset.getDateTimeAfter(now).getTimeInMillis(); in getTwilightStateRelativeToNow()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt12313 field public static final java.lang.String SCENE_MODE_SUNSET = "sunset";
/frameworks/base/api/
Dcurrent.txt14655 field public static final java.lang.String SCENE_MODE_SUNSET = "sunset";
Dsystem-current.txt15435 field public static final java.lang.String SCENE_MODE_SUNSET = "sunset";