Home
last modified time | relevance | path

Searched refs:bounding_box (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/content/browser/renderer_host/
Dui_events_helper.cc153 gesture_event.data.tap.width = event.details().bounding_box().width(); in MakeWebGestureEventFromUIEvent()
154 gesture_event.data.tap.height = event.details().bounding_box().height(); in MakeWebGestureEventFromUIEvent()
159 event.details().bounding_box().width(); in MakeWebGestureEventFromUIEvent()
161 event.details().bounding_box().height(); in MakeWebGestureEventFromUIEvent()
166 event.details().bounding_box().width(); in MakeWebGestureEventFromUIEvent()
168 event.details().bounding_box().height(); in MakeWebGestureEventFromUIEvent()
209 event.details().bounding_box().width(); in MakeWebGestureEventFromUIEvent()
211 event.details().bounding_box().height(); in MakeWebGestureEventFromUIEvent()
216 event.details().bounding_box().width(); in MakeWebGestureEventFromUIEvent()
218 event.details().bounding_box().height(); in MakeWebGestureEventFromUIEvent()
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_view_layout.cc213 gfx::Rect bounding_box = contents_container_->ConvertRectToWidget( in GetFindBarBoundingBox() local
237 int height_delta = bounding_box.y() - find_bar_y; in GetFindBarBoundingBox()
238 bounding_box.set_y(find_bar_y); in GetFindBarBoundingBox()
239 bounding_box.set_height(std::max(0, bounding_box.height() + height_delta)); in GetFindBarBoundingBox()
244 bounding_box.set_width(std::max(0, bounding_box.width() - scrollbar_width)); in GetFindBarBoundingBox()
246 bounding_box.set_x(bounding_box.x() + scrollbar_width); in GetFindBarBoundingBox()
248 return bounding_box; in GetFindBarBoundingBox()
/external/chromium_org/ppapi/cpp/dev/
Dtext_input_dev.cc71 const Rect& bounding_box) { 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()
Dtext_input_dev.h49 void UpdateCaretPosition(const Rect& caret, const Rect& bounding_box);
/external/chromium_org/ppapi/c/dev/
Dppb_text_input_dev.h86 const struct PP_Rect* bounding_box);
134 const struct PP_Rect* bounding_box);
/external/chromium_org/ppapi/thunk/
Dppb_text_input_thunk.cc54 const PP_Rect* bounding_box) { 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()
Dppb_instance_api.h140 const PP_Rect& bounding_box) = 0;
/external/chromium_org/ui/events/gesture_detection/
Dgesture_provider.cc53 const gfx::RectF& bounding_box) { in CreateGesture() argument
62 bounding_box); in CreateGesture()
73 const gfx::RectF& bounding_box) { in CreateGesture() argument
82 bounding_box); in CreateGesture()
356 const gfx::RectF bounding_box = GetBoundingBox(e2); in OnScroll() local
357 const gfx::PointF center = bounding_box.CenterPoint(); in OnScroll()
370 bounding_box)); in OnScroll()
765 const gfx::RectF bounding_box = GetBoundingBox(event); in OnTouchEventHandlingEnd() local
777 bounding_box)); in OnTouchEventHandlingEnd()
Dgesture_event_data.cc19 const gfx::RectF& bounding_box) in GestureEventData() argument
30 this->details.set_bounding_box(bounding_box); in GestureEventData()
Dgesture_provider_unittest.cc289 GetMostRecentGestureEvent().details.bounding_box()); in CheckScrollEventSequenceForEndActionType()
310 GetMostRecentGestureEvent().details.bounding_box()); in CheckScrollEventSequenceForEndActionType()
412 GetMostRecentGestureEvent().details.bounding_box()); in TEST_F()
425 GetMostRecentGestureEvent().details.bounding_box()); in TEST_F()
445 GetMostRecentGestureEvent().details.bounding_box()); in TEST_F()
458 GetMostRecentGestureEvent().details.bounding_box()); in TEST_F()
500 GetMostRecentGestureEvent().details.bounding_box()); in TEST_F()
667 EXPECT_EQ(10, double_tap.details.bounding_box().width()); in TEST_F()
668 EXPECT_EQ(10, double_tap.details.bounding_box().height()); in TEST_F()
702 GetMostRecentGestureEvent().details.bounding_box()); in TEST_F()
[all …]
Dgesture_event_data.h26 const gfx::RectF& bounding_box);
/external/chromium_org/ui/aura/gestures/
Dgesture_recognizer_unittest.cc188 const gfx::Rect& bounding_box() const { return bounding_box_; } in bounding_box() function in aura::test::__anon1840509e0111::GestureEventConsumeDelegate
201 bounding_box_ = gesture->details().bounding_box(); in OnGestureEvent()
808 EXPECT_EQ(24, delegate->bounding_box().width()); in TEST_P()
809 EXPECT_EQ(24, delegate->bounding_box().height()); in TEST_P()
849 EXPECT_EQ(40, delegate->bounding_box().width()); in TEST_P()
850 EXPECT_EQ(40, delegate->bounding_box().height()); in TEST_P()
906 EXPECT_EQ(25, delegate->bounding_box().width()); in TEST_P()
907 EXPECT_EQ(24, delegate->bounding_box().height()); in TEST_P()
992 EXPECT_EQ(33, delegate->bounding_box().width()); in TEST_P()
993 EXPECT_EQ(32, delegate->bounding_box().height()); in TEST_P()
[all …]
/external/eigen/unsupported/doc/examples/
DBVH_Example.cpp10 …Box2d bounding_box(const Vector2d &v) { return Box2d(v, v); } //compute the bounding box of a sing… in bounding_box() function
/external/eigen/unsupported/test/
DBVH.cpp17 template<typename Scalar, int Dim> AlignedBox<Scalar, Dim> bounding_box(const Matrix<Scalar, Dim, 1… in bounding_box() function
35 template<int Dim> AlignedBox<double, Dim> bounding_box(const Ball<Dim> &b) in bounding_box() function
/external/chromium_org/ui/events/
Dgesture_event_details.h30 const gfx::Rect bounding_box() const { in bounding_box() function
/external/chromium_org/components/autofill/content/renderer/
Dpassword_autofill_agent.cc859 gfx::Rect bounding_box(selected_element.boundsInViewportSpace()); in ShowSuggestionPopup() local
862 gfx::RectF bounding_box_scaled(bounding_box.x() * scale, in ShowSuggestionPopup()
863 bounding_box.y() * scale, in ShowSuggestionPopup()
864 bounding_box.width() * scale, in ShowSuggestionPopup()
865 bounding_box.height() * scale); in ShowSuggestionPopup()
Dform_autofill_util.cc1186 gfx::Rect bounding_box(element->boundsInViewportSpace()); in GetScaledBoundingBox() local
1187 return gfx::RectF(bounding_box.x() * scale, in GetScaledBoundingBox()
1188 bounding_box.y() * scale, in GetScaledBoundingBox()
1189 bounding_box.width() * scale, in GetScaledBoundingBox()
1190 bounding_box.height() * scale); in GetScaledBoundingBox()
/external/chromium_org/ppapi/proxy/
Dppb_instance_proxy.h105 const PP_Rect& bounding_box) OVERRIDE;
225 const PP_Rect& bounding_box);
Dppb_instance_proxy.cc860 const PP_Rect& bounding_box) { in UpdateCaretPosition() argument
862 API_ID_PPB_INSTANCE, instance, caret, bounding_box)); in UpdateCaretPosition()
1394 const PP_Rect& bounding_box) { in OnHostMsgUpdateCaretPosition() argument
1397 enter.functions()->UpdateCaretPosition(instance, caret, bounding_box); in OnHostMsgUpdateCaretPosition()
/external/chromium_org/components/autofill/core/browser/
Dautofill_manager.h152 const gfx::RectF& bounding_box,
/external/chromium_org/mojo/examples/pepper_container_app/
Dplugin_instance.h103 const PP_Rect& bounding_box) OVERRIDE;
Dplugin_instance.cc268 const PP_Rect& bounding_box) { in UpdateCaretPosition() argument
/external/eigen/unsupported/Eigen/src/BVH/
DKdBVH.h47 outBoxes.push_back(bounding_box(objects[i]));
/external/chromium_org/ui/views/widget/
Droot_view.cc639 !event->details().bounding_box().IsEmpty()) { in DispatchGestureEvent()
642 gfx::Rect touch_rect(event->details().bounding_box()); in DispatchGestureEvent()
/external/chromium_org/ppapi/api/dev/
Dppb_text_input_dev.idl64 [in] PP_Rect bounding_box);

12