/external/chromium_org/base/i18n/ |
D | rtl_unittest.cc | 34 EXPECT_EQ(rtl, IsRTL()); in SetRTL() 250 const bool was_rtl = IsRTL(); in TEST_F() 254 SetRTL(!IsRTL()); in TEST_F() 278 EXPECT_EQ(was_rtl, IsRTL()); in TEST_F() 297 const bool was_rtl = IsRTL(); in TEST_F() 301 SetRTL(!IsRTL()); in TEST_F() 306 if (IsRTL() ? cases[i].wrap_rtl : cases[i].wrap_ltr) in TEST_F() 313 EXPECT_EQ(was_rtl, IsRTL()); in TEST_F() 361 const bool was_rtl = IsRTL(); in TEST_F() 365 SetRTL(!IsRTL()); in TEST_F() [all …]
|
D | rtl.cc | 125 bool IsRTL() { in IsRTL() function 195 if (!IsRTL() || text->empty()) in AdjustStringForLocaleDirection() 210 if (!IsRTL() || text->empty()) in UnadjustStringForLocaleDirection() 246 bool ui_direction_is_rtl = IsRTL(); in AdjustStringForLocaleDirection() 358 if (IsRTL() || GetFirstStrongCharacterDirection(text) == RIGHT_TO_LEFT) { in GetDisplayStringInLTRDirectionality()
|
D | rtl.h | 55 BASE_I18N_EXPORT bool IsRTL();
|
/external/chromium/base/i18n/ |
D | rtl.cc | 106 bool IsRTL() { in IsRTL() function 168 if (!IsRTL() || text->empty()) in AdjustStringForLocaleDirection() 211 bool ui_direction_is_rtl = IsRTL(); in AdjustStringForLocaleDirection() 339 if (!IsRTL()) in GetDisplayStringInLTRDirectionality()
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
D | minimize_button_metrics_win.cc | 91 if (base::i18n::IsRTL()) in GetMinimizeButtonOffsetX() 104 if (base::i18n::IsRTL()) { in GetAndCacheMinimizeButtonOffsetX()
|
/external/chromium_org/chrome/browser/ui/gtk/tabs/ |
D | dragged_view_gtk.cc | 125 if (base::i18n::IsRTL()) in GetDistanceFromTabStripOriginToMousePointer() 185 if (!base::i18n::IsRTL()) { in GetWidthInTabStripUpToSourceTab() 195 if (!base::i18n::IsRTL() && drag_data_->source_tab_index() > 0) { in GetWidthInTabStripUpToMousePointer() 197 } else if (base::i18n::IsRTL() && in GetWidthInTabStripUpToMousePointer() 258 if (base::i18n::IsRTL()) in Layout() 459 if (!base::i18n::IsRTL()) { in PaintTab()
|
/external/chromium_org/ui/base/l10n/ |
D | l10n_util_android.cc | 20 jboolean IsRTL(JNIEnv* env, jclass clazz) { in IsRTL() function 21 return base::i18n::IsRTL(); in IsRTL()
|
D | l10n_util_win.cc | 85 return !base::i18n::IsRTL() ? 0 : WS_EX_LAYOUTRTL | WS_EX_RTLREADING; in GetExtendedStyles() 89 return !base::i18n::IsRTL() ? 0 : WS_EX_LAYOUTRTL; in GetExtendedTooltipStyles()
|
/external/chromium_org/ui/views/controls/tree/ |
D | tree_view.cc | 85 (base::i18n::IsRTL() ? IDR_FOLDER_CLOSED_RTL in TreeView() 88 (base::i18n::IsRTL() ? IDR_FOLDER_OPEN_RTL in TreeView() 543 if (base::i18n::IsRTL()) in GetKeyboardContextMenuLocation() 571 if (base::i18n::IsRTL()) in OnKeyPressed() 578 if (base::i18n::IsRTL()) in OnKeyPressed() 647 if (base::i18n::IsRTL()) in OnClickOrTap() 784 if (base::i18n::IsRTL()) in PaintRow() 795 if (base::i18n::IsRTL()) in PaintRow() 819 if (base::i18n::IsRTL()) { in PaintExpandControl() 830 int delta = base::i18n::IsRTL() ? 1 : -1; in PaintExpandControl()
|
/external/chromium/chrome/browser/ui/views/bubble/ |
D | border_contents.cc | 16 if (base::i18n::IsRTL()) in Init() 36 if (base::i18n::IsRTL()) in SizeAndGetBounds()
|
/external/chromium_org/chrome/browser/ui/views/autofill/ |
D | decorated_textfield.cc | 154 int x = base::i18n::IsRTL() ? in Layout() 178 bool is_rtl = base::i18n::IsRTL(); in IconChanged()
|
/external/chromium_org/ui/views/controls/ |
D | native_control_win.cc | 161 if (base::i18n::IsRTL()) in GetAdditionalExStyle() 172 if (base::i18n::IsRTL()) in GetAdditionalRTLStyle()
|
/external/chromium/chrome/browser/ui/find_bar/ |
D | find_bar_controller.cc | 154 if (base::i18n::IsRTL()) { in GetLocationForFindbarView() 168 if (base::i18n::IsRTL()) { in GetLocationForFindbarView()
|
/external/chromium/chrome/browser/ui/gtk/extensions/ |
D | extension_installed_bubble_gtk.cc | 262 !base::i18n::IsRTL() ? in ShowInternal() 272 !base::i18n::IsRTL() ? in ShowInternal() 275 if (base::i18n::IsRTL()) in ShowInternal()
|
/external/chromium_org/ui/views/controls/table/ |
D | table_header.cc | 122 if (base::i18n::IsRTL()) { in OnPaint() 140 const int scale = base::i18n::IsRTL() ? -1 : 1; in OnPaint() 250 const int scale = base::i18n::IsRTL() ? -1 : 1; in ContinueResize()
|
/external/chromium/chrome/browser/ui/gtk/ |
D | status_bubble_gtk.cc | 184 bool ltr = !base::i18n::IsRTL(); in MouseMoved() 246 bool ltr = !base::i18n::IsRTL(); in InitWidgets() 307 bool ltr = !base::i18n::IsRTL(); in SetFlipHorizontally()
|
/external/chromium_org/ui/base/win/ |
D | message_box_win.cc | 24 if (base::i18n::IsRTL()) in MessageBox()
|
/external/chromium_org/ui/views/controls/button/ |
D | menu_button.cc | 79 if (base::i18n::IsRTL()) in Activate() 83 if (base::i18n::IsRTL()) in Activate()
|
/external/chromium/chrome/browser/ui/views/autocomplete/ |
D | autocomplete_result_view.cc | 93 return base::i18n::IsRTL() ? (center_ + (center_ - right)) : left; in mirrored_left_coord() 292 if (!bidi_line.Open(text, base::i18n::IsRTL(), is_url)) in DrawString() 307 (base::i18n::IsRTL() && !is_url) ? (num_runs - run - 1) : run, in DrawString() 393 const bool reverse_visible_order = (i->is_rtl != base::i18n::IsRTL()); in DrawString()
|
/external/chromium_org/chrome/browser/ui/gtk/ |
D | status_bubble_gtk.cc | 193 bool ltr = !base::i18n::IsRTL(); in MouseMoved() 259 bool ltr = !base::i18n::IsRTL(); in InitWidgets() 320 bool ltr = !base::i18n::IsRTL(); in SetFlipHorizontally()
|
/external/chromium_org/chrome/browser/ui/views/download/ |
D | download_shelf_context_menu_view.cc | 35 if (base::i18n::IsRTL()) in Run()
|
/external/chromium_org/chrome/browser/ui/find_bar/ |
D | find_bar_controller.cc | 183 if (base::i18n::IsRTL()) { in GetLocationForFindbarView() 197 if (base::i18n::IsRTL()) { in GetLocationForFindbarView()
|
/external/chromium_org/chrome/common/net/ |
D | net_resource_provider.cc | 43 value.SetString("textdirection", base::i18n::IsRTL() ? "rtl" : "ltr"); in LazyDirectoryListerCacher()
|
/external/chromium_org/chrome/browser/chromeos/first_run/steps/ |
D | tray_step.cc | 33 if ((!base::i18n::IsRTL() && alignment != ash::SHELF_ALIGNMENT_LEFT) || in DoShow()
|
/external/chromium/chrome/browser/chromeos/login/ |
D | keyboard_switch_menu.cc | 44 if (base::i18n::IsRTL()) { in RunMenu()
|