/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/chromium_org/chrome/browser/ui/gtk/ |
rounded_window.cc | 69 bool ltr = !base::i18n::IsRTL(); local 73 // right for ltr). 75 // We use this one for LTR. 76 int x_off_l = ltr ? y_off : 0; 78 int x_off_r = !ltr ? -y_off : 0; 97 height - (corner_size - y) + y_off, width, ltr)); 101 height - (corner_size - y) + y_off, width, ltr)); 105 corner_size + x_off_l, height + y_off, width, ltr)); 107 x_off_r, height - corner_size, width, ltr)); 110 points.push_back(MakeBidiGdkPoint(x_off_r, height + y_off, width, ltr)); [all...] |
status_bubble_gtk.cc | 192 bool ltr = !base::i18n::IsRTL(); 209 (ltr ? 0 : parent_allocation.width - requisition.width), 221 if (((ltr && location.x() < right_threshold) || 222 (!ltr && location.x() > left_threshold)) && 229 int distance = std::max(ltr ? 258 bool ltr = !base::i18n::IsRTL(); local 265 kInternalLeftRightPadding + (ltr ? 0 : kCornerSize), 266 kInternalLeftRightPadding + (ltr ? kCornerSize : 0)); 319 bool ltr = !base::i18n::IsRTL(); local 320 bool on_left = (ltr && !flip_horizontally) || (!ltr && flip_horizontally) [all...] |
find_bar_gtk.cc | 97 bool ltr = !base::i18n::IsRTL(); local 101 // right for ltr). 103 // We use this one for LTR. 104 int x_off_l = ltr ? y_off : 0; 106 int x_off_r = !ltr ? -y_off : 0; 109 points.push_back(MakeBidiGdkPoint(x_off_r, 0, width, ltr)); 111 kCornerSize + x_off_r, kCornerSize, width, ltr)); 115 kCornerSize + x_off_r, height - kCornerSize, width, ltr)); 118 width, ltr)); 123 width, ltr)); 429 bool ltr = !base::i18n::IsRTL(); local [all...] |
tab_contents_container_gtk.cc | 204 bool ltr = !base::i18n::IsRTL(); local 208 if (ltr ^ status->flip_horizontally()) // Is it on the left?
|
/external/chromium_org/chrome/browser/resources/chromeos/login/ |
bubble.css | 33 html[dir=ltr] .bubble-top::before { 41 html[dir=ltr] .bubble-right::before, 53 html[dir=ltr] .bubble-bottom::before { 61 html[dir=ltr] .bubble-left::before, 81 html[dir=ltr] .bubble-top::after { 89 html[dir=ltr] .bubble-right::after, 101 html[dir=ltr] .bubble-bottom::after { 109 html[dir=ltr] .bubble-left::after,
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/css/ |
chrome_shared.css | 59 /* Elements that need to be LTR even in an RTL context, but should align 63 direction: ltr; 72 direction: ltr; 90 direction: ltr;
|
/external/chromium_org/ui/webui/resources/css/ |
chrome_shared.css | 65 /* Elements that need to be LTR even in an RTL context, but should align 69 direction: ltr; 78 direction: ltr; 96 direction: ltr;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderMarquee.cpp | 102 result = (dir == LTR) ? MRIGHT : MLEFT; 104 result = (dir == LTR) ? MLEFT : MRIGHT; 123 bool ltr = style()->isLeftToRightDirection(); local 125 LayoutUnit contentWidth = ltr ? maxPreferredLogicalWidth() : minPreferredLogicalWidth(); 126 if (ltr) 134 return max<LayoutUnit>(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); 136 return ltr ? contentWidth : clientWidth; 140 return min<LayoutUnit>(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); 142 return ltr ? -clientWidth : -contentWidth;
|
RootInlineBox.h | 101 bool lineCanAccommodateEllipsis(bool ltr, int blockEdge, int lineBoxEdge, int ellipsisWidth); 103 float placeEllipsis(const AtomicString& ellipsisStr, bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth, InlineBox* markupBox = 0); 105 virtual float placeEllipsisBox(bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth, float &truncatedWidth, bool& foundBox) OVERRIDE FINAL;
|
RootInlineBox.cpp | 118 bool RootInlineBox::lineCanAccommodateEllipsis(bool ltr, int blockEdge, int lineBoxEdge, int ellipsisWidth) 121 int delta = ltr ? lineBoxEdge - blockEdge : blockEdge - lineBoxEdge; 127 return InlineFlowBox::canAccommodateEllipsis(ltr, blockEdge, ellipsisWidth); 130 float RootInlineBox::placeEllipsis(const AtomicString& ellipsisStr, bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth, 144 if (ltr && (x() + logicalWidth() + ellipsisWidth) <= blockRightEdge) { 154 float position = placeEllipsisBox(ltr, blockLeftEdge, blockRightEdge, ellipsisWidth, truncatedWidth, foundBox); 159 float RootInlineBox::placeEllipsisBox(bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth, float &truncatedWidth, bool& foundBox) 161 float result = InlineFlowBox::placeEllipsisBox(ltr, blockLeftEdge, blockRightEdge, ellipsisWidth, truncatedWidth, foundBox); 163 result = ltr ? blockRightEdge - ellipsisWidth : blockLeftEdge; 449 // e.g. The logical text aaaAAAbbb (capitals denote RTL text and non-capitals LTR) is layed ou [all...] |
/external/chromium_org/chrome/browser/resources/options/ |
font_settings.css | 37 direction: ltr;
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/mac/ |
ComplexTextController.h | 82 static PassRefPtr<ComplexTextRun> create(const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr) 84 return adoptRef(new ComplexTextRun(fontData, characters, stringLocation, stringLength, ltr)); 104 ComplexTextRun(const SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr);
|
ComplexTextController.cpp | 147 expansionOpportunityCount = Font::expansionOpportunityCount(m_run.characters8(), m_end, m_run.ltr() ? LTR : RTL, isAfterExpansion); 149 expansionOpportunityCount = Font::expansionOpportunityCount(m_run.characters16(), m_end, m_run.ltr() ? LTR : RTL, isAfterExpansion); 179 return m_run.ltr() ? m_end : 0; 183 return m_run.ltr() ? 0 : m_end; 197 if (m_run.ltr()) 205 CFIndex hitIndex = hitGlyphStart + (hitGlyphEnd - hitGlyphStart) * (m_run.ltr() ? x / adjustedAdvance : 1 - x / adjustedAdvance); 244 x -= clusterWidth * (m_run.ltr() ? hitIndex - hitGlyphStart : hitGlyphEnd - hitIndex - 1); 247 return complexTextRun.stringLocation() + (m_run.ltr() ? clusterStart : clusterEnd) [all...] |
ComplexTextControllerCoreText.mm | 131 ComplexTextController::ComplexTextRun::ComplexTextRun(const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr) 138 , m_isLTR(ltr) 154 if (!ltr) { 188 m_complexTextRuns.append(ComplexTextRun::create(m_font.primaryFont(), cp, stringLocation, length, m_run.ltr())); 228 RetainPtr<CTTypesetterRef> typesetter(AdoptCF, WKCreateCTTypesetterWithUniCharProviderAndOptions(&provideStringAndAttributes, 0, &info, m_run.ltr() ? ltrTypesetterOptions : rtlTypesetterOptions)); 232 RetainPtr<CTTypesetterRef> typesetter(AdoptCF, CTTypesetterCreateWithAttributedStringAndOptions(attributedString.get(), m_run.ltr() ? ltrTypesetterOptions : rtlTypesetterOptions)); 249 CTRunRef ctRun = static_cast<CTRunRef>(CFArrayGetValueAtIndex(runArray, m_run.ltr() ? r : runCount - 1 - r)); 275 m_complexTextRuns.append(ComplexTextRun::create(m_font.primaryFont(), cp, stringLocation + runRange.location, runRange.length, m_run.ltr()));
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
WidthIterator.cpp | 61 unsigned expansionOpportunityCount = m_run.is8Bit() ? Font::expansionOpportunityCount(m_run.characters8(), m_run.length(), m_run.ltr() ? LTR : RTL, isAfterExpansion) : Font::expansionOpportunityCount(m_run.characters16(), m_run.length(), m_run.ltr() ? LTR : RTL, isAfterExpansion); 103 static inline float applyFontTransforms(GlyphBuffer* glyphBuffer, bool ltr, int& lastGlyphCount, const SimpleFontData* fontData, TypesettingFeatures typesettingFeatures, CharactersTreatedAsSpace& charactersTreatedAsSpace) 119 if (!ltr) 124 if (!ltr) 191 m_runWidthSoFar += applyFontTransforms(glyphBuffer, m_run.ltr(), lastGlyphCount, lastFontData, m_typesettingFeatures, charactersTreatedAsSpace); 234 if (m_run.allowsTrailingExpansion() || (m_run.ltr() && textIterator.currentCharacter() + advanceLength < static_cast<size_t>(m_run.length())) 308 m_runWidthSoFar += applyFontTransforms(glyphBuffer, m_run.ltr(), lastGlyphCount, lastFontData, m_typesettingFeatures, charactersTreatedAsSpace) [all...] |
/frameworks/base/core/java/android/text/method/ |
Touch.java | 43 boolean ltr = layout.getParagraphDirection(top) > 0; 67 } else if ((ltr && (a == Alignment.ALIGN_OPPOSITE)) || 68 (!ltr && (a == Alignment.ALIGN_NORMAL)) ||
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/css/ |
chrome_shared.css | 201 /* Elements that need to be LTR even in an RTL context, but should align 205 direction: ltr; 214 direction: ltr; 232 direction: ltr;
|
/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;
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/news/css/ |
feed.css | 84 direction: ltr;
|
/external/chromium_org/chrome/browser/ui/gtk/omnibox/ |
omnibox_popup_view_gtk.cc | 186 // elided pure LTR text. 237 // Insert a left to right embedding to make sure that URLs are shown LTR. 592 bool ltr = !base::i18n::IsRTL(); local 640 int icon_start_x = ltr ? kIconLeftPadding : 657 // Note: We force to URL to LTR for all text directions. 680 ltr ? kIconAreaWidth : 705 cairo_move_to(cr, ltr ? 717 icon_start_x = ltr ? (line_rect.width() - kIconLeftPadding - kIconWidth) :
|