Searched refs:Point (Results 101 - 125 of 1480) sorted by relevance

1234567891011>>

/external/chromium_org/ui/base/cursor/ozone/
H A Dbitmap_cursor_factory_ozone.h19 // A cursor that is an SkBitmap combined with a gfx::Point hotspot.
23 BitmapCursorOzone(const SkBitmap& bitmap, const gfx::Point& hotspot);
25 const gfx::Point& hotspot,
28 const gfx::Point& hotspot();
40 gfx::Point hotspot_;
49 // combined with a gfx::Point for the hotspot.
65 const gfx::Point& hotspot) OVERRIDE;
68 const gfx::Point& hotspot,
/external/chromium_org/ui/base/touch/
H A Dtouch_editing_controller.h24 virtual void SelectRect(const gfx::Point& start, const gfx::Point& end) = 0;
27 virtual void MoveCaretTo(const gfx::Point& point) = 0;
48 virtual void ConvertPointToScreen(gfx::Point* point) = 0;
49 virtual void ConvertPointFromScreen(gfx::Point* point) = 0;
56 virtual void OpenContextMenu(const gfx::Point& anchor) = 0;
/external/chromium_org/v8/test/mjsunit/
H A Ddebug-backtrace-text.js31 function Point(x, y) { class
36 Point.prototype.distanceTo = function(p) {
41 p1 = new Point(1,1);
42 p2 = new Point(2,2);
53 return new Point(x, y);
79 // 0: Call distance on Point where distance is a property on the prototype
80 // 1: Call distance on Point where distance is a direct property
83 assertEquals("#<Point>.distanceTo(p=#<Point>)", exec_state.frame(0).invocationText());
84 assertEquals("#<Point>
[all...]
/external/chromium_org/chrome/browser/ui/views/apps/
H A Dshaped_app_window_targeter_unittest.cc66 gfx::Point(40, 40), gfx::Point(40, 40),
82 gfx::Point(40, 40), gfx::Point(40, 40),
91 gfx::Point(80, 80), gfx::Point(80, 80),
112 gfx::Point(40, 40), gfx::Point(40, 40),
124 gfx::Point(10, 10), gfx::Point(1
[all...]
/external/chromium_org/ash/host/
H A Dash_window_tree_host_x11_unittest.cc45 gfx::Point last_touch_location() { return last_touch_location_; }
51 gfx::Point last_touch_location_;
106 0, XI_TouchBegin, 5, gfx::Point(1500, 2500), valuators);
111 EXPECT_EQ(gfx::Point(0, 0), handler->last_touch_location());
115 0, XI_TouchBegin, 5, gfx::Point(1500, 1500), valuators);
120 EXPECT_EQ(gfx::Point(1500, 1500), handler->last_touch_location());
123 0, XI_TouchUpdate, 5, gfx::Point(1500, 1600), valuators);
128 EXPECT_EQ(gfx::Point(1500, 1600), handler->last_touch_location());
131 0, XI_TouchEnd, 5, gfx::Point(1500, 1600), valuators);
136 EXPECT_EQ(gfx::Point(150
[all...]
/external/chromium_org/ash/drag_drop/
H A Ddrag_drop_tracker_unittest.cc32 static aura::Window* GetTarget(const gfx::Point& location) {
78 EXPECT_EQ(window0.get(), GetTarget(gfx::Point(50, 50)));
82 EXPECT_NE(window0.get(), GetTarget(gfx::Point(150, 150)));
83 EXPECT_NE(window1.get(), GetTarget(gfx::Point(150, 150)));
87 EXPECT_EQ(window1.get(), GetTarget(gfx::Point(350, 150)));
91 EXPECT_NE(window0.get(), GetTarget(gfx::Point(50, 250)));
92 EXPECT_NE(window1.get(), GetTarget(gfx::Point(50, 250)));
99 EXPECT_EQ(window0.get(), GetTarget(gfx::Point(-150, 50)));
103 EXPECT_NE(window0.get(), GetTarget(gfx::Point(150, -50)));
104 EXPECT_NE(window1.get(), GetTarget(gfx::Point(15
[all...]
H A Ddrag_image_view.h39 void SetScreenPosition(const gfx::Point& position);
55 void SetTouchDragOperationHintPosition(const gfx::Point& position);
69 gfx::Point touch_drag_operation_indicator_position_;
/external/chromium_org/chrome/browser/chromeos/ui/
H A Daccessibility_focus_ring_layer.cc36 gfx::Point p = input_ring.points[i];
37 gfx::Point prev;
38 gfx::Point next;
52 gfx::Point delta0 = gfx::Point(sign(p.x() - prev.x()),
54 gfx::Point delta1 = gfx::Point(sign(next.x() - p.x()),
58 ring.points[i] = gfx::Point(
62 ring.points[i] = gfx::Point(
69 gfx::Point p
[all...]
/external/chromium_org/ui/aura/
H A Dwindow_tree_host.h19 class Point;
88 void ConvertPointToNativeScreen(gfx::Point* point) const;
91 void ConvertPointFromNativeScreen(gfx::Point* point) const;
95 void ConvertPointToHost(gfx::Point* point) const;
99 void ConvertPointFromHost(gfx::Point* point) const;
112 void MoveCursorTo(const gfx::Point& location);
115 void MoveCursorToHostLocation(const gfx::Point& host_location);
155 virtual gfx::Point GetLocationOnNativeScreen() const = 0;
157 void OnHostMoved(const gfx::Point& new_location);
167 virtual void MoveCursorToNative(const gfx::Point
[all...]
/external/chromium_org/ui/views/widget/desktop_aura/
H A Ddesktop_screen_position_client.cc17 gfx::Point GetOrigin(const aura::Window* root_window) {
18 gfx::Point origin_in_pixels = root_window->GetHost()->GetBounds().origin();
49 gfx::Point* point) {
52 gfx::Point origin = GetOrigin(root_window);
58 gfx::Point* point) {
60 gfx::Point origin = GetOrigin(root_window);
66 gfx::Point* point) {
89 gfx::Point origin = bounds.origin();
92 gfx::Point host_origin = GetOrigin(root);
/external/chromium_org/ash/wm/
H A Dwindow_resizer.h50 virtual void Drag(const gfx::Point& location, int event_flags) = 0;
64 const gfx::Point& GetInitialLocation() const {
72 gfx::Rect CalculateBoundsForDrag(const gfx::Point& location);
86 gfx::Point GetOriginForDrag(int delta_x, int delta_y);
102 const gfx::Point& point_in_parent,
/external/chromium_org/chrome/browser/ui/panels/
H A Dpanel_mouse_watcher_unittest.cc16 virtual void OnMouseMove(const gfx::Point& mouse_position) OVERRIDE {
35 watcher->NotifyMouseMovement(gfx::Point(42, 101));
42 watcher->NotifyMouseMovement(gfx::Point(42, 101));
52 watcher->NotifyMouseMovement(gfx::Point(101, 42));
60 watcher->NotifyMouseMovement(gfx::Point(1, 2));
/external/chromium_org/pdf/
H A Dpaint_aggregator.h27 pp::Point offset;
46 pp::Point scroll_delta;
82 void ScrollRect(const pp::Rect& clip_rect, const pp::Point& amount);
104 pp::Point scroll_delta;
119 const pp::Point& amount) const;
/external/chromium_org/ui/compositor/
H A Ddip_util.h13 class Point;
25 COMPOSITOR_EXPORT gfx::Point ConvertPointToDIP(
27 const gfx::Point& point_in_pixel);
37 COMPOSITOR_EXPORT gfx::Point ConvertPointToPixel(
39 const gfx::Point& point_in_dip);
/external/chromium_org/ash/magnifier/
H A Dmagnification_controller_unittest.cc57 const gfx::Point& location =
178 generator.MoveMouseToInHost(gfx::Point(0, 0));
181 generator.MoveMouseToInHost(gfx::Point(799, 599));
184 generator.MoveMouseToInHost(gfx::Point(400, 300));
190 generator.MoveMouseToInHost(gfx::Point(500, 400));
198 generator.MoveMouseToInHost(gfx::Point(0, 0));
208 generator.MoveMouseToInHost(gfx::Point(0, 0));
212 generator.MoveMouseToInHost(gfx::Point(300, 150));
216 generator.MoveMouseToInHost(gfx::Point(700, 150));
220 generator.MoveMouseToInHost(gfx::Point(70
[all...]
H A Dmagnification_controller.h50 virtual void MoveWindow(const gfx::Point& point, bool animate) = 0;
52 virtual gfx::Point GetWindowPosition() const = 0;
59 virtual gfx::Point GetPointOfInterestForTesting() = 0;
/external/chromium_org/chrome/browser/ui/app_list/
H A Dapp_list_positioner_unittest.cc56 cursor_ = gfx::Point();
83 cursor_ = gfx::Point(x, y);
86 gfx::Point DoGetAnchorPointForScreenCorner(
91 gfx::Point DoGetAnchorPointForShelfCorner(
96 gfx::Point DoGetAnchorPointForShelfCenter(
101 gfx::Point DoGetAnchorPointForShelfCursor(
119 gfx::Point cursor_;
125 EXPECT_EQ(gfx::Point(kWindowWidth / 2 + kMinDistanceFromEdge,
131 EXPECT_EQ(gfx::Point(kScreenWidth - kWindowWidth / 2 - kMinDistanceFromEdge,
138 gfx::Point(kWindowWidt
[all...]
/external/chromium_org/chrome/browser/ui/views/app_list/win/
H A Dapp_list_win_unittest.cc55 cursor_ = gfx::Point();
100 cursor_ = gfx::Point(x, y);
107 gfx::Point DoFindAnchorPoint() const {
117 gfx::Point cursor_;
127 gfx::Point(kWindowWidth / 2 + kMinDistanceFromEdge,
138 EXPECT_EQ(gfx::Point(kWindowWidth / 2 + kMinDistanceFromEdge,
146 EXPECT_EQ(gfx::Point(kWindowWidth / 2 + kMinDistanceFromEdge,
153 EXPECT_EQ(gfx::Point(kTaskbarSize + kWindowWidth / 2 + kMinDistanceFromEdge,
160 EXPECT_EQ(gfx::Point(kScreenWidth - kTaskbarSize - kWindowWidth / 2 -
173 EXPECT_EQ(gfx::Point(kWindowAwayFromEdg
[all...]
/external/chromium_org/chrome/browser/ui/views/toolbar/
H A Dreload_button_unittest.cc60 ui::MouseEvent e(ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(), 0, 0);
79 ui::MouseEvent e(ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(), 0, 0);
105 ui::MouseEvent e(ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(), 0, 0);
118 ui::MouseEvent e2(ui::ET_MOUSE_MOVED, gfx::Point(), gfx::Point(), 0, 0);
126 ui::MouseEvent e(ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(),
[all...]
/external/chromium_org/content/browser/renderer_host/
H A Ddip_util.h11 class Point;
25 CONTENT_EXPORT gfx::Point ConvertViewPointToDIP(
26 const RenderWidgetHostView* view, const gfx::Point& point_in_pixel);
/external/chromium_org/ui/aura/client/
H A Dscreen_position_client.h29 gfx::Point* point) = 0;
31 gfx::Point* point) = 0;
38 gfx::Point* point) = 0;
/external/chromium_org/ui/gfx/geometry/
H A Drect.h38 : public RectBase<Rect, Point, Size, Insets, Vector2d, int> {
40 Rect() : RectBase<Rect, Point, Size, Insets, Vector2d, int>(Point()) {}
43 : RectBase<Rect, Point, Size, Insets, Vector2d, int>
47 : RectBase<Rect, Point, Size, Insets, Vector2d, int>
48 (Point(x, y), Size(width, height)) {}
57 : RectBase<Rect, Point, Size, Insets, Vector2d, int>(size) {}
59 Rect(const gfx::Point& origin, const gfx::Size& size)
60 : RectBase<Rect, Point, Size, Insets, Vector2d, int>(origin, size) {}
104 GFX_EXPORT Rect BoundingRect(const Point
[all...]
/external/chromium_org/ui/gfx/
H A Dshadow_value.h27 ShadowValue(const gfx::Point& offset, double blur, SkColor color);
32 const gfx::Point& offset() const { return offset_; }
45 gfx::Point offset_;
/external/chromium_org/ui/views/
H A Dbutton_drag_utils.h15 class Point;
34 const gfx::Point* press_pt,
42 const gfx::Point* press_pt,
/external/chromium_org/ui/views/controls/
H A Dglow_hover_controller.h15 class Point;
45 void SetLocation(const gfx::Point& location);
79 gfx::Point location_;

Completed in 4728 milliseconds

1234567891011>>