Searched refs:hotspot (Results 1 - 25 of 44) sorted by path

12

/external/chromium_org/content/browser/devtools/
H A Drenderer_overrides_handler.cc1078 // magnified projection only with centered hotspot.
1182 cursor_info.hotspot =
/external/chromium_org/content/browser/renderer_host/input/
H A Dtouch_emulator.cc119 cursor_info.hotspot =
/external/chromium_org/content/common/cursors/
H A Dwebcursor.cc64 hotspot_ = cursor_info.hotspot;
74 cursor_info->hotspot = hotspot_;
255 // Clamp the hotspot to the custom image's dimensions.
H A Dwebcursor.h63 gfx::Point hotspot; member in struct:content::WebCursor::CursorInfo
150 // Clamp the hotspot to the custom image's bounds, if this is a custom cursor.
H A Dwebcursor_aurax11.cc30 gfx::Point hotspot = hotspot_; local
32 device_scale_factor_, gfx::Display::ROTATE_0, &bitmap, &hotspot);
34 XcursorImage* image = ui::SkBitmapToXcursorImage(&bitmap, hotspot);
H A Dwebcursor_ozone.cc20 gfx::Point hotspot = hotspot_; local
22 device_scale_factor_, rotation_, &bitmap, &hotspot);
25 hotspot);
H A Dwebcursor_unittest.cc155 // Convert to WebCursorInfo, make sure the hotspot got clamped.
158 EXPECT_EQ(gfx::Point(1, 1), info.hotspot);
160 // Set hotspot to an invalid point again, pipe back through WebCursor,
161 // and make sure the hotspot got clamped again.
162 info.hotspot = gfx::Point(-1, -1);
165 EXPECT_EQ(gfx::Point(0, 0), info.hotspot);
/external/chromium_org/content/renderer/
H A Dcursor_utils.cc21 webkit_cursor_info->hotSpot = cursor_info.hotspot;
36 web_cursor_info.hotspot = webkit_cursor_info.hotSpot;
/external/chromium_org/content/renderer/npapi/
H A Dwebplugin_impl.cc414 cursor_info.hotSpot = web_cursor_info.hotspot;
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
H A DDesktopView.java226 Point hotspot = JniInterface.getCursorHotspot();
227 canvas.drawBitmap(cursorBitmap, x - hotspot.x, y - hotspot.y, new Paint());
/external/chromium_org/remoting/client/plugin/
H A Dpepper_input_handler.cc210 const pp::Point& hotspot) {
212 cursor_hotspot_ = hotspot;
209 SetMouseCursor(scoped_ptr<pp::ImageData> image, const pp::Point& hotspot) argument
H A Dpepper_input_handler.h49 const pp::Point& hotspot);
/external/chromium_org/remoting/host/
H A Dchromoting_param_traits.cc109 ParamTraits<webrtc::DesktopVector>::Write(m, p.hotspot());
134 webrtc::DesktopVector hotspot; local
135 if (!ParamTraits<webrtc::DesktopVector>::Read(m, iter, &hotspot))
142 r->set_hotspot(hotspot);
151 "webrtc::DesktopRect{image(%d, %d), hotspot(%d, %d)}",
153 p.hotspot().x(), p.hotspot().y()));
H A Dvideo_scheduler.cc123 cursor_proto->set_hotspot_x(cursor->hotspot().x());
124 cursor_proto->set_hotspot_y(cursor->hotspot().y());
/external/chromium_org/third_party/WebKit/Tools/Scripts/
H A Dmalloc-tree37 hotspot = False variable
57 if hotspot:
100 global hotspot
107 if hotspot:
129 if hotspot:
138 global hotspot
153 parser.add_option('-t', '--hotspot', action='store_true', dest='hotspot',
158 hotspot = options.hotspot
[all...]
/external/chromium_org/third_party/freetype/
H A DAndroid.mk11 # compile in ARM mode, since the glyph loader/renderer is a hotspot
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Ddesktop_and_cursor_composer.cc83 DesktopVector image_pos = position.subtract(cursor.hotspot());
H A Ddesktop_and_cursor_composer_unittest.cc104 void SetHotspot(const DesktopVector& hotspot) { argument
105 if (!hotspot_.equals(hotspot))
107 hotspot_ = hotspot;
121 // Set four pixels near the hotspot and leave all other blank.
232 DesktopVector hotspot(tests[i].hotspot_x, tests[i].hotspot_y);
233 fake_cursor_->SetHotspot(hotspot);
H A Dmouse_cursor.cc21 MouseCursor::MouseCursor(DesktopFrame* image, const DesktopVector& hotspot) argument
23 hotspot_(hotspot) {
34 cursor.hotspot())
H A Dmouse_cursor.h26 // Takes ownership of |image|. |hotspot| must be within |image| boundaries.
27 MouseCursor(DesktopFrame* image, const DesktopVector& hotspot);
36 void set_hotspot(const DesktopVector& hotspot ) { hotspot_ = hotspot; }
37 const DesktopVector& hotspot() const { return hotspot_; } function in class:webrtc::MouseCursor
H A Dmouse_cursor_monitor_mac.mm236 DesktopVector hotspot(
262 last_cursor_->hotspot().equals(hotspot) &&
278 scoped_ptr<MouseCursor> cursor(new MouseCursor(image.release(), hotspot));
H A Dmouse_cursor_monitor_unittest.cc72 EXPECT_GE(cursor_image_->hotspot().x(), 0);
73 EXPECT_LE(cursor_image_->hotspot().x(),
75 EXPECT_GE(cursor_image_->hotspot().y(), 0);
76 EXPECT_LE(cursor_image_->hotspot().y(),
H A Dmouse_cursor_monitor_x11.cc200 DesktopVector hotspot(std::min(img->width, img->xhot),
205 cursor_shape_.reset(new MouseCursor(image.release(), hotspot));
H A Dmouse_cursor_shape.h27 // Coordinates of the cursor hotspot relative to upper-left corner.
28 DesktopVector hotspot; member in struct:webrtc::MouseCursorShape
H A Dscreen_capturer_mac.mm530 NSPoint hotspot = [cursor hotSpot];
557 cursor_shape->hotspot.set(hotspot.x, hotspot.y);
565 last_cursor_.hotspot.equals(cursor_shape->hotspot) &&

Completed in 603 milliseconds

12