/frameworks/base/awt/org/apache/harmony/awt/gl/color/ |
H A D | ICC_ProfileHelper.java | 35 * @param idx - byte offset 38 public static int getIntFromByteArray(byte[] byteArray, int idx) { argument 39 return (byteArray[idx] & 0xFF)| 40 ((byteArray[idx+1] & 0xFF) << 8) | 41 ((byteArray[idx+2] & 0xFF) << 16)| 42 ((byteArray[idx+3] & 0xFF) << 24); 49 * @param idx - byte offset 52 public static int getBigEndianFromByteArray(byte[] byteArray, int idx) { argument 53 return ((byteArray[idx] & 0xFF) << 24) | 54 ((byteArray[idx 66 getShortFromByteArray(byte[] byteArray, int idx) argument [all...] |
/frameworks/base/include/utils/ |
H A D | StringArray.h | 44 void erase(int idx); 65 const char* getEntry(int idx) const { 66 return (unsigned(idx) >= unsigned(mCurrent)) ? NULL : mArray[idx]; 73 void setEntry(int idx, const char* str);
|
H A D | AssetDir.h | 53 const String8& getFileName(int idx) { argument 54 return mFileInfo->itemAt(idx).getFileName(); 56 const String8& getSourceName(int idx) { argument 57 return mFileInfo->itemAt(idx).getSourceName(); 63 FileType getFileType(int idx) { argument 64 return mFileInfo->itemAt(idx).getFileType();
|
/frameworks/base/libs/utils/ |
H A D | StringArray.cpp | 74 void StringArray::erase(int idx) { argument 75 if (idx < 0 || idx >= mCurrent) 77 delete[] mArray[idx]; 78 if (idx < mCurrent-1) { 79 memmove(&mArray[idx], &mArray[idx+1], 80 (mCurrent-1 - idx) * sizeof(char*)); 103 void StringArray::setEntry(int idx, const char* str) { argument 104 if (idx < [all...] |
H A D | misc.cpp | 56 int len, totalLen, posn, idx; local 61 totalLen = idx = 0; 63 if (idx == argc || argv[idx] == NULL) 65 if (idx) 67 totalLen += strlen(argv[idx]); 68 idx++; 81 idx = posn = 0; 83 if (idx == argc || argv[idx] [all...] |
/frameworks/base/libs/rs/ |
H A D | rsDevice.cpp | 41 for (size_t idx=0; idx < mContexts.size(); idx++) { 42 if (mContexts[idx] == rsc) { 43 mContexts.removeAt(idx);
|
H A D | rsElement.h | 49 const Element * getField(uint32_t idx) const {return mFields[idx].e.get();} 50 const char * getFieldName(uint32_t idx) const {return mFields[idx].name.string();}
|
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | ol_ltp.cpp | 96 idx = 16 bit value specifies the frame index 139 Word16 idx, // i : index 151 *T_op = Pitch_ol(vadSt, mode, wsp, PIT_MIN, PIT_MAX, L_FRAME, idx, dtx); 158 idx, dtx); 163 old_lags, ol_gain_flg, idx, dtx); 168 L_FRAME_BY2, idx, dtx); 210 Word16 idx, /* i : index */ 223 *T_op = Pitch_ol(vadSt, mode, wsp, PIT_MIN, PIT_MAX, L_FRAME, idx, dtx, 231 idx, dtx, pOverflow); 236 old_lags, ol_gain_flg, idx, dt 201 ol_ltp( pitchOLWghtState *st, vadState *vadSt, enum Mode mode, Word16 wsp[], Word16 *T_op, Word16 old_lags[], Word16 ol_gain_flg[], Word16 idx, Flag dtx, Flag *pOverflow ) argument [all...] |
H A D | ol_ltp.h | 113 Word16 idx, /* i : index */
|
H A D | pitch_ol.h | 110 Word16 idx, /* i : frame index */
|
/frameworks/base/core/java/android/content/res/ |
H A D | XmlBlock.java | 224 int idx = nativeGetAttributeIndex(mParseState, namespace, name); 225 if (idx >= 0) { 227 + namespace + ":" + name + " index = " + idx); 229 "Namespace=" + getAttributeNamespace(idx) 230 + "Name=" + getAttributeName(idx) 231 + ", Value=" + getAttributeValue(idx)); 232 return getAttributeValue(idx); 316 int idx = nativeGetAttributeIndex(mParseState, namespace, attribute); 317 if (idx >= 0) { 318 return getAttributeListValue(idx, option 364 getAttributeListValue(int idx, String[] options, int defaultValue) argument 374 getAttributeBooleanValue(int idx, boolean defaultValue) argument 385 getAttributeResourceValue(int idx, int defaultValue) argument 394 getAttributeIntValue(int idx, int defaultValue) argument 404 getAttributeUnsignedIntValue(int idx, int defaultValue) argument 414 getAttributeFloatValue(int idx, float defaultValue) argument 503 nativeGetAttributeNamespace(int state, int idx) argument 504 nativeGetAttributeName(int state, int idx) argument 505 nativeGetAttributeResource(int state, int idx) argument 506 nativeGetAttributeDataType(int state, int idx) argument 507 nativeGetAttributeData(int state, int idx) argument 508 nativeGetAttributeStringValue(int state, int idx) argument [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
H A D | ProgramFragment.java | 41 int idx = 0; 44 tmp[idx++] = 0; 45 tmp[idx++] = mInputs[i].mID; 48 tmp[idx++] = 1; 49 tmp[idx++] = mOutputs[i].mID; 52 tmp[idx++] = 2; 53 tmp[idx++] = mConstants[i].mID; 55 tmp[idx++] = 3; 56 tmp[idx++] = mTextureCount;
|
H A D | ProgramVertex.java | 68 int idx = 0; 71 tmp[idx++] = 0; 72 tmp[idx++] = mInputs[i].mID; 75 tmp[idx++] = 1; 76 tmp[idx++] = mOutputs[i].mID; 79 tmp[idx++] = 2; 80 tmp[idx++] = mConstants[i].mID; 82 tmp[idx++] = 3; 83 tmp[idx++] = mTextureCount;
|
/frameworks/base/awt/java/awt/image/ |
H A D | ComponentColorModel.java | 356 for (int i = 0, idx = offset; i < numComponents; i++, idx++) { 357 ba[i] = (byte)components[idx]; 367 for (int i = 0, idx = offset; i < numComponents; i++, idx++) { 368 sa[i] = (short)components[idx]; 378 for (int i = 0, idx = offset; i < numComponents; i++, idx++) { 379 ia[i] = components[idx]; 394 for (int i = 0, idx 1353 getRGBComponent(Object pixel, int idx) argument 1382 getDefComponent(Object pixel, int idx) argument [all...] |
H A D | RGBImageFilter.java | 126 for (int sx = x, idx = 0; sx < x + w; sx++, idx++) { 127 rgbPixels[idx] = model.getRGB(pixels[pixelsOff + idx]); 144 for (int sx = x, idx = 0; sx < x + w; sx++, idx++) { 145 rgbPixels[idx] = model.getRGB(pixels[pixelsOff + idx] & 0xff); 174 for (int sx = x, idx = 0; sx < x + w; sx++, idx [all...] |
H A D | SampleModel.java | 146 int idx = 0; 163 bdata[idx++] = bbuf[n]; 185 sdata[idx++] = sbuf[n]; 206 idata[idx++] = ibuf[n]; 227 fdata[idx++] = fbuf[n]; 248 ddata[idx++] = dbuf[n]; 298 int idx = 0; 306 bbuf[n] = ((byte[])obj)[idx++]; 320 sbuf[n] = ((short[])obj)[idx++]; 332 ibuf[n] = ((int[])obj)[idx [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_XmlBlock.cpp | 193 jint token, jint idx) 201 return (jint)st->getAttributeNamespaceID(idx); 205 jint token, jint idx) 213 return (jint)st->getAttributeNameID(idx); 217 jint token, jint idx) 225 return (jint)st->getAttributeNameResID(idx); 229 jint token, jint idx) 237 return (jint)st->getAttributeDataType(idx); 241 jint token, jint idx) 249 return (jint)st->getAttributeData(idx); 192 android_content_XmlBlock_nativeGetAttributeNamespace(JNIEnv* env, jobject clazz, jint token, jint idx) argument 204 android_content_XmlBlock_nativeGetAttributeName(JNIEnv* env, jobject clazz, jint token, jint idx) argument 216 android_content_XmlBlock_nativeGetAttributeResource(JNIEnv* env, jobject clazz, jint token, jint idx) argument 228 android_content_XmlBlock_nativeGetAttributeDataType(JNIEnv* env, jobject clazz, jint token, jint idx) argument 240 android_content_XmlBlock_nativeGetAttributeData(JNIEnv* env, jobject clazz, jint token, jint idx) argument 252 android_content_XmlBlock_nativeGetAttributeStringValue(JNIEnv* env, jobject clazz, jint token, jint idx) argument 284 jint idx = (jint)st->indexOfAttribute(ns16, nsLen, name16, nameLen); local 303 ssize_t idx = st->indexOfID(); local 316 ssize_t idx = st->indexOfClass(); local 329 ssize_t idx = st->indexOfStyle(); local [all...] |
H A D | android_util_StringBlock.cpp | 83 jint token, jint idx) 92 const char* str8 = osb->string8At(idx, &len); 97 const char16_t* str = osb->stringAt(idx, &len); 107 jint token, jint idx) 115 const ResStringPool_span* spans = osb->styleAt(idx); 162 ssize_t idx = osb->indexOfString(str16, strLen); local 166 return idx; 82 android_content_StringBlock_nativeGetString(JNIEnv* env, jobject clazz, jint token, jint idx) argument 106 android_content_StringBlock_nativeGetStyle(JNIEnv* env, jobject clazz, jint token, jint idx) argument
|
/frameworks/base/libs/rs/java/Film/res/raw/ |
H A D | filmimage.c | 16 int dx, dy, idx; local 47 idx = newPart * 5 + 1; 48 storeI32(con, 2, idx, dx); 49 storeI32(con, 2, idx + 1, dy); 50 storeI32(con, 2, idx + 2, maxLife); 51 storeI32(con, 2, idx + 3, x << 16); 52 storeI32(con, 2, idx + 4, y << 16);
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pvdec_api.cpp | 72 int idx; local 78 for (idx = 0; idx < nLayers; idx++) 80 decCtrl->volbuf[idx] = volbuf[idx]; 81 decCtrl->volbuf_size[idx] = volbuf_size[idx]; 145 for (idx = 0; idx < nLayer 529 int idx; local 555 int idx; local 769 int idx; local 876 int idx = -1; local 1036 int idx; local 1245 int idx; local [all...] |
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
H A D | drm_file.c | 65 int idx; local 73 for (idx = 0; idx < strLength; ++idx) 308 int idx; local 313 for (idx = 0; idx < strLength; ++idx) 315 if (ent->d_name[idx] != strData[idx]) [all...] |
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
H A D | dec_alg_codebook.cpp | 195 int32 mask, idx; local 204 idx = index & mask; 213 dec_2p_2N1(idx, (int16)(N - 1), j, pos); 216 tmp = N << 1; /* idx = (index >> (2*N)) & mask; */ 217 idx = (index >> tmp) & mask; 219 dec_1p_N1(idx, N, offset, pos + 2); 232 int32 mask, idx; local 239 idx = index & mask; 248 dec_2p_2N1(idx, (int16)(N - 1), j, pos); 253 idx 319 int32 idx; local [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/font/ |
H A D | FontFinder.java | 113 Integer idx = new Integer(i); 114 fonts.put(idx, currFont); 116 runStarts.add(idx);
|
/frameworks/base/awt/java/awt/color/ |
H A D | ColorSpace.java | 241 * @param idx 245 public String getName(int idx) { argument 246 if (idx < 0 || idx > numComponents - 1) { 248 throw new IllegalArgumentException(Messages.getString("awt.16A", idx)); //$NON-NLS-1$ 251 return "Unnamed color component #" + idx; //$NON-NLS-1$
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | Texture.java | 61 int idx = 0; 62 while (idx < nbytes) { 63 int nread = is.read(arr, idx, nbytes - idx); 64 idx += nread;
|