Home
last modified time | relevance | path

Searched refs:iIndex (Results 1 – 4 of 4) sorted by relevance

/development/ndk/platforms/android-17/samples/Teapot/jni/
DTeapotRenderer.cpp67 int32_t iIndex = 0; in Init() local
71 p[i].pos[0] = teapotPositions[iIndex]; in Init()
72 p[i].pos[1] = teapotPositions[iIndex + 1]; in Init()
73 p[i].pos[2] = teapotPositions[iIndex + 2]; in Init()
75 p[i].normal[0] = teapotNormals[iIndex]; in Init()
76 p[i].normal[1] = teapotNormals[iIndex + 1]; in Init()
77 p[i].normal[2] = teapotNormals[iIndex + 2]; in Init()
78 iIndex += 3; in Init()
DTeapotNativeActivity.cpp84 int32_t iIndex,
/development/ndk/sources/android/ndk_helper/
DgestureDetector.cpp165 int32_t iIndex = (action & AMOTION_EVENT_ACTION_POINTER_INDEX_MASK) in Detect() local
167 vec_pointers_.push_back( AMotionEvent_getPointerId( event, iIndex ) ); in Detect()
337 int32_t iIndex = FindIndex( event_, vec_pointers_[0] ); in GetPointer() local
338 if( iIndex == -1 ) in GetPointer()
341 float x = AMotionEvent_getX( event_, iIndex ); in GetPointer()
342 float y = AMotionEvent_getY( event_, iIndex ); in GetPointer()
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/
DMoreTeapotsRenderer.cpp82 int32_t iIndex = 0; in Init() local
86 p[i].pos[0] = teapotPositions[iIndex]; in Init()
87 p[i].pos[1] = teapotPositions[iIndex + 1]; in Init()
88 p[i].pos[2] = teapotPositions[iIndex + 2]; in Init()
90 p[i].normal[0] = teapotNormals[iIndex]; in Init()
91 p[i].normal[1] = teapotNormals[iIndex + 1]; in Init()
92 p[i].normal[2] = teapotNormals[iIndex + 2]; in Init()
93 iIndex += 3; in Init()