/external/webkit/WebCore/platform/graphics/mac/ |
ComplexTextController.h | 75 static PassRefPtr<ComplexTextRun> create(ATSUTextLayout atsuTextLayout, const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr, bool directionalOverride) 77 return adoptRef(new ComplexTextRun(atsuTextLayout, fontData, characters, stringLocation, stringLength, ltr, directionalOverride)); 80 static PassRefPtr<ComplexTextRun> create(const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr) 82 return adoptRef(new ComplexTextRun(fontData, characters, stringLocation, stringLength, ltr)); 100 void createTextRunFromFontDataCoreText(bool ltr); 103 ComplexTextRun(ATSUTextLayout, const SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr, bool directionalOverride); 104 void createTextRunFromFontDataATSUI(bool ltr); 106 ComplexTextRun(const SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr);
|
ComplexTextController.cpp | 95 return m_run.ltr() ? m_end : 0; 97 return m_run.ltr() ? 0 : m_end; 111 if (m_run.ltr()) 119 CFIndex hitIndex = hitGlyphStart + (hitGlyphEnd - hitGlyphStart) * (m_run.ltr() ? x / adjustedAdvance : 1 - x / adjustedAdvance); 158 x -= clusterWidth * (m_run.ltr() ? hitIndex - hitGlyphStart : hitGlyphEnd - hitIndex - 1); 161 return complexTextRun.stringLocation() + (m_run.ltr() ? clusterStart : clusterEnd); 163 return complexTextRun.stringLocation() + (m_run.ltr() ? clusterEnd : clusterStart); 205 if (m_run.ltr()) { 237 if (m_run.ltr()) { 269 if (hasTrailingSoftHyphen && m_run.ltr()) 366 bool ltr = m_run.ltr(); local [all...] |
ComplexTextControllerCoreText.cpp | 78 void ComplexTextController::ComplexTextRun::createTextRunFromFontDataCoreText(bool ltr) 93 if (!ltr) { 112 m_complexTextRuns.append(ComplexTextRun::create(m_font.primaryFont(), cp, stringLocation, length, m_run.ltr())); 131 typesetter.adoptCF(CTTypesetterCreateWithAttributedStringAndOptions(attributedString.get(), m_run.ltr() ? ltrTypesetterOptions : rtlTypesetterOptions));
|
ComplexTextControllerATSUI.cpp | 143 ComplexTextController::ComplexTextRun::ComplexTextRun(ATSUTextLayout atsuTextLayout, const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr, bool directionalOverride) 157 Boolean rtl = !ltr; 160 bool shouldCheckForMirroring = !ltr && !fontData->m_ATSUMirrors; 192 UChar override = ltr ? leftToRightOverride : rightToLeftOverride; 222 void ComplexTextController::ComplexTextRun::createTextRunFromFontDataATSUI(bool ltr) 237 if (!ltr) { 317 m_complexTextRuns.append(ComplexTextRun::create(m_font.primaryFont(), cp, stringLocation, length, m_run.ltr())); 335 m_complexTextRuns.append(ComplexTextRun::create(atsuTextLayout, fontData, cp, stringLocation, length, m_run.ltr(), m_run.directionalOverride()));
|
/external/webkit/WebCore/rendering/ |
RenderMarquee.cpp | 89 result = (dir == LTR) ? MRIGHT : MLEFT; 91 result = (dir == LTR) ? MLEFT : MRIGHT; 113 bool ltr = s->direction() == LTR; local 115 int contentWidth = ltr ? box->rightmostPosition(true, false) : box->leftmostPosition(true, false); 116 if (ltr) 124 return max(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); 126 return ltr ? contentWidth : clientWidth; 130 return min(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); 132 return ltr ? -clientWidth : -contentWidth [all...] |
RootInlineBox.h | 88 bool canAccommodateEllipsis(bool ltr, int blockEdge, int lineBoxEdge, int ellipsisWidth); 89 void placeEllipsis(const AtomicString& ellipsisStr, bool ltr, int blockLeftEdge, int blockRightEdge, int ellipsisWidth, InlineBox* markupBox = 0); 90 virtual int placeEllipsisBox(bool ltr, int blockLeftEdge, int blockRightEdge, int ellipsisWidth, bool& foundBox);
|
RootInlineBox.cpp | 71 bool RootInlineBox::canAccommodateEllipsis(bool ltr, int blockEdge, int lineBoxEdge, int ellipsisWidth) 74 int delta = ltr ? lineBoxEdge - blockEdge : blockEdge - lineBoxEdge; 80 return InlineFlowBox::canAccommodateEllipsis(ltr, blockEdge, ellipsisWidth); 83 void RootInlineBox::placeEllipsis(const AtomicString& ellipsisStr, bool ltr, int blockLeftEdge, int blockRightEdge, int ellipsisWidth, 98 if (ltr && (x() + width() + ellipsisWidth) <= blockRightEdge) { 107 ellipsisBox->m_x = placeEllipsisBox(ltr, blockLeftEdge, blockRightEdge, ellipsisWidth, foundBox); 110 int RootInlineBox::placeEllipsisBox(bool ltr, int blockLeftEdge, int blockRightEdge, int ellipsisWidth, bool& foundBox) 112 int result = InlineFlowBox::placeEllipsisBox(ltr, blockLeftEdge, blockRightEdge, ellipsisWidth, foundBox); 114 result = ltr ? blockRightEdge - ellipsisWidth : blockLeftEdge; 258 // e.g. The logical text aaaAAAbbb (capitals denote RTL text and non-capitals LTR) is layed ou [all...] |
InlineFlowBox.cpp | 210 bool ltr = renderer()->style()->direction() == LTR; local 216 if (ltr && lineBoxList->firstLineBox() == this) 218 else if (!ltr && lineBoxList->lastLineBox() == this) 225 // (2) If the last line box for the flow has an object following it on the line (ltr, 231 if (ltr) { 307 if (curr->renderer()->parent()->style()->direction() == LTR) 924 bool ltr = renderer()->style()->direction() == LTR; local [all...] |
InlineBox.cpp | 265 bool InlineBox::canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWidth) 272 IntRect ellipsisRect(ltr ? blockEdge - ellipsisWidth : blockEdge, 0, ellipsisWidth, 10);
|
InlineBox.h | 217 TextDirection direction() const { return m_bidiEmbeddingLevel % 2 ? RTL : LTR; } 218 int caretLeftmostOffset() const { return direction() == LTR ? caretMinOffset() : caretMaxOffset(); } 219 int caretRightmostOffset() const { return direction() == LTR ? caretMaxOffset() : caretMinOffset(); } 230 virtual bool canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWidth); 232 virtual int placeEllipsisBox(bool ltr, int visibleLeftEdge, int visibleRightEdge, int ellipsisWidth, bool&);
|
InlineFlowBox.h | 135 virtual bool canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWidth); 136 virtual int placeEllipsisBox(bool ltr, int blockLeftEdge, int blockRightEdge, int ellipsisWidth, bool&);
|
RenderFlexibleBox.cpp | 425 if (style()->direction() == LTR) 576 if (remainingSpace > 0 && ((style()->direction() == LTR && style()->boxPack() != BSTART) || 622 else // END for LTR, START for RTL 713 if (style()->direction() != LTR) 745 if (srcBlock->style()->direction() != LTR) 747 if (destBlock->style()->direction() != LTR) 749 int ltr = true; local 754 int blockEdge = ltr ? blockRightEdge : blockLeftEdge; 755 if (!lastVisibleLine->canAccommodateEllipsis(ltr, blockEdge, 761 lastVisibleLine->placeEllipsis(anchorBox ? ellipsisAndSpaceStr : ellipsisStr, ltr, blockLeftEdge, blockRightEdge, totalWidth, anchorBox) [all...] |
RenderBlockLineLayout.cpp | 59 bool leftSide = (child->style()->direction() == LTR) ? !endOfInline : endOfInline; 381 if (style()->direction() == LTR) { 403 if (style()->direction() == LTR) { 411 // So even if text-align is right, if direction is LTR, wide lines should overflow out of the right 413 if (style()->direction() == LTR) { 436 if (style()->direction() == LTR) 553 // and the current object is not float:right in LTR or not float:left in RTL, 554 // and text align is auto, or justify or left in LTR, or right in RTL, we 575 (((dir == LTR && cssfloat != FRIGHT) || 578 ((ta == LEFT || ta == WEBKIT_LEFT) && (dir == LTR)) || 1088 bool ltr = style()->direction() == LTR variable 2054 bool ltr = style()->direction() == LTR; local [all...] |
InlineTextBox.cpp | 157 // For LTR this is the left edge of the box, for RTL, the right edge in parent coordinates. 161 // LTR: the left edge of the ellipsis is to the left of our text run. 180 bool ltr = direction() == LTR; local 181 if (ltr != flowIsLTR) { 184 ellipsisX = ltr ? m_x + visibleBoxWidth : m_x + m_width - visibleBoxWidth; 205 // e.g. In the case of an LTR inline box truncated in an RTL flow then we can 357 // e.g. In the case of LTR text truncated in an RTL Context, the correct behavior is: 366 tx += direction() == LTR ? widthOfHiddenText : -widthOfHiddenText; [all...] |
RenderLayer.cpp | 1813 bool ltr = renderer()->style()->direction() == LTR; local [all...] |
RenderBlock.cpp | 2236 bool ltr = style()->direction() == LTR; local [all...] |
/external/webkit/WebCore/platform/graphics/ |
TextRun.h | 86 bool ltr() const { return !m_rtl; } function in class:WebCore::TextRun
|
GraphicsContext.cpp | 347 WTF::Unicode::Direction paragraphDirection = run.ltr() ? WTF::Unicode::LeftToRight : WTF::Unicode::RightToLeft; 349 bidiResolver.setStatus(BidiStatus(paragraphDirection, paragraphDirection, paragraphDirection, BidiContext::create(run.ltr() ? 0 : 1, paragraphDirection, run.directionalOverride())));
|
/external/webkit/WebCore/platform/graphics/gtk/ |
FontGtk.cpp | 342 if (run.ltr()) { 359 if (run.ltr() || to < layoutLine->length)
|
/external/webkit/WebCore/platform/ |
ContextMenu.cpp | 180 ContextMenuItem ltr(CheckableActionType, ContextMenuItemTagLeftToRight, contextMenuItemTagLeftToRight()); 184 writingDirectionMenu.appendItem(ltr); 195 ContextMenuItem ltr(CheckableActionType, ContextMenuItemTagTextDirectionLeftToRight, contextMenuItemTagLeftToRight()); 199 textDirectionMenu.appendItem(ltr); 583 String direction = item.action() == ContextMenuItemTagLeftToRight ? "ltr" : "rtl"; [all...] |
/external/webkit/WebCore/platform/graphics/win/ |
UniscribeController.cpp | 81 if (m_offsetX >= m_runWidthSoFar && m_run.ltr() || m_offsetX < 0 && m_run.rtl())
|
/prebuilt/linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/lib/gcc/i686-unknown-linux-gnu/4.2.1/include/xorg/ |
assyntax.h | 488 #define LTR(a) CHOICE(ltr a, ltr a, ltr a) [all...] |
/external/webkit/SunSpider/tests/sunspider-0.9/ |
string-unpack-code.js | [all...] |
/external/webkit/SunSpider/tests/sunspider-0.9.1/ |
string-unpack-code.js | [all...] |