Home
last modified time | relevance | path

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

123

/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/webkit/Source/WebCore/platform/graphics/mac/
DComplexTextController.cpp78 …tyCount = Font::expansionOpportunityCount(m_run.characters(), m_end, m_run.ltr() ? LTR : RTL, isAf… in ComplexTextController()
97 return m_run.ltr() ? m_end : 0; in offsetForPosition()
101 return m_run.ltr() ? 0 : m_end; in offsetForPosition()
115 if (m_run.ltr()) in offsetForPosition()
123 …CFIndex hitIndex = hitGlyphStart + (hitGlyphEnd - hitGlyphStart) * (m_run.ltr() ? x / adjustedAdva… in offsetForPosition()
162 … x -= clusterWidth * (m_run.ltr() ? hitIndex - hitGlyphStart : hitGlyphEnd - hitIndex - 1); in offsetForPosition()
165 … return complexTextRun.stringLocation() + (m_run.ltr() ? clusterStart : clusterEnd); in offsetForPosition()
167 … return complexTextRun.stringLocation() + (m_run.ltr() ? clusterEnd : clusterStart); in offsetForPosition()
198 if (m_run.ltr()) { in collectComplexTextRuns()
230 if (m_run.ltr()) { in collectComplexTextRuns()
[all …]
DComplexTextController.h78 …onst UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr, bool directionalOv… in create() argument
80 …extRun(atsuTextLayout, fontData, characters, stringLocation, stringLength, ltr, directionalOverrid… in create()
83 …ontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr) in create() argument
85 … return adoptRef(new ComplexTextRun(fontData, characters, stringLocation, stringLength, ltr)); in create()
104 void createTextRunFromFontDataCoreText(bool ltr);
107 …onst UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr, bool directionalOv…
108 void createTextRunFromFontDataATSUI(bool ltr);
110 … SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr);
DComplexTextControllerATSUI.cpp144 …onst UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr, bool directionalOv… in ComplexTextRun() argument
159 Boolean rtl = !ltr; in ComplexTextRun()
162 bool shouldCheckForMirroring = !ltr && !fontData->m_ATSUMirrors; in ComplexTextRun()
194 UChar override = ltr ? leftToRightOverride : rightToLeftOverride; in ComplexTextRun()
224 void ComplexTextController::ComplexTextRun::createTextRunFromFontDataATSUI(bool ltr) in createTextRunFromFontDataATSUI() argument
239 if (!ltr) { in createTextRunFromFontDataATSUI()
319 …Runs.append(ComplexTextRun::create(m_font.primaryFont(), cp, stringLocation, length, m_run.ltr())); in collectComplexTextRunsForCharactersATSUI()
337 …extRun::create(atsuTextLayout, fontData, cp, stringLocation, length, m_run.ltr(), m_run.directiona… in collectComplexTextRunsForCharactersATSUI()
DComplexTextControllerCoreText.cpp78 void ComplexTextController::ComplexTextRun::createTextRunFromFontDataCoreText(bool ltr) in createTextRunFromFontDataCoreText() argument
93 if (!ltr) { in createTextRunFromFontDataCoreText()
127 …Runs.append(ComplexTextRun::create(m_font.primaryFont(), cp, stringLocation, length, m_run.ltr())); in collectComplexTextRunsForCharactersCoreText()
147 …WithUniCharProviderAndOptions(&provideStringAndAttributes, 0, &info, m_run.ltr() ? ltrTypesetterOp… in collectComplexTextRunsForCharactersCoreText()
151 …pesetterCreateWithAttributedStringAndOptions(attributedString.get(), m_run.ltr() ? ltrTypesetterOp… in collectComplexTextRunsForCharactersCoreText()
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/css-properties/
Dmozilla93 border-left-color-ltr-source
97 border-left-style-ltr-source
101 border-left-width-ltr-source
106 border-right-color-ltr-source
110 border-right-style-ltr-source
114 border-right-width-ltr-source
178 margin-left-ltr-source
182 margin-right-ltr-source
213 padding-left-ltr-source
217 padding-right-ltr-source
/external/webkit/Source/WebCore/rendering/
DRenderMarquee.cpp117 bool ltr = s->isLeftToRightDirection(); in computePosition() local
119 int contentWidth = ltr ? box->maxXLayoutOverflow() : box->minXLayoutOverflow(); in computePosition()
120 if (ltr) in computePosition()
128 return max(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); in computePosition()
130 return ltr ? contentWidth : clientWidth; in computePosition()
134 return min(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); in computePosition()
136 return ltr ? -clientWidth : -contentWidth; in computePosition()
DRootInlineBox.h80 bool lineCanAccommodateEllipsis(bool ltr, int blockEdge, int lineBoxEdge, int ellipsisWidth);
81 …void placeEllipsis(const AtomicString& ellipsisStr, bool ltr, float blockLeftEdge, float blockRigh…
82 …virtual float placeEllipsisBox(bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsis…
DRootInlineBox.cpp90 bool RootInlineBox::lineCanAccommodateEllipsis(bool ltr, int blockEdge, int lineBoxEdge, int ellips… in lineCanAccommodateEllipsis() argument
93 int delta = ltr ? lineBoxEdge - blockEdge : blockEdge - lineBoxEdge; in lineCanAccommodateEllipsis()
99 return InlineFlowBox::canAccommodateEllipsis(ltr, blockEdge, ellipsisWidth); in lineCanAccommodateEllipsis()
102 void RootInlineBox::placeEllipsis(const AtomicString& ellipsisStr, bool ltr, float blockLeftEdge, … in placeEllipsis() argument
116 if (ltr && (x() + logicalWidth() + ellipsisWidth) <= blockRightEdge) { in placeEllipsis()
125 … ellipsisBox->m_x = placeEllipsisBox(ltr, blockLeftEdge, blockRightEdge, ellipsisWidth, foundBox); in placeEllipsis()
128 float RootInlineBox::placeEllipsisBox(bool ltr, float blockLeftEdge, float blockRightEdge, float el… in placeEllipsisBox() argument
130 …float result = InlineFlowBox::placeEllipsisBox(ltr, blockLeftEdge, blockRightEdge, ellipsisWidth, … in placeEllipsisBox()
132 result = ltr ? blockRightEdge - ellipsisWidth : blockLeftEdge; in placeEllipsisBox()
DInlineFlowBox.cpp298 bool ltr = renderer()->style()->isLeftToRightDirection(); in determineSpacingForFlowBoxes() local
304 if (ltr && lineBoxList->firstLineBox() == this) in determineSpacingForFlowBoxes()
306 else if (!ltr && lineBoxList->lastLineBox() == this) in determineSpacingForFlowBoxes()
319 if (ltr) { in determineSpacingForFlowBoxes()
1261 bool InlineFlowBox::canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWidth) in canAccommodateEllipsis() argument
1264 if (!box->canAccommodateEllipsis(ltr, blockEdge, ellipsisWidth)) in canAccommodateEllipsis()
1270 float InlineFlowBox::placeEllipsisBox(bool ltr, float blockLeftEdge, float blockRightEdge, float el… in placeEllipsisBox() argument
1277 InlineBox* box = ltr ? firstChild() : lastChild(); in placeEllipsisBox()
1284 …int currResult = box->placeEllipsisBox(ltr, visibleLeftEdge, visibleRightEdge, ellipsisWidth, foun… in placeEllipsisBox()
1288 if (ltr) { in placeEllipsisBox()
DInlineBox.cpp269 bool InlineBox::canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWidth) in canAccommodateEllipsis() argument
276 IntRect ellipsisRect(ltr ? blockEdge - ellipsisWidth : blockEdge, 0, ellipsisWidth, 10); in canAccommodateEllipsis()
DInlineBox.h291 virtual bool canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWidth);
293 …virtual float placeEllipsisBox(bool ltr, float visibleLeftEdge, float visibleRightEdge, float elli…
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/html-values/
Dgtkhtml4 ltr
Dmozilla25 ltr
/external/webkit/LayoutTests/dom/xhtml/level2/html/
DHTMLElement88-expected.txt3 Message dirLink: assertEquals failed, actual , expected ltr.
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/html-attrs/
Dgtkhtml31 ltr
/external/chromium/chrome/browser/sync/resources/
Dgaia_login.js139 var ltr = templateData['textdirection'] == 'ltr';
141 if (googleIsAtEndOfSentence == ltr) {
/external/chromium/chrome/browser/resources/
Dincognito_tab.css4 html[dir="ltr"] .icon {
/external/webkit/Source/WebCore/platform/graphics/
DWidthIterator.cpp66 …tyCount = Font::expansionOpportunityCount(m_run.characters(), m_end, m_run.ltr() ? LTR : RTL, isAf… in WidthIterator()
179 …if (m_run.allowsTrailingExpansion() || (m_run.ltr() && currentCharacter + clusterLength < static_c… in advance()
/external/markdown/tests/misc/
Dbidi.txt8 … تستخدم أسلوب البرمجة الكائنية (THIS SHOULD BE LTR ) وقابلة للتطوير {@dir=ltr} بالإضافة إلى أنها…
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_popup_view_gtk.cc574 bool ltr = !base::i18n::IsRTL(); in HandleExpose() local
622 int icon_start_x = ltr ? kIconLeftPadding : in HandleExpose()
660 ltr ? kIconAreaWidth : in HandleExpose()
681 gdk_draw_layout(drawable, gc, ltr ? in HandleExpose()
/external/webkit/Tools/iExploder/iexploder-1.3.2/htdocs/
Dcssproperties.in395 margin-left-ltr-source
398 margin-right-ltr-source
406 padding-left-ltr-source
409 padding-right-ltr-source

123