/external/chromium_org/base/i18n/ |
D | rtl_unittest.cc | 26 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 …]
|
D | rtl.cc | 121 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()
|
D | rtl.h | 55 BASE_I18N_EXPORT bool IsRTL();
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
D | minimize_button_metrics_win.cc | 81 if (base::i18n::IsRTL()) in GetMinimizeButtonOffsetX() 94 if (base::i18n::IsRTL()) { in GetAndCacheMinimizeButtonOffsetX()
|
D | glass_browser_frame_view.cc | 128 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/ |
D | decorated_textfield.cc | 122 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/ |
D | hwnd_util.cc | 210 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/ |
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() 821 if (base::i18n::IsRTL()) { in PaintExpandControl() 832 int delta = base::i18n::IsRTL() ? 1 : -1; in PaintExpandControl()
|
/external/chromium_org/ui/base/l10n/ |
D | l10n_util_win.cc | 86 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/ |
D | table_header.cc | 113 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/ |
D | menu_button.cc | 80 if (base::i18n::IsRTL()) in Activate() 84 if (base::i18n::IsRTL()) in Activate()
|
/external/chromium_org/ui/base/win/ |
D | message_box_win.cc | 24 if (base::i18n::IsRTL()) in MessageBox()
|
/external/chromium_org/chrome/browser/ui/views/download/ |
D | download_shelf_context_menu_view.cc | 34 if (base::i18n::IsRTL()) in Run()
|
D | download_started_animation_views.cc | 94 int x = base::i18n::IsRTL() ? in Reposition()
|
/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_org/content/browser/web_contents/aura/ |
D | gesture_nav_simple.cc | 35 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/ |
D | autofill_popup_controller.h | 54 virtual bool IsRTL() const = 0;
|
/external/chromium_org/ui/views/controls/ |
D | resize_area.cc | 76 delegate_->OnResize(base::i18n::IsRTL() ? -resize_amount : resize_amount, in ReportResizeAmount()
|
D | single_split_view.cc | 162 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/ |
D | tray_popup_label_button_border.cc | 88 if (base::i18n::IsRTL()) { in Paint()
|
D | tray_background_view.cc | 542 bool rtl = base::i18n::IsRTL(); in GetBubbleAnchorRect() 580 base::i18n::IsRTL() ? in GetBubbleAnchorRect() 605 base::i18n::IsRTL() ? in GetBubbleAnchorRect()
|
/external/chromium_org/ui/gfx/ |
D | render_text_unittest.cc | 62 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/ |
D | ssl_blocking_page.cc | 294 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()
|