HomeSort by relevance Sort by last modified time
    Searched refs:ltr (Results 1 - 25 of 98) sorted by null

1 2 3 4

  /external/chromium/chrome/browser/ui/gtk/
rounded_window.cc 68 bool ltr = !base::i18n::IsRTL(); local
72 // right for ltr).
74 // We use this one for LTR.
75 int x_off_l = ltr ? y_off : 0;
77 int x_off_r = !ltr ? -y_off : 0;
96 height - (corner_size - y) + y_off, width, ltr));
100 height - (corner_size - y) + y_off, width, ltr));
104 corner_size + x_off_l, height + y_off, width, ltr));
106 x_off_r, height - corner_size, width, ltr));
109 points.push_back(MakeBidiGdkPoint(x_off_r, height + y_off, width, ltr));
    [all...]
status_bubble_gtk.cc 184 bool ltr = !base::i18n::IsRTL();
197 (ltr ? 0 : parent->allocation.width - requisition.width),
209 if (((ltr && location.x() < right_threshold) ||
210 (!ltr && location.x() > left_threshold)) &&
217 int distance = std::max(ltr ?
246 bool ltr = !base::i18n::IsRTL(); local
253 kInternalLeftRightPadding + (ltr ? 0 : kCornerSize),
254 kInternalLeftRightPadding + (ltr ? kCornerSize : 0));
307 bool ltr = !base::i18n::IsRTL(); local
308 bool on_left = (ltr && !flip_horizontally) || (!ltr && flip_horizontally)
    [all...]
find_bar_gtk.cc 86 bool ltr = !base::i18n::IsRTL(); local
90 // right for ltr).
92 // We use this one for LTR.
93 int x_off_l = ltr ? y_off : 0;
95 int x_off_r = !ltr ? -y_off : 0;
98 points.push_back(MakeBidiGdkPoint(x_off_r, 0, width, ltr));
100 kCornerSize + x_off_r, kCornerSize, width, ltr));
104 kCornerSize + x_off_r, height - kCornerSize, width, ltr));
107 width, ltr));
112 width, ltr));
421 bool ltr = !base::i18n::IsRTL(); local
    [all...]
tab_contents_container_gtk.cc 231 bool ltr = !base::i18n::IsRTL(); local
235 if (ltr ^ status->flip_horizontally()) // Is it on the left?
  /external/webkit/Source/WebCore/platform/graphics/mac/
ComplexTextController.h 78 static PassRefPtr<ComplexTextRun> create(ATSUTextLayout atsuTextLayout, const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr, bool directionalOverride)
80 return adoptRef(new ComplexTextRun(atsuTextLayout, fontData, characters, stringLocation, stringLength, ltr, directionalOverride));
83 static PassRefPtr<ComplexTextRun> create(const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr)
85 return adoptRef(new ComplexTextRun(fontData, characters, stringLocation, stringLength, ltr));
104 void createTextRunFromFontDataCoreText(bool ltr);
107 ComplexTextRun(ATSUTextLayout, const SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr, bool directionalOverride);
108 void createTextRunFromFontDataATSUI(bool ltr);
110 ComplexTextRun(const SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr);
ComplexTextController.cpp 78 unsigned expansionOpportunityCount = Font::expansionOpportunityCount(m_run.characters(), m_end, m_run.ltr() ? LTR : RTL, isAfterExpansion);
97 return m_run.ltr() ? m_end : 0;
101 return m_run.ltr() ? 0 : m_end;
115 if (m_run.ltr())
123 CFIndex hitIndex = hitGlyphStart + (hitGlyphEnd - hitGlyphStart) * (m_run.ltr() ? x / adjustedAdvance : 1 - x / adjustedAdvance);
162 x -= clusterWidth * (m_run.ltr() ? hitIndex - hitGlyphStart : hitGlyphEnd - hitIndex - 1);
165 return complexTextRun.stringLocation() + (m_run.ltr() ? clusterStart : clusterEnd);
167 return complexTextRun.stringLocation() + (m_run.ltr() ? clusterEnd : clusterStart);
198 if (m_run.ltr()) {
357 bool ltr = m_run.ltr(); local
    [all...]
ComplexTextControllerCoreText.cpp 78 void ComplexTextController::ComplexTextRun::createTextRunFromFontDataCoreText(bool ltr)
93 if (!ltr) {
127 m_complexTextRuns.append(ComplexTextRun::create(m_font.primaryFont(), cp, stringLocation, length, m_run.ltr()));
147 RetainPtr<CTTypesetterRef> typesetter(AdoptCF, wkCreateCTTypesetterWithUniCharProviderAndOptions(&provideStringAndAttributes, 0, &info, m_run.ltr() ? ltrTypesetterOptions : rtlTypesetterOptions));
151 RetainPtr<CTTypesetterRef> typesetter(AdoptCF, CTTypesetterCreateWithAttributedStringAndOptions(attributedString.get(), m_run.ltr() ? ltrTypesetterOptions : rtlTypesetterOptions));
ComplexTextControllerATSUI.cpp 144 ComplexTextController::ComplexTextRun::ComplexTextRun(ATSUTextLayout atsuTextLayout, const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr, bool directionalOverride)
159 Boolean rtl = !ltr;
162 bool shouldCheckForMirroring = !ltr && !fontData->m_ATSUMirrors;
194 UChar override = ltr ? leftToRightOverride : rightToLeftOverride;
224 void ComplexTextController::ComplexTextRun::createTextRunFromFontDataATSUI(bool ltr)
239 if (!ltr) {
319 m_complexTextRuns.append(ComplexTextRun::create(m_font.primaryFont(), cp, stringLocation, length, m_run.ltr()));
337 m_complexTextRuns.append(ComplexTextRun::create(atsuTextLayout, fontData, cp, stringLocation, length, m_run.ltr(), m_run.directionalOverride()));
  /external/webkit/Source/WebCore/rendering/
RenderMarquee.cpp 93 result = (dir == LTR) ? MRIGHT : MLEFT;
95 result = (dir == LTR) ? MLEFT : MRIGHT;
117 bool ltr = s->isLeftToRightDirection(); local
119 int contentWidth = ltr ? box->maxXLayoutOverflow() : box->minXLayoutOverflow();
120 if (ltr)
128 return max(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth));
130 return ltr ? contentWidth : clientWidth;
134 return min(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth));
136 return ltr ? -clientWidth : -contentWidth;
RootInlineBox.h 80 bool lineCanAccommodateEllipsis(bool ltr, int blockEdge, int lineBoxEdge, int ellipsisWidth);
81 void placeEllipsis(const AtomicString& ellipsisStr, bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth, InlineBox* markupBox = 0);
82 virtual float placeEllipsisBox(bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth, bool& foundBox);
RootInlineBox.cpp 90 bool RootInlineBox::lineCanAccommodateEllipsis(bool ltr, int blockEdge, int lineBoxEdge, int ellipsisWidth)
93 int delta = ltr ? lineBoxEdge - blockEdge : blockEdge - lineBoxEdge;
99 return InlineFlowBox::canAccommodateEllipsis(ltr, blockEdge, ellipsisWidth);
102 void RootInlineBox::placeEllipsis(const AtomicString& ellipsisStr, bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth,
116 if (ltr && (x() + logicalWidth() + ellipsisWidth) <= blockRightEdge) {
125 ellipsisBox->m_x = placeEllipsisBox(ltr, blockLeftEdge, blockRightEdge, ellipsisWidth, foundBox);
128 float RootInlineBox::placeEllipsisBox(bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth, bool& foundBox)
130 float result = InlineFlowBox::placeEllipsisBox(ltr, blockLeftEdge, blockRightEdge, ellipsisWidth, foundBox);
132 result = ltr ? blockRightEdge - ellipsisWidth : blockLeftEdge;
327 // e.g. The logical text aaaAAAbbb (capitals denote RTL text and non-capitals LTR) is layed ou
    [all...]
InlineBox.cpp 269 bool InlineBox::canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWidth)
276 IntRect ellipsisRect(ltr ? blockEdge - ellipsisWidth : blockEdge, 0, ellipsisWidth, 10);
InlineBox.h 277 TextDirection direction() const { return m_bidiEmbeddingLevel % 2 ? RTL : LTR; }
278 bool isLeftToRightDirection() const { return direction() == LTR; }
291 virtual bool canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWidth);
293 virtual float placeEllipsisBox(bool ltr, float visibleLeftEdge, float visibleRightEdge, float ellipsisWidth, bool&);
  /external/webkit/Source/WebCore/platform/graphics/
TextRun.h 104 bool ltr() const { return !m_rtl; } function in class:WebCore::TextRun
WidthIterator.cpp 66 unsigned expansionOpportunityCount = Font::expansionOpportunityCount(m_run.characters(), m_end, m_run.ltr() ? LTR : RTL, isAfterExpansion);
179 if (m_run.allowsTrailingExpansion() || (m_run.ltr() && currentCharacter + clusterLength < static_cast<size_t>(m_run.length()))
  /external/chromium/chrome/browser/sync/resources/
gaia_login.js 139 var ltr = templateData['textdirection'] == 'ltr';
141 if (googleIsAtEndOfSentence == ltr) {
142 // We're in ltr and in the translation the word 'Google' is AFTER the
  /external/chromium/chrome/common/extensions/docs/examples/extensions/news/css/
feed.css 84 direction: ltr;
  /frameworks/base/core/java/android/text/method/
Touch.java 43 boolean ltr = layout.getParagraphDirection(top) > 0;
67 } else if ((ltr && (a == Alignment.ALIGN_OPPOSITE)) || (a == Alignment.ALIGN_RIGHT)) {
  /external/chromium/chrome/browser/autocomplete/
autocomplete_popup_view_gtk.cc 189 // elided pure LTR text.
240 // Insert a left to right embedding to make sure that URLs are shown LTR.
574 bool ltr = !base::i18n::IsRTL(); local
622 int icon_start_x = ltr ? kIconLeftPadding :
638 // Note: We force to URL to LTR for all text directions.
660 ltr ? kIconAreaWidth :
681 gdk_draw_layout(drawable, gc, ltr ?
  /external/webkit/LayoutTests/dom/html/level2/html/
HTMLElement100.js 104 assertEquals("dirLink","ltr",vdir);
HTMLElement101.js 104 assertEquals("dirLink","ltr",vdir);
HTMLElement102.js 104 assertEquals("dirLink","ltr",vdir);
HTMLElement103.js 104 assertEquals("dirLink","ltr",vdir);
HTMLElement104.js 104 assertEquals("dirLink","ltr",vdir);
HTMLElement105.js 104 assertEquals("dirLink","ltr",vdir);

Completed in 430 milliseconds

1 2 3 4