Searched refs:index (Results 1 - 25 of 901) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/
H A DMediaCodecList.java32 public static final MediaCodecInfo getCodecInfoAt(int index) { argument
33 if (index < 0 || index > getCodecCount()) {
37 return new MediaCodecInfo(index);
40 /* package private */ static native final String getCodecName(int index); argument
42 /* package private */ static native final boolean isEncoder(int index); argument
44 /* package private */ static native final String[] getSupportedTypes(int index); argument
47 getCodecCapabilities(int index, String type); argument
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Ddec_acelp_2p_in_64.cpp47 int16 index, (i): 12 bits index
125 int16 index, /* (i): 12 bits index */
135 i = (index >> 5) & 0x003E;
137 if (((index >> 6) & NB_POS) == 0)
146 i = ((index & 0x001F) << 1) + 1;
148 if ((index & NB_POS) == 0)
124 dec_acelp_2p_in_64( int16 index, int16 code[] ) argument
H A Dq_pulse.h66 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]);
67 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]);
68 void dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]);
69 void dec_4p_4N1(int32 index, int16 N, int16 offset, int16 pos[]);
70 void dec_4p_4N(int32 index, int16 N, int16 offset, int16 pos[]);
71 void dec_5p_5N(int32 index, int16 N, int16 offset, int16 pos[]);
72 void dec_6p_6N_2(int32 index, int16 N, int16 offset, int16 pos[]);
H A Ddec_alg_codebook.cpp118 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
127 pos1 = ((index & mask) + offset);
129 i = ((index >> N) & 1L); /* i = ((index >> N) & 1); */
145 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
154 /* pos1 = (((index >> N) & mask) + offset); */
155 pos1 = (int16)(add_int32((shr_int32(index, N) & mask), (int32)(offset)));
157 i = (index >> tmp) & 1L; /* i = (index >> (2*N)) & 1; */
158 pos2 = add_int16((int16)(index
192 dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
229 dec_4p_4N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
265 dec_4p_4N(int32 index, int16 N, int16 offset, int16 pos[]) argument
316 dec_5p_5N(int32 index, int16 N, int16 offset, int16 pos[]) argument
350 dec_6p_6N_2(int32 index, int16 N, int16 offset, int16 pos[]) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd2_11pf.cpp95 index -- Word16 -- Positions of the 2 pulses.
152 Word16 index, /* i : Positions of the 2 pulses. */
164 j = index & 0x1;
166 index >>= 1;
168 i = index & 0x7;
175 index >>= 3;
177 j = index & 0x3;
179 index >>= 2;
181 i = index & 0x7;
150 decode_2i40_11bits( Word16 sign, Word16 index, Word16 cod[] ) argument
H A Dd3_14pf.cpp101 index -- Word16 -- Positions of the 3 pulses.
158 Word16 index, /* i : Positions of the 3 pulses. */
169 i = index & 0x7;
177 index >>= 3;
179 j = index & 0x1;
181 index >>= 1;
183 i = index & 0x7;
191 index >>= 3;
193 j = index & 0x1;
195 index >>
156 decode_3i40_14bits( Word16 sign, Word16 index, Word16 cod[] ) argument
[all...]
H A Dd4_17pf.cpp121 index -- Word16 -- Positions of the 3 pulses.
178 Word16 index, /* i : Positions of the 4 pulses. */
199 i = index & 0x7;
206 index >>= 3;
208 i = index & 0x7;
216 index >>= 3;
218 i = index & 0x7;
228 index >>= 3;
230 j = index & 0x1;
232 index >>
176 decode_4i40_17bits( Word16 sign, Word16 index, Word16 cod[] ) argument
[all...]
H A Dd_gain_p.cpp59 index -- Word16 -- index of quantization
76 Purpose : Decodes the pitch gain using the received index.
178 Word16 index /* i : index of quantization */
183 gain = qua_gain_pitch[index];
H A Ddec_lag3.cpp63 index -- Word16 -- received pitch index
93 the received adaptive codebook index.
186 void Dec_lag3(Word16 index, /* i : received pitch index */ argument
204 if (index < 197)
207 tmp_lag = index + 2;
230 index,
242 *T0 = index - 112;
258 index,
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dq_pulse.c36 Word32 index; local
42 index = L_deposit_l((Word16) (pos & mask));
45 index = vo_L_add(index, L_deposit_l(1 << N)); /* index += 1 << N; */
47 return (index);
57 Word32 index; local
67 /* index = ((pos1 & mask) << N) + (pos2 & mask); */
68 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask))));
72 index
113 Word32 index; local
155 Word32 index; local
193 Word32 i, j, k, index; local
259 Word32 i, j, k, index, tmp2; local
333 Word32 i, j, k, index; local
[all...]
/frameworks/base/core/java/android/database/
H A DCursorIndexOutOfBoundsException.java24 public CursorIndexOutOfBoundsException(int index, int size) { argument
25 super("Index " + index + " requested, with a size of " + size);
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/util/
H A DXmlUtils_Delegate.java43 int index = 0;
49 index++;
52 if ('0' == nm.charAt(index)) {
54 if (index == (len - 1))
57 char c = nm.charAt(index + 1);
60 index += 2;
63 index++;
67 else if ('#' == nm.charAt(index)) {
68 index++;
72 return ((int)Long.parseLong(nm.substring(index), bas
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyList.java54 int index = mCount++;
58 mObjectHandles[index] = handle;
59 mPropertyCodes[index] = property;
60 mDataTypes[index] = type;
61 mLongValues[index] = value;
65 int index = mCount++;
69 mObjectHandles[index] = handle;
70 mPropertyCodes[index] = property;
71 mDataTypes[index] = MtpConstants.TYPE_STR;
72 mStringValues[index]
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dq_gain_p.cpp130 Word16 -- index of quantization
179 Word16 q_gain_pitch( /* Return index of quantization */
189 Word16 index; local
196 index = 0;
208 index = i;
215 /* in MR795 mode, compute three gain_pit candidates around the index
216 * found in the quantization loop: the index found and the two direct
222 if (index == 0)
224 ii = index;
228 if (index
[all...]
/frameworks/base/core/java/android/app/
H A DIThumbnailRetriever.aidl24 Bitmap getThumbnail(int index);
/frameworks/wilhelm/doc/
H A DMakefile1 html/index.html : Doxyfile clean
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dd_gain_p.h39 * Purpose : Decodes the pitch gain using the received index.
63 * Purpose : Decodes the pitch gain using the received index.
65 * from the quantization table at the given index;
73 Word16 index /* i : index of quantization */
/frameworks/base/core/java/android/webkit/
H A DWebBackForwardListClient.java34 * Notify the client that the <var>item</var> at <var>index</var> is now
37 * @param index The new history index
39 public void onIndexChanged(WebHistoryItem item, int index) { } argument
/frameworks/base/core/java/com/android/internal/util/
H A DMemInfoReader.java30 private boolean matchText(byte[] buffer, int index, String text) { argument
32 if ((index+N) >= buffer.length) {
36 if (buffer[index+i] != text.charAt(i)) {
43 private long extractMemValue(byte[] buffer, int index) { argument
44 while (index < buffer.length && buffer[index] != '\n') {
45 if (buffer[index] >= '0' && buffer[index] <= '9') {
46 int start = index;
47 index
[all...]
/frameworks/compile/linkloader/include/
H A DMemChunk.h47 unsigned char &operator[](size_t index) { argument
48 return buf[index];
51 unsigned char const &operator[](size_t index) const {
52 return buf[index];
/frameworks/base/graphics/java/android/renderscript/
H A DScriptIntrinsicLUT.java64 private void validate(int index, int value) { argument
65 if (index < 0 || index > 255) {
76 * @param index Must be 0-255
79 public void setRed(int index, int value) { argument
80 validate(index, value);
81 mCache[index] = (byte)value;
88 * @param index Must be 0-255
91 public void setGreen(int index, int value) { argument
92 validate(index, valu
103 setBlue(int index, int value) argument
115 setAlpha(int index, int value) argument
[all...]
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicLUT.java62 private void validate(int index, int value) { argument
63 if (index < 0 || index > 255) {
74 * @param index Must be 0-255
77 public void setRed(int index, int value) { argument
78 validate(index, value);
79 mCache[index] = (byte)value;
86 * @param index Must be 0-255
89 public void setGreen(int index, int value) { argument
90 validate(index, valu
101 setBlue(int index, int value) argument
113 setAlpha(int index, int value) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeTypedArray.java72 * @param index the index of the value in the TypedArray
77 public void bridgeSetValue(int index, String name, boolean isFramework, ResourceValue value) { argument
78 mResourceData[index] = value;
79 mNames[index] = name;
80 mIsFramework[index] = isFramework;
104 int index = 1;
107 mIndices[index++] = i;
129 * Retrieve the styled string value for the attribute at <var>index</var>.
131 * @param index Inde
137 getText(int index) argument
159 getString(int index) argument
180 getBoolean(int index, boolean defValue) argument
206 getInt(int index, int defValue) argument
277 getFloat(int index, float defValue) argument
316 getColor(int index, int defValue) argument
344 getColorStateList(int index) argument
411 getInteger(int index, int defValue) argument
432 getDimension(int index, float defValue) argument
485 getDimensionPixelOffset(int index, int defValue) argument
508 getDimensionPixelSize(int index, int defValue) argument
541 getLayoutDimension(int index, String name) argument
559 getLayoutDimension(int index, int defValue) argument
563 getDimension(int index) argument
609 getFraction(int index, int base, int pbase, float defValue) argument
652 getResourceId(int index, int defValue) argument
767 getDrawable(int index) argument
797 getTextArray(int index) argument
833 getValue(int index, TypedValue outValue) argument
856 hasValue(int index) argument
876 peekValue(int index) argument
[all...]
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorJava.cpp454 int index = 0; local
470 for (index = 0; index < pClass->count; index++)
474 pClass->pConstants[index].pName,
475 &pClass->pConstants[index].java);
495 int index = 0; local
498 for (index = 0;
499 ((M4OSA_NULL == pName) && (index < pClass->count));
500 index
537 int index = 0; local
579 int index = 0; local
617 int index = 0; local
654 int index = 0; local
681 int index = 0; local
727 int index = 0; local
792 int index = 0; local
827 int index = 0; local
873 int index = 0; local
[all...]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DDuration.java57 int index = 0;
67 index++;
70 index++;
73 if (len < index) {
77 c = str.charAt(index);
80 "Duration.parse(str='" + str + "') expected 'P' at index="
81 + index);
83 index++;
84 c = str.charAt(index);
86 index
[all...]

Completed in 303 milliseconds

1234567891011>>