Searched refs:index (Results 276 - 300 of 1308) sorted by last modified time

<<11121314151617181920>>

/frameworks/native/include/media/hardware/
H A DOMXPluginBase.h46 OMX_U32 index) = 0;
/frameworks/native/libs/binder/
H A DDebug.cpp218 size_t index; local
225 for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) {
228 if (index == 0 && word > 0 && alignment > 0) {
233 const unsigned char val = *(pos+startIndex-index);
242 if (index == 0 && word > 0) {
246 if (index == 0) {
250 const unsigned char val = *(pos+startIndex-index);
[all...]
H A DPermissionCache.cpp43 ssize_t index = mCache.indexOf(e); local
44 if (index >= 0) {
45 *granted = mCache.itemAt(index).granted;
55 ssize_t index = mPermissionNamesPool.indexOf(permission); local
56 if (index > 0) {
57 e.name = mPermissionNamesPool.itemAt(index);
66 index = mCache.indexOf(e);
67 if (index < 0) {
/frameworks/native/libs/binder/tests/
H A DbinderLibTest.cpp907 int run_server(int index, int readypipefd) argument
912 sp<BinderLibTestService> testService = new BinderLibTestService(index);
913 if (index == 0) {
918 data.writeInt32(index);
/frameworks/native/libs/gui/
H A DSurfaceComposerClient.cpp266 ssize_t index = mComposerStates.indexOf(s); local
267 if (index < 0) {
269 index = mComposerStates.add(s);
273 return &(out[index].state);
465 ssize_t index = mDisplayStates.indexOf(s); local
466 if (index < 0) {
469 index = mDisplayStates.add(s);
471 return mDisplayStates.editItemAt(static_cast<size_t>(index));
/frameworks/native/libs/input/
H A DInput.cpp103 uint32_t index = BitSet64::getIndexOfBit(bits, axis); local
115 for (uint32_t i = count; i > index; i--) {
120 values[index] = value;
H A DInputTransport.cpp597 ssize_t index = findTouchState(deviceId, source); local
598 if (index < 0) {
600 index = mTouchStates.size() - 1;
602 TouchState& touchState = mTouchStates.editItemAt(index);
609 ssize_t index = findTouchState(deviceId, source); local
610 if (index >= 0) {
611 TouchState& touchState = mTouchStates.editItemAt(index);
623 ssize_t index = findTouchState(deviceId, source); local
624 if (index >= 0) {
625 TouchState& touchState = mTouchStates.editItemAt(index);
633 ssize_t index = findTouchState(deviceId, source); local
643 ssize_t index = findTouchState(deviceId, source); local
653 ssize_t index = findTouchState(deviceId, source); local
691 ssize_t index = findTouchState(event->getDeviceId(), event->getSource()); local
972 size_t index = 0; local
[all...]
H A DKeyCharacterMap.cpp333 ssize_t index = mKeysByUsageCode.indexOfKey(usageCode); local
334 if (index >= 0) {
335 *outKeyCode = mKeysByUsageCode.valueAt(index);
344 ssize_t index = mKeysByScanCode.indexOfKey(scanCode); local
345 if (index >= 0) {
346 *outKeyCode = mKeysByScanCode.valueAt(index);
405 ssize_t index = mKeys.indexOfKey(keyCode); local
406 if (index >= 0) {
407 *outKey = mKeys.valueAt(index);
H A DKeyLayoutMap.cpp109 ssize_t index = mKeysByUsageCode.indexOfKey(usageCode); local
110 if (index >= 0) {
111 return &mKeysByUsageCode.valueAt(index);
115 ssize_t index = mKeysByScanCode.indexOfKey(scanCode); local
116 if (index >= 0) {
117 return &mKeysByScanCode.valueAt(index);
134 ssize_t index = mAxes.indexOfKey(scanCode); local
135 if (index < 0) {
142 *outAxisInfo = mAxes.valueAt(index);
H A DVelocityTracker.cpp251 uint32_t index = idBits.getIndexOfBit(id); local
257 id, positions[index].x, positions[index].y,
321 uint32_t index = pointerIndex[i]; local
322 positions[index].x = event->getHistoricalX(i, h);
323 positions[index].y = event->getHistoricalY(i, h);
330 uint32_t index = pointerIndex[i]; local
331 positions[index].x = event->getX(i);
332 positions[index].y = event->getY(i);
570 uint32_t index
715 uint32_t index = 0; local
886 uint32_t index = oldestIndex; local
[all...]
/frameworks/native/opengl/include/GLES2/
H A Dgl2.h387 typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
424 typedef void (GL_APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
428 typedef void (GL_APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
439 typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
440 typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
462 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
463 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
464 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
517 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
518 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, cons
[all...]
H A Dgl2ext.h304 typedef void (GL_APIENTRYP PFNGLENABLEIOESPROC) (GLenum target, GLuint index);
305 typedef void (GL_APIENTRYP PFNGLDISABLEIOESPROC) (GLenum target, GLuint index);
310 typedef void (GL_APIENTRYP PFNGLCOLORMASKIOESPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
311 typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIOESPROC) (GLenum target, GLuint index);
313 GL_APICALL void GL_APIENTRY glEnableiOES (GLenum target, GLuint index);
314 GL_APICALL void GL_APIENTRY glDisableiOES (GLenum target, GLuint index);
319 GL_APICALL void GL_APIENTRY glColorMaskiOES (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
320 GL_APICALL GLboolean GL_APIENTRY glIsEnablediOES (GLenum target, GLuint index);
844 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor);
848 GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuin
[all...]
/frameworks/native/opengl/include/GLES3/
H A Dgl3.h387 typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
424 typedef void (GL_APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
428 typedef void (GL_APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
439 typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
440 typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
462 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
463 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
464 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
517 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
518 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, cons
[all...]
H A Dgl31.h387 typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
424 typedef void (GL_APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
428 typedef void (GL_APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
439 typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
440 typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
462 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
463 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
464 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
517 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
518 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, cons
[all...]
H A Dgl32.h387 typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
424 typedef void (GL_APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
428 typedef void (GL_APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
439 typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
440 typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
462 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
463 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
464 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
517 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
518 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, cons
[all...]
/frameworks/native/opengl/libagl/
H A DBufferObjectManager.cpp91 int32_t index = mBuffers.indexOfKey(t); local
92 if (index >= 0) {
93 buffer_t* bo = mBuffers.valueAt(index);
95 mBuffers.removeItemsAt(index);
H A DTextureObjectManager.cpp272 const ssize_t index = mTextures.indexOfKey(name); local
273 if (index >= 0) {
274 sp<EGLTextureObject> result(mTextures.valueAt(index));
275 mTextures.removeItemsAt(index);
285 const ssize_t index = mTextures.indexOfKey(name); local
286 if (index >= 0) {
287 const sp<EGLTextureObject>& old = mTextures.valueAt(index);
296 mTextures.removeItemsAt(index);
318 const ssize_t index = mTextures.indexOfKey(name); local
319 if (index >
[all...]
H A DTokenizer.cpp129 ssize_t Tokenizer::_insertTokenAt(uint32_t token, size_t index) argument
133 if (index >= 1) {
135 run_t& p = mRanges.editItemAt(index-1);
138 if (index < c) {
139 const run_t& n = mRanges[index];
142 mRanges.removeItemsAt(index);
145 return index;
149 if (index < c) {
151 run_t& n = mRanges.editItemAt(index);
155 return index;
[all...]
H A DTokenizer.h51 ssize_t _insertTokenAt(uint32_t token, size_t index);
H A Darray.cpp394 v->index = 0;
457 vertex_t* cache_vertex(ogles_context_t* c, vertex_t* v, uint32_t index) argument
469 // We compute directly the index of a "free" entry from the locked
475 c->arrays.compileElement(c, v, index);
481 vertex_t* fetch_vertex(ogles_context_t* c, size_t index) argument
483 index |= c->vc.sequence;
488 (index & (vertex_cache_t::VERTEX_CACHE_SIZE-1));
490 if (ggl_likely(v->index == index)) {
494 return cache_vertex(c, v, index);
1199 const int index = c->arrays.texture[i].size - 2; local
[all...]
H A Dcontext.h141 size_t index; // cache tag, and vertex index member in struct:android::gl::vertex_t
157 flags = index = locked = mru = 0;
H A Degl.cpp1159 int index = binarySearch<config_pair_t>( local
1163 if (index < 0) {
1165 index = binarySearch<config_pair_t>(
1170 if (index >= 0) {
1178 val, configFound[index].value);
1231 int index = (int)(uintptr_t)config; local
1232 if (uint32_t(index) >= numConfigs)
1237 gConfigs[index].array,
1238 0, gConfigs[index].size-1,
1241 *value = gConfigs[index]
[all...]
H A Dlight.cpp311 v->index & vertex_cache_t::INDEX_MASK);
357 c->arrays.normal.element(v->index & vertex_cache_t::INDEX_MASK));
H A Dprimitives.cpp79 v0->index & vertex_cache_t::INDEX_MASK);
85 v1->index & vertex_cache_t::INDEX_MASK);
91 v2->index & vertex_cache_t::INDEX_MASK);
102 v2->index & vertex_cache_t::INDEX_MASK);
138 v->index & vertex_cache_t::INDEX_MASK);
217 int index = enables & GGL_ENABLE_SMOOTH ? 0x1 : 0; local
218 index |= c->lighting.enable ? 0x2 : 0;
219 index |= enables & GGL_ENABLE_FOG ? 0x4 : 0;
220 c->lighting.lightTriangle = lightPrimitive[index];
411 v->index
[all...]
H A Dstate.cpp370 int index = c->rasterizer.state.buffers.color.format; local
372 params[0] = formats[index].ah - formats[index].al;
376 int index = c->rasterizer.state.buffers.color.format; local
378 params[0] = formats[index].rh - formats[index].rl;
382 int index = c->rasterizer.state.buffers.color.format; local
384 params[0] = formats[index].gh - formats[index].gl;
388 int index local
[all...]

Completed in 573 milliseconds

<<11121314151617181920>>