/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
D | q_pulse.c | 36 Word32 index; in quant_1p_N1() local 42 index = L_deposit_l((Word16) (pos & mask)); in quant_1p_N1() 45 index = vo_L_add(index, L_deposit_l(1 << N)); /* index += 1 << N; */ in quant_1p_N1() 47 return (index); in quant_1p_N1() 57 Word32 index; in quant_2p_2N1() local 68 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask)))); in quant_2p_2N1() 72 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask)))); in quant_2p_2N1() 77 index = vo_L_add(index, (1L << tmp)); /* index += 1 << (2*N); */ in quant_2p_2N1() 85 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask)))); in quant_2p_2N1() 89 index = vo_L_add(index, (1L << tmp)); in quant_2p_2N1() [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | TypedArray.java | 89 public CharSequence getText(int index) { in getText() argument 90 index *= AssetManager.STYLE_NUM_ENTRIES; in getText() 92 final int type = data[index+AssetManager.STYLE_TYPE]; in getText() 96 return loadStringValueAt(index); in getText() 100 if (getValueAt(index, v)) { in getText() 117 public String getString(int index) { in getString() argument 118 index *= AssetManager.STYLE_NUM_ENTRIES; in getString() 120 final int type = data[index+AssetManager.STYLE_TYPE]; in getString() 124 return loadStringValueAt(index).toString(); in getString() 128 if (getValueAt(index, v)) { in getString() [all …]
|
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
D | dec_alg_codebook.cpp | 118 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]) in dec_1p_N1() argument 127 pos1 = ((index & mask) + offset); in dec_1p_N1() 129 i = ((index >> N) & 1L); /* i = ((index >> N) & 1); */ in dec_1p_N1() 145 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]) in dec_2p_2N1() argument 155 pos1 = (int16)(add_int32((shr_int32(index, N) & mask), (int32)(offset))); in dec_2p_2N1() 157 i = (index >> tmp) & 1L; /* i = (index >> (2*N)) & 1; */ in dec_2p_2N1() 158 pos2 = add_int16((int16)(index & mask), offset); /* pos2 = ((index & mask) + offset); */ in dec_2p_2N1() 192 void dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]) in dec_3p_3N1() argument 204 idx = index & mask; in dec_3p_3N1() 209 if (((index >> tmp) & 1L) != 0L) in dec_3p_3N1() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeTypedArray.java | 69 public void bridgeSetValue(int index, String name, ResourceValue value) { in bridgeSetValue() argument 70 mResourceData[index] = value; in bridgeSetValue() 71 mNames[index] = name; in bridgeSetValue() 95 int index = 1; in sealArray() local 98 mIndices[index++] = i; in sealArray() 128 public CharSequence getText(int index) { in getText() argument 129 if (mResourceData[index] != null) { in getText() 131 return mResourceData[index].getValue(); in getText() 146 public String getString(int index) { in getString() argument 147 if (mResourceData[index] != null) { in getString() [all …]
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | chvr_filter.cpp | 35 int index, counter; in CombinedHorzVertRingFilter() local 103 index = brwidth + bc; in CombinedHorzVertRingFilter() 109 QP = QP_store[index]; in CombinedHorzVertRingFilter() 114 if (((pp_mod[index]&0x02) != 0) && ((pp_mod[index-pp_w]&0x02) != 0)) in CombinedHorzVertRingFilter() 118 pp_mod[index-pp_w] |= 0x10; /* 4/26/00 reuse pp_mod for HorzHflag*/ in CombinedHorzVertRingFilter() 121 for (index = BLKSIZE; index > 0; index--) in CombinedHorzVertRingFilter() 174 pp_mod[index-pp_w] &= 0xef; /* reset 1110,1111 */ in CombinedHorzVertRingFilter() 176 for (index = BLKSIZE; index > 0; index--) in CombinedHorzVertRingFilter() 262 index = brwidth + bc; in CombinedHorzVertRingFilter() 268 QP = QP_store[index]; in CombinedHorzVertRingFilter() [all …]
|
/frameworks/base/media/libstagefright/codecs/aacdec/ |
D | sbr_decode_envelope.cpp | 111 Int32 index, 115 Int32 index, 204 Int32 index, in mapLowResEnergyVal() argument 213 if (index < offset) in mapLowResEnergyVal() 215 prevData[index] = currVal; in mapLowResEnergyVal() 219 tmp = (index << 1) - offset; in mapLowResEnergyVal() 227 if (index < offset) in mapLowResEnergyVal() 229 tmp = (index << 1) + index; in mapLowResEnergyVal() 236 tmp = (index << 1) + offset; in mapLowResEnergyVal() 244 prevData[index] = currVal; in mapLowResEnergyVal() [all …]
|
D | get_sbr_startfreq.cpp | 136 Int32 index; in get_sbr_startfreq() local 142 index = 0; in get_sbr_startfreq() 146 index = 1; in get_sbr_startfreq() 150 index = 2; in get_sbr_startfreq() 154 index = 3; in get_sbr_startfreq() 158 index = 4; in get_sbr_startfreq() 162 index = 4; in get_sbr_startfreq() 166 index = 4; in get_sbr_startfreq() 171 index = 5; in get_sbr_startfreq() 176 index = 6; in get_sbr_startfreq() [all …]
|
D | esc_iquant_scaling.cpp | 446 Int index; in esc_iquant_scaling() local 552 index = absX >> ORDER; in esc_iquant_scaling() 553 w1 = inverseQuantTable[index]; in esc_iquant_scaling() 554 w2 = inverseQuantTable[index+1]; in esc_iquant_scaling() 556 x1 = index << ORDER; in esc_iquant_scaling() 578 index = absX >> ORDER; in esc_iquant_scaling() 579 w1 = inverseQuantTable[index]; in esc_iquant_scaling() 580 w2 = inverseQuantTable[index+1]; in esc_iquant_scaling() 582 x1 = index << ORDER; in esc_iquant_scaling() 601 index = absX >> ORDER; in esc_iquant_scaling() [all …]
|
/frameworks/base/core/java/android/view/ |
D | WindowManagerImpl.java | 122 int index = findViewLocked(view, false); in addView() local 123 if (index >= 0) { in addView() 128 root = mRoots[index]; in addView() 154 index = 1; in addView() 159 index = mViews.length + 1; in addView() 161 mViews = new View[index]; in addView() 162 System.arraycopy(old, 0, mViews, 0, index-1); in addView() 164 mRoots = new ViewRoot[index]; in addView() 165 System.arraycopy(old, 0, mRoots, 0, index-1); in addView() 167 mParams = new WindowManager.LayoutParams[index]; in addView() [all …]
|
/frameworks/base/tools/localize/ |
D | Values.cpp | 14 index(ix), in StringResource() 27 index(-1), in StringResource() 40 index(that.index), in StringResource() 57 if (index != that.index) { in Compare() 58 return index - that.index; in Compare() 73 if (index < 0) { in TypedID() 77 sprintf(n, "%d:", index); in TypedID() 88 size_t index = 0; in split() local 90 size_t next = raw.find(':', index); in split() 92 parts->push_back(string(raw, index, next-index)); in split() [all …]
|
D | localize.cpp | 619 int index = 1; in main() local 621 if (0 == strcmp("export", argv[index])) { in main() 630 index++; in main() 631 while (index < argc) { in main() 632 if (0 == strcmp("--settings", argv[index])) { in main() 633 settingsFile = argv[index+1]; in main() 634 index += 2; in main() 636 else if (0 == strcmp("--root", argv[index])) { in main() 637 rootDir = argv[index+1]; in main() 638 index += 2; in main() [all …]
|
/frameworks/base/include/utils/ |
D | Vector.h | 89 inline const TYPE& operator [] (size_t index) const; 91 inline const TYPE& itemAt(size_t index) const; 95 const TYPE& mirrorItemAt(ssize_t index) const; 102 TYPE& editItemAt(size_t index); 111 ssize_t insertVectorAt(const Vector<TYPE>& vector, size_t index); 118 ssize_t insertArrayAt(const TYPE* array, size_t index, size_t length); 128 inline ssize_t insertAt(size_t index, size_t numItems = 1); 130 ssize_t insertAt(const TYPE& prototype_item, size_t index, size_t numItems = 1); 142 inline ssize_t replaceAt(size_t index); 144 ssize_t replaceAt(const TYPE& item, size_t index); [all …]
|
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
D | q_gain_p.cpp | 189 Word16 index; in q_gain_pitch() local 196 index = 0; in q_gain_pitch() 208 index = i; in q_gain_pitch() 222 if (index == 0) in q_gain_pitch() 224 ii = index; in q_gain_pitch() 228 if (index == (NB_QUA_PITCH - 1) || in q_gain_pitch() 229 (qua_gain_pitch[index+1] > gp_limit)) in q_gain_pitch() 231 ii = index - 2; in q_gain_pitch() 235 ii = index - 1; in q_gain_pitch() 248 *gain = qua_gain_pitch[index]; in q_gain_pitch() [all …]
|
/frameworks/base/tests/CoreTests/android/core/ |
D | LinkedListTest.java | 184 int index; in testLinkedListIndexOf() local 187 index = list.indexOf(0); in testLinkedListIndexOf() 188 index = list.indexOf(0); in testLinkedListIndexOf() 189 index = list.indexOf(0); in testLinkedListIndexOf() 190 index = list.indexOf(0); in testLinkedListIndexOf() 191 index = list.indexOf(0); in testLinkedListIndexOf() 192 index = list.indexOf(0); in testLinkedListIndexOf() 193 index = list.indexOf(0); in testLinkedListIndexOf() 194 index = list.indexOf(0); in testLinkedListIndexOf() 195 index = list.indexOf(0); in testLinkedListIndexOf() [all …]
|
D | ArrayListPerformanceTest.java | 181 int i = 0, index; in testArrayListIndexOf() local 184 index = mList.indexOf(0); in testArrayListIndexOf() 185 index = mList.indexOf(0); in testArrayListIndexOf() 186 index = mList.indexOf(0); in testArrayListIndexOf() 187 index = mList.indexOf(0); in testArrayListIndexOf() 188 index = mList.indexOf(0); in testArrayListIndexOf() 189 index = mList.indexOf(0); in testArrayListIndexOf() 190 index = mList.indexOf(0); in testArrayListIndexOf() 191 index = mList.indexOf(0); in testArrayListIndexOf() 192 index = mList.indexOf(0); in testArrayListIndexOf() [all …]
|
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/ |
D | d3_14pf.cpp | 158 Word16 index, /* i : Positions of the 3 pulses. */ in decode_3i40_14bits() argument 169 i = index & 0x7; in decode_3i40_14bits() 177 index >>= 3; in decode_3i40_14bits() 179 j = index & 0x1; in decode_3i40_14bits() 181 index >>= 1; in decode_3i40_14bits() 183 i = index & 0x7; in decode_3i40_14bits() 191 index >>= 3; in decode_3i40_14bits() 193 j = index & 0x1; in decode_3i40_14bits() 195 index >>= 1; in decode_3i40_14bits() 197 i = index & 0x7; in decode_3i40_14bits()
|
D | d4_17pf.cpp | 178 Word16 index, /* i : Positions of the 4 pulses. */ in decode_4i40_17bits() argument 199 i = index & 0x7; in decode_4i40_17bits() 206 index >>= 3; in decode_4i40_17bits() 208 i = index & 0x7; in decode_4i40_17bits() 216 index >>= 3; in decode_4i40_17bits() 218 i = index & 0x7; in decode_4i40_17bits() 228 index >>= 3; in decode_4i40_17bits() 230 j = index & 0x1; in decode_4i40_17bits() 232 index >>= 1; in decode_4i40_17bits() 234 i = index & 0x7; in decode_4i40_17bits()
|
D | dec_lag3.cpp | 186 void Dec_lag3(Word16 index, /* i : received pitch index */ in Dec_lag3() argument 204 if (index < 197) in Dec_lag3() 207 tmp_lag = index + 2; in Dec_lag3() 230 index, in Dec_lag3() 242 *T0 = index - 112; in Dec_lag3() 258 index, in Dec_lag3() 285 index, in Dec_lag3() 332 if (index < 4) in Dec_lag3() 343 index, in Dec_lag3() 351 if (index < 12) in Dec_lag3() [all …]
|
/frameworks/base/core/java/android/util/ |
D | XmlPullAttributes.java | 37 public String getAttributeName(int index) { in getAttributeName() argument 38 return mParser.getAttributeName(index); in getAttributeName() 41 public String getAttributeValue(int index) { in getAttributeValue() argument 42 return mParser.getAttributeValue(index); in getAttributeValue() 53 public int getAttributeNameResource(int index) { in getAttributeNameResource() argument 96 public int getAttributeListValue(int index, in getAttributeListValue() argument 99 getAttributeValue(index), options, defaultValue); in getAttributeListValue() 102 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { in getAttributeBooleanValue() argument 104 getAttributeValue(index), defaultValue); in getAttributeBooleanValue() 107 public int getAttributeResourceValue(int index, int defaultValue) { in getAttributeResourceValue() argument [all …]
|
/frameworks/base/media/libstagefright/foundation/ |
D | ALooperRoster.cpp | 56 ssize_t index = mHandlers.indexOfKey(handlerID); in unregisterHandler() local 58 if (index < 0) { in unregisterHandler() 62 const HandlerInfo &info = mHandlers.valueAt(index); in unregisterHandler() 70 mHandlers.removeItemsAt(index); in unregisterHandler() 77 ssize_t index = mHandlers.indexOfKey(msg->target()); in postMessage() local 79 if (index < 0) { in postMessage() 84 const HandlerInfo &info = mHandlers.valueAt(index); in postMessage() 93 mHandlers.removeItemsAt(index); in postMessage() 106 ssize_t index = mHandlers.indexOfKey(msg->target()); in deliverMessage() local 108 if (index < 0) { in deliverMessage() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/util/ |
D | XmlUtils_Delegate.java | 43 int index = 0; in convertValueToInt() local 49 index++; in convertValueToInt() 52 if ('0' == nm.charAt(index)) { in convertValueToInt() 54 if (index == (len - 1)) in convertValueToInt() 57 char c = nm.charAt(index + 1); in convertValueToInt() 60 index += 2; in convertValueToInt() 63 index++; in convertValueToInt() 67 else if ('#' == nm.charAt(index)) { in convertValueToInt() 68 index++; in convertValueToInt() 72 return ((int)Long.parseLong(nm.substring(index), base)) * sign; in convertValueToInt()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | WspTypeDecoder.java | 80 int index = startIndex; in decodeTextString() local 81 while (wspData[index] != 0) { in decodeTextString() 82 index++; in decodeTextString() 84 dataLength = index - startIndex + 1; in decodeTextString() 160 int index = startIndex; in decodeUintvarInteger() local 163 while ((wspData[index] & 0x80) != 0) { in decodeUintvarInteger() 164 if ((index - startIndex) >= 4) { in decodeUintvarInteger() 167 unsigned32bit = (unsigned32bit << 7) | (wspData[index] & 0x7f); in decodeUintvarInteger() 168 index++; in decodeUintvarInteger() 170 unsigned32bit = (unsigned32bit << 7) | (wspData[index] & 0x7f); in decodeUintvarInteger() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | CommandQueue.java | 68 public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon); in addIcon() argument 69 public void updateIcon(String slot, int index, int viewIndex, in updateIcon() argument 71 public void removeIcon(String slot, int index, int viewIndex); in removeIcon() argument 85 public void setIcon(int index, StatusBarIcon icon) { in setIcon() argument 87 int what = MSG_ICON | index; in setIcon() 93 public void removeIcon(int index) { in removeIcon() argument 95 int what = MSG_ICON | index; in removeIcon() 151 final int index = msg.what & INDEX_MASK; in handleMessage() local 152 final int viewIndex = mList.getViewIndex(index); in handleMessage() 156 StatusBarIcon old = mList.getIcon(index); in handleMessage() [all …]
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteProgram.java | 178 public void bindNull(int index) { in bindNull() argument 184 native_bind_null(index); in bindNull() 197 public void bindLong(int index, long value) { in bindLong() argument 203 native_bind_long(index, value); in bindLong() 216 public void bindDouble(int index, double value) { in bindDouble() argument 222 native_bind_double(index, value); in bindDouble() 235 public void bindString(int index, String value) { in bindString() argument 237 throw new IllegalArgumentException("the bind value at index " + index + " is null"); in bindString() 244 native_bind_string(index, value); in bindString() 257 public void bindBlob(int index, byte[] value) { in bindBlob() argument [all …]
|
/frameworks/base/media/jni/ |
D | android_media_MediaProfiles.cpp | 55 android_media_MediaProfiles_native_get_file_format(JNIEnv *env, jobject thiz, jint index) in android_media_MediaProfiles_native_get_file_format() argument 57 LOGV("native_get_file_format: %d", index); in android_media_MediaProfiles_native_get_file_format() 60 if (index < 0 || index >= nSize) { in android_media_MediaProfiles_native_get_file_format() 64 return static_cast<jint>(formats[index]); in android_media_MediaProfiles_native_get_file_format() 75 android_media_MediaProfiles_native_get_video_encoder_cap(JNIEnv *env, jobject thiz, jint index) in android_media_MediaProfiles_native_get_video_encoder_cap() argument 77 LOGV("native_get_video_encoder_cap: %d", index); in android_media_MediaProfiles_native_get_video_encoder_cap() 80 if (index < 0 || index >= nSize) { in android_media_MediaProfiles_native_get_video_encoder_cap() 85 video_encoder encoder = encoders[index]; in android_media_MediaProfiles_native_get_video_encoder_cap() 126 android_media_MediaProfiles_native_get_audio_encoder_cap(JNIEnv *env, jobject thiz, jint index) in android_media_MediaProfiles_native_get_audio_encoder_cap() argument 128 LOGV("native_get_audio_encoder_cap: %d", index); in android_media_MediaProfiles_native_get_audio_encoder_cap() [all …]
|