Home
last modified time | relevance | path

Searched refs:calculator (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/text/format/
DTime.java164 private TimeCalculator calculator; field in Time
208 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 …]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DTwilightManager.java126 final TwilightCalculator calculator = TwilightCalculator.getInstance(); in updateState() local
129 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()
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java1559 final View calculator; in calculateWidth() local
1564 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()
/frameworks/base/docs/html/training/testing/ui-testing/
Duiautomator-testing.jd409 only interested in testing the calculator app, and don't care about the launcher.</p>
415 // Launch a simple calculator app
490 <p>The following snippet shows how your test can locate several buttons in a calculator app, click
/frameworks/base/docs/html/guide/topics/data/
Ddata-storage.jd111 calculator:
/frameworks/base/docs/html/ndk/reference/
Dgroup___input.jd1877 <p>Calculator special function key. Used to launch a calculator application. </p>