Searched refs:calculator (Results 1 – 3 of 3) 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 …]
149 final TwilightCalculator calculator = TwilightCalculator.getInstance(); in updateState() local152 calculator.calculateTwilight(now - DateUtils.DAY_IN_MILLIS, in updateState()154 final long yesterdaySunset = calculator.sunset; in updateState()157 calculator.calculateTwilight(now, location.getLatitude(), location.getLongitude()); in updateState()158 final boolean isNight = (calculator.state == TwilightCalculator.NIGHT); in updateState()159 final long todaySunrise = calculator.sunrise; in updateState()160 final long todaySunset = calculator.sunset; in updateState()163 calculator.calculateTwilight(now + DateUtils.DAY_IN_MILLIS, in updateState()165 final long tomorrowSunrise = calculator.sunrise; in updateState()
176 float minContrastRatio, ContrastCalculator calculator) { in binaryAlphaSearch() argument186 final double testRatio = calculator.calculateContrast(foreground, background, in binaryAlphaSearch()