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

12

/external/chromium_org/third_party/WebKit/public/web/
H A DWebTextRun.h43 WebTextRun(const WebString& t, bool isRTL, bool hasDirectionalOverride) argument
45 , 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 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 DLocaleMacTest.cpp121 bool isRTL(const String& localeString) function in class:LocaleMacTest
124 return locale->isRTL();
262 TEST_F(LocaleMacTest, isRTL)
264 EXPECT_TRUE(isRTL("ar-eg"));
265 EXPECT_FALSE(isRTL("en-us"));
266 EXPECT_FALSE(isRTL("ja-jp"));
267 EXPECT_FALSE(isRTL("**invalid**"));
H A DLocaleWinTest.cpp112 bool isRTL(LCID lcid) function in class:LocaleWinTest
115 return locale->isRTL();
203 TEST_F(LocaleWinTest, isRTL)
205 EXPECT_TRUE(isRTL(ArabicEG));
206 EXPECT_FALSE(isRTL(EnglishUS));
/external/chromium_org/chrome/browser/resources/uber/
H A Duber_frame.js102 assert(isRTL());
112 assert(isRTL());
H A Duber.js175 if (isRTL()) {
333 if (isRTL()) {
/external/chromium_org/third_party/WebKit/Source/web/
H A DPopupContainer.h88 bool isRTL() const;
115 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.cpp104 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
111 inverseWidgetRectInScreen.setX(inverseWidgetRectInScreen.x() + (isRTL ? -rtlOffset : rtlOffset));
112 inverseWidgetRectInScreen.setY(inverseWidgetRectInScreen.y() + (isRTL ? -verticalOffset : verticalOffset));
168 bool isRTL = this->isRTL(); local
177 int rightOffset = isRTL ? rtlOffset : 0;
182 int verticalForRTLOffset = isRTL ? verticalOffset : 0;
202 widgetRectInScreen = layoutAndCalculateWidgetRectInternal(widgetRectInScreen, targetControlHeight, windowRect, screen, isRTL, rtlOffset, verticalOffset, transformOffset, m_listBox.get(), needToResizeView);
427 inline bool PopupContainer::isRTL() const function in class:WebCore::PopupContainer
H A DDateTimeChooserImpl.cpp143 addProperty("isLocaleRTL", m_locale->isRTL(), writer);
144 addProperty("isRTL", m_parameters.isAnchorElementRTL, writer);
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
H A DDateTimeFieldElement.cpp89 if (!localeForOwner().isRTL() && m_fieldOwner->focusOnPreviousField(*this))
99 if (!localeForOwner().isRTL() && m_fieldOwner->focusOnNextField(*this))
H A DDateTimeNumericFieldElement.cpp71 if (localeForOwner().isRTL()) {
/external/chromium_org/third_party/WebKit/Source/core/platform/text/
H A DPlatformLocale.h123 virtual bool isRTL() = 0;
H A DLocaleICU.h55 virtual bool isRTL() OVERRIDE;
/external/chromium_org/third_party/WebKit/Source/core/platform/text/mac/
H A DLocaleMac.h57 virtual bool isRTL() OVERRIDE;
H A DLocaleMac.mm160 bool LocaleMac::isRTL()
/external/chromium_org/third_party/WebKit/Source/core/platform/text/win/
H A DLocaleWin.h52 virtual bool isRTL() OVERRIDE;
/external/chromium_org/ui/webui/resources/js/cr/ui/
H A Dcard_slider.js290 if (!isRTL())
301 if (!isRTL())
559 (isRTL() ? this.cards_.length - this.currentCard - 1 :
/external/chromium_org/chrome/browser/resources/chromeos/login/
H A Dbubble.js173 if (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/third_party/WebKit/Source/core/Resources/pagepopups/
H A DpickerCommon.js150 if (global.params.isRTL)
H A DsuggestionPicker.js168 if (this._config.isRTL)
/external/chromium_org/third_party/skia/src/ports/
H A DSkHarfBuzzFont.cpp27 hb_uint32* glyphsSize, HB_Bool isRTL) {
25 stringToGlyphs(HB_Font hbFont, const HB_UChar16* characters, hb_uint32 length, HB_Glyph* glyphs, hb_uint32* glyphsSize, HB_Bool isRTL) argument
/external/skia/src/ports/
H A DSkHarfBuzzFont.cpp27 hb_uint32* glyphsSize, HB_Bool isRTL) {
25 stringToGlyphs(HB_Font hbFont, const HB_UChar16* characters, hb_uint32 length, HB_Glyph* glyphs, hb_uint32* glyphsSize, HB_Bool isRTL) argument

Completed in 363 milliseconds

12