/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/srt/ |
SrtParser.java | 34 String timeString = r.readLine(); 41 long startTime = parse(timeString.split("-->")[0]); 42 long endTime = parse(timeString.split("-->")[1]);
|
/external/apache-http/android/src/android/net/http/ |
LegacyHttpDateTime.java | 85 public static long parse(String timeString) 93 Matcher rfcMatcher = HTTP_DATE_RFC_PATTERN.matcher(timeString); 100 Matcher ansicMatcher = HTTP_DATE_ANSIC_PATTERN.matcher(timeString); 206 private static TimeOfDay getTime(String timeString) { 209 int hour = timeString.charAt(i++) - '0'; 210 if (timeString.charAt(i) != ':') 211 hour = hour * 10 + (timeString.charAt(i++) - '0'); 215 int minute = (timeString.charAt(i++) - '0') * 10 216 + (timeString.charAt(i++) - '0'); 220 int second = (timeString.charAt(i++) - '0') * 1 [all...] |
/frameworks/base/core/java/com/android/internal/http/ |
HttpDateTime.java | 85 public static long parse(String timeString) 93 Matcher rfcMatcher = HTTP_DATE_RFC_PATTERN.matcher(timeString); 100 Matcher ansicMatcher = HTTP_DATE_ANSIC_PATTERN.matcher(timeString); 206 private static TimeOfDay getTime(String timeString) { 209 int hour = timeString.charAt(i++) - '0'; 210 if (timeString.charAt(i) != ':') 211 hour = hour * 10 + (timeString.charAt(i++) - '0'); 215 int minute = (timeString.charAt(i++) - '0') * 10 216 + (timeString.charAt(i++) - '0'); 220 int second = (timeString.charAt(i++) - '0') * 1 [all...] |
/frameworks/ex/common/java/com/android/common/ |
LegacyHttpDateTime.java | 85 public static long parse(String timeString) 93 Matcher rfcMatcher = HTTP_DATE_RFC_PATTERN.matcher(timeString); 100 Matcher ansicMatcher = HTTP_DATE_ANSIC_PATTERN.matcher(timeString); 206 private static TimeOfDay getTime(String timeString) { 209 int hour = timeString.charAt(i++) - '0'; 210 if (timeString.charAt(i) != ':') 211 hour = hour * 10 + (timeString.charAt(i++) - '0'); 215 int minute = (timeString.charAt(i++) - '0') * 10 216 + (timeString.charAt(i++) - '0'); 220 int second = (timeString.charAt(i++) - '0') * 1 [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
SplitClockView.java | 93 String timeString; 96 timeString = formatString; 99 timeString = formatString.substring(0, index); 102 mTimeView.setFormat12Hour(timeString); 103 mTimeView.setFormat24Hour(timeString);
|
/external/dng_sdk/source/ |
dng_iptc.cpp | 829 dng_string timeString = fDateTimeCreated.Encode_IPTC_Time (); 831 if (timeString.NotEmpty ()) 837 stream.Put_uint16 ((uint16)timeString.Length ()); 839 stream.Put (timeString.Get (), timeString.Length ()); 864 dng_string timeString = fDigitalCreationDateTime.Encode_IPTC_Time (); 866 if (timeString.NotEmpty ()) 872 stream.Put_uint16 ((uint16)timeString.Length ()); 874 stream.Put (timeString.Get (), timeString.Length ()) [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
BatteryInfo.java | 88 String timeString = context.getString(R.string.charge_length_format, 95 view.setBottomLabels(new CharSequence[]{timeString, remaining}); 142 String timeString = Formatter.formatShortElapsedTime(context, 147 timeString); 151 info.batteryPercentString, timeString); 165 String timeString = Formatter.formatShortElapsedTime(context, 183 timeString); 185 resId, info.batteryPercentString, timeString);
|
/hardware/bsp/intel/peripheral/libupm/examples/python/ |
tm1637.py | 47 timeString = time.strftime("%H%M", time.localtime(time.time())) 48 display.write(timeString)
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
CalendarInteractionUtils.java | 66 String timeString = formatDateRange(context, startMillis, endMillis, 75 timeString); 79 timeString); 85 timeString);
|
/packages/apps/TV/src/com/android/tv/dialog/ |
RecentlyWatchedDialogFragment.java | 91 CharSequence timeString = DateUtils.getRelativeTimeSpanString(time, 93 ((TextView) view).setText(String.valueOf(timeString));
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/languages/ |
Test_hi.java | 64 xAssertEquals(timestring(times[i]), targets, i, pf.format(times[i]));
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/languages/ |
Test_hi.java | 60 xAssertEquals(timestring(times[i]), targets, i, pf.format(times[i]));
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTime.java | 189 public boolean parse(String timeString) { 191 if (timeString.endsWith("Z")) { 192 timeString = timeString.substring(0, timeString.length() - 1); 203 set(df.parse(timeString).getTime()); 206 set(dfShort.parse(timeString).getTime());
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
FingerPrintGraph.java | 256 graphArea.addArea(rec, "Time for baseline build "+baselineBuildResults.getName()+": "+Util.timeString((long)baselineValue)); 269 tooltip.append(Util.timeString((long)baselineValue)); 271 tooltip.append(Util.timeString((long)baselineError)); 296 String tooltip = "Time for current build "+currentBuildResults.getName()+": "+Util.timeString((long)currentValue); 316 tooltip.append(Util.timeString((long)currentValue)); 318 tooltip.append(Util.timeString((long)currentError)); 445 String val= Util.timeString(value); 478 String str = Util.timeString(value);
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
DateTimeEditor.java | 64 String timeString = HH_MM_SS.format(d); 65 timeButton.setText(timeString);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/ |
ScenarioResults.java | 286 print(timeString(System.currentTimeMillis()-start)); 297 println(timeString(System.currentTimeMillis()-start)); 382 print(Util.timeString(System.currentTimeMillis()-start)); 393 println(Util.timeString(System.currentTimeMillis()-start));
|
AbstractResults.java | 220 buffer.append(Util.timeString(time-start));
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
CurrencyTest.java | 550 String timeString = test[1]; 552 if (timeString == null) { 554 timeString = "today"; 557 date = fmt.parse(timeString); 559 fail("could not parse date: " + timeString); 579 assertEquals(locale + " on " + timeString, expectedSet, actualSet);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
CurrencyTest.java | 546 String timeString = test[1]; 548 if (timeString == null) { 550 timeString = "today"; 553 date = fmt.parse(timeString); 555 fail("could not parse date: " + timeString); 575 assertEquals(locale + " on " + timeString, expectedSet, actualSet);
|
/external/icu/icu4c/source/i18n/unicode/ |
reldatefmt.h | 443 * @param timeString the time e.g '3:45' 451 const UnicodeString& timeString,
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
TrackerService.java | 216 String timeString = getPreferences().getString(MIN_TIME_PREF, "0"); 217 long secondsTime = Long.valueOf(timeString);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
AccountSyncFragment.java | 321 final String timeString = DateUtils.formatDateTime(getActivity(), successEndTime, 323 syncPref.setSummary(getResources().getString(R.string.last_synced, timeString));
|
/external/icu/icu4c/source/i18n/ |
reldatefmt.cpp | 827 const UnicodeString& relativeDateString, const UnicodeString& timeString, 829 Formattable args[2] = {timeString, relativeDateString};
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
AccountSyncSettings.java | 471 final String timeString = formatSyncDate(date); 472 syncPref.setSummary(getResources().getString(R.string.last_synced, timeString));
|
ManageAccountsSettings.java | 326 final String timeString = formatSyncDate(date); 328 R.string.last_synced, timeString));
|