Home
last modified time | relevance | path

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

12345

/external/chromium_org/base/i18n/
Drtl_unittest.cc26 EXPECT_EQ(rtl, IsRTL()); in SetRTL()
306 const bool was_rtl = IsRTL(); in TEST_F()
310 SetRTL(!IsRTL()); in TEST_F()
334 EXPECT_EQ(was_rtl, IsRTL()); in TEST_F()
353 const bool was_rtl = IsRTL(); in TEST_F()
357 SetRTL(!IsRTL()); in TEST_F()
362 if (IsRTL() ? cases[i].wrap_rtl : cases[i].wrap_ltr) in TEST_F()
369 EXPECT_EQ(was_rtl, IsRTL()); in TEST_F()
417 const bool was_rtl = IsRTL(); in TEST_F()
421 SetRTL(!IsRTL()); in TEST_F()
[all …]
Drtl.cc121 bool IsRTL() { in IsRTL() function
201 if (!IsRTL() || text->empty()) in AdjustStringForLocaleDirection()
216 if (!IsRTL() || text->empty()) in UnadjustStringForLocaleDirection()
252 bool ui_direction_is_rtl = IsRTL(); in AdjustStringForLocaleDirection()
369 if (IsRTL() || GetFirstStrongCharacterDirection(text) == RIGHT_TO_LEFT) { in GetDisplayStringInLTRDirectionality()
Drtl.h55 BASE_I18N_EXPORT bool IsRTL();
/external/chromium_org/chrome/browser/ui/views/frame/
Dminimize_button_metrics_win.cc81 if (base::i18n::IsRTL()) in GetMinimizeButtonOffsetX()
94 if (base::i18n::IsRTL()) { in GetAndCacheMinimizeButtonOffsetX()
Dglass_browser_frame_view.cc128 if (base::i18n::IsRTL()) { in GetBoundsForTabStrip()
453 if (base::i18n::IsRTL()) in LayoutNewStyleAvatar()
481 if (base::i18n::IsRTL()) in LayoutAvatar()
/external/chromium_org/chrome/browser/ui/views/autofill/
Ddecorated_textfield.cc122 int x = base::i18n::IsRTL() ? in Layout()
153 int left = insets.left() + (base::i18n::IsRTL() ? w : 0); in UpdateBorder()
154 int right = insets.right() + (base::i18n::IsRTL() ? 0 : w); in UpdateBorder()
/external/chromium_org/ui/gfx/win/
Dhwnd_util.cc210 Point point = Point(base::i18n::IsRTL() ? rect.right : rect.left, rect.top); in ShowSystemMenu()
212 point.Offset(base::i18n::IsRTL() ? -kSystemMenuOffset : kSystemMenuOffset, in ShowSystemMenu()
222 if (base::i18n::IsRTL()) in ShowSystemMenuAtPoint()
/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()
821 if (base::i18n::IsRTL()) { in PaintExpandControl()
832 int delta = base::i18n::IsRTL() ? 1 : -1; in PaintExpandControl()
/external/chromium_org/ui/base/l10n/
Dl10n_util_win.cc86 return !base::i18n::IsRTL() ? 0 : WS_EX_LAYOUTRTL | WS_EX_RTLREADING; in GetExtendedStyles()
90 return !base::i18n::IsRTL() ? 0 : WS_EX_LAYOUTRTL; in GetExtendedTooltipStyles()
/external/chromium_org/ui/views/controls/table/
Dtable_header.cc113 if (base::i18n::IsRTL()) { in OnPaint()
131 const int scale = base::i18n::IsRTL() ? -1 : 1; in OnPaint()
241 const int scale = base::i18n::IsRTL() ? -1 : 1; in ContinueResize()
/external/chromium_org/ui/views/controls/button/
Dmenu_button.cc80 if (base::i18n::IsRTL()) in Activate()
84 if (base::i18n::IsRTL()) in Activate()
/external/chromium_org/ui/base/win/
Dmessage_box_win.cc24 if (base::i18n::IsRTL()) in MessageBox()
/external/chromium_org/chrome/browser/ui/views/download/
Ddownload_shelf_context_menu_view.cc34 if (base::i18n::IsRTL()) in Run()
Ddownload_started_animation_views.cc94 int x = base::i18n::IsRTL() ? in Reposition()
/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_org/content/browser/web_contents/aura/
Dgesture_nav_simple.cc35 return mode == (base::i18n::IsRTL() ? OVERSCROLL_EAST : OVERSCROLL_WEST) && in ShouldNavigateForward()
41 return mode == (base::i18n::IsRTL() ? OVERSCROLL_WEST : OVERSCROLL_EAST) && in ShouldNavigateBack()
/external/chromium_org/chrome/browser/ui/autofill/
Dautofill_popup_controller.h54 virtual bool IsRTL() const = 0;
/external/chromium_org/ui/views/controls/
Dresize_area.cc76 delegate_->OnResize(base::i18n::IsRTL() ? -resize_amount : resize_amount, in ReportResizeAmount()
Dsingle_split_view.cc162 if (is_horizontal_ && base::i18n::IsRTL()) in OnMouseDragged()
212 p.x() - child_at(base::i18n::IsRTL() ? 1 : 0)->width(); in IsPointInDivider()
/external/chromium_org/ash/system/tray/
Dtray_popup_label_button_border.cc88 if (base::i18n::IsRTL()) { in Paint()
Dtray_background_view.cc542 bool rtl = base::i18n::IsRTL(); in GetBubbleAnchorRect()
580 base::i18n::IsRTL() ? in GetBubbleAnchorRect()
605 base::i18n::IsRTL() ? in GetBubbleAnchorRect()
/external/chromium_org/ui/gfx/
Drender_text_unittest.cc62 EXPECT_EQ(rtl, base::i18n::IsRTL()); in SetRTL()
619 const bool was_rtl = base::i18n::IsRTL(); in TEST_F()
623 SetRTL(!base::i18n::IsRTL()); in TEST_F()
624 const base::i18n::TextDirection ui_direction = base::i18n::IsRTL() ? in TEST_F()
641 EXPECT_EQ(was_rtl, base::i18n::IsRTL()); in TEST_F()
1022 const bool was_rtl = base::i18n::IsRTL(); in TEST_F()
1025 SetRTL(!base::i18n::IsRTL()); in TEST_F()
1040 EXPECT_EQ(was_rtl, base::i18n::IsRTL()); in TEST_F()
1426 const bool was_rtl = base::i18n::IsRTL(); in TEST_F()
1476 const bool was_rtl = base::i18n::IsRTL(); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ssl/
Dssl_blocking_page.cc294 strings.SetString("textdirection", base::i18n::IsRTL() ? "rtl" : "ltr"); in GetHTMLContentsV1()
317 bool rtl = base::i18n::IsRTL(); in GetHTMLContentsV1()
412 if (base::i18n::IsRTL()) in GetHTMLContentsV2()

12345