Searched refs:calculator (Results 1 – 5 of 5) sorted by relevance
130 final TwilightCalculator calculator = TwilightCalculator.getInstance(); in updateState() local133 calculator.calculateTwilight(now - DateUtils.DAY_IN_MILLIS, in updateState()135 final long yesterdaySunset = calculator.sunset; in updateState()138 calculator.calculateTwilight(now, location.getLatitude(), location.getLongitude()); in updateState()139 final boolean isNight = (calculator.state == TwilightCalculator.NIGHT); in updateState()140 final long todaySunrise = calculator.sunrise; in updateState()141 final long todaySunset = calculator.sunset; in updateState()144 calculator.calculateTwilight(now + DateUtils.DAY_IN_MILLIS, in updateState()146 final long tomorrowSunrise = calculator.sunrise; in updateState()
164 private TimeCalculator calculator; field in Time208 calculator = new TimeCalculator(timezoneId); in initialize()230 calculator.copyFieldsFromTime(this); in normalize()231 long timeInMillis = calculator.toMillis(ignoreDst); in normalize()232 calculator.copyFieldsToTime(this); in normalize()244 calculator.copyFieldsFromTime(this); in switchTimezone()245 calculator.switchTimeZone(timezone); in switchTimezone()246 calculator.copyFieldsToTime(this); in switchTimezone()342 a.calculator.copyFieldsFromTime(a); in compare()343 b.calculator.copyFieldsFromTime(b); in compare()[all …]
387 only interested in testing the calculator app, and don't care about the launcher.</p>393 // Launch a simple calculator app468 <p>The following snippet shows how your test can locate several buttons in a calculator app, click
111 calculator:
1877 <p>Calculator special function key. Used to launch a calculator application. </p>