Searched defs:caret (Results 1 - 20 of 20) sorted by relevance

/external/chromium_org/ppapi/cpp/
H A Dtext_input_controller.cc36 void TextInputController::UpdateCaretPosition(const Rect& caret) { argument
39 instance_.pp_instance(), &caret.pp_rect());
51 uint32_t caret,
57 caret,
50 UpdateSurroundingText(const Var& text, uint32_t caret, uint32_t anchor) argument
/external/chromium_org/ppapi/cpp/dev/
H A Dtext_input_dev.cc70 void TextInput_Dev::UpdateCaretPosition(const Rect& caret, argument
74 instance_.pp_instance(), &caret.pp_rect(), &bounding_box.pp_rect());
77 instance_.pp_instance(), &caret.pp_rect(), &bounding_box.pp_rect());
99 uint32_t caret,
103 instance_.pp_instance(), text.c_str(), caret, anchor);
98 UpdateSurroundingText(const std::string& text, uint32_t caret, uint32_t anchor) argument
/external/chromium_org/ppapi/thunk/
H A Dppb_text_input_thunk.cc53 const PP_Rect* caret,
56 if (enter.succeeded() && caret && bounding_box)
57 enter.functions()->UpdateCaretPosition(instance, *caret, *bounding_box);
61 const PP_Rect* caret) {
63 if (enter.succeeded() && caret)
64 enter.functions()->UpdateCaretPosition(instance, *caret, PP_Rect());
74 uint32_t caret, uint32_t anchor) {
77 enter.functions()->UpdateSurroundingText(instance, text, caret, anchor);
81 uint32_t caret, uint32_t anchor) {
87 caret,
52 UpdateCaretPosition_0_2(PP_Instance instance, const PP_Rect* caret, const PP_Rect* bounding_box) argument
60 UpdateCaretPosition(PP_Instance instance, const PP_Rect* caret) argument
73 UpdateSurroundingText_0_2(PP_Instance instance, const char* text, uint32_t caret, uint32_t anchor) argument
80 UpdateSurroundingText_1_0(PP_Instance instance, PP_Var text, uint32_t caret, uint32_t anchor) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DCaret.cpp137 // if caretNode is a block and caret is inside it then caret should be painted by that block
180 // Get the renderer that will be responsible for painting the caret
245 // flag will cause another caret layout to happen the first time
246 // that we try to paint the caret after this call. That one will work since
249 // And, we need to leave this layout here so the caret moves right
271 LayoutRect caret = intersection(drawingRect, clipRect); local
272 if (caret.isEmpty())
286 context->fillRect(caret, caretColor);
/external/chromium_org/ui/gfx/
H A Drender_text_pango.cc180 size_t caret = selection.caret_pos(); local
182 if (caret < LayoutIndexToTextIndex(item->offset + item->length)) {
183 caret = IndexOfAdjacentGrapheme(caret, CURSOR_FORWARD);
184 return SelectionModel(caret, CURSOR_BACKWARD);
187 if (caret > LayoutIndexToTextIndex(item->offset)) {
188 caret = IndexOfAdjacentGrapheme(caret, CURSOR_BACKWARD);
189 return SelectionModel(caret, CURSOR_FORWARD);
493 const SelectionModel& caret) cons
509 size_t caret = IndexOfAdjacentGrapheme( local
516 size_t caret = IndexOfAdjacentGrapheme( local
[all...]
H A Drender_text_harfbuzz.cc674 size_t caret = selection.caret_pos(); local
677 if (caret < LayoutIndexToTextIndex(run->range.end())) {
678 caret = IndexOfAdjacentGrapheme(caret, CURSOR_FORWARD);
679 return SelectionModel(caret, CURSOR_BACKWARD);
682 if (caret > LayoutIndexToTextIndex(run->range.start())) {
683 caret = IndexOfAdjacentGrapheme(caret, CURSOR_BACKWARD);
684 return SelectionModel(caret, CURSOR_FORWARD);
956 const SelectionModel& caret) cons
[all...]
H A Drender_text_win.cc608 size_t caret = selection.caret_pos(); local
612 if (caret < LayoutIndexToTextIndex(run->range.end())) {
613 caret = IndexOfAdjacentGrapheme(caret, CURSOR_FORWARD);
614 return SelectionModel(caret, CURSOR_BACKWARD);
617 if (caret > LayoutIndexToTextIndex(run->range.start())) {
618 caret = IndexOfAdjacentGrapheme(caret, CURSOR_BACKWARD);
619 return SelectionModel(caret, CURSOR_FORWARD);
1248 size_t RenderTextWin::GetRunContainingCaret(const SelectionModel& caret) cons
[all...]
H A Drender_text.cc554 // The current model only supports caret positions at valid cursor indices.
778 Rect RenderText::GetCursorBounds(const SelectionModel& caret, argument
785 size_t caret_pos = caret.caret_pos();
790 insert_mode ? caret.caret_affinity() : CURSOR_FORWARD;
794 // The caret is attached to the boundary. Always return a 1-dip width caret,
/external/chromium_org/mojo/examples/pepper_container_app/
H A Dplugin_instance.cc277 const PP_Rect& caret,
292 uint32_t caret,
276 UpdateCaretPosition(PP_Instance instance, const PP_Rect& caret, const PP_Rect& bounding_box) argument
290 UpdateSurroundingText(PP_Instance instance, const char* text, uint32_t caret, uint32_t anchor) argument
/external/chromium_org/ppapi/examples/ime/
H A Dime.cc93 virtual void FocusIn(const pp::Rect& caret) {} argument
106 virtual void FocusIn(const pp::Rect& caret) { argument
108 textinput_control_.UpdateCaretPosition(caret);
156 // before caret
202 // caret
210 // after caret
266 // Inserts a text at the current caret position.
309 // Move caret to the head of the selection or to the previous character.
323 // Move caret to the end of the selection or to the next character.
360 // Notify the plugin instance that the caret positio
[all...]
/external/chromium_org/ppapi/proxy/
H A Dppb_instance_proxy.cc938 const PP_Rect& caret,
941 API_ID_PPB_INSTANCE, instance, caret, bounding_box));
978 uint32_t caret,
981 API_ID_PPB_INSTANCE, instance, text, caret, anchor));
1536 const PP_Rect& caret,
1540 enter.functions()->UpdateCaretPosition(instance, caret, bounding_box);
1552 uint32_t caret,
1556 enter.functions()->UpdateSurroundingText(instance, text.c_str(), caret,
937 UpdateCaretPosition(PP_Instance instance, const PP_Rect& caret, const PP_Rect& bounding_box) argument
976 UpdateSurroundingText(PP_Instance instance, const char* text, uint32_t caret, uint32_t anchor) argument
1534 OnHostMsgUpdateCaretPosition( PP_Instance instance, const PP_Rect& caret, const PP_Rect& bounding_box) argument
1549 OnHostMsgUpdateSurroundingText( PP_Instance instance, const std::string& text, uint32_t caret, uint32_t anchor) argument
/external/chromium_org/content/renderer/pepper/
H A Dpepper_plugin_instance_impl.cc1114 // passed to IME. Currently, we pass only the caret rectangle because
1116 gfx::Rect caret(text_input_caret_);
1117 caret.Offset(view_data_.rect.point.x, view_data_.rect.point.y);
1118 return caret;
2862 const PP_Rect& caret,
2866 text_input_caret_ = PP_ToGfxRect(caret);
2895 uint32_t caret,
2900 selection_caret_ = caret;
2860 UpdateCaretPosition( PP_Instance instance, const PP_Rect& caret, const PP_Rect& bounding_box) argument
2893 UpdateSurroundingText(PP_Instance instance, const char* text, uint32_t caret, uint32_t anchor) argument
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DWebFrameTest.cpp2541 // Set the caret to the end of the input box.
2544 WebRect rect, caret; local
2545 webViewHelper.webViewImpl()->selectionBounds(caret, rect);
2557 EXPECT_NEAR(minReadableCaretHeight / caret.height, scale, 0.1);
2564 webViewHelper.webViewImpl()->selectionBounds(caret, rect);
2567 // The caret should be right aligned since the caret would be offscreen when the edit box is left aligned.
2568 hScroll = caret.x + caret.width + caretPadding - viewportWidth / scale;
2570 EXPECT_NEAR(minReadableCaretHeight / caret
2616 WebRect rect, caret; local
[all...]
/external/chromium_org/content/renderer/
H A Drender_view_impl.cc3727 // use the caret position as an empty range for now. It will be updated
3729 gfx::Rect caret = focused_pepper_plugin_->GetCaretBounds(); local
3730 *start = caret;
3731 *end = caret;
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebViewImpl.cpp2115 // no caret and does respond to keyboard inputs.
2122 // caret back to the beginning of the text.
2811 // 'caret' is rect encompassing the blinking cursor.
2813 WebRect caret, unusedEnd; local
2814 selectionBounds(caret, unusedEnd);
2815 IntRect unscaledCaret = caret;
2817 caret = unscaledCaret;
2820 // the caret height will become minReadableCaretHeight (adjusted for dpi
2822 newScale = clampPageScaleFactorToLimits(legibleScale() * minReadableCaretHeight / caret.height);
2829 IntRect caretInDocumentCoordinates = caret;
[all...]
/external/chromium_org/ppapi/native_client/src/untrusted/pnacl_irt_shim/
H A Dpnacl_shim.c1614 static void Pnacl_M30_PPB_TextInputController_UpdateCaretPosition(PP_Instance instance, const struct PP_Rect* caret) { argument
1616 iface->UpdateCaretPosition(instance, caret);
1624 static void Pnacl_M30_PPB_TextInputController_UpdateSurroundingText(PP_Instance instance, struct PP_Var* text, uint32_t caret, uint32_t anchor) { argument
1626 iface->UpdateSurroundingText(instance, *text, caret, anchor);
4911 .UpdateCaretPosition = (void (*)(PP_Instance instance, const struct PP_Rect* caret))&Pnacl_M30_PPB_TextInputController_UpdateCaretPosition,
4913 .UpdateSurroundingText = (void (*)(PP_Instance instance, struct PP_Var text, uint32_t caret, uint32_t anchor))&Pnacl_M30_PPB_TextInputController_UpdateSurroundingText
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.jface.text_3.6.1.r361_v20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/chromium_org/third_party/android_platform/webview/
H A Dframeworks.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/location/ android/location/Address$1.class ...

Completed in 958 milliseconds