/external/chromium/chrome/common/ |
D | time_format_unittest.cc | 17 TEST(TimeFormat, RelativeDate) { in TEST() argument 19 string16 today_str = TimeFormat::RelativeDate(now, NULL); in TEST() 23 string16 yesterday_str = TimeFormat::RelativeDate(yesterday, NULL); in TEST() 27 string16 two_days_ago_str = TimeFormat::RelativeDate(two_days_ago, NULL); in TEST() 31 string16 a_week_ago_str = TimeFormat::RelativeDate(a_week_ago, NULL); in TEST() 40 EXPECT_EQ(expected, TimeFormat::TimeRemainingShort(delta)); in TestTimeFormats() 41 EXPECT_EQ(expected_left, TimeFormat::TimeRemaining(delta)); in TestTimeFormats() 42 EXPECT_EQ(expected_ago, TimeFormat::TimeElapsed(delta)); in TestTimeFormats() 47 TEST(TimeFormat, FormatTime) { in TEST() argument
|
D | time_format.cc | 308 string16 TimeFormat::TimeElapsed(const TimeDelta& delta) { in TimeElapsed() 313 string16 TimeFormat::TimeRemaining(const TimeDelta& delta) { in TimeRemaining() 318 string16 TimeFormat::TimeRemainingShort(const TimeDelta& delta) { in TimeRemainingShort() 323 string16 TimeFormat::RelativeDate( in RelativeDate()
|
D | time_format.h | 20 class TimeFormat {
|
/external/chromium_org/ui/base/l10n/ |
D | time_format_unittest.cc | 22 EXPECT_EQ(expected, TimeFormat::TimeRemainingShort(delta)); in TestTimeFormats() 23 EXPECT_EQ(expected_left, TimeFormat::TimeRemaining(delta)); in TestTimeFormats() 24 EXPECT_EQ(expected_ago, TimeFormat::TimeElapsed(delta)); in TestTimeFormats() 27 TEST(TimeFormat, FormatTime) { in TEST() argument 54 TEST(TimeFormat, RelativeDate) { in TEST() argument 56 string16 today_str = TimeFormat::RelativeDate(now, NULL); in TEST() 60 string16 yesterday_str = TimeFormat::RelativeDate(yesterday, NULL); in TEST() 64 string16 two_days_ago_str = TimeFormat::RelativeDate(two_days_ago, NULL); in TEST() 68 string16 a_week_ago_str = TimeFormat::RelativeDate(a_week_ago, NULL); in TEST()
|
D | time_format.cc | 338 base::string16 TimeFormat::TimeElapsed(const TimeDelta& delta) { in TimeElapsed() 343 base::string16 TimeFormat::TimeRemaining(const TimeDelta& delta) { in TimeRemaining() 348 base::string16 TimeFormat::TimeRemainingLong(const TimeDelta& delta) { in TimeRemainingLong() 353 base::string16 TimeFormat::TimeRemainingShort(const TimeDelta& delta) { in TimeRemainingShort() 358 base::string16 TimeFormat::TimeDurationLong(const TimeDelta& delta) { in TimeDurationLong() 363 base::string16 TimeFormat::RelativeDate( in RelativeDate()
|
D | time_format.h | 20 class UI_EXPORT TimeFormat { 62 DISALLOW_IMPLICIT_CONSTRUCTORS(TimeFormat);
|
D | l10n_util_android.cc | 96 ui::TimeFormat::TimeRemaining( in GetDurationString()
|
/external/chromium/base/i18n/ |
D | time_formatting.cc | 19 string16 TimeFormat(const icu::DateFormat* formatter, in TimeFormat() function 38 return TimeFormat(formatter.get(), time); in TimeFormatTimeOfDay() 66 return TimeFormat(&formatter, time); in TimeFormatTimeOfDayWithHourClockType() 72 return TimeFormat(formatter.get(), time); in TimeFormatShortDate() 78 return TimeFormat(formatter.get(), time); in TimeFormatShortDateNumeric() 84 return TimeFormat(formatter.get(), time); in TimeFormatShortDateAndTime() 90 return TimeFormat(formatter.get(), time); in TimeFormatFriendlyDateAndTime() 96 return TimeFormat(formatter.get(), time); in TimeFormatFriendlyDate()
|
/external/chromium_org/base/i18n/ |
D | time_formatting.cc | 18 string16 TimeFormat(const icu::DateFormat* formatter, in TimeFormat() function 55 return TimeFormat(formatter.get(), time); in TimeFormatTimeOfDay() 85 return TimeFormat(&formatter, time); in TimeFormatTimeOfDayWithHourClockType() 94 return TimeFormat(formatter.get(), time); in TimeFormatShortDate() 100 return TimeFormat(formatter.get(), time); in TimeFormatShortDateNumeric() 106 return TimeFormat(formatter.get(), time); in TimeFormatShortDateAndTime() 112 return TimeFormat(formatter.get(), time); in TimeFormatFriendlyDateAndTime() 118 return TimeFormat(formatter.get(), time); in TimeFormatFriendlyDate()
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
D | MediaFragmentURIParser.h | 50 enum TimeFormat { None, Invalid, NormalPlayTime, SMPTETimeCode, WallClockTimeCode }; enum 56 TimeFormat m_timeFormat;
|
/external/chromium_org/ash/system/chromeos/power/ |
D | power_status.cc | 51 return ui::TimeFormat::TimeDurationLong(base::TimeDelta::FromHours(hour)); in GetBatteryTimeAccessibilityString() 54 return ui::TimeFormat::TimeDurationLong(base::TimeDelta::FromMinutes(min)); in GetBatteryTimeAccessibilityString() 58 ui::TimeFormat::TimeDurationLong(base::TimeDelta::FromHours(hour)), in GetBatteryTimeAccessibilityString() 59 ui::TimeFormat::TimeDurationLong(base::TimeDelta::FromMinutes(min))); in GetBatteryTimeAccessibilityString()
|
D | power_status_view.cc | 189 time_label_->SetText(ui::TimeFormat::TimeRemaining( in UpdateTextForNotificationView()
|
/external/chromium/chrome/browser/download/ |
D | download_item_model.cc | 51 TimeFormat::TimeRemainingShort(remaining) : in GetStatusText() 52 TimeFormat::TimeRemaining(remaining); in GetStatusText()
|
D | download_util.cc | 616 TimeFormat::RelativeDate(download->start_time(), NULL)); in CreateDownloadItemValue() 710 time_remaining = TimeFormat::TimeRemaining(remaining); in GetProgressStatusText()
|
/external/chromium_org/chrome/common/ |
D | time_format_browsertest.cc | 38 ui::TimeFormat::TimeRemainingShort(TimeDelta::FromMinutes(1)); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium/chrome/browser/chromeos/ |
D | low_battery_observer.cc | 75 TimeFormat::TimeRemaining(remaining)), urgent, true); in Show()
|
D | network_message_observer.cc | 138 TimeFormat::TimeRemaining(base::TimeDelta()) : in ShowNoDataNotification()
|
/external/chromium_org/chrome/browser/download/ |
D | download_item_model.cc | 330 time_remaining = ui::TimeFormat::TimeRemaining(remaining); in GetTabProgressStatusText() 620 ui::TimeFormat::TimeRemainingShort(time_remaining)); in GetInProgressStatusString() 627 ui::TimeFormat::TimeRemaining(time_remaining)); in GetInProgressStatusString()
|
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
D | foreign_session_handler.cc | 225 return ui::TimeFormat::TimeElapsed( in FormatSessionTime() 406 ui::TimeFormat::TimeElapsed(last_synced)); in SessionWindowToValue()
|
/external/chromium_org/ash/display/ |
D | resolution_notification_controller.cc | 211 ui::TimeFormat::TimeDurationLong( in CreateOrUpdateNotification()
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/imageburner/ |
D | imageburner_ui.cc | 170 ui::TimeFormat::TimeRemaining(time_remaining)); in OnProgressWithRemainingTime()
|
/external/chromium_org/ash/system/session_length_limit/ |
D | tray_session_length_limit.cc | 74 ui::TimeFormat::TimeDurationLong(remaining_session_time)); in FormatRemainingSessionTimeNotification()
|
/external/chromium_org/chrome/browser/ui/webui/ |
D | policy_ui.cc | 163 ui::TimeFormat::TimeRemainingShort(refresh_interval)); in GetStatusFromCore() 166 ui::TimeFormat::TimeElapsed(base::Time::NowFromSystemTime() - in GetStatusFromCore()
|
/external/chromium/chrome/browser/ui/webui/ |
D | history2_ui.cc | 268 string16 date_str = TimeFormat::RelativeDate(page.visit_time(), in QueryComplete()
|
D | history_ui.cc | 268 string16 date_str = TimeFormat::RelativeDate(page.visit_time(), in QueryComplete()
|