Searched refs:TextDirection (Results 1 - 25 of 130) sorted by relevance

123456

/external/chromium_org/third_party/WebKit/Source/platform/text/
H A DTextDirection.h31 enum TextDirection { RTL, LTR }; enum in namespace:blink
33 inline bool isLeftToRightDirection(TextDirection direction) { return direction == LTR; }
H A DBidiTextRun.h34 #include "platform/text/TextDirection.h"
40 PLATFORM_EXPORT TextDirection directionForRun(TextRun&, bool& hasStrongDirectionality);
41 PLATFORM_EXPORT TextDirection determineDirectionality(const String& value, bool& hasStrongDirectionality);
H A DBidiTextRun.cpp39 TextDirection directionForRun(TextRun& run, bool& hasStrongDirectionality)
47 TextDirection determineDirectionality(const String& value, bool& hasStrongDirectionality)
56 TextDirection direction = directionForRun(run, hasStrongDirectionality);
H A DTextRun.h30 #include "platform/text/TextDirection.h"
57 TextRun(const LChar* c, unsigned len, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, TextDirection direction = LTR, bool directionalOverride = false, bool characterScanForCodePath = true)
77 TextRun(const UChar* c, unsigned len, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, TextDirection direction = LTR, bool directionalOverride = false, bool characterScanForCodePath = true)
97 TextRun(const String& string, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, TextDirection direction = LTR, bool directionalOverride = false, bool characterScanForCodePath = true, bool normalizeSpace = false)
125 TextRun(const StringView& string, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, TextDirection direction = LTR, bool directionalOverride = false, bool characterScanForCodePath = true, bool normalizeSpace = false)
198 TextDirection direction() const { return static_cast<TextDirection>(m_direction); }
207 void setDirection(TextDirection direction) { m_direction = direction; }
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DBidiRunForLine.h32 TextDirection determinePlaintextDirectionality(RenderObject* root,
H A DTextRunConstructor.h39 #include "platform/text/TextDirection.h"
66 TextRun constructTextRun(RenderObject* context, const Font&, const String&, RenderStyle*, TextDirection,
69 TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, RenderStyle*, TextDirection,
72 TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, unsigned offset, unsigned length, RenderStyle*, TextDirection,
78 TextRun constructTextRun(RenderObject* context, const Font&, const LChar* characters, int length, RenderStyle*, TextDirection,
81 TextRun constructTextRun(RenderObject* context, const Font&, const UChar* characters, int length, RenderStyle*, TextDirection,
H A DRenderBR.h41 virtual float width(unsigned /*from*/, unsigned /*len*/, const Font&, float /*xPos*/, TextDirection, HashSet<const SimpleFontData*>* = 0 /*fallbackFonts*/ , GlyphOverflow* = 0) const OVERRIDE { return 0; }
42 virtual float width(unsigned /*from*/, unsigned /*len*/, float /*xpos*/, TextDirection, bool = false /*firstLine*/, HashSet<const SimpleFontData*>* = 0 /*fallbackFonts*/, GlyphOverflow* = 0) const OVERRIDE { return 0; }
H A DTextRunConstructor.cpp42 static inline TextRun constructTextRunInternal(RenderObject* context, const Font& font, const CharacterType* characters, int length, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion)
55 static inline TextRun constructTextRunInternal(RenderObject* context, const Font& font, const CharacterType* characters, int length, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion, TextRunFlags flags)
59 TextDirection textDirection = direction;
75 TextRun constructTextRun(RenderObject* context, const Font& font, const LChar* characters, int length, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion)
80 TextRun constructTextRun(RenderObject* context, const Font& font, const UChar* characters, int length, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion)
85 TextRun constructTextRun(RenderObject* context, const Font& font, const RenderText* text, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion)
92 TextRun constructTextRun(RenderObject* context, const Font& font, const RenderText* text, unsigned offset, unsigned length, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion)
100 TextRun constructTextRun(RenderObject* context, const Font& font, const String& string, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion, TextRunFlags flags)
H A DRenderCombineText.h42 virtual float width(unsigned from, unsigned length, const Font&, float xPosition, TextDirection, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const OVERRIDE;
H A DBidiRunForLine.cpp83 TextDirection determinePlaintextDirectionality(RenderObject* root,
96 static inline BidiStatus statusWithDirection(TextDirection textDirection,
169 TextDirection direction;
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DValidationMessageClient.h30 #include "platform/text/TextDirection.h"
45 virtual void showValidationMessage(const Element& anchor, const String& mainMessage, TextDirection, const String& subMessage, TextDirection) = 0;
/external/chromium_org/base/i18n/
H A Drtl.h29 // Locale.java mirrored this enum TextDirection. Please keep in sync.
30 enum TextDirection { enum in namespace:base::i18n
64 BASE_I18N_EXPORT TextDirection GetTextDirectionForLocale(
73 BASE_I18N_EXPORT TextDirection GetFirstStrongCharacterDirection(
75 BASE_I18N_EXPORT TextDirection GetLastStrongCharacterDirection(
84 BASE_I18N_EXPORT TextDirection GetStringDirection(const string16& text);
H A Drtl.cc46 base::i18n::TextDirection GetCharacterDirection(UChar32 character) {
69 static TextDirection g_icu_text_direction = UNKNOWN_DIRECTION;
133 TextDirection GetTextDirectionForLocale(const char* locale_name) {
141 TextDirection GetFirstStrongCharacterDirection(const string16& text) {
149 TextDirection direction = GetCharacterDirection(character);
157 TextDirection GetLastStrongCharacterDirection(const string16& text) {
164 TextDirection direction = GetCharacterDirection(character);
172 TextDirection GetStringDirection(const string16& text) {
177 TextDirection result(UNKNOWN_DIRECTION);
182 TextDirection directio
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DLayoutBoxExtent.h36 #include "platform/text/TextDirection.h"
64 LayoutUnit start(WritingMode, TextDirection) const;
65 LayoutUnit end(WritingMode, TextDirection) const;
69 void setStart(WritingMode, TextDirection, LayoutUnit);
70 void setEnd(WritingMode, TextDirection, LayoutUnit);
H A DLayoutBoxExtent.cpp90 LayoutUnit LayoutBoxExtent::start(WritingMode writingMode, TextDirection direction) const
97 LayoutUnit LayoutBoxExtent::end(WritingMode writingMode, TextDirection direction) const
146 void LayoutBoxExtent::setStart(WritingMode writingMode, TextDirection direction, LayoutUnit value)
161 void LayoutBoxExtent::setEnd(WritingMode writingMode, TextDirection direction, LayoutUnit value)
/external/chromium_org/third_party/WebKit/public/web/
H A DWebTextDirection.h35 #include "platform/text/TextDirection.h"
49 inline WebTextDirection toWebTextDirection(TextDirection direction)
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGTextMetrics.h24 #include "platform/text/TextDirection.h"
46 static SVGTextMetrics measureCharacterRange(RenderSVGInlineText*, unsigned position, unsigned length, TextDirection);
47 static TextRun constructTextRun(RenderSVGInlineText*, unsigned position, unsigned length, TextDirection);
/external/chromium_org/third_party/WebKit/Source/web/
H A DValidationMessageClientImpl.h53 virtual void showValidationMessage(const Element& anchor, const String& message, TextDirection messageDir, const String& subMessage, TextDirection subMessageDir) OVERRIDE;
/external/chromium_org/third_party/WebKit/Source/platform/
H A DPopupMenuStyle.h32 #include "platform/text/TextDirection.h"
39 PopupMenuStyle(const Color& foreground, const Color& background, const Font& font, bool visible, bool isDisplayNone, Length textIndent, TextDirection textDirection, bool hasTextDirectionOverride, BackgroundColorType backgroundColorType = DefaultBackgroundColor)
57 TextDirection textDirection() const { return m_textDirection; }
67 TextDirection m_textDirection;
H A DLengthBox.cpp78 const Length& LengthBox::start(WritingMode writingMode, TextDirection direction) const
85 const Length& LengthBox::end(WritingMode writingMode, TextDirection direction) const
H A DLengthBox.h27 #include "platform/text/TextDirection.h"
80 const Length& start(WritingMode, TextDirection) const;
81 const Length& end(WritingMode, TextDirection) const;
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DCharacter.h35 #include "platform/text/TextDirection.h"
51 static unsigned expansionOpportunityCount(const LChar*, size_t length, TextDirection, bool& isAfterExpansion);
52 static unsigned expansionOpportunityCount(const UChar*, size_t length, TextDirection, bool& isAfterExpansion);
/external/chromium_org/ui/gfx/
H A Dpango_util.h56 base::i18n::TextDirection text_direction,
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLFormControlElementTest.cpp51 TextDirection messageDir = RTL;
52 TextDirection subMessageDir = LTR;
/external/chromium_org/chrome/browser/ui/autofill/
H A Dautofill_popup_controller_impl.h38 base::i18n::TextDirection text_direction);
72 base::i18n::TextDirection text_direction);
180 base::i18n::TextDirection text_direction_;

Completed in 446 milliseconds

123456