Home
last modified time | relevance | path

Searched refs:hotSpot (Results 1 – 25 of 38) sorted by relevance

12

/external/webkit/Source/WebCore/css/
DCSSCursorImageValue.h35 static PassRefPtr<CSSCursorImageValue> create(const String& url, const IntPoint& hotSpot) in create() argument
37 return adoptRef(new CSSCursorImageValue(url, hotSpot)); in create()
42 IntPoint hotSpot() const { return m_hotSpot; } in hotSpot() function
52 CSSCursorImageValue(const String& url, const IntPoint& hotSpot);
DCSSCursorImageValue.cpp56 CSSCursorImageValue::CSSCursorImageValue(const String& url, const IntPoint& hotSpot) in CSSCursorImageValue() argument
58 , m_hotSpot(hotSpot) in CSSCursorImageValue()
/external/replicaisland/src/com/replica/replicaisland/
DNPCComponent.java165 final int hotSpot = hotSpotSystem.getHotSpotByTile(hitTileX, hitTileY); in update() local
167 …if (hotSpot >= HotSpotSystem.HotSpotType.NPC_GO_RIGHT && hotSpot <= HotSpotSystem.HotSpotType.NPC_… in update()
170 accepted = executeCommand(hotSpot, parentObject, timeDelta); in update()
171 } else if (hotSpot == HotSpotSystem.HotSpotType.ATTACK && !mPauseOnAttack) { in update()
173 accepted = executeCommand(hotSpot, parentObject, timeDelta); in update()
174 } else if (hotSpot == HotSpotSystem.HotSpotType.NPC_RUN_QUEUED_COMMANDS) { in update()
178 } else if (hotSpot > HotSpotSystem.HotSpotType.NONE) { in update()
179 queueCommand(hotSpot); in update()
212 private boolean executeCommand(int hotSpot, GameObject parentObject, float timeDelta) { in executeCommand() argument
216 switch(hotSpot) { in executeCommand()
[all …]
DPatrolComponent.java91 int hotSpot = HotSpotSystem.HotSpotType.NONE; in update() local
95 hotSpot = hotSpotSystem.getHotSpot(parentObject.getCenteredPositionX(), in update()
102 || hotSpot == HotSpotType.GO_LEFT) && targetVelocityX >= 0.0f; in update()
105 || hotSpot == HotSpotType.GO_RIGHT) && targetVelocityX <= 0.0f; in update()
107 boolean pause = (mMaxSpeed == 0.0f) || hotSpot == HotSpotType.GO_DOWN; in update()
162 || hotSpot == HotSpotType.GO_UP; in update()
165 || hotSpot == HotSpotType.GO_DOWN; in update()
DSelectDialogComponent.java40 HotSpotSystem hotSpot = sSystemRegistry.hotSpotSystem; in update() local
41 if (hotSpot != null && mHitReact != null) { in update()
47 …final int hitSpot = hotSpot.getHotSpot(parentObject.getCenteredPositionX(), currentPosition.y + 10… in update()
DLifetimeComponent.java104 HotSpotSystem hotSpot = sSystemRegistry.hotSpotSystem; in update() local
105 if (hotSpot != null) { in update()
107 if (hotSpot.getHotSpot(parentObject.getCenteredPositionX(), in update()
DAnimationComponent.java289 HotSpotSystem hotSpot = sSystemRegistry.hotSpotSystem; in update() local
290 if (hotSpot != null) { in update()
292 if (hotSpot.getHotSpot(parentObject.getCenteredPositionX(), in update()
DPlayerComponent.java280 HotSpotSystem hotSpot = sSystemRegistry.hotSpotSystem; in update() local
281 if (hotSpot != null) { in update()
283 if (hotSpot.getHotSpot(parentObject.getCenteredPositionX(), in update()
/external/webkit/Source/WebCore/rendering/style/
DCursorData.h35 CursorData(PassRefPtr<StyleImage> image, const IntPoint& hotSpot) in CursorData() argument
37 , m_hotSpot(hotSpot) in CursorData()
54 const IntPoint& hotSpot() const { return m_hotSpot; } in hotSpot() function
/external/webkit/Source/WebCore/platform/chromium/
DPlatformCursor.h94 PlatformCursor(Image* image, const IntPoint& hotSpot) in PlatformCursor() argument
96 , m_hotSpot(hotSpot) in PlatformCursor()
100 const IntPoint& hotSpot() const { return m_hotSpot; } in hotSpot() function
DCursorChromium.cpp43 Cursor::Cursor(Image* image, const IntPoint& hotSpot) in Cursor() argument
44 : m_platformCursor(image, hotSpot) in Cursor()
/external/webkit/Source/WebKit/chromium/src/
DWebCursorInfo.cpp43 hotSpot = cursor.impl().hotSpot(); in WebCursorInfo()
/external/chromium/webkit/glue/
Dwebcursor_unittest.cc121 EXPECT_EQ(gfx::Point(1, 1), gfx::Point(info.hotSpot)); in TEST()
125 info.hotSpot = gfx::Point(-1, -1); in TEST()
128 EXPECT_EQ(gfx::Point(0, 0), gfx::Point(info.hotSpot)); in TEST()
Dwebcursor_mac.mm31 hotSpot:NSMakePoint(x, y)] autorelease];
71 hotSpot:NSMakePoint(hotspot.x(),
279 cursor_info.hotSpot = WebKit::WebPoint(cursor->hotSpot.h, cursor->hotSpot.v);
326 NSPoint hot_spot = [cursor hotSpot];
327 cursor_info.hotSpot = WebKit::WebPoint(hot_spot.x, hot_spot.y);
Dwebcursor.cc57 hotspot_ = cursor_info.hotSpot; in InitFromCursorInfo()
65 cursor_info->hotSpot = hotspot_; in GetCursorInfo()
/external/qemu/distrib/sdl-1.2.12/src/video/maccommon/
DSDL_macmouse.c82 cursor->curs.hotSpot.h = hot_x; in Mac_CreateWMCursor()
83 cursor->curs.hotSpot.v = hot_y; in Mac_CreateWMCursor()
/external/webkit/Source/WebCore/platform/win/
DCursorWin.cpp43 static PassRefPtr<SharedCursor> createSharedCursor(Image* img, const IntPoint& hotSpot) in createSharedCursor() argument
47 IntPoint effectiveHotSpot = determineHotSpot(img, hotSpot); in createSharedCursor()
126 IntPoint hotSpot(x, y); in loadCursorByName() local
129 return createSharedCursor(cursorImage.get(), hotSpot); in loadCursorByName()
/external/webkit/Source/WebCore/platform/mac/
DCursorMac.mm43 static RetainPtr<NSCursor> createCustomCursor(Image* image, const IntPoint& hotSpot)
50 return RetainPtr<NSCursor>(AdoptNS, [[NSCursor alloc] initWithImage:nsImage hotSpot:hotSpot]);
68 cursor = [[NSCursor alloc] initWithImage:cursorImage hotSpot:hotSpotPoint];
/external/webkit/Source/WebKit2/Shared/
DWebCoreArgumentCoders.h210 encoder->encode(cursor.hotSpot());
234 WebCore::IntPoint hotSpot;
235 if (!decoder->decode(hotSpot))
237 if (!image->rect().contains(WebCore::IntRect(hotSpot, WebCore::IntSize())))
240 cursor = WebCore::Cursor(image.get(), hotSpot);
/external/webkit/Source/WebCore/platform/qt/
DCursorQt.cpp76 static QCursor* createCustomCursor(Image* image, const IntPoint& hotSpot) in createCustomCursor() argument
78 IntPoint effectiveHotSpot = determineHotSpot(image, hotSpot); in createCustomCursor()
/external/webkit/Source/WebCore/platform/
DCursor.h163 Cursor(Image*, const IntPoint& hotSpot);
172 const IntPoint& hotSpot() const { return m_hotSpot; } in hotSpot() function
/external/webkit/Source/WebCore/platform/gtk/
DCursorGtk.cpp62 static GRefPtr<GdkCursor> createCustomCursor(Image* image, const IntPoint& hotSpot) in createCustomCursor() argument
64 IntPoint effectiveHotSpot = determineHotSpot(image, hotSpot); in createCustomCursor()
/external/webkit/Source/WebKit/chromium/public/
DWebCursorInfo.h97 WebPoint hotSpot; member
/external/webkit/Source/WebCore/platform/graphics/cg/
DImageSourceCG.cpp208 bool ImageSource::getHotSpot(IntPoint& hotSpot) const in getHotSpot()
226 hotSpot = IntPoint(x, y); in getHotSpot()
/external/webkit/Source/WebCore/platform/graphics/
DBitmapImage.cpp189 bool BitmapImage::getHotSpot(IntPoint& hotSpot) const in getHotSpot()
191 bool result = m_source.getHotSpot(hotSpot); in getHotSpot()

12