Home
last modified time | relevance | path

Searched refs:caretOffset (Results 1 – 20 of 20) sorted by relevance

/external/webkit/Source/WebCore/rendering/svg/
DRenderSVGInlineText.cpp108 IntRect RenderSVGInlineText::localCaretRect(InlineBox* box, int caretOffset, int*) in localCaretRect() argument
114 …if (static_cast<unsigned>(caretOffset) < textBox->start() || static_cast<unsigned>(caretOffset) > … in localCaretRect()
118 if (static_cast<unsigned>(caretOffset) < textBox->start() + textBox->len()) { in localCaretRect()
119 IntRect rect = textBox->selectionRect(0, 0, caretOffset, caretOffset + 1); in localCaretRect()
124 IntRect rect = textBox->selectionRect(0, 0, caretOffset - 1, caretOffset); in localCaretRect()
DRenderSVGInlineText.h62 virtual IntRect localCaretRect(InlineBox*, int caretOffset, int* extraWidthToEndOfLine = 0);
/external/webkit/Source/WebCore/dom/
DPosition.cpp995 void Position::getInlineBoxAndOffset(EAffinity affinity, InlineBox*& inlineBox, int& caretOffset) c… in getInlineBoxAndOffset()
997 getInlineBoxAndOffset(affinity, primaryDirection(), inlineBox, caretOffset); in getInlineBoxAndOffset()
1057 …(EAffinity affinity, TextDirection primaryDirection, InlineBox*& inlineBox, int& caretOffset) const in getInlineBoxAndOffset()
1059 caretOffset = deprecatedEditingOffset(); in getInlineBoxAndOffset()
1075 equivalent.getInlineBoxAndOffset(UPSTREAM, primaryDirection, inlineBox, caretOffset); in getInlineBoxAndOffset()
1080 …if (!inlineBox || (caretOffset > inlineBox->caretMinOffset() && caretOffset < inlineBox->caretMaxO… in getInlineBoxAndOffset()
1093 …if (caretOffset < caretMinOffset || caretOffset > caretMaxOffset || (caretOffset == caretMaxOffset… in getInlineBoxAndOffset()
1096 if (caretOffset > caretMinOffset && caretOffset < caretMaxOffset) { in getInlineBoxAndOffset()
1101 if (((caretOffset == caretMaxOffset) ^ (affinity == DOWNSTREAM)) in getInlineBoxAndOffset()
1102 || ((caretOffset == caretMinOffset) ^ (affinity == UPSTREAM))) in getInlineBoxAndOffset()
[all …]
DPosition.h161 void getInlineBoxAndOffset(EAffinity, InlineBox*&, int& caretOffset) const;
162 …InlineBoxAndOffset(EAffinity, TextDirection primaryDirection, InlineBox*&, int& caretOffset) const;
/external/webkit/Source/WebCore/editing/
DVisiblePosition.h84 void getInlineBoxAndOffset(InlineBox*& inlineBox, int& caretOffset) const in getInlineBoxAndOffset() argument
86 m_deepPosition.getInlineBoxAndOffset(m_affinity, inlineBox, caretOffset); in getInlineBoxAndOffset()
89 …etInlineBoxAndOffset(TextDirection primaryDirection, InlineBox*& inlineBox, int& caretOffset) const in getInlineBoxAndOffset() argument
91 m_deepPosition.getInlineBoxAndOffset(m_affinity, primaryDirection, inlineBox, caretOffset); in getInlineBoxAndOffset()
DVisiblePosition.cpp572 int caretOffset; in localCaretRect() local
573 getInlineBoxAndOffset(inlineBox, caretOffset); in localCaretRect()
578 return renderer->localCaretRect(inlineBox, caretOffset); in localCaretRect()
/external/icu4c/samples/layout/
Dsfnt.h197 le_int16 caretOffset; member
/external/icu4c/test/letest/
DFontObject.h160 le_int16 caretOffset; member
Dsfnt.h334 le_int16 caretOffset; member
/external/webkit/Source/WebCore/rendering/
DRenderText.h100 virtual IntRect localCaretRect(InlineBox*, int caretOffset, int* extraWidthToEndOfLine = 0);
DRenderBox.h337 virtual IntRect localCaretRect(InlineBox*, int caretOffset, int* extraWidthToEndOfLine = 0);
DRenderText.cpp535 IntRect RenderText::localCaretRect(InlineBox* inlineBox, int caretOffset, int* extraWidthToEndOfLin… in localCaretRect() argument
550 float left = box->positionForOffset(caretOffset); in localCaretRect()
DRenderBlock.h598 virtual IntRect localCaretRect(InlineBox*, int caretOffset, int* extraWidthToEndOfLine = 0);
DRenderObject.h718 virtual IntRect localCaretRect(InlineBox*, int caretOffset, int* extraWidthToEndOfLine = 0);
DRenderBox.cpp3125 IntRect RenderBox::localCaretRect(InlineBox* box, int caretOffset, int* extraWidthToEndOfLine) in localCaretRect() argument
3136 if ((!caretOffset) ^ ltr) in localCaretRect()
DRenderBlock.cpp5834 IntRect RenderBlock::localCaretRect(InlineBox* inlineBox, int caretOffset, int* extraWidthToEndOfLi… in localCaretRect() argument
5838 return RenderBox::localCaretRect(inlineBox, caretOffset, extraWidthToEndOfLine); in localCaretRect()
/external/webkit/Source/WebKit/gtk/tests/
Dtestatk.c372 gint caretOffset = atk_text_get_caret_offset(textObject); in testWebkitAtkCaretOffsetsAndExtranousWhiteSpaces() local
373 g_assert_cmpint(caretOffset, ==, characterCount - 1); in testWebkitAtkCaretOffsetsAndExtranousWhiteSpaces()
378 caretOffset = atk_text_get_caret_offset(textObject); in testWebkitAtkCaretOffsetsAndExtranousWhiteSpaces()
379 g_assert_cmpint(caretOffset, ==, characterCount); in testWebkitAtkCaretOffsetsAndExtranousWhiteSpaces()
/external/webkit/Source/WebCore/accessibility/gtk/
DAccessibilityObjectWrapperAtk.cpp1752 gint caretOffset = webkit_accessible_text_get_caret_offset(text); in webkit_accessible_text_remove_selection() local
1753 return webkit_accessible_text_set_selection(text, selectionNum, caretOffset, caretOffset); in webkit_accessible_text_remove_selection()
/external/webkit/Source/WebKit/android/jni/
DWebViewCore.cpp1569 int caretOffset; in setSelectionCaretInfo() local
1571 pos.getInlineBoxAndOffset(affinity, inlineBox, caretOffset); in setSelectionCaretInfo()
1572 IntRect caretRect = renderText->localCaretRect(inlineBox, caretOffset); in setSelectionCaretInfo()
1585 int caretOffset = 0; in isLtr() local
1586 position.getInlineBoxAndOffset(DOWNSTREAM, inlineBox, caretOffset); in isLtr()
/external/webkit/Source/WebCore/
DChangeLog-2009-06-1611908 [GTK] text.caretOffset is reportedly always 0