HomeSort by relevance Sort by last modified time
    Searched refs:toMillis (Results 26 - 50 of 112) sorted by null

12 3 4 5

  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterKMeans.java 34 mSeed = (int) t.toMillis(false);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowTime.java 67 long millis = time.toMillis(true);
117 public long toMillis(boolean ignoreDst) {
167 long ams = a.toMillis(false);
168 long bms = b.toMillis(false);
218 return strftime.format(new Date(toMillis(false)));
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarSyncTestingBase.java 278 mDtstart = time.toMillis(false /* use isDst */);
280 mDtend = time.toMillis(false /* use isDst */);
310 mDtstart = time.toMillis(false /* use isDst */);
313 mDtend = time.toMillis(false /* use isDst */);
342 mOriginalInstance = time.toMillis(false /* use isDst */);
  /packages/apps/Calendar/src/com/android/calendar/
CalendarController.java 475 startMillis = event.startTime.toMillis(false);
479 if (event.selectedTime != null && event.selectedTime.toMillis(false) != 0) {
485 long mtimeMillis = mTime.toMillis(false);
487 || (event.endTime != null && mtimeMillis > event.endTime.toMillis(false))) {
598 long endTime = (event.endTime == null) ? -1 : event.endTime.toMillis(false);
600 launchCreateEvent(event.startTime.toMillis(false), endTime,
605 launchViewEvent(event.id, event.startTime.toMillis(false), endTime,
609 launchEditEvent(event.id, event.startTime.toMillis(false), endTime, true);
612 launchEditEvent(event.id, event.startTime.toMillis(false), endTime, false);
615 launchDeleteEvent(event.id, event.startTime.toMillis(false), endTime)
    [all...]
AllInOneActivity.java 779 this, EventType.CREATE_EVENT, -1, t.toMillis(true), 0, 0, 0, -1);
    [all...]
  /frameworks/base/core/tests/coretests/src/android/text/format/
TimeTest.java 206 long millis = local.toMillis(true /* ignore isDst */);
216 "day test index " + index + ", toMillis(): expected local " + expectedTime
251 long millis = local.toMillis(false /* use isDst */);
263 "minute test index " + index + ", toMillis(): expected local " + expectedTime
335 long r = t.toMillis(true /* ignore isDst */);
338 r = t.toMillis(true /* ignore isDst */);
346 long r = t.toMillis(true /* ignore isDst */);
596 millis = time.toMillis(false);
  /frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
RecurrenceProcessorTest.java 109 long[] out = rp.expand(dtstart, recur, rangeStart.toMillis(false /* use isDst */),
110 rangeEnd.toMillis(false /* use isDst */));
153 lastMillis = outCal.toMillis(true /* ignore isDst */);
158 expectedMillis = expectedLast.toMillis(true /* ignore isDst */);
    [all...]
RRuleTest.java 118 long[] out = rp.expand(dtstart, recur, rangeStart.toMillis(false /* use isDst */),
119 rangeEnd.toMillis(false /* use isDst */));
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
TimeTest.java 19 assertThat(t.toMillis(false), not(equalTo(0l)));
106 assertEquals(86400 * 1000, t.toMillis(false));
233 millis = time.toMillis(false);
  /external/apache-http/src/org/apache/http/impl/conn/
IdleConnectionHandler.java 184 this.timeExpires = now + validUnit.toMillis(validDuration);
SingleClientConnManager.java 329 connectionExpiresTime = timeUnit.toMillis(validDuration) + lastReleaseTime;
353 System.currentTimeMillis() - tunit.toMillis(idletime);
  /frameworks/opt/telephony/src/java/android/telephony/
SmsCbEtwsInfo.java 166 return time.toMillis(true) - timezoneOffset * 15 * 60 * 1000;
  /external/okhttp/src/main/java/com/squareup/okhttp/
OkHttpClient.java 83 long millis = unit.toMillis(timeout);
107 long millis = unit.toMillis(timeout);
  /frameworks/base/core/java/android/net/
NetworkPolicyManager.java 182 return cycle.toMillis(true);
212 return cycle.toMillis(true);
  /packages/apps/Calendar/tests/src/com/android/calendar/
FormatDateRangeTest.java 185 long startMillis = dateTest.date1.toMillis(false /* use isDst */);
186 long endMillis = dateTest.date2.toMillis(false /* use isDst */);
  /cts/tests/tests/text/src/android/text/format/cts/
TimeTest.java 351 long millis = local.toMillis(true /* ignore isDst */);
361 "day test index " + index + ", toMillis(): expected local " + expectedTime
396 long millis = local.toMillis(false /* use isDst */);
408 "minute test index " + index + ", toMillis(): expected local "
532 long time = t.toMillis(false) / 1000;
542 long r = t.toMillis(true);
546 r = t.toMillis(true);
550 r = t.toMillis(true);
734 millis = time.toMillis(false);
  /packages/apps/Calendar/src/com/android/calendar/agenda/
AgendaWindowAdapter.java 262 long goToTimeMillis = goToTime.toMillis(false);
282 if (goToTime.toMillis(false) != other.goToTime.toMillis(false)) {
639 agendaItem.begin = time.toMillis(false /* use isDst */);
646 agendaItem.begin = time.toMillis(false /* use isDst */);
655 agendaItem.end = time.toMillis(false /* use isDst */);
698 int startDay = Time.getJulianDay(goToTime.toMillis(false), goToTime.gmtoff);
723 sendViewEvent(item, goToTime.toMillis(false));
    [all...]
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
InputDialogContainer.java 367 mInputActionDelegate.replaceDateTime(TimeUnit.HOURS.toMillis(hourOfDay) +
368 TimeUnit.MINUTES.toMillis(minute) +
369 TimeUnit.SECONDS.toMillis(second) +
  /external/apache-http/src/org/apache/http/impl/conn/tsccm/
AbstractConnPool.java 248 idleConnHandler.closeIdleConnections(tunit.toMillis(idletime));
  /frameworks/base/core/java/com/android/internal/http/
HttpDateTime.java 121 return time.toMillis(false /* use isDst */);
  /frameworks/opt/calendar/src/com/android/calendarcommon2/
RecurrenceSet.java 173 dates[i] = time.toMillis(false /* use isDst */);
231 long millis = start.toMillis(false /* use isDst */);
489 long durationMillis = end.toMillis(false /* use isDst */)
490 - start.toMillis(false /* use isDst */);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
UserHistoryForgettingCurveUtils.java 34 TimeUnit.HOURS.toMillis(ELAPSED_TIME_INTERVAL_HOURS);
  /frameworks/base/core/java/android/text/format/
Time.java 206 * See {@link #toMillis(boolean)} for more information about when to
509 * Here is an example where <tt>toMillis(true)</tt> adjusts the time,
517 * millis = time.toMillis(false); // millis is Nov 4, 2007, 11pm
518 * millis = time.toMillis(true); // millis is Nov 5, 2007, 12am
522 * To avoid this problem, use <tt>toMillis(true)</tt>
526 * <tt>toMillis(false)</tt>.
529 * You should also use <tt>toMillis(false)</tt> if you want
533 native public long toMillis(boolean ignoreDst);
712 long millis = time.toMillis(true);
726 * Use {@link #toMillis(boolean)} to get the milliseconds
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/alerts/
AlertUtils.java 159 int today = Time.getJulianDay(time.toMillis(false), time.gmtoff);
161 int eventDay = Time.getJulianDay(time.toMillis(false), allDay ? 0 : time.gmtoff);
  /packages/apps/Calendar/src/com/android/calendar/event/
EditEventFragment.java 474 mBegin = mEvent.startTime.toMillis(true);
477 mEnd = mEvent.endTime.toMillis(true);
    [all...]

Completed in 838 milliseconds

12 3 4 5