Searched refs:sunrise (Results 1 – 5 of 5) sorted by relevance
73 public long sunrise; field in TwilightCalculator119 sunrise = -1; in calculateTwilight()124 sunrise = -1; in calculateTwilight()131 sunrise = Math.round((solarTransitJ2000 - hourAngle) * DateUtils.DAY_IN_MILLIS) + UTC_2000; in calculateTwilight()133 if (sunrise < time && sunset > time) { in calculateTwilight()
154 final long todaySunrise = calculator.sunrise; in updateState()160 final long tomorrowSunrise = calculator.sunrise; in updateState()
50 public Calendar sunrise() { in sunrise() method in TwilightState51 final Calendar sunrise = Calendar.getInstance(); in sunrise() local52 sunrise.setTimeInMillis(mSunriseTimeMillis); in sunrise()53 return sunrise; in sunrise()
566 final Calendar sunrise = state.sunrise(); in updateActivated() local571 && (lastActivatedTime.after(sunrise) ^ lastActivatedTime.after(sunset))) { in updateActivated()
985 final LocalTime sunrise = getLocalTimeRelativeToNow(sunriseOffset); in getTwilightStateRelativeToNow() local989 long sunriseMillis = sunrise.getDateTimeBefore(now).getTimeInMillis(); in getTwilightStateRelativeToNow()993 sunriseMillis = sunrise.getDateTimeAfter(now).getTimeInMillis(); in getTwilightStateRelativeToNow()