Home
last modified time | relevance | path

Searched refs:caret (Results 1 – 25 of 111) sorted by relevance

12345

/external/chromium_org/ppapi/thunk/
Dppb_text_input_thunk.cc53 const PP_Rect* caret, in UpdateCaretPosition_0_2() argument
56 if (enter.succeeded() && caret && bounding_box) in UpdateCaretPosition_0_2()
57 enter.functions()->UpdateCaretPosition(instance, *caret, *bounding_box); in UpdateCaretPosition_0_2()
61 const PP_Rect* caret) { in UpdateCaretPosition() argument
63 if (enter.succeeded() && caret) in UpdateCaretPosition()
64 enter.functions()->UpdateCaretPosition(instance, *caret, PP_Rect()); in UpdateCaretPosition()
74 uint32_t caret, uint32_t anchor) { in UpdateSurroundingText_0_2() argument
77 enter.functions()->UpdateSurroundingText(instance, text, caret, anchor); in UpdateSurroundingText_0_2()
81 uint32_t caret, uint32_t anchor) { in UpdateSurroundingText_1_0() argument
87 caret, in UpdateSurroundingText_1_0()
Dppb_instance_api.h126 const PP_Rect& caret,
132 uint32_t caret,
/external/chromium_org/ppapi/api/
Dppb_text_input_controller.idl21 * Input caret is not in an editable mode, no input method shall be used.
25 * Input caret is in a normal editable mode, any input method can be used.
29 * Input caret is in a password box, an input method may be used only if
57 * Informs the browser about the coordinates of the text input caret area.
62 [in] PP_Rect caret);
72 * of text selection in the plugin. <code>caret</code> is the byte-index of
73 * the caret position within <code>text</code>. <code>anchor</code> is the
75 * it is the other edge of selection different from <code>caret</code>. If
76 * there are no selection, <code>anchor</code> is equal to <code>caret</code>.
81 * of suggestion of IME by taking the context into account (e.g., if the caret
[all …]
/external/chromium_org/ppapi/api/dev/
Dppb_text_input_dev.idl22 * Input caret is not in an editable mode, no input method shall be used.
26 * Input caret is in a normal editable mode, any input method can be used.
30 * Input caret is in a password box, an input method may be used only if
58 * Informs the browser about the coordinates of the text input caret and the
63 [in] PP_Rect caret,
75 * of text selection in the plugin. <code>caret</code> is the byte-index of
76 * the caret position within <code>text</code>. <code>anchor</code> is the
78 * it is the other edge of selection different from <code>caret</code>. If
79 * there are no selection, <code>anchor</code> is equal to <code>caret</code>.
84 * of suggestion of IME by taking the context into account (e.g., if the caret
[all …]
Dppp_text_input_dev.idl20 * Requests the plugin to send back the text around the current caret or
/external/chromium_org/ppapi/cpp/
Dtext_input_controller.cc36 void TextInputController::UpdateCaretPosition(const Rect& caret) { in UpdateCaretPosition() argument
39 instance_.pp_instance(), &caret.pp_rect()); in UpdateCaretPosition()
51 uint32_t caret, in UpdateSurroundingText() argument
57 caret, in UpdateSurroundingText()
Dtext_input_controller.h45 void UpdateCaretPosition(const Rect& caret);
64 uint32_t caret,
/external/chromium_org/ppapi/cpp/dev/
Dtext_input_dev.cc70 void TextInput_Dev::UpdateCaretPosition(const Rect& caret, in UpdateCaretPosition() argument
74 instance_.pp_instance(), &caret.pp_rect(), &bounding_box.pp_rect()); in UpdateCaretPosition()
77 instance_.pp_instance(), &caret.pp_rect(), &bounding_box.pp_rect()); in UpdateCaretPosition()
99 uint32_t caret, in UpdateSurroundingText() argument
103 instance_.pp_instance(), text.c_str(), caret, anchor); in UpdateSurroundingText()
Dtext_input_dev.h49 void UpdateCaretPosition(const Rect& caret, const Rect& bounding_box);
53 uint32_t caret, uint32_t anchor);
/external/chromium_org/ui/gfx/
Drender_text_pango.cc161 size_t caret = selection.caret_pos(); in AdjacentCharSelectionModel() local
163 if (caret < LayoutIndexToTextIndex(item->offset + item->length)) { in AdjacentCharSelectionModel()
164 caret = IndexOfAdjacentGrapheme(caret, CURSOR_FORWARD); in AdjacentCharSelectionModel()
165 return SelectionModel(caret, CURSOR_BACKWARD); in AdjacentCharSelectionModel()
168 if (caret > LayoutIndexToTextIndex(item->offset)) { in AdjacentCharSelectionModel()
169 caret = IndexOfAdjacentGrapheme(caret, CURSOR_BACKWARD); in AdjacentCharSelectionModel()
170 return SelectionModel(caret, CURSOR_FORWARD); in AdjacentCharSelectionModel()
476 const SelectionModel& caret) const { in GetRunContainingCaret()
477 size_t position = TextIndexToLayoutIndex(caret.caret_pos()); in GetRunContainingCaret()
478 LogicalCursorDirection affinity = caret.caret_affinity(); in GetRunContainingCaret()
[all …]
Drender_text_win.cc590 size_t caret = selection.caret_pos(); in AdjacentCharSelectionModel() local
594 if (caret < LayoutIndexToTextIndex(run->range.end())) { in AdjacentCharSelectionModel()
595 caret = IndexOfAdjacentGrapheme(caret, CURSOR_FORWARD); in AdjacentCharSelectionModel()
596 return SelectionModel(caret, CURSOR_BACKWARD); in AdjacentCharSelectionModel()
599 if (caret > LayoutIndexToTextIndex(run->range.start())) { in AdjacentCharSelectionModel()
600 caret = IndexOfAdjacentGrapheme(caret, CURSOR_BACKWARD); in AdjacentCharSelectionModel()
601 return SelectionModel(caret, CURSOR_FORWARD); in AdjacentCharSelectionModel()
1239 size_t RenderTextWin::GetRunContainingCaret(const SelectionModel& caret) const { in GetRunContainingCaret()
1241 size_t layout_position = TextIndexToLayoutIndex(caret.caret_pos()); in GetRunContainingCaret()
1242 LogicalCursorDirection affinity = caret.caret_affinity(); in GetRunContainingCaret()
/external/chromium_org/ppapi/c/dev/
Dppb_text_input_dev.h85 const struct PP_Rect* caret,
116 uint32_t caret,
133 const struct PP_Rect* caret,
/external/chromium_org/third_party/WebKit/Source/core/editing/
DInsertLineBreakCommand.cpp97 VisiblePosition caret(selection.visibleStart()); in doApply() local
100 if (caret.isNull()) in doApply()
103 Position pos(caret.deepEquivalent()); in doApply()
117 if (isEndOfParagraph(caret) && !lineBreakExistsAtVisiblePosition(caret)) { in doApply()
DCaret.cpp241 LayoutRect caret = intersection(drawingRect, clipRect); in paintCaret() local
242 if (caret.isEmpty()) in paintCaret()
256 context->fillRect(caret, caretColor); in paintCaret()
DInsertTextCommand.cpp163 VisiblePosition caret(startPosition); in doApply() local
164 if (isEndOfBlock(caret) && isStartOfParagraph(caret)) in doApply()
DEditor.cpp901 VisiblePosition caret = m_frame.selection().selection().visibleStart(); in insertLineBreak() local
902 bool alignToEdge = isEndOfEditableOrNonEditableContent(caret); in insertLineBreak()
918 VisiblePosition caret = m_frame.selection().selection().visibleStart(); in insertParagraphSeparator() local
919 bool alignToEdge = isEndOfEditableOrNonEditableContent(caret); in insertParagraphSeparator()
1069 VisiblePosition caret = selection.visibleStart(); in transpose() local
1070 VisiblePosition next = isEndOfParagraph(caret) ? caret : caret.next(); in transpose()
/external/chromium_org/ppapi/c/
Dppb_text_input_controller.h86 const struct PP_Rect* caret);
115 uint32_t caret,
/external/chromium_org/ppapi/proxy/
Dppb_instance_proxy.h96 const PP_Rect& caret,
102 uint32_t caret,
198 const PP_Rect& caret,
204 uint32_t caret,
Dppb_instance_proxy.cc775 const PP_Rect& caret, in UpdateCaretPosition() argument
778 API_ID_PPB_INSTANCE, instance, caret, bounding_box)); in UpdateCaretPosition()
815 uint32_t caret, in UpdateSurroundingText() argument
818 API_ID_PPB_INSTANCE, instance, text, caret, anchor)); in UpdateSurroundingText()
1223 const PP_Rect& caret, in OnHostMsgUpdateCaretPosition() argument
1229 enter.functions()->UpdateCaretPosition(instance, caret, bounding_box); in OnHostMsgUpdateCaretPosition()
1243 uint32_t caret, in OnHostMsgUpdateSurroundingText() argument
1249 enter.functions()->UpdateSurroundingText(instance, text.c_str(), caret, in OnHostMsgUpdateSurroundingText()
/external/chromium_org/third_party/WebKit/ManualTests/
D.gitattributes7 textarea-caret-position-after-auto-spell-correct.html -crlf
/external/chromium_org/tools/idl_parser/
Didl_lexer.py203 caret = ' ' * pos + '^'
206 return "%s\n%s" % (self.lines[line - 1], caret)
/external/chromium_org/ui/base/ime/
Dremote_input_method_win.cc89 std::vector<gfx::Rect> caret; in GetCompositionCharacterBounds() local
90 caret.push_back(client->GetCaretBounds()); in GetCompositionCharacterBounds()
91 return caret; in GetCompositionCharacterBounds()
/external/chromium_org/ppapi/examples/ime/
Dime.cc93 virtual void FocusIn(const pp::Rect& caret) {} in FocusIn() argument
106 virtual void FocusIn(const pp::Rect& caret) { in FocusIn() argument
108 textinput_control_.UpdateCaretPosition(caret); in FocusIn()
367 pp::Rect caret(area_.x() + px, area_.y(), 0, area_.height() + 2); in CaretPosChanged() local
368 status_handler_->FocusIn(caret); in CaretPosChanged()
/external/clang/www/
Dcontent.css29 span.caret { color:green; font-weight:bold }
/external/clang/lib/Basic/
DOperatorPrecedence.cpp58 case tok::caret: return prec::ExclusiveOr; in getBinOpPrecedence()

12345