Home
last modified time | relevance | path

Searched refs:pt (Results 1 – 3 of 3) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DBitmapMesh.java115 float[] pt = { event.getX(), event.getY() }; in onTouchEvent() local
116 mInverse.mapPoints(pt); in onTouchEvent()
118 int x = (int)pt[0]; in onTouchEvent()
119 int y = (int)pt[1]; in onTouchEvent()
123 warp(pt[0], pt[1]); in onTouchEvent()
DVertices.java94 float[] pt = { event.getX(), event.getY() }; in onTouchEvent() local
95 mInverse.mapPoints(pt); in onTouchEvent()
96 setXY(mVerts, 0, pt[0], pt[1]); in onTouchEvent()
/development/ide/xcode/ports/
DSkOSWindow_Mac.cpp202 Point pt; in EventHandler() local
203 getparam(inEvent, kEventParamMouseLocation, typeQDPoint, sizeof(pt), &pt); in EventHandler()
205 GlobalToLocal(&pt); in EventHandler()
209 (void)win->handleClick(pt.h, pt.v, Click::kDown_State); in EventHandler()
212 (void)win->handleClick(pt.h, pt.v, Click::kMoved_State); in EventHandler()
215 (void)win->handleClick(pt.h, pt.v, Click::kUp_State); in EventHandler()