/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | InputSmoother.java | 42 long millis; field in InputSmoother.Sample 54 if (last != null && nowMs - last.millis > MAX_SAMPLE_INTERVAL_MS) { in onInput() 64 sample.millis = nowMs; in onInput() 84 final long totalTimeMs = mRecentSamples.getLast().millis - mRecentSamples.getFirst().millis; in getSmoothedVelocity()
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaByDayAdapter.java | 224 long millis = date.setJulianDay(row.mDay); in getView() local 228 String dayViewText = Utils.getDayOfWeekString(row.mDay, mTodayJulianDay, millis, in getView() 236 String dateViewText = DateUtils.formatDateRange(mContext, mFormatter, millis, millis, in getView() 512 long millis = time.toMillis(false /* use isDst */); in findEventPositionNearestTime() local 540 if (row.mEventStartTimeMilli == millis) { in findEventPositionNearestTime() 545 long distance = Math.abs(millis - row.mEventStartTimeMilli); in findEventPositionNearestTime() 554 if (millis >= row.mEventStartTimeMilli && millis <= row.mEventEndTimeMilli) { in findEventPositionNearestTime() 565 long distance = Math.abs(millis - row.mEventStartTimeMilli); in findEventPositionNearestTime()
|
D | AgendaWindowAdapter.java | 943 long millis = time.toMillis(false); in formatDateString() local 945 return DateUtils.formatDateRange(mContext, mFormatter, millis, millis, in formatDateString()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | WeekNumberTest.java | 211 long millis = test.date.toMillis(false /* use isDst */); in testAll() local 213 String output = DateUtils.formatDateTime(mContext, millis, flags); in testAll() 223 long millis = test.date.toMillis(false /* use isDst */); in testAll() local 225 String output = DateUtils.formatDateTime(mContext, millis, flags); in testAll()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | SearchActivity.java | 138 long millis = 0; in onCreate() local 141 millis = icicle.getLong(BUNDLE_KEY_RESTORE_TIME); in onCreate() 143 Log.v(TAG, "Restore value from icicle: " + millis); in onCreate() 146 if (millis == 0) { in onCreate() 148 millis = Utils.timeFromIntentInMillis(getIntent()); in onCreate() 162 initFragments(millis, query); in onCreate()
|
D | Utils.java | 530 long millis = intent.getLongExtra(EXTRA_EVENT_BEGIN_TIME, -1); in timeFromIntentInMillis() local 531 if (millis == -1 && data != null && data.isHierarchical()) { in timeFromIntentInMillis() 535 millis = Long.valueOf(data.getLastPathSegment()); in timeFromIntentInMillis() 542 if (millis <= 0) { in timeFromIntentInMillis() 543 millis = System.currentTimeMillis(); in timeFromIntentInMillis() 545 return millis; in timeFromIntentInMillis() 558 long millis = time.toMillis(true); in formatMonthYear() local 559 return formatDateRange(context, millis, millis, flags); in formatMonthYear() 1357 public static String getDayOfWeekString(int julianDay, int todayJulianDay, long millis, in getDayOfWeekString() argument 1364 mTZUtils.formatDateRange(context, millis, millis, flags).toString()); in getDayOfWeekString() [all …]
|
D | AllInOneActivity.java | 290 long millis = parseViewAction(intent); in onNewIntent() local 291 if (millis == -1) { in onNewIntent() 292 millis = Utils.timeFromIntentInMillis(intent); in onNewIntent() 294 if (millis != -1 && mViewEventId == -1 && mController != null) { in onNewIntent() 296 time.set(millis); in onNewIntent() 1059 long millis = time.toMillis(true); in updateSecondaryTitleFields() local 1067 Utils.formatDateRange(this, millis, millis, flags))).append(" ").append( in updateSecondaryTitleFields() 1076 DateUtils.MINUTE_IN_MILLIS - (millis % DateUtils.MINUTE_IN_MILLIS)); in updateSecondaryTitleFields()
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetProvider.java | 136 long millis = time.toMillis(true); in performUpdate() local 139 final String date = Utils.formatDateRange(context, millis, millis, in performUpdate() 153 .setData(Uri.parse("content://com.android.calendar/time/" + millis)); in performUpdate()
|
D | CalendarAppWidgetModel.java | 408 long millis = recycle.setJulianDay(julianDay); in populateDayInfo() local 414 Utils.formatDateRange(mContext, millis, millis, flags).toString()); in populateDayInfo() 417 label = Utils.formatDateRange(mContext, millis, millis, flags); in populateDayInfo()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | GuideUtils.java | 35 public static int convertMillisToPixel(long millis) { in convertMillisToPixel() argument 36 return (int) (millis * sWidthPerHour / TimeUnit.HOURS.toMillis(1)); in convertMillisToPixel()
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
D | MockAlarmManager.java | 35 public void expectAlarmTime(int type, long millis) { in expectAlarmTime() argument 37 this.expectedAlarmTime = millis; in expectAlarmTime()
|
D | AlarmSchedulerTest.java | 150 private void expectAlarmAt(long millis) { in expectAlarmAt() argument 153 millis + AlarmScheduler.ALARM_DELAY_MS); in expectAlarmAt()
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | InCallDateUtils.java | 17 public static String formatDuration(Context context, long millis) { in formatDuration() argument 21 int elapsedSeconds = (int) (millis / 1000); in formatDuration()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | SimpleDayPickerFragment.java | 400 long millis = mTempTime.normalize(true); in goTo() local 404 Time.getJulianDay(millis, mTempTime.gmtoff), mFirstDayOfWeek); in goTo() 445 millis = mFirstDayOfMonth.normalize(true); in goTo() 448 Time.getJulianDay(millis, mFirstDayOfMonth.gmtoff), mFirstDayOfWeek); in goTo()
|
D | SimpleWeekView.java | 537 Long millis = hover.toMillis(true); in onHoverEvent() local 538 String date = Utils.formatDateRange(context, millis, millis, in onHoverEvent()
|
D | SimpleWeeksAdapter.java | 167 long millis = mSelectedDay.normalize(true); in setSelectedDay() local 169 Time.getJulianDay(millis, mSelectedDay.gmtoff), mFirstDayOfWeek); in setSelectedDay()
|
D | MonthByWeekAdapter.java | 124 long millis = mSelectedDay.normalize(true); in setSelectedDay() local 126 Time.getJulianDay(millis, mSelectedDay.gmtoff), mFirstDayOfWeek); in setSelectedDay()
|
D | MonthWeekEventsView.java | 1068 Long millis = hover.toMillis(true); in onHoverEvent() local 1069 String date = Utils.formatDateRange(context, millis, millis, in onHoverEvent()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnSettings.java | 151 long millis = System.currentTimeMillis(); in onOptionsItemSelected() local 152 while (mLegacyVpnPreferences.containsKey(Long.toHexString(millis))) { in onOptionsItemSelected() 153 ++millis; in onOptionsItemSelected() 155 VpnProfile profile = new VpnProfile(Long.toHexString(millis)); in onOptionsItemSelected()
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
D | UtilityTest.java | 60 int day, int hour, int minute, int second, int millis) throws Exception { in testParseEmailDateTimeHelper() argument 65 assertEquals(cal.getTimeInMillis() + millis, timeInMillis); in testParseEmailDateTimeHelper()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | TimeBar.java | 250 protected String stringForTime(long millis) { in stringForTime() argument 251 int totalSeconds = (int) millis / 1000; in stringForTime()
|
/packages/apps/UnifiedEmail/src/com/android/mail/analytics/ |
D | Tracker.java | 31 void sendTiming(String category, long millis, String name, String label); in sendTiming() argument
|
D | Analytics.java | 120 public void sendTiming(String category, long millis, String name, String label) {} in sendTiming() argument
|
/packages/apps/Dialer/src/com/android/dialer/voicemail/ |
D | VoicemailPlaybackLayout.java | 493 private String formatAsMinutesAndSeconds(int millis) { in formatAsMinutesAndSeconds() argument 494 int seconds = millis / 1000; in formatAsMinutesAndSeconds()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | OneCameraImpl.java | 653 private void resumeContinuousAFAfterDelay(int millis) { in resumeContinuousAFAfterDelay() argument 655 mCameraHandler.postDelayed(mReturnToContinuousAFRunnable, millis); in resumeContinuousAFAfterDelay()
|