Searched refs:isRTL (Results 1 - 25 of 39) sorted by relevance

12

/external/chromium_org/third_party/WebKit/public/web/
H A DWebTextRun.h41 WebTextRun(const WebString& t, bool isRTL, bool hasDirectionalOverride) argument
43 , rtl(isRTL)
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DLocaleICUTest.cpp132 bool isRTL(const char* localeString) function in class:LocaleICUTest
135 return locale->isRTL();
146 TEST_F(LocaleICUTest, isRTL)
148 EXPECT_TRUE(isRTL("ar-EG"));
149 EXPECT_FALSE(isRTL("en-us"));
150 EXPECT_FALSE(isRTL("ja-jp"));
151 EXPECT_FALSE(isRTL("**invalid**"));
H A DLocaleMacTest.cpp120 bool isRTL(const String& localeString) function in class:LocaleMacTest
123 return locale->isRTL();
259 TEST_F(LocaleMacTest, isRTL)
261 EXPECT_TRUE(isRTL("ar-eg"));
262 EXPECT_FALSE(isRTL("en-us"));
263 EXPECT_FALSE(isRTL("ja-jp"));
264 EXPECT_FALSE(isRTL("**invalid**"));
H A DLocaleWinTest.cpp111 bool isRTL(LCID lcid) function in class:LocaleWinTest
114 return locale->isRTL();
200 TEST_F(LocaleWinTest, isRTL)
202 EXPECT_TRUE(isRTL(ArabicEG));
203 EXPECT_FALSE(isRTL(EnglishUS));
/external/chromium_org/third_party/WebKit/Source/web/
H A DPopupContainerTest.cpp77 const bool isRTL = true; local
83 return PopupContainer::layoutAndCalculateWidgetRectInternal(initialRect, targetControlHeight, windowRect, screenRect, !isRTL, rtlOffset, verticalOffset, transformOffset, content, needToResizeView);
86 static IntRect calculatePosition(const IntRect& initialRect, PopupContent* content, FloatRect windowRect = FloatRect(0, 0, 512, 512), bool isRTL = true)
90 int rtlOffset = (targetControlWidth - initialRect.width()) * (isRTL ? 1 : -1);
92 return PopupContainer::layoutAndCalculateWidgetRectInternal(initialRect, targetControlHeight, windowRect, screenRect, !isRTL, rtlOffset, 0, IntSize(), content, needToResizeView);
H A DPopupContainer.h96 bool isRTL() const;
121 static IntRect layoutAndCalculateWidgetRectInternal(IntRect widgetRectInScreen, int targetControlHeight, const FloatRect& windowRect, const FloatRect& screen, bool isRTL, const int rtlOffset, const int verticalOffset, const IntSize& transformOffset, PopupContent*, bool& needToResizeView);
H A DPopupContainer.cpp105 IntRect PopupContainer::layoutAndCalculateWidgetRectInternal(IntRect widgetRectInScreen, int targetControlHeight, const FloatRect& windowRect, const FloatRect& screen, bool isRTL, const int rtlOffset, const int verticalOffset, const IntSize& transformOffset, PopupContent* listBox, bool& needToResizeView) argument
112 inverseWidgetRectInScreen.setX(inverseWidgetRectInScreen.x() + (isRTL ? -rtlOffset : rtlOffset));
113 inverseWidgetRectInScreen.setY(inverseWidgetRectInScreen.y() + (isRTL ? -verticalOffset : verticalOffset));
169 bool isRTL = this->isRTL(); local
178 int rightOffset = isRTL ? rtlOffset : 0;
183 int verticalForRTLOffset = isRTL ? verticalOffset : 0;
205 widgetRectInScreen = layoutAndCalculateWidgetRectInternal(widgetRectInScreen, targetControlHeight, windowRect, screen, isRTL, rtlOffset, verticalOffset, transformOffset, m_listBox.get(), needToResizeView);
444 inline bool PopupContainer::isRTL() const function in class:blink::PopupContainer
H A DDateTimeChooserImpl.cpp147 addProperty("isLocaleRTL", m_locale->isRTL(), data);
148 addProperty("isRTL", m_parameters.isAnchorElementRTL, data);
/external/chromium_org/chrome/browser/resources/uber/
H A Duber_frame.js124 assert(isRTL());
134 assert(isRTL());
H A Duber.js205 if (isRTL()) {
412 if (isRTL()) {
/external/chromium_org/ui/webui/resources/js/cr/ui/
H A Dfocus_row.js169 index = item + (isRTL() ? 1 : -1);
171 index = item + (isRTL() ? -1 : 1);
H A Dcard_slider.js290 if (!isRTL())
301 if (!isRTL())
559 (isRTL() ? this.cards_.length - this.currentCard - 1 :
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
H A DDateTimeFieldElement.cpp99 if (!localeForOwner().isRTL() && m_fieldOwner->focusOnPreviousField(*this))
109 if (!localeForOwner().isRTL() && m_fieldOwner->focusOnNextField(*this))
H A DDateTimeNumericFieldElement.cpp67 if (localeForOwner().isRTL()) {
/external/chromium_org/third_party/WebKit/Source/platform/text/
H A DLocaleMac.h54 virtual bool isRTL() OVERRIDE;
H A DLocaleWin.h48 virtual bool isRTL() OVERRIDE;
H A DPlatformLocale.h131 virtual bool isRTL() = 0;
H A DLocaleICU.h54 virtual bool isRTL() OVERRIDE;
H A DLocaleMac.mm156 bool LocaleMac::isRTL()
/external/chromium_org/chrome/browser/resources/ntp4/
H A Dtile_page.js128 var offsetLeft = isRTL() ?
238 if (isRTL())
958 if (isRTL())
1069 (isRTL() ? -1 : 1);
H A Dpage_list_view.js611 var pageSwitcherLeft = isRTL() ? this.pageSwitcherEnd :
613 var pageSwitcherRight = isRTL() ? this.pageSwitcherStart :
/external/chromium_org/ui/login/
H A Dbubble.js210 if (isRTL()) {
/external/chromium_org/third_party/WebKit/Source/web/resources/
H A DpickerCommon.js150 if (global.params.isRTL)
H A DsuggestionPicker.js168 if (this._config.isRTL)
/external/chromium_org/ui/webui/resources/js/
H A Dutil.js248 function isRTL() {

Completed in 500 milliseconds

12