Searched refs:sunset (Results 1 – 8 of 8) sorted by relevance
67 public long sunset; field in TwilightCalculator118 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()
149 final long yesterdaySunset = calculator.sunset; in updateState()155 final long todaySunset = calculator.sunset; in updateState()
67 public Calendar sunset() { in sunset() method in TwilightState68 final Calendar sunset = Calendar.getInstance(); in sunset() local69 sunset.setTimeInMillis(mSunsetTimeMillis); in sunset()70 return sunset; in sunset()
567 final Calendar sunset = state.sunset(); in updateActivated() local571 && (lastActivatedTime.after(sunrise) ^ lastActivatedTime.after(sunset))) { in updateActivated()
984 final LocalTime sunset = getLocalTimeRelativeToNow(sunsetOffset); in getTwilightStateRelativeToNow() local988 long sunsetMillis = sunset.getDateTimeBefore(now).getTimeInMillis(); in getTwilightStateRelativeToNow()991 sunsetMillis = sunset.getDateTimeAfter(now).getTimeInMillis(); in getTwilightStateRelativeToNow()
12313 field public static final java.lang.String SCENE_MODE_SUNSET = "sunset";
14655 field public static final java.lang.String SCENE_MODE_SUNSET = "sunset";
15435 field public static final java.lang.String SCENE_MODE_SUNSET = "sunset";