/frameworks/wilhelm/src/itf/ |
H A D | ILEDArray.c | 55 static SLresult ILEDArray_SetColor(SLLEDArrayItf self, SLuint8 index, const SLHSL *pColor) argument 61 if (!(index < MAX_LED_COUNT) || NULL == pColor) 73 thiz->mColors[index] = color; 82 static SLresult ILEDArray_GetColor(SLLEDArrayItf self, SLuint8 index, SLHSL *pColor) argument 86 if (!(index < MAX_LED_COUNT) || NULL == pColor) { 92 SLHSL color = thiz->mColors[index]; 115 SLuint8 index; local 116 for (index = 0; index < MAX_LED_COUNT; ++index, [all...] |
H A D | IEngineCapabilities.c | 109 SLuint32 index; local 113 index = *pIndex; 114 if (index >= thiz->mMaxIndexLED) { 117 id_descriptor = &LED_id_descriptors[index]; 129 for (index = 0; index < thiz->mMaxIndexLED; ++index) { 130 id_descriptor = &LED_id_descriptors[index]; 151 SLuint32 index; local 155 index [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | UsimDataDownloadHandler.java | 91 int index = 0; 94 envelope[index++] = (byte) BER_SMS_PP_DOWNLOAD_TAG; 96 envelope[index++] = (byte) 0x81; // length 128-255 encoded as 0x81 + length 98 envelope[index++] = (byte) bodyLength; 101 envelope[index++] = (byte) (0x80 | ComprehensionTlvTag.DEVICE_IDENTITIES.value()); 102 envelope[index++] = (byte) 2; 103 envelope[index++] = (byte) DEV_ID_NETWORK; 104 envelope[index++] = (byte) DEV_ID_UICC; 108 envelope[index++] = (byte) ComprehensionTlvTag.ADDRESS.value(); 109 envelope[index [all...] |
/frameworks/rs/ |
H A D | rsMesh.h | 67 void setVertexBuffer(Allocation *vb, uint32_t index) { argument 68 mVertexBuffers[index].set(vb); 69 mHal.state.vertexBuffers[index] = vb; 72 void setPrimitive(Allocation *idx, RsPrimitive prim, uint32_t index) { argument 73 mIndexBuffers[index].set(idx); 74 mHal.state.indexBuffers[index] = idx; 75 mHal.state.primitives[index] = prim;
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | dec_gain.cpp | 111 index = AMR mode of type enum Mode 184 Word16 index, /* i : index of quantization. */ 204 index = shl(index, 2, pOverflow); 208 p = &table_gain_highrates[index]; 219 index += (1 ^ evenSubfr) << 1; /* evenSubfr is 0 or 1 */ 221 if (index > (MR475_VQ_SIZE*4 - 2)) 223 index = (MR475_VQ_SIZE * 4 - 2); /* avoid possible buffer overflow */ 226 p = &table_gain_MR475[index]; 181 Dec_gain( gc_predState *pred_state, enum Mode mode, Word16 index, Word16 code[], Word16 evenSubfr, Word16 * gain_pit, Word16 * gain_cod, Flag * pOverflow ) argument [all...] |
H A D | d2_9pf.h | 109 Word16 index, /* i : Positions of the 2 pulses. */
|
H A D | dec_lag6.h | 107 Word16 index, /* input : received pitch index */
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeLayoutParamsMapAttributes.java | 59 public String getAttributeName(int index) { argument 64 public String getAttributeValue(int index) { argument 74 public int getAttributeNameResource(int index) { argument 115 public int getAttributeListValue(int index, argument 121 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { argument 126 public int getAttributeResourceValue(int index, int defaultValue) { argument 131 public int getAttributeIntValue(int index, int defaultValue) { argument 136 public int getAttributeUnsignedIntValue(int index, int defaultValue) { argument 141 public float getAttributeFloatValue(int index, float defaultValue) { argument
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | armVCM4P2_BlockMatch_Half.c | 75 OMX_INT outer, inner, count, index; local 95 for (outer = 0, count = 0,index = 0; 97 outer++, index += refWidth - BlockSize) 99 for (inner = 0; inner < BlockSize; inner++, count++, index++) 101 refSAD += armAbs (pTempSrcRefBuf[index] - pSrcCurrBuf[count]); 150 for (outer = 0, count = 0, candSAD = 0,index = 0; 152 outer++, index += refWidth - BlockSize) 154 for (inner = 0; inner < BlockSize; inner++, count++,index++) 157 pTempSrcRefBuf[index] 158 + pTempSrcRefBuf[index [all...] |
/frameworks/base/core/java/android/database/ |
H A D | Observable.java | 67 int index = mObservers.indexOf(observer); 68 if (index == -1) { 71 mObservers.remove(index);
|
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditorBuffer.c | 56 M4OSA_UInt32 index; local 83 for (index = 0; index < nbBuffers; index++) 85 pool->pNXPBuffer[index].pData = M4OSA_NULL; 212 M4OSA_UInt32 index, j; local 216 for(index = 0; index < pool->NB; index++) 218 pool->pNXPBuffer[index] 248 M4OSA_UInt32 index, j; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
H A D | d_gain_c.h | 45 Purpose : Decode the fixed codebook gain using the received index. 102 * Purpose : Decode the fixed codebook gain using the received index. 103 * Description : The received index gives the gain correction factor 113 Word16 index, /* i : received quantization index */
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | TypedArray_Delegate.java | 26 public static boolean getValueAt(TypedArray theTypedArray, int index, TypedValue outValue) { argument
|
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
H A D | rs_element.c | 18 rsElementGetSubElement(rs_element e, uint32_t index) { argument 20 if (element == NULL || index >= element->mHal.state.fieldsCount) { 24 rs_element returnElem = {element->mHal.state.fields[index]}; 29 rsElementGetSubElementNameLength(rs_element e, uint32_t index) { argument 31 if (element == NULL || index >= element->mHal.state.fieldsCount) { 34 return element->mHal.state.fieldNameLengths[index]; 38 rsElementGetSubElementName(rs_element e, uint32_t index, char *name, uint32_t nameLength) { argument 40 if (element == NULL || index >= element->mHal.state.fieldsCount || 45 uint32_t numToCopy = element->mHal.state.fieldNameLengths[index]; 52 const char *nameSource = element->mHal.state.fieldNames[index]; 60 rsElementGetSubElementArraySize(rs_element e, uint32_t index) argument 69 rsElementGetSubElementOffsetBytes(rs_element e, uint32_t index) argument [all...] |
/frameworks/native/libs/utils/ |
H A D | Debug.cpp | 232 size_t index; local 245 for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) { 248 if (index == 0 && word > 0 && alignment > 0) { 253 const unsigned char val = *(pos+startIndex+(index*dir)); 262 if (index == 0 && word > 0) { 266 if (index == 0) { 270 const unsigned char val = *(pos+startIndex+(index*di [all...] |
/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioCoefInterpolator.cpp | 44 size_t index = 0; local 51 index += mInDimOffsets[dim] * (mInDims[dim] - 1); 53 index += mInDimOffsets[dim] * intCoord[dim]; 56 getCoefRecurse(index, fracCoord, out, 0); 59 void AudioCoefInterpolator::getCoefRecurse(size_t index, argument 63 memcpy(out, mTable + index, mNumOutDims * sizeof(audio_coef_t)); 65 getCoefRecurse(index, fracCoord, out, dim + 1); 68 getCoefRecurse(index + mInDimOffsets[dim], fracCoord, tempCoef,
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebBackForwardListClassic.java | 48 public synchronized WebHistoryItemClassic getItemAtIndex(int index) { argument 49 if (index < 0 || index >= getSize()) { 52 return mArray.get(index); 79 * reading the array or the current index. 115 /* Remove the item at the given index. Called by JNI only. */ 116 private synchronized void removeHistoryItem(int index) { argument 118 // when removing the first item, we can assert that the index is 0. 119 // This lets us change the current index without having to query the 121 if (DebugFlags.WEB_BACK_FORWARD_LIST && (index ! 161 restoreIndex(int nativeFrame, int index) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | ResourceFilter.cpp | 45 ssize_t index = mData.indexOfKey(axis); local 46 if (index < 0) { 79 ssize_t index = mData.indexOfKey(axis); local 80 if (index < 0) { 84 const SortedVector<uint32_t>& sv = mData.valueAt(index); 107 ssize_t index = mData.indexOfKey(axis); local 108 if (index < 0) { 111 return &mData.valueAt(index);
|
/frameworks/compile/libbcc/tests/data/src/ |
H A D | addressOf.c | 8 int index = 0; local 14 float *v2 = &s[index].x;
|
/frameworks/compile/linkloader/include/ |
H A D | ELFSectionStrTab.h | 43 char const *operator[](size_t index) const { 44 return &*buf.begin() + index;
|
/frameworks/support/v4/ics/android/support/v4/view/accessibility/ |
H A D | AccessibilityEventCompatIcs.java | 35 public static Object getRecord(AccessibilityEvent event, int index) { argument 36 return event.getRecord(index);
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | q_gain_c.cpp | 141 quantization index -- Word16 -- Q0 191 Word16 q_gain_code( /* o : quantization index, Q0 */ 205 Word16 index; local 253 index = 0; 270 index = i; 274 temp = index + (index << 1); 292 return index;
|
/frameworks/compile/linkloader/include/impl/ |
H A D | ELFReloc.hxx | 28 ELFReloc_CRTP<Bitwidth>::readRela(Archiver &AR, size_t index) { argument 47 // Set the section header index 48 sh->index = index; 56 ELFReloc_CRTP<Bitwidth>::readRel(Archiver &AR, size_t index) { argument 75 // Set the section header index 76 sh->index = index;
|
/frameworks/rs/scriptc/ |
H A D | rs_mesh.rsh | 41 * Meshes could have multiple index sets, this function returns 47 * containing index data 57 * @param index index of the vertex allocation 61 rsgMeshGetVertexAllocation(rs_mesh m, uint32_t index); 64 * Returns an allocation containing index data or a null 68 * @param index index of the index allocation 69 * @return allocation containing index dat [all...] |
/frameworks/support/renderscript/v8/rs_support/scriptc/ |
H A D | rs_mesh.rsh | 41 * Meshes could have multiple index sets, this function returns 47 * containing index data 57 * @param index index of the vertex allocation 61 rsgMeshGetVertexAllocation(rs_mesh m, uint32_t index); 64 * Returns an allocation containing index data or a null 68 * @param index index of the index allocation 69 * @return allocation containing index dat [all...] |