Searched refs:calculator (Results 1 – 6 of 6) sorted by relevance
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 …]
126 final TwilightCalculator calculator = TwilightCalculator.getInstance(); in updateState() local129 calculator.calculateTwilight(now - DateUtils.DAY_IN_MILLIS, in updateState()131 final long yesterdaySunset = calculator.sunset; in updateState()134 calculator.calculateTwilight(now, location.getLatitude(), location.getLongitude()); in updateState()135 final boolean isNight = (calculator.state == TwilightCalculator.NIGHT); in updateState()136 final long todaySunrise = calculator.sunrise; in updateState()137 final long todaySunset = calculator.sunset; in updateState()140 calculator.calculateTwilight(now + DateUtils.DAY_IN_MILLIS, in updateState()142 final long tomorrowSunrise = calculator.sunrise; in updateState()
1559 final View calculator; in calculateWidth() local1564 calculator = mIconOnlyViewCalculator; in calculateWidth()1567 calculator = mStringTitleViewCalculator; in calculateWidth()1569 calculator.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED); in calculateWidth()1570 return calculator.getMeasuredWidth(); in calculateWidth()
409 only interested in testing the calculator app, and don't care about the launcher.</p>415 // Launch a simple calculator app490 <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>