Home
last modified time | relevance | path

Searched refs:timeString (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/http/
DHttpDateTime.java85 public static long parse(String timeString) in parse() argument
93 Matcher rfcMatcher = HTTP_DATE_RFC_PATTERN.matcher(timeString); in parse()
100 Matcher ansicMatcher = HTTP_DATE_ANSIC_PATTERN.matcher(timeString); in parse()
206 private static TimeOfDay getTime(String timeString) { in getTime() argument
209 int hour = timeString.charAt(i++) - '0'; in getTime()
210 if (timeString.charAt(i) != ':') in getTime()
211 hour = hour * 10 + (timeString.charAt(i++) - '0'); in getTime()
215 int minute = (timeString.charAt(i++) - '0') * 10 in getTime()
216 + (timeString.charAt(i++) - '0'); in getTime()
220 int second = (timeString.charAt(i++) - '0') * 10 in getTime()
[all …]
/frameworks/ex/common/java/com/android/common/
DLegacyHttpDateTime.java85 public static long parse(String timeString) in parse() argument
93 Matcher rfcMatcher = HTTP_DATE_RFC_PATTERN.matcher(timeString); in parse()
100 Matcher ansicMatcher = HTTP_DATE_ANSIC_PATTERN.matcher(timeString); in parse()
206 private static TimeOfDay getTime(String timeString) { in getTime() argument
209 int hour = timeString.charAt(i++) - '0'; in getTime()
210 if (timeString.charAt(i) != ':') in getTime()
211 hour = hour * 10 + (timeString.charAt(i++) - '0'); in getTime()
215 int minute = (timeString.charAt(i++) - '0') * 10 in getTime()
216 + (timeString.charAt(i++) - '0'); in getTime()
220 int second = (timeString.charAt(i++) - '0') * 10 in getTime()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSplitClockView.java93 String timeString; in updatePatterns() local
96 timeString = formatString; in updatePatterns()
99 timeString = formatString.substring(0, index); in updatePatterns()
102 mTimeView.setFormat12Hour(timeString); in updatePatterns()
103 mTimeView.setFormat24Hour(timeString); in updatePatterns()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java216 String timeString = getPreferences().getString(MIN_TIME_PREF, "0"); in getLocationUpdateTime() local
217 long secondsTime = Long.valueOf(timeString); in getLocationUpdateTime()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialPickerLayout.java765 String timeString = DateUtils.formatDateTime(getContext(), millis, flags); in dispatchPopulateAccessibilityEvent() local
766 event.getText().add(timeString); in dispatchPopulateAccessibilityEvent()