Home
last modified time | relevance | path

Searched refs:hotpoint (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/ui/base/cursor/
Dcursor_loader_x11_unittest.cc22 gfx::Point hotpoint(3,4); in TEST() local
27 &hotpoint); in TEST()
30 EXPECT_EQ("3,4", hotpoint.ToString()); in TEST()
35 &hotpoint); in TEST()
39 EXPECT_EQ("1,3", hotpoint.ToString()); in TEST()
44 &hotpoint); in TEST()
47 EXPECT_EQ("8,14", hotpoint.ToString()); in TEST()
52 &hotpoint); in TEST()
55 EXPECT_EQ("14,2", hotpoint.ToString()); in TEST()
Dcursor_util.cc21 gfx::Point* hotpoint) { in ScaleAndRotateCursorBitmapAndHotpoint() argument
26 hotpoint->SetPoint(bitmap->height() - hotpoint->y(), hotpoint->x()); in ScaleAndRotateCursorBitmapAndHotpoint()
31 hotpoint->SetPoint( in ScaleAndRotateCursorBitmapAndHotpoint()
32 bitmap->width() - hotpoint->x(), bitmap->height() - hotpoint->y()); in ScaleAndRotateCursorBitmapAndHotpoint()
37 hotpoint->SetPoint(hotpoint->y(), bitmap->width() - hotpoint->x()); in ScaleAndRotateCursorBitmapAndHotpoint()
59 *hotpoint = gfx::ToFlooredPoint(gfx::ScalePoint(*hotpoint, scale)); in ScaleAndRotateCursorBitmapAndHotpoint()