/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
DatePickerDialog.java | 281 long millis = mCalendar.getTimeInMillis(); local 301 String dayString = DateUtils.formatDateTime(getActivity(), millis, flags); 320 CharSequence yearString = YEAR_FORMAT.format(millis); 339 long millis = mCalendar.getTimeInMillis(); local 340 mAnimator.setDateMillis(millis); 342 String monthAndDayText = DateUtils.formatDateTime(getActivity(), millis, flags); 347 String fullDateText = DateUtils.formatDateTime(getActivity(), millis, flags);
|
/packages/apps/Calendar/src/com/android/calendar/ |
Utils.java | 522 long millis = intent.getLongExtra(EXTRA_EVENT_BEGIN_TIME, -1); local 523 if (millis == -1 && data != null && data.isHierarchical()) { 527 millis = Long.valueOf(data.getLastPathSegment()); 534 if (millis <= 0) { 535 millis = System.currentTimeMillis(); 537 return millis; 550 long millis = time.toMillis(true); local 551 return formatDateRange(context, millis, millis, flags); [all...] |
/external/icu4c/i18n/ |
olsontz.cpp | 233 // Compute the millis for Jan 1, 0:00 GMT of the finalYear 330 int32_t millis, UErrorCode& ec) const { 337 return getOffset(era, year, month, dom, dow, millis, 348 int32_t millis, int32_t monthLength, 361 || millis < 0 362 || millis >= U_MILLIS_PER_DAY 375 millis, monthLength, ec); 378 // Compute local epoch millis from input fields 379 UDate date = (UDate)(Grego::fieldsToDay(year, month, dom) * U_MILLIS_PER_DAY + millis); 438 double millis=0 local [all...] |
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
SmartDialCache.java | 222 final String millis = String.valueOf(System.currentTimeMillis()); local 226 null, new String[] {millis, millis},
|
/external/arduino/hardware/arduino/cores/arduino/ |
wiring.h | 118 unsigned long millis(void);
|
wiring.c | 63 unsigned long millis() function 175 // resulting in different millis() behavior on the ATmega8 and ATmega168)
|
/external/chromium/third_party/libjingle/source/talk/base/ |
thread.h | 130 static bool SleepMs(int millis);
|
/external/icu4c/test/cintltst/ |
utmstest.c | 450 int64_t ticks, millis; local 465 millis = utmscale_toInt64(dt->ticks, UDTS_ICU4C_TIME, &errorCode); 469 if(millis != icuDate) { 470 /* Print days not millis to stay within printf() range. */ 472 (int)i, (int)(millis/dayMillis), (int)(icuDate/dayMillis), (int)dt->year, (int)dt->month, (int)dt->day);
|
/external/icu4c/test/intltest/ |
dadrcal.cpp | 75 UnicodeString kMILLIS("MILLIS="); // TODO: static 136 UnicodeString millis = UnicodeString(from, kMILLIS.length()); local 138 fromDate = udbg_stod(millis); 187 UnicodeString millis = UnicodeString(to, kMILLIS.length()); local 189 toDate = udbg_stod(millis);
|
tzregts.cpp | 358 // the MILLSECOND field; you need to pass in the millis in the day in STANDARD 360 UDate millis = testCal->get(UCAL_MILLISECOND, status) + local 366 /* Fix up millis to be in range. ASSUME THAT WE ARE NOT AT THE 373 while(millis < 0) { 374 millis += U_MILLIS_PER_DAY; 378 while (millis >= U_MILLIS_PER_DAY) { 379 millis -= U_MILLIS_PER_DAY; 389 (int32_t)millis, 420 " " + millis/(float)3600000 + " " + 446 * (2) Use the right millis (as usual) for getOffset(); they were passin 474 int32_t millis = cal->get(UCAL_MILLISECOND, status) + local [all...] |
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleDayPickerFragment.java | 354 * Returns the UTC millis since epoch representation of the currently 400 long millis = mTempTime.normalize(true); local 404 Time.getJulianDay(millis, mTempTime.gmtoff), mFirstDayOfWeek); 445 millis = mFirstDayOfMonth.normalize(true); 448 Time.getJulianDay(millis, mFirstDayOfMonth.gmtoff), mFirstDayOfWeek);
|
SimpleWeeksAdapter.java | 167 long millis = mSelectedDay.normalize(true); local 169 Time.getJulianDay(millis, mSelectedDay.gmtoff), mFirstDayOfWeek);
|
SimpleWeekView.java | 537 Long millis = hover.toMillis(true); local 538 String date = Utils.formatDateRange(context, millis, millis,
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_posix.cc | 209 void SleepForMillis(int millis) { 210 usleep(millis * 1000);
|
sanitizer_win.cc | 185 void SleepForMillis(int millis) { 186 Sleep(millis);
|
/external/icu4c/i18n/unicode/ |
vtzone.h | 207 * @param millis The reference date's milliseconds in day, local standard time 213 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const; 228 * @param millis The reference date's milliseconds in day, local standard time 235 uint8_t dayOfWeek, int32_t millis, 240 * in time. Upon return, local-millis = GMT-millis + rawOffset +
|
gregocal.h | 724 * @param millis The given milliseconds. 727 static double millisToJulianDay(UDate millis); [all...] |
timezone.h | 398 * @param millis The reference date's milliseconds in day, local standard time 404 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const = 0; 420 * @param milliseconds the millis in day in <em>standard</em> local time. 432 * in time. Upon return, local-millis = GMT-millis + rawOffset + [all...] |
/external/mockito/src/org/mockito/ |
Mockito.java | [all...] |
/frameworks/base/services/java/com/android/server/ |
DropBoxManagerService.java | 272 public synchronized DropBoxManager.Entry getNextEntry(String tag, long millis) { 288 for (EntryFile entry : list.contents.tailSet(new EntryFile(millis + 1))) { 558 long millis; local 559 try { millis = Long.valueOf(name); } catch (NumberFormatException e) { millis = 0; } 560 this.timestampMillis = millis; 567 public EntryFile(long millis) { 569 this.timestampMillis = millis;
|
/frameworks/volley/tests/src/com/android/volley/toolbox/ |
HttpHeaderParserTest.java | 164 private static String rfc1123Date(long millis) { 166 return df.format(new Date(millis));
|
/libcore/luni/src/main/java/libcore/util/ |
ZoneInfo.java | 176 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int millis) { 196 calc += millis;
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmKlaxon.java | 146 long millis = System.currentTimeMillis() - mStartTime; local 147 int minutes = (int) Math.round(millis / (double)DateUtils.MINUTE_IN_MILLIS);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
TimeBar.java | 250 protected String stringForTime(long millis) { 251 int totalSeconds = (int) millis / 1000;
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateUtilsTest.java | 278 private String formatFull(long millis) { 284 DateUtils.formatDateRange(null, formatter, millis, millis, flags, "UTC");
|