Home
last modified time | relevance | path

Searched refs:IsRTL (Results 1 – 25 of 192) sorted by relevance

12345678

/external/chromium_org/base/i18n/
Drtl_unittest.cc34 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 …]
Drtl.cc125 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()
Drtl.h55 BASE_I18N_EXPORT bool IsRTL();
/external/chromium/base/i18n/
Drtl.cc106 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/
Dminimize_button_metrics_win.cc91 if (base::i18n::IsRTL()) in GetMinimizeButtonOffsetX()
104 if (base::i18n::IsRTL()) { in GetAndCacheMinimizeButtonOffsetX()
/external/chromium_org/chrome/browser/ui/gtk/tabs/
Ddragged_view_gtk.cc125 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/
Dl10n_util_android.cc20 jboolean IsRTL(JNIEnv* env, jclass clazz) { in IsRTL() function
21 return base::i18n::IsRTL(); in IsRTL()
Dl10n_util_win.cc85 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/
Dtree_view.cc85 (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/
Dborder_contents.cc16 if (base::i18n::IsRTL()) in Init()
36 if (base::i18n::IsRTL()) in SizeAndGetBounds()
/external/chromium_org/chrome/browser/ui/views/autofill/
Ddecorated_textfield.cc154 int x = base::i18n::IsRTL() ? in Layout()
178 bool is_rtl = base::i18n::IsRTL(); in IconChanged()
/external/chromium_org/ui/views/controls/
Dnative_control_win.cc161 if (base::i18n::IsRTL()) in GetAdditionalExStyle()
172 if (base::i18n::IsRTL()) in GetAdditionalRTLStyle()
/external/chromium/chrome/browser/ui/find_bar/
Dfind_bar_controller.cc154 if (base::i18n::IsRTL()) { in GetLocationForFindbarView()
168 if (base::i18n::IsRTL()) { in GetLocationForFindbarView()
/external/chromium/chrome/browser/ui/gtk/extensions/
Dextension_installed_bubble_gtk.cc262 !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/
Dtable_header.cc122 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/
Dstatus_bubble_gtk.cc184 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/
Dmessage_box_win.cc24 if (base::i18n::IsRTL()) in MessageBox()
/external/chromium_org/ui/views/controls/button/
Dmenu_button.cc79 if (base::i18n::IsRTL()) in Activate()
83 if (base::i18n::IsRTL()) in Activate()
/external/chromium/chrome/browser/ui/views/autocomplete/
Dautocomplete_result_view.cc93 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/
Dstatus_bubble_gtk.cc193 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/
Ddownload_shelf_context_menu_view.cc35 if (base::i18n::IsRTL()) in Run()
/external/chromium_org/chrome/browser/ui/find_bar/
Dfind_bar_controller.cc183 if (base::i18n::IsRTL()) { in GetLocationForFindbarView()
197 if (base::i18n::IsRTL()) { in GetLocationForFindbarView()
/external/chromium_org/chrome/common/net/
Dnet_resource_provider.cc43 value.SetString("textdirection", base::i18n::IsRTL() ? "rtl" : "ltr"); in LazyDirectoryListerCacher()
/external/chromium_org/chrome/browser/chromeos/first_run/steps/
Dtray_step.cc33 if ((!base::i18n::IsRTL() && alignment != ash::SHELF_ALIGNMENT_LEFT) || in DoShow()
/external/chromium/chrome/browser/chromeos/login/
Dkeyboard_switch_menu.cc44 if (base::i18n::IsRTL()) { in RunMenu()

12345678