Home
last modified time | relevance | path

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

/external/proguard/src/proguard/gui/splash/
DLinearTiming.java30 private final long fromTime; field in LinearTiming
39 public LinearTiming(long fromTime, long toTime) in LinearTiming() argument
41 this.fromTime = fromTime; in LinearTiming()
51 return time <= fromTime ? 0.0 : in getTiming()
53 (double)(time - fromTime) / (double)(toTime - fromTime); in getTiming()
DSmoothTiming.java30 private final long fromTime; field in SmoothTiming
39 public SmoothTiming(long fromTime, long toTime) in SmoothTiming() argument
41 this.fromTime = fromTime; in SmoothTiming()
50 if (time <= fromTime) in getTiming()
61 double timing = (double) (time - fromTime) / (double) (toTime - fromTime); in getTiming()
/external/icu/icu4c/source/test/intltest/
Ddtifmtts.cpp160 LocalPointer<Calendar> fromTime(Calendar::createInstance(enLocale, status)); in testAPI() local
167 fromTime->set(2013, 3, 26); in testAPI()
169 dif->format(*fromTime, *toTime, expected, pos, status); in testAPI()
192 dif->format(*fromTime, *toTime, actual, pos, status); in testAPI()
1184 LocalPointer<Calendar> fromTime(Calendar::createInstance(enLocale, status)); in testYearFormats() local
1192 fromTime->set(113, 3, 26); in testYearFormats()
1204 dif->format(*fromTime, *toTime, actual, pos, status); in testYearFormats()
1222 dif->format(*fromTime, *toTime, actual, pos, status); in testYearFormats()
1240 dif->format(*fromTime, *toTime, actual, pos, status); in testYearFormats()
Ddadrcal.cpp322 UDate fromTime = fromCalendar->getTime(status); in testConvert() local
343 toCalendar->setTime(fromTime, status); in testConvert()
356 fmt.format(fromTime, fromString); in testConvert()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DDataDrivenCalendarTest.java100 Date fromTime = fromCalendar.getTime(); in testConvert() local
113 toCalendar.setTime(fromTime); in testConvert()
120 String fromString = fmt.format(fromTime); in testConvert()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DDataDrivenCalendarTest.java101 Date fromTime = fromCalendar.getTime(); in testConvert() local
114 toCalendar.setTime(fromTime); in testConvert()
121 String fromString = fmt.format(fromTime); in testConvert()