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/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.java103 Date fromTime = fromCalendar.getTime(); in testConvert() local
116 toCalendar.setTime(fromTime); in testConvert()
123 String fromString = fmt.format(fromTime); in testConvert()
/external/icu/icu4c/source/test/intltest/
Ddtifmtts.cpp167 LocalPointer<Calendar> fromTime(Calendar::createInstance(enLocale, status)); in testAPI() local
174 fromTime->set(2013, 3, 26); in testAPI()
176 dif->format(*fromTime, *toTime, expected, pos, status); in testAPI()
199 dif->format(*fromTime, *toTime, actual, pos, status); in testAPI()
1407 LocalPointer<Calendar> fromTime(Calendar::createInstance(enLocale, status)); in testYearFormats() local
1415 fromTime->set(113, 3, 26); in testYearFormats()
1427 dif->format(*fromTime, *toTime, actual, pos, status); in testYearFormats()
1445 dif->format(*fromTime, *toTime, actual, pos, status); in testYearFormats()
1463 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()