/packages/apps/Calendar/src/com/android/calendar/widget/ |
CalendarAppWidgetModel.java | 408 long millis = recycle.setJulianDay(julianDay); local 414 Utils.formatDateRange(mContext, millis, millis, flags).toString()); 417 label = Utils.formatDateRange(mContext, millis, millis, flags);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
DatePickerDialog.java | 288 long millis = mCalendar.getTimeInMillis(); local 308 String dayString = DateUtils.formatDateTime(getActivity(), millis, flags); 327 CharSequence yearString = YEAR_FORMAT.format(millis); 346 long millis = mCalendar.getTimeInMillis(); local 347 mAnimator.setDateMillis(millis); 349 String monthAndDayText = DateUtils.formatDateTime(getActivity(), millis, flags); 354 String fullDateText = DateUtils.formatDateTime(getActivity(), millis, flags);
|
/packages/apps/Calendar/src/com/android/calendar/ |
Utils.java | 530 long millis = intent.getLongExtra(EXTRA_EVENT_BEGIN_TIME, -1); local 531 if (millis == -1 && data != null && data.isHierarchical()) { 535 millis = Long.valueOf(data.getLastPathSegment()); 542 if (millis <= 0) { 543 millis = System.currentTimeMillis(); 545 return millis; 558 long millis = time.toMillis(true); local 559 return formatDateRange(context, millis, millis, flags); [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
olsontz.cpp | 234 // Compute the millis for Jan 1, 0:00 GMT of the finalYear 331 int32_t millis, UErrorCode& ec) const { 338 return getOffset(era, year, month, dom, dow, millis, 349 int32_t millis, int32_t monthLength, 362 || millis < 0 363 || millis >= U_MILLIS_PER_DAY 376 millis, monthLength, ec); 379 // Compute local epoch millis from input fields 380 UDate date = (UDate)(Grego::fieldsToDay(year, month, dom) * U_MILLIS_PER_DAY + millis); 439 double millis=0 local [all...] |
chnsecal.h | 185 double millisToDays(double millis) const;
|
/external/icu/icu4c/source/i18n/ |
olsontz.cpp | 234 // Compute the millis for Jan 1, 0:00 GMT of the finalYear 331 int32_t millis, UErrorCode& ec) const { 338 return getOffset(era, year, month, dom, dow, millis, 349 int32_t millis, int32_t monthLength, 362 || millis < 0 363 || millis >= U_MILLIS_PER_DAY 376 millis, monthLength, ec); 379 // Compute local epoch millis from input fields 380 UDate date = (UDate)(Grego::fieldsToDay(year, month, dom) * U_MILLIS_PER_DAY + millis); 439 double millis=0 local [all...] |
chnsecal.h | 185 double millisToDays(double millis) const;
|
/frameworks/base/keystore/java/android/security/ |
KeyStore.java | 290 final long millis = mBinder.getmtime(key); local 291 if (millis == -1L) { 295 return millis * 1000L;
|
/external/arduino/hardware/arduino/cores/arduino/ |
wiring.h | 118 unsigned long millis(void);
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
utmstest.c | 452 int64_t ticks, millis; local 467 millis = utmscale_toInt64(dt->ticks, UDTS_ICU4C_TIME, &errorCode); 471 if(millis != icuDate) { 472 /* Print days not millis to stay within printf() range. */ 474 (int)i, (int)(millis/dayMillis), (int)(icuDate/dayMillis), (int)dt->year, (int)dt->month, (int)dt->day);
|
/external/chromium_org/third_party/icu/source/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...] |
/external/icu/icu4c/source/test/cintltst/ |
utmstest.c | 452 int64_t ticks, millis; local 467 millis = utmscale_toInt64(dt->ticks, UDTS_ICU4C_TIME, &errorCode); 471 if(millis != icuDate) { 472 /* Print days not millis to stay within printf() range. */ 474 (int)i, (int)(millis/dayMillis), (int)(icuDate/dayMillis), (int)dt->year, (int)dt->month, (int)dt->day);
|
/external/icu/icu4c/source/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);
|
/external/chromium_org/third_party/icu/source/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 +
|
/external/icu/icu4c/source/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 +
|
/external/mockito/src/org/mockito/ |
Mockito.java | [all...] |
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
Benchmark.java | 153 private void sleep(int millis) { 155 Thread.sleep(millis);
|
/frameworks/base/libs/usb/tests/accessorytest/ |
usb.c | 37 static void milli_sleep(int millis) { 41 tm.tv_nsec = millis * 1000000;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
DozeLog.java | 149 public static void traceProximityResult(boolean near, long millis, int pulseReason) { 152 + " millis=" + millis);
|
/frameworks/base/services/core/java/com/android/server/ |
DropBoxManagerService.java | 278 public synchronized DropBoxManager.Entry getNextEntry(String tag, long millis) { 294 for (EntryFile entry : list.contents.tailSet(new EntryFile(millis + 1))) { 569 long millis; local 570 try { millis = Long.valueOf(name); } catch (NumberFormatException e) { millis = 0; } 571 this.timestampMillis = millis; 578 public EntryFile(long millis) { 580 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));
|