Lines Matching refs:tw
750 TwilightCalculator tw = new TwilightCalculator();
751 tw.calculateTwilight(currentTime,
753 if (tw.mState == TwilightCalculator.DAY) {
761 if (tw.mSunrise == -1 || tw.mSunset == -1) {
765 final int mLastTwilightState = tw.mState;
768 if (currentTime > tw.mSunset) {
770 tw.calculateTwilight(currentTime
776 nextUpdate += tw.mSunrise;
778 nextUpdate += tw.mSunset;