/libcore/luni/src/main/java/java/sql/ |
Time.java | 216 * @param timeString 224 public static Time valueOf(String timeString) { 225 if (timeString == null) { 226 throw new IllegalArgumentException("timeString == null"); 228 int firstIndex = timeString.indexOf(':'); 229 int secondIndex = timeString.indexOf(':', firstIndex + 1); 236 || secondIndex + 1 == timeString.length()) { 240 int hour = Integer.parseInt(timeString.substring(0, firstIndex)); 241 int minute = Integer.parseInt(timeString.substring(firstIndex + 1, 243 int second = Integer.parseInt(timeString.substring(secondIndex + 1 [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
MediaFragmentURIParser.cpp | 197 bool MediaFragmentURIParser::parseNPTFragment(const LChar* timeString, unsigned length, double& startTime, double& endTime) 200 if (length >= nptIdentiferLength && timeString[0] == 'n' && timeString[1] == 'p' && timeString[2] == 't' && timeString[3] == ':') 209 if (timeString[offset] == ',') { 212 if (!parseNPTTime(timeString, length, offset, startTime)) 219 if (timeString[offset] != ',') 224 if (!parseNPTTime(timeString, length, offset, endTime)) 236 bool MediaFragmentURIParser::parseNPTTime(const LChar* timeString, unsigned length, unsigned& offset, double& time [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...] |
/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]);
|
/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/chromium_org/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/ |
common.js | 42 function parseTime(timeString, ampm) { 43 var time = timeString.match(/^(\d\d):(\d\d)$/); 45 throw 'Cannot parse: ' + timeString; 142 function speakPhraseWithTimeString(timeString) { 144 var utterance = phraseTemplate.replace(/\$TIME/g, timeString);
|
/external/icu/icu4c/source/i18n/unicode/ |
reldatefmt.h | 392 * @param timeString the time e.g '3:45' 400 const UnicodeString& timeString,
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
CalendarInteractionUtils.java | 66 String timeString = formatDateRange(context, startMillis, endMillis, 75 timeString); 79 timeString); 85 timeString);
|
/external/robolectric/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());
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
DateTimeEditor.java | 64 String timeString = HH_MM_SS.format(d); 65 timeButton.setText(timeString);
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/ |
sunspider | 123 my $timeString = strftime "%Y-%m-%d-%H.%M.%S", localtime $^T; 125 my $resultsFile = "$resultDirectory/sunspider-results-$timeString.js"; 210 my $profileFile = "$resultDirectory/sunspider-profile-$timeString.trace";
|
/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);
|
GenerateResults.java | [all...] |
/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/ |
AbstractResults.java | 220 buffer.append(Util.timeString(time-start));
|
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));
|
ConfigResults.java | 533 buffer.append(Util.timeString((long)this.current.getValue())); 537 buffer.append(Util.timeString((long)this.baseline.getValue()));
|
/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/DeskClock/src/com/android/deskclock/ |
Utils.java | 466 String timeString = null; 473 timeString = AlarmUtils.getFormattedTime(context, alarmTime); 475 return timeString;
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
GeeTestResultParser.java | 409 String timeString = time.group(2); // the "XX" in "(XX ms)" 412 returnInfo.mTestRunTime = timeString;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
AccountSyncSettings.java | 315 final String timeString = formatSyncDate(date); 316 description = getString(R.string.last_synced, timeString);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGAnimationElement.cpp | 61 String timeString = parseList[n]; 63 float time = timeString.toFloat(&ok);
|
/external/icu/icu4c/source/i18n/ |
reldatefmt.cpp | 613 const UnicodeString& relativeDateString, const UnicodeString& timeString, 615 Formattable args[2] = {timeString, relativeDateString};
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
RadialPickerLayout.java | [all...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
AccountSyncSettings.java | 430 final String timeString = formatSyncDate(date); 431 syncPref.setSummary(getResources().getString(R.string.last_synced, timeString));
|
ManageAccountsSettings.java | 318 final String timeString = formatSyncDate(date); 320 R.string.last_synced, timeString));
|