Home
last modified time | relevance | path

Searched refs:ltr (Results 1 – 25 of 76) sorted by relevance

1234

/external/chromium_org/chrome/browser/ui/gtk/
Drounded_window.cc69 bool ltr = !base::i18n::IsRTL(); in MakeFramePolygonPoints() local
76 int x_off_l = ltr ? y_off : 0; in MakeFramePolygonPoints()
78 int x_off_r = !ltr ? -y_off : 0; in MakeFramePolygonPoints()
97 height - (corner_size - y) + y_off, width, ltr)); in MakeFramePolygonPoints()
101 height - (corner_size - y) + y_off, width, ltr)); in MakeFramePolygonPoints()
105 corner_size + x_off_l, height + y_off, width, ltr)); in MakeFramePolygonPoints()
107 x_off_r, height - corner_size, width, ltr)); in MakeFramePolygonPoints()
110 points.push_back(MakeBidiGdkPoint(x_off_r, height + y_off, width, ltr)); in MakeFramePolygonPoints()
123 corner_size - y, width, ltr)); in MakeFramePolygonPoints()
126 corner_size - y, width, ltr)); in MakeFramePolygonPoints()
[all …]
Dstatus_bubble_gtk.cc193 bool ltr = !base::i18n::IsRTL(); in MouseMoved() local
210 (ltr ? 0 : parent_allocation.width - requisition.width), in MouseMoved()
222 if (((ltr && location.x() < right_threshold) || in MouseMoved()
223 (!ltr && location.x() > left_threshold)) && in MouseMoved()
230 int distance = std::max(ltr ? in MouseMoved()
259 bool ltr = !base::i18n::IsRTL(); in InitWidgets() local
266 kInternalLeftRightPadding + (ltr ? 0 : kCornerSize), in InitWidgets()
267 kInternalLeftRightPadding + (ltr ? kCornerSize : 0)); in InitWidgets()
320 bool ltr = !base::i18n::IsRTL(); in SetFlipHorizontally() local
321 bool on_left = (ltr && !flip_horizontally) || (!ltr && flip_horizontally); in SetFlipHorizontally()
Dfind_bar_gtk.cc97 bool ltr = !base::i18n::IsRTL(); in MakeFramePolygonPoints() local
104 int x_off_l = ltr ? y_off : 0; in MakeFramePolygonPoints()
106 int x_off_r = !ltr ? -y_off : 0; in MakeFramePolygonPoints()
109 points.push_back(MakeBidiGdkPoint(x_off_r, 0, width, ltr)); in MakeFramePolygonPoints()
111 kCornerSize + x_off_r, kCornerSize, width, ltr)); in MakeFramePolygonPoints()
115 kCornerSize + x_off_r, height - kCornerSize, width, ltr)); in MakeFramePolygonPoints()
118 width, ltr)); in MakeFramePolygonPoints()
123 width, ltr)); in MakeFramePolygonPoints()
125 width - kCornerSize + x_off_l, height - kCornerSize, width, ltr)); in MakeFramePolygonPoints()
129 width - kCornerSize + x_off_l, kCornerSize, width, ltr)); in MakeFramePolygonPoints()
[all …]
Dtab_contents_container_gtk.cc196 bool ltr = !base::i18n::IsRTL(); in OnSetFloatingPosition() local
200 if (ltr ^ status->flip_horizontally()) // Is it on the left? in OnSetFloatingPosition()
/external/chromium/chrome/browser/ui/gtk/
Drounded_window.cc68 bool ltr = !base::i18n::IsRTL(); in MakeFramePolygonPoints() local
75 int x_off_l = ltr ? y_off : 0; in MakeFramePolygonPoints()
77 int x_off_r = !ltr ? -y_off : 0; in MakeFramePolygonPoints()
96 height - (corner_size - y) + y_off, width, ltr)); in MakeFramePolygonPoints()
100 height - (corner_size - y) + y_off, width, ltr)); in MakeFramePolygonPoints()
104 corner_size + x_off_l, height + y_off, width, ltr)); in MakeFramePolygonPoints()
106 x_off_r, height - corner_size, width, ltr)); in MakeFramePolygonPoints()
109 points.push_back(MakeBidiGdkPoint(x_off_r, height + y_off, width, ltr)); in MakeFramePolygonPoints()
122 corner_size - y, width, ltr)); in MakeFramePolygonPoints()
125 corner_size - y, width, ltr)); in MakeFramePolygonPoints()
[all …]
Dstatus_bubble_gtk.cc184 bool ltr = !base::i18n::IsRTL(); in MouseMoved() local
197 (ltr ? 0 : parent->allocation.width - requisition.width), in MouseMoved()
209 if (((ltr && location.x() < right_threshold) || in MouseMoved()
210 (!ltr && location.x() > left_threshold)) && in MouseMoved()
217 int distance = std::max(ltr ? in MouseMoved()
246 bool ltr = !base::i18n::IsRTL(); in InitWidgets() local
253 kInternalLeftRightPadding + (ltr ? 0 : kCornerSize), in InitWidgets()
254 kInternalLeftRightPadding + (ltr ? kCornerSize : 0)); in InitWidgets()
307 bool ltr = !base::i18n::IsRTL(); in SetFlipHorizontally() local
308 bool on_left = (ltr && !flip_horizontally) || (!ltr && flip_horizontally); in SetFlipHorizontally()
Dfind_bar_gtk.cc86 bool ltr = !base::i18n::IsRTL(); in MakeFramePolygonPoints() local
93 int x_off_l = ltr ? y_off : 0; in MakeFramePolygonPoints()
95 int x_off_r = !ltr ? -y_off : 0; in MakeFramePolygonPoints()
98 points.push_back(MakeBidiGdkPoint(x_off_r, 0, width, ltr)); in MakeFramePolygonPoints()
100 kCornerSize + x_off_r, kCornerSize, width, ltr)); in MakeFramePolygonPoints()
104 kCornerSize + x_off_r, height - kCornerSize, width, ltr)); in MakeFramePolygonPoints()
107 width, ltr)); in MakeFramePolygonPoints()
112 width, ltr)); in MakeFramePolygonPoints()
114 width - kCornerSize + x_off_l, height - kCornerSize, width, ltr)); in MakeFramePolygonPoints()
118 width - kCornerSize + x_off_l, kCornerSize, width, ltr)); in MakeFramePolygonPoints()
[all …]
Dtab_contents_container_gtk.cc231 bool ltr = !base::i18n::IsRTL(); in OnSetFloatingPosition() local
235 if (ltr ^ status->flip_horizontally()) // Is it on the left? in OnSetFloatingPosition()
/external/chromium_org/chrome/browser/resources/chromeos/login/
Dbubble.css33 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/third_party/WebKit/Source/core/rendering/
DRenderMarquee.cpp120 bool ltr = style()->isLeftToRightDirection(); in computePosition() local
122 LayoutUnit contentWidth = ltr ? maxPreferredLogicalWidth() : minPreferredLogicalWidth(); in computePosition()
123 if (ltr) in computePosition()
131 … return max<LayoutUnit>(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); in computePosition()
133 return ltr ? contentWidth : clientWidth; in computePosition()
137 … return min<LayoutUnit>(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); in computePosition()
139 return ltr ? -clientWidth : -contentWidth; in computePosition()
DRootInlineBox.h102 bool lineCanAccommodateEllipsis(bool ltr, int blockEdge, int lineBoxEdge, int ellipsisWidth);
104 …float placeEllipsis(const AtomicString& ellipsisStr, bool ltr, float blockLeftEdge, float blockRig…
106 …virtual float placeEllipsisBox(bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsis…
DRootInlineBox.cpp114 bool RootInlineBox::lineCanAccommodateEllipsis(bool ltr, int blockEdge, int lineBoxEdge, int ellips… in lineCanAccommodateEllipsis() argument
117 int delta = ltr ? lineBoxEdge - blockEdge : blockEdge - lineBoxEdge; in lineCanAccommodateEllipsis()
123 return InlineFlowBox::canAccommodateEllipsis(ltr, blockEdge, ellipsisWidth); in lineCanAccommodateEllipsis()
126 float RootInlineBox::placeEllipsis(const AtomicString& ellipsisStr, bool ltr, float blockLeftEdge,… in placeEllipsis() argument
140 if (ltr && (logicalLeft() + logicalWidth() + ellipsisWidth) <= blockRightEdge) { in placeEllipsis()
150 …float position = placeEllipsisBox(ltr, blockLeftEdge, blockRightEdge, ellipsisWidth, truncatedWidt… in placeEllipsis()
155 float RootInlineBox::placeEllipsisBox(bool ltr, float blockLeftEdge, float blockRightEdge, float el… in placeEllipsisBox() argument
157 …float result = InlineFlowBox::placeEllipsisBox(ltr, blockLeftEdge, blockRightEdge, ellipsisWidth, … in placeEllipsisBox()
159 result = ltr ? blockRightEdge - ellipsisWidth : blockLeftEdge; in placeEllipsisBox()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DComplexTextController.cpp144 …yCount = Font::expansionOpportunityCount(m_run.characters8(), m_end, m_run.ltr() ? LTR : RTL, isAf… in ComplexTextController()
146 …Count = Font::expansionOpportunityCount(m_run.characters16(), m_end, m_run.ltr() ? LTR : RTL, isAf… in ComplexTextController()
176 return m_run.ltr() ? m_end : 0; in offsetForPosition()
180 return m_run.ltr() ? 0 : m_end; in offsetForPosition()
194 if (m_run.ltr()) in offsetForPosition()
202 …CFIndex hitIndex = hitGlyphStart + (hitGlyphEnd - hitGlyphStart) * (m_run.ltr() ? x / adjustedAdva… in offsetForPosition()
241 … x -= clusterWidth * (m_run.ltr() ? hitIndex - hitGlyphStart : hitGlyphEnd - hitIndex - 1); in offsetForPosition()
244 … return complexTextRun.stringLocation() + (m_run.ltr() ? clusterStart : clusterEnd); in offsetForPosition()
246 … return complexTextRun.stringLocation() + (m_run.ltr() ? clusterEnd : clusterStart); in offsetForPosition()
380 if (!m_run.ltr()) in collectComplexTextRuns()
[all …]
DComplexTextController.h82 …ontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr) in create() argument
84 … return adoptRef(new ComplexTextRun(fontData, characters, stringLocation, stringLength, ltr)); in create()
104 … SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr);
DComplexTextControllerCoreText.mm131 …ontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr)
138 , m_isLTR(ltr)
154 if (!ltr) {
188 …Runs.append(ComplexTextRun::create(m_font.primaryFont(), cp, stringLocation, length, m_run.ltr()));
228 …WithUniCharProviderAndOptions(&provideStringAndAttributes, 0, &info, m_run.ltr() ? ltrTypesetterOp…
232 …pesetterCreateWithAttributedStringAndOptions(attributedString.get(), m_run.ltr() ? ltrTypesetterOp…
249 …CTRunRef ctRun = static_cast<CTRunRef>(CFArrayGetValueAtIndex(runArray, m_run.ltr() ? r : runCount…
275 …reate(m_font.primaryFont(), cp, stringLocation + runRange.location, runRange.length, m_run.ltr()));
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DWidthIterator.cpp60 ….length(), m_run.ltr() ? LTR : RTL, isAfterExpansion) : Font::expansionOpportunityCount(m_run.char… in WidthIterator()
99 static inline float applyFontTransforms(GlyphBuffer* glyphBuffer, bool ltr, unsigned& lastGlyphCoun… in applyFontTransforms() argument
115 if (!ltr) in applyFontTransforms()
120 if (!ltr) in applyFontTransforms()
187 …m_runWidthSoFar += applyFontTransforms(glyphBuffer, m_run.ltr(), lastGlyphCount, lastFontData, m_t… in advanceInternal()
230 …if (m_run.allowsTrailingExpansion() || (m_run.ltr() && textIterator.currentCharacter() + advanceLe… in advanceInternal()
304 …m_runWidthSoFar += applyFontTransforms(glyphBuffer, m_run.ltr(), lastGlyphCount, lastFontData, m_t… in advanceInternal()
/external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/css/
Dchrome_shared.css63 direction: ltr;
72 direction: ltr;
90 direction: ltr;
/external/chromium_org/chrome/third_party/chromevox/chromevox/background/
Dchrome_shared2.css65 direction: ltr;
74 direction: ltr;
92 direction: ltr;
/external/chromium_org/ui/webui/resources/css/
Dchrome_shared.css69 direction: ltr;
78 direction: ltr;
96 direction: ltr;
/external/chromium_org/chrome/browser/resources/ntp_android/
Dopentabs.css47 html[dir='ltr'] .list-item .icon {
67 html[dir='ltr'] .list-item .title {
137 html[dir='ltr'] .expando {
Dincognito_tab.css5 html[dir='ltr'] #incognito_container .icon {
/external/chromium_org/chrome/browser/ui/gtk/omnibox/
Domnibox_popup_view_gtk.cc616 bool ltr = !base::i18n::IsRTL(); in HandleExpose() local
664 int icon_start_x = ltr ? kIconLeftPadding : in HandleExpose()
704 ltr ? kIconAreaWidth : in HandleExpose()
729 cairo_move_to(cr, ltr ? in HandleExpose()
741 icon_start_x = ltr ? (line_rect.width() - kIconLeftPadding - kIconWidth) : in HandleExpose()
/external/chromium/chrome/browser/sync/resources/
Dgaia_login.js139 var ltr = templateData['textdirection'] == 'ltr';
141 if (googleIsAtEndOfSentence == ltr) {
/external/chromium_org/chrome/browser/resources/ntp4/
Dguest_tab.css14 html[dir='ltr'] .icon {
/external/chromium/chrome/browser/resources/
Dincognito_tab.css4 html[dir="ltr"] .icon {

1234