/external/chromium_org/ui/base/l10n/ |
H A D | time_format_unittest.cc | 78 EXPECT_EQ(ASCIIToUTF16("1 sec"), TimeFormat::Simple( 79 TimeFormat::FORMAT_DURATION, TimeFormat::LENGTH_SHORT, delta_1s_)); 80 EXPECT_EQ(ASCIIToUTF16("1 min"), TimeFormat::Simple( 81 TimeFormat::FORMAT_DURATION, TimeFormat::LENGTH_SHORT, delta_1m_)); 82 EXPECT_EQ(ASCIIToUTF16("1 hour"), TimeFormat::Simple( 83 TimeFormat::FORMAT_DURATION, TimeFormat::LENGTH_SHORT, delta_1h_)); 84 EXPECT_EQ(ASCIIToUTF16("1 day"), TimeFormat [all...] |
H A D | time_format.h | 20 class UI_BASE_EXPORT TimeFormat { class in namespace:ui 94 DISALLOW_IMPLICIT_CONSTRUCTORS(TimeFormat);
|
H A D | formatter.h | 25 // with four parameters for use in TimeFormat::Simple() or with ten parameters 26 // for use in TimeFormat::Detailed(). 87 const Formatter* Get(TimeFormat::Format format, 88 TimeFormat::Length length) const; 100 formatter_[TimeFormat::FORMAT_COUNT][TimeFormat::LENGTH_COUNT];
|
H A D | time_format.cc | 21 using ui::TimeFormat; 29 base::string16 TimeFormat::Simple(TimeFormat::Format format, 30 TimeFormat::Length length, 36 base::string16 TimeFormat::Detailed(TimeFormat::Format format, 37 TimeFormat::Length length, 119 base::string16 TimeFormat::RelativeDate(
|
H A D | formatter.cc | 270 const Formatter* FormatterContainer::Get(TimeFormat::Format format, 271 TimeFormat::Length length) const { 285 formatter_[TimeFormat::FORMAT_ELAPSED][TimeFormat::LENGTH_SHORT].reset( 290 formatter_[TimeFormat::FORMAT_ELAPSED][TimeFormat::LENGTH_LONG].reset(); 291 formatter_[TimeFormat::FORMAT_REMAINING][TimeFormat::LENGTH_SHORT].reset( 296 formatter_[TimeFormat::FORMAT_REMAINING][TimeFormat [all...] |
H A D | l10n_util_android.cc | 106 ui::TimeFormat::Simple( 107 ui::TimeFormat::FORMAT_REMAINING, ui::TimeFormat::LENGTH_SHORT,
|
/external/chromium_org/chrome/common/ |
H A D | time_format_browsertest.cc | 38 ui::TimeFormat::Simple(ui::TimeFormat::FORMAT_DURATION, 39 ui::TimeFormat::LENGTH_SHORT,
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
H A D | MediaFragmentURIParser.h | 50 enum TimeFormat { None, Invalid, NormalPlayTime, SMPTETimeCode, WallClockTimeCode }; enum in class:blink::FINAL 56 TimeFormat m_timeFormat;
|
/external/chromium_org/base/i18n/ |
H A D | time_formatting.cc | 18 string16 TimeFormat(const icu::DateFormat* formatter, function in namespace:base::__anon2294 55 return TimeFormat(formatter.get(), time); 85 return TimeFormat(&formatter, time); 94 return TimeFormat(formatter.get(), time); 100 return TimeFormat(formatter.get(), time); 106 return TimeFormat(formatter.get(), time); 112 return TimeFormat(formatter.get(), time); 118 return TimeFormat(formatter.get(), time);
|
/external/chromium_org/ash/system/chromeos/power/ |
H A D | power_status.cc | 49 return ui::TimeFormat::Simple(ui::TimeFormat::FORMAT_DURATION, 50 ui::TimeFormat::LENGTH_LONG, 54 return ui::TimeFormat::Simple(ui::TimeFormat::FORMAT_DURATION, 55 ui::TimeFormat::LENGTH_LONG, 60 ui::TimeFormat::Simple(ui::TimeFormat::FORMAT_DURATION, 61 ui::TimeFormat::LENGTH_LONG, 63 ui::TimeFormat [all...] |
H A D | power_status_view_unittest.cc | 178 // Low power warning has to be calculated by ui::TimeFormat, but ignore 180 EXPECT_EQ(ui::TimeFormat::Simple(ui::TimeFormat::FORMAT_REMAINING, 181 ui::TimeFormat::LENGTH_LONG, 192 EXPECT_NE(ui::TimeFormat::Simple(ui::TimeFormat::FORMAT_REMAINING, 193 ui::TimeFormat::LENGTH_LONG,
|
H A D | power_status_view.cc | 187 time_label_->SetText(ui::TimeFormat::Simple( 188 ui::TimeFormat::FORMAT_REMAINING, ui::TimeFormat::LENGTH_LONG,
|
/external/chromium_org/ash/system/chromeos/session/ |
H A D | tray_session_length_limit.cc | 185 ui::TimeFormat::Detailed(ui::TimeFormat::FORMAT_DURATION, 186 ui::TimeFormat::LENGTH_LONG, 194 ui::TimeFormat::Detailed(ui::TimeFormat::FORMAT_DURATION, 195 ui::TimeFormat::LENGTH_LONG,
|
H A D | logout_confirmation_dialog.cc | 102 ui::TimeFormat::Detailed(ui::TimeFormat::FORMAT_DURATION, 103 ui::TimeFormat::LENGTH_LONG,
|
/external/chromium_org/chrome/browser/chromeos/power/ |
H A D | idle_action_warning_dialog_view.cc | 120 ui::TimeFormat::Detailed(ui::TimeFormat::FORMAT_DURATION, 121 ui::TimeFormat::LENGTH_LONG,
|
/external/chromium_org/chrome/browser/download/ |
H A D | download_item_model.cc | 341 time_remaining = ui::TimeFormat::Simple(ui::TimeFormat::FORMAT_REMAINING, 342 ui::TimeFormat::LENGTH_SHORT, 668 ui::TimeFormat::Simple(ui::TimeFormat::FORMAT_DURATION, 669 ui::TimeFormat::LENGTH_SHORT, time_remaining)); 676 ui::TimeFormat::Simple(ui::TimeFormat::FORMAT_REMAINING, 677 ui::TimeFormat::LENGTH_SHORT, time_remaining));
|
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
H A D | foreign_session_handler.cc | 223 // TimeFormat does not support negative TimeDelta values, so then we use 0. 224 return ui::TimeFormat::Simple( 225 ui::TimeFormat::FORMAT_ELAPSED, ui::TimeFormat::LENGTH_SHORT, 411 ui::TimeFormat::Simple(ui::TimeFormat::FORMAT_ELAPSED, 412 ui::TimeFormat::LENGTH_SHORT, last_synced));
|
/external/chromium_org/ash/display/ |
H A D | resolution_notification_controller.cc | 210 ui::TimeFormat::Simple( 211 ui::TimeFormat::FORMAT_DURATION, ui::TimeFormat::LENGTH_LONG,
|
/external/chromium_org/chrome/browser/search/suggestions/ |
H A D | suggestions_source.cc | 58 base::string16 remaining_time_formatted = ui::TimeFormat::Detailed( 59 ui::TimeFormat::Format::FORMAT_DURATION, 60 ui::TimeFormat::Length::LENGTH_LONG,
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/imageburner/ |
H A D | imageburner_ui.cc | 172 ui::TimeFormat::Simple(ui::TimeFormat::FORMAT_REMAINING, 173 ui::TimeFormat::LENGTH_SHORT, time_remaining));
|
/external/chromium_org/chrome/browser/ui/webui/ |
H A D | policy_ui.cc | 191 ui::TimeFormat::Simple(ui::TimeFormat::FORMAT_DURATION, 192 ui::TimeFormat::LENGTH_SHORT, 196 ui::TimeFormat::Simple(ui::TimeFormat::FORMAT_ELAPSED, 197 ui::TimeFormat::LENGTH_SHORT,
|
H A D | history_ui.cc | 202 base::string16 date_str = ui::TimeFormat::RelativeDate(visit_time, &midnight); 357 base::string16 date_str = ui::TimeFormat::RelativeDate(time, &midnight);
|
H A D | downloads_dom_handler.cc | 130 "since_string", ui::TimeFormat::RelativeDate(
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
H A D | website_settings_handler.cc | 336 usage_string = ui::TimeFormat::Simple(ui::TimeFormat::FORMAT_ELAPSED, 337 ui::TimeFormat::LENGTH_SHORT,
|
/external/chromium_org/chrome/browser/sync/ |
H A D | profile_sync_service.cc | 1715 return ui::TimeFormat::Simple(ui::TimeFormat::FORMAT_ELAPSED, 1716 ui::TimeFormat::LENGTH_SHORT,
|