HomeSort by relevance Sort by last modified time
    Searched refs:timeString (Results 1 - 25 of 46) sorted by null

1 2

  /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]);
  /packages/apps/DeskClock/src/com/android/deskclock/alarms/
AlarmNotifications.java 41 String timeString = "";
44 timeString = AlarmUtils.getFormattedTime(context, instance.getAlarmTime());
49 Log.i("Displaying next alarm time: \'" + timeString + '\'');
52 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/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/chromium_org/third_party/icu/source/i18n/
reldtfmt.cpp 144 UnicodeString timeString(&emptyStr);
146 fTimeFormat->format(cal,timeString,timepos);
147 Formattable timeDateStrings[] = { timeString, dateString };
154 } else if (timepos.getEndIndex() > 0 && (offset = appendTo.indexOf(timeString)) >= 0) {
155 // pos.field was found in timeString, offset start & end based on final position of timeString
  /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...]
  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmTimelineView.java 337 final String timeString = mDateFormat.format(date).toUpperCase();
341 canvas.drawText(timeString, xLeft, y + mAlarmTextSize / 3, mPaint);
344 canvas.drawText(timeString, xRight, y + mAlarmTextSize / 3, mPaint);
  /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);
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
GeeTestResultParser.java 408 String timeString = time.group(2); // the "XX" in "(XX ms)"
411 returnInfo.mTestRunTime = timeString;
  /packages/apps/Settings/src/com/android/settings/accounts/
ManageAccountsSettings.java 285 final String timeString = formatSyncDate(date);
287 R.string.last_synced, timeString));
AccountSyncSettings.java 413 final String timeString = formatSyncDate(date);
414 syncPref.setSummary(getResources().getString(R.string.last_synced, timeString));
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGAnimationElement.cpp 72 String timeString = parseList[n];
74 float time = timeString.toFloat(&ok);
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
RadialPickerLayout.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/utils/
Util.java 483 public static String timeString(long time) {
  /packages/apps/Calendar/src/com/android/calendar/
Utils.java     [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
CalendarTest.java     [all...]

Completed in 611 milliseconds

1 2