/packages/apps/TV/src/com/android/tv/guide/ |
GuideUtils.java | 42 public static int convertMillisToPixel(long startMillis, long endMillis) { 45 - GuideUtils.convertMillisToPixel(startMillis);
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
CalendarInteractionUtils.java | 29 public static String getDisplayedDatetime(long startMillis, long endMillis, long currentMillis, 44 long localStartMillis = convertAlldayUtcToLocal(null, startMillis, localTimezone); 60 datetimeString = DateUtils.formatDateRange(context, f, startMillis, 64 if (singleDayEvent(startMillis, endMillis, currentTime.gmtoff)) { 66 String timeString = formatDateRange(context, startMillis, endMillis, 70 int todayOrTomorrow = isTodayOrTomorrow(context.getResources(), startMillis, 82 String dateString = formatDateRange(context, startMillis, endMillis, 92 datetimeString = formatDateRange(context, startMillis, endMillis, 130 private static boolean singleDayEvent(long startMillis, long endMillis, long localGmtOffset) { 131 if (startMillis == endMillis) [all...] |
/frameworks/base/core/java/android/util/ |
TimedRemoteCaller.java | 117 final long startMillis = SystemClock.uptimeMillis(); 123 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis;
|
/frameworks/base/core/java/com/android/internal/os/ |
SamplingProfilerIntegration.java | 87 private static long startMillis; 104 Log.e(TAG, "SamplingProfilerIntegration already started at " + new Date(startMillis)); 112 startMillis = System.currentTimeMillis(); 156 startMillis = 0; 175 String path = SNAPSHOT_DIR + "/" + name + "-" + startMillis + ".snapshot";
|
/frameworks/base/core/java/com/android/internal/util/ |
FileRotator.java | 292 if (info.startMillis <= matchEndMillis && matchStartMillis <= info.endMillis) { 313 if (info.isActive() && info.startMillis < currentTimeMillis 314 && info.startMillis < oldestActiveStart) { 316 oldestActiveStart = info.startMillis; 324 info.startMillis = currentTimeMillis; 348 if (info.startMillis <= rotateBefore) { 405 public long startMillis; 418 startMillis = endMillis = -1; 430 startMillis = Long.parseLong(name.substring(dotIndex + 1, dashIndex)); 449 name.append(prefix).append('.').append(startMillis).append('-') [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertReceiver.java | 202 long startMillis, long endMillis, int notificationId) { 203 return createDismissAlarmsIntent(context, eventId, startMillis, endMillis, notificationId, 208 long startMillis, long endMillis, int notificationId) { 209 return createDismissAlarmsIntent(context, eventId, startMillis, endMillis, notificationId, 214 long startMillis, long endMillis, int notificationId, String action) { 219 intent.putExtra(AlertUtils.EVENT_START_KEY, startMillis); 230 ContentUris.appendId(builder, startMillis); 236 long startMillis, long endMillis, int notificationId) { 240 intent.putExtra(AlertUtils.EVENT_START_KEY, startMillis); 246 ContentUris.appendId(builder, startMillis); [all...] |
AlertUtils.java | 154 static String formatTimeLocation(Context context, long startMillis, boolean allDay, 160 time.set(startMillis); 177 StringBuilder sb = new StringBuilder(Utils.formatDateRange(context, startMillis, 178 startMillis, flags)); 182 time.set(startMillis); 321 private static int getIntervalInDays(long startMillis, long endMillis, Time timeObj) { 322 timeObj.set(startMillis); 323 int startDay = Time.getJulianDay(startMillis, timeObj.gmtoff);
|
AlertAdapter.java | 75 long startMillis = cursor.getLong(AlertActivity.INDEX_BEGIN); 79 updateView(context, view, eventName, location, startMillis, endMillis, allDay); 83 long startMillis, long endMillis, boolean allDay) { 128 time.set(startMillis); 131 Utils.formatDateRange(context, startMillis, endMillis, flags));
|
AlertService.java | 132 long startMillis, long endMillis, boolean doPopup) { 135 mBegin = startMillis; 342 String summaryText = AlertUtils.formatTimeLocation(context, info.startMillis, 361 String summaryText = AlertUtils.formatTimeLocation(context, info.startMillis, 378 String summaryText = AlertUtils.formatTimeLocation(context, info.startMillis, 381 summaryText, info.startMillis, info.endMillis, info.eventId, 514 long startAdjustedForAllDay = info.startMillis; 518 startAdjustedForAllDay = Utils.convertAlldayUtcToLocal(t, info.startMillis, 520 endAdjustedForAllDay = Utils.convertAlldayUtcToLocal(t, info.startMillis, [all...] |
AlertActivity.java | 185 long startMillis = cursor.getLong(AlertActivity.INDEX_BEGIN); 188 dismissAlarm(alarmId, eventId, startMillis); 194 startMillis, endMillis);
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
ThreadingTest.java | 66 final long startMillis = mSystemFacade.currentTimeMillis(); 68 d.first.waitForStatus(DownloadManager.STATUS_SUCCESSFUL, startMillis);
|
AbstractPublicApiTest.java | 117 final long startMillis = mSystemFacade.currentTimeMillis(); 119 waitForStatus(status, startMillis); 123 final long startMillis = mSystemFacade.currentTimeMillis(); 125 waitForStatus(status, startMillis, timeout);
|
/packages/apps/Calendar/src/com/android/calendar/ |
GoogleCalendarUriIntentFilter.java | 172 long startMillis = eventCursor.getLong(EVENT_INDEX_START); 175 if (debug) Log.d(TAG, "startMillis: " + startMillis); 188 endMillis = startMillis + d.getMillis(); 189 if (debug) Log.d(TAG, "startMillis! " + startMillis); 191 if (endMillis < startMillis) { 225 intent.putExtra(CalendarContract.EXTRA_EVENT_BEGIN_TIME, startMillis);
|
CalendarController.java | 318 public void sendEventRelatedEvent(Object sender, long eventType, long eventId, long startMillis, 324 sendEventRelatedEventWithExtra(sender, eventType, eventId, startMillis, endMillis, x, y, 335 * @param startMillis start time 344 long startMillis, long endMillis, int x, int y, long extraLong, long selectedMillis) { 346 startMillis, endMillis, x, y, extraLong, selectedMillis, null, -1); 355 * @param startMillis start time 366 long eventId, long startMillis, long endMillis, int x, int y, long extraLong, 376 info.startTime.set(startMillis); 473 long startMillis = 0; 475 startMillis = event.startTime.toMillis(false) [all...] |
Event.java | 133 public long startMillis; // UTC milliseconds since the epoch 169 e.startMillis = startMillis; 190 dest.startMillis = startMillis; 211 e.startMillis = 0; 397 e.startMillis = eStart; 622 public void setStartMillis(long startMillis) { 623 this.startMillis = startMillis; [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
AlarmSchedulerTest.java | 176 long startMillis = currentMillis + DateUtils.HOUR_IN_MILLIS; 178 mMockProvider.addEventInfo(1, false, startMillis, reminderMin); 179 expectAlarmAt(startMillis - reminderMin * DateUtils.MINUTE_IN_MILLIS); 222 long startMillis = currentMillis + DateUtils.HOUR_IN_MILLIS; 224 mMockProvider.addEventInfo(1, false, startMillis, reminderMin); 236 long startMillis = currentMillis + DateUtils.DAY_IN_MILLIS * 3; 238 mMockProvider.addEventInfo(1, false, startMillis, reminderMin);
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
ErrorCalculator.java | 70 private static long startMillis, middleMillis; 74 startMillis = System.currentTimeMillis(); 108 Log.d(LOG_TAG, "rs: first part took " + (middleMillis - startMillis) + "ms"); 134 startMillis = System.currentTimeMillis(); 168 Log.d(LOG_TAG, "dvk: first part took " + (middleMillis - startMillis) + "ms");
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
HprofData.java | 242 private long startMillis; 285 return startMillis; 291 public void setStartMillis(long startMillis) { 292 this.startMillis = startMillis;
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
RemoteIntArray.java | 121 final long startMillis = SystemClock.uptimeMillis(); 126 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis;
|
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 494 * @param startMillis the start time in UTC milliseconds 500 public static String formatDateRange(Context context, long startMillis, 503 return formatDateRange(context, f, startMillis, endMillis, flags).toString(); 518 * @param startMillis the start time in UTC milliseconds 524 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, 526 return formatDateRange(context, formatter, startMillis, endMillis, flags, null); 684 * @param startMillis the start time in UTC milliseconds 692 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, 701 String range = DateIntervalFormat.formatDateRange(startMillis, endMillis, flags, timeZone); [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
EphemeralResolverConnection.java | 117 final long startMillis = SystemClock.uptimeMillis(); 122 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/ |
ThreadsTest.java | 156 private long startMillis; 196 startMillis = startNanos / 1000000; 222 return endMillis - startMillis;
|
/packages/apps/Settings/src/com/android/settings/location/ |
SettingsInjector.java | 444 public long startMillis; 461 * {@link #preference} and {@link #startMillis} so that it's safe to use in sets. 509 startMillis = SystemClock.elapsedRealtime(); 511 startMillis = 0; 521 return end - startMillis; 525 if (Log.isLoggable(TAG, Log.DEBUG) && startMillis != 0) {
|
/cts/tests/tests/provider/src/android/provider/cts/ |
CalendarTest.java | [all...] |
/external/testng/src/main/java/org/testng/remote/strprotocol/ |
TestResultMessage.java | 49 final long startMillis, 61 startMillis, 135 final long startMillis, 149 m_startMillis= startMillis;
|