/frameworks/base/core/java/android/content/res/ |
H A D | TypedArray.java | 62 * Return an index in the array that has data. 64 * @param at The index you would like to returned, ranging from 0 to 67 * @return The index at the given offset, which can be used with 82 * Retrieve the styled string value for the attribute at <var>index</var>. 84 * @param index Index of attribute to retrieve. 89 public CharSequence getText(int index) { argument 90 index *= AssetManager.STYLE_NUM_ENTRIES; 92 final int type = data[index+AssetManager.STYLE_TYPE]; 96 return loadStringValueAt(index); 100 if (getValueAt(index, 117 getString(int index) argument 152 getNonResourceString(int index) argument 178 getNonConfigurationString(int index, int allowedChangingConfigs) argument 210 getBoolean(int index, boolean defValue) argument 240 getInt(int index, int defValue) argument 269 getFloat(int index, float defValue) argument 307 getColor(int index, int defValue) argument 339 getColorStateList(int index) argument 356 getInteger(int index, int defValue) argument 387 getDimension(int index, float defValue) argument 419 getDimensionPixelOffset(int index, int defValue) argument 452 getDimensionPixelSize(int index, int defValue) argument 479 getLayoutDimension(int index, String name) argument 508 getLayoutDimension(int index, int defValue) argument 538 getFraction(int index, int base, int pbase, float defValue) argument 567 getResourceId(int index, int defValue) argument 589 getDrawable(int index) argument 616 getTextArray(int index) argument 642 getValue(int index, TypedValue outValue) argument 653 hasValue(int index) argument 671 peekValue(int index) argument 699 getValueAt(int index, TypedValue outValue) argument 715 loadStringValueAt(int index) argument [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteProgram.java | 127 * @param index The 1-based index to the parameter to bind null to 129 public void bindNull(int index) { argument 130 bind(index, null); 137 * @param index The 1-based index to the parameter to bind 140 public void bindLong(int index, long value) { argument 141 bind(index, value); 148 * @param index The 1-based index t 151 bindDouble(int index, double value) argument 162 bindString(int index, String value) argument 176 bindBlob(int index, byte[] value) argument 210 bind(int index, Object value) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | XmlPullAttributes.java | 37 public String getAttributeName(int index) { argument 38 return mParser.getAttributeName(index); 41 public String getAttributeValue(int index) { argument 42 return mParser.getAttributeValue(index); 53 public int getAttributeNameResource(int index) { argument 96 public int getAttributeListValue(int index, argument 99 getAttributeValue(index), options, defaultValue); 102 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { argument 104 getAttributeValue(index), defaultValue); 107 public int getAttributeResourceValue(int index, in argument 112 getAttributeIntValue(int index, int defaultValue) argument 117 getAttributeUnsignedIntValue(int index, int defaultValue) argument 122 getAttributeFloatValue(int index, float defaultValue) argument [all...] |
H A D | AttributeSet.java | 69 * @param index Index of the desired attribute, 0...count-1. 74 public String getAttributeName(int index); argument 79 * @param index Index of the desired attribute, 0...count-1. 84 public String getAttributeValue(int index); argument 118 * @param index Index of the desired attribute, 0...count-1. 122 public int getAttributeNameResource(int index); argument 125 * Return the index of the value of 'attribute' in the list 'options'. 207 * Return the index of the value of attribute at 'index' in the list 210 * @param index Inde 217 getAttributeListValue(int index, String[] options, int defaultValue) argument 227 getAttributeBooleanValue(int index, boolean defaultValue) argument 243 getAttributeResourceValue(int index, int defaultValue) argument 253 getAttributeIntValue(int index, int defaultValue) argument 265 getAttributeUnsignedIntValue(int index, int defaultValue) argument 275 getAttributeFloatValue(int index, float defaultValue) argument [all...] |
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | TextTest.java | 45 void addTest(int index, int fillNum) { argument 46 mTests[index] = new ScriptField_TestScripts_s.Item(); 47 mTests[index].testScript = mTextScript; 48 mTests[index].testName = Allocation.createFromString(mRS, 49 mNames[index], 51 mTests[index].debugName = RsBenchRS.createZeroTerminatedAlloc(mRS, 52 mNames[index], 59 mTests[index].testData = testData.getAllocation(); 68 int index = 0; 69 addTest(index [all...] |
/frameworks/rs/cpp/ |
H A D | Script.h | 42 void setVar(uint32_t index, const void *, size_t len) const; 43 void setVar(uint32_t index, sp<const BaseObj> o) const; 50 void setVar(uint32_t index, float v) const { argument 51 setVar(index, &v, sizeof(v)); 53 void setVar(uint32_t index, double v) const { argument 54 setVar(index, &v, sizeof(v)); 56 void setVar(uint32_t index, int32_t v) const { argument 57 setVar(index, &v, sizeof(v)); 59 void setVar(uint32_t index, int64_t v) const { argument 60 setVar(index, 62 setVar(uint32_t index, bool v) const argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | d1035pf.h | 106 Word16 index[], /* (i) : index of 10 pulses (sign+position) */
|
H A D | d2_11pf.h | 85 Word16 index, /* i : Positions of the 2 pulses. */
|
H A D | d3_14pf.h | 106 Word16 index, /* i : Positions of the 3 pulses. */
|
H A D | d4_17pf.h | 107 Word16 index, /* i : Positions of the 4 pulses. */
|
H A D | d8_31pf.h | 107 Word16 index[], /* i : index of 8 pulses (sign+position) */
|
H A D | d2_9pf.cpp | 119 index -- Word16 -- Positions of the 2 pulses. 178 Word16 index, /* i : Positions of the 2 pulses. */ 192 j = (Word16)(index & 64); 196 i = index & 7; 210 index >>= 3; 212 i = index & 7; 175 decode_2i40_9bits( Word16 subNr, Word16 sign, Word16 index, Word16 cod[], Flag *pOverflow ) argument
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/ |
H A D | omxVCCOMM_Copy16x16.c | 60 OMX_INT count,index, x, y; local 71 for (y = 0, count = 0, index = 0; y < 16; y++, count = count + step - 16) 73 for (x = 0; x < 16; x++, count++, index++) 75 pDst[index] = pSrc[count];
|
H A D | omxVCCOMM_Copy8x8.c | 60 OMX_INT count,index, x, y; local 71 for (y = 0, count = 0, index = 0; y < 8; y++, count = count + step - 8) 73 for (x = 0; x < 8; x++, count++, index++) 75 pDst[index] = pSrc[count];
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
H A D | ShortButtons.java | 37 public Button getButtonAt(int index) { argument 38 if (index < 3) { 39 return getContentChildAt(index); 42 return (Button) ll.getChildAt(index - 3);
|
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
H A D | rs_mesh.c | 27 rsgMeshGetVertexAllocation(rs_mesh m, uint32_t index) { argument 29 if (mesh == NULL || index >= mesh->mHal.state.vertexBuffersCount) { 33 rs_allocation returnAlloc = {mesh->mHal.state.vertexBuffers[index]}; 38 rsgMeshGetIndexAllocation(rs_mesh m, uint32_t index) { argument 40 if (mesh == NULL || index >= mesh->mHal.state.primitivesCount) { 44 rs_allocation returnAlloc = {mesh->mHal.state.indexBuffers[index]}; 49 rsgMeshGetPrimitive(rs_mesh m, uint32_t index) { argument 51 if (mesh == NULL || index >= mesh->mHal.state.primitivesCount) { 54 return mesh->mHal.state.primitives[index];
|
/frameworks/compile/linkloader/include/ |
H A D | ELFSectionBits.h | 48 unsigned char &operator[](size_t index) { argument 49 return chunk[index]; 52 unsigned char const &operator[](size_t index) const { 53 return chunk[index];
|
H A D | ELFSectionRelTable.h | 49 ELFRelocTy const *operator[](size_t index) const { 50 return table[index]; 53 ELFRelocTy *operator[](size_t index) { argument 54 return table[index];
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glGetActiveAttrib.java | 1 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 5 int index, 17 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 21 int index, 29 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 33 int index, 40 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 44 int index, 3 glGetActiveAttrib( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument 19 glGetActiveAttrib( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument 31 glGetActiveAttrib( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument 42 glGetActiveAttrib( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type ) argument
|
H A D | glGetActiveUniform.java | 1 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 5 int index, 17 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 21 int index, 28 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 32 int index, 39 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 43 int index, 3 glGetActiveUniform( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument 19 glGetActiveUniform( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument 30 glGetActiveUniform( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument 41 glGetActiveUniform( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type ) argument
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | chvr_filter.cpp | 35 int index, counter; local 87 /* brwidth is used as an index when counting blocks */ 102 /* Set the index to the current block of the second row counting in blocks */ 103 index = brwidth + bc; 109 QP = QP_store[index]; 114 if (((pp_mod[index]&0x02) != 0) && ((pp_mod[index-pp_w]&0x02) != 0)) 118 pp_mod[index-pp_w] |= 0x10; /* 4/26/00 reuse pp_mod for HorzHflag*/ 121 for (index = BLKSIZE; index > [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | dec_acelp_4p_in_64.cpp | 47 int16 index[], (i) : index (20): 5+5+5+5 = 20 bits. 48 (i) : index (36): 9+9+9+9 = 36 bits. 49 (i) : index (44): 13+9+13+9 = 44 bits. 50 (i) : index (52): 13+13+13+13 = 52 bits. 51 (i) : index (64): 2+2+2+2+14+14+14+14 = 64 bits. 52 (i) : index (72): 10+2+10+2+10+14+10+14 = 72 bits. 53 (i) : index (88): 11+11+11+11+11+11+11+11 = 88 bits. 149 int16 index[], /* (i) : index (2 148 dec_acelp_4p_in_64( int16 index[], int16 nbbits, int16 code[] ) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | enc_lag6.cpp | 106 Word16 -- Return index of encoding 128 index = (T-17)*6 + frac - 3; 131 index = (T - 95) + 463; where T=[95..143] 142 index = (T-(t_min-1))*6 + frac - 3; 146 or 63 as the relative pitch index, it means that a transmission 186 Word16 Enc_lag6( /* o : Return index of encoding */ 194 Word16 index; local 203 /* index = T0*6 - 105 + T0_frac */ 206 index = add(i, T0_frac, pOverflow); 210 index [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | ALooperRoster.cpp | 57 ssize_t index = mHandlers.indexOfKey(handlerID); local 59 if (index < 0) { 63 const HandlerInfo &info = mHandlers.valueAt(index); 71 mHandlers.removeItemsAt(index); 82 ssize_t index = mHandlers.indexOfKey(msg->target()); local 84 if (index < 0) { 89 const HandlerInfo &info = mHandlers.valueAt(index); 98 mHandlers.removeItemsAt(index); 113 ssize_t index = mHandlers.indexOfKey(msg->target()); local 115 if (index < 139 ssize_t index = mHandlers.indexOfKey(handlerID); local 170 ssize_t index; local [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | LineVerifier.java | 28 private int index; field in class:LineVerifier 43 if (index >= mLineVerifierElemList.size()) { 44 TestCase.fail("Insufficient number of LineVerifier (" + index + ")"); 47 final LineVerifierElem lineVerifier = mLineVerifierElemList.get(index); 50 index++;
|