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

1234567891011>>

/frameworks/base/media/libstagefright/codecs/aacdec/
H A Dget_sbr_startfreq.cpp136 Int32 index; local
142 index = 0;
146 index = 1;
150 index = 2;
154 index = 3;
158 index = 4;
162 index = 4;
166 index = 4;
171 index = 5;
176 index
[all...]
H A Dsbr_decode_huff_cw.cpp42 The table entries are interpreted either as index to the next entry
138 Char index = 0; local
140 while (index >= 0)
143 index = h[index][bits];
146 return((Int32)index + 64); /* Add offset */
H A Dget_ele_list.cpp128 FOR (index = 0; index < elementCount; index++)
130 pElementList->ele_is_cpe[index] =
133 pElementList->ele_is_cpe[index] = 0;
136 pElementList->ele_tag[index] = getbits(LEN_TAG, pInputStream);
218 Int index; local
225 for (index = pElementList->num_ele; index > 0; index
[all...]
H A Dsbr_decode_envelope.cpp111 Int32 index,
115 Int32 index,
204 Int32 index,
213 if (index < offset)
215 prevData[index] = currVal;
219 tmp = (index << 1) - offset;
227 if (index < offset)
229 tmp = (index << 1) + index;
236 tmp = (index <<
200 mapLowResEnergyVal( Int32 currVal, Int32 *prevData, Int32 offset, Int32 index, Int32 res) argument
249 indexLow2High(Int32 offset, Int32 index, Int32 res) argument
[all...]
H A Dpulse_nc.cpp132 index = pLongFrameInfo->win_sfb_top[0][pPulseInfo->pulse_start_sfb];
138 pCoef = &(Coef[index]);
140 FOR (index = pPulseInfo->number_pulse; index >= 0; index--)
230 Int index; local
242 index = pLongFrameInfo->win_sfb_top[0][pPulseInfo->pulse_start_sfb - 1];
246 index = 0;
250 Each pulse index is stored as an offset from the previous pulse
263 pCoef = &(coef[index]);
[all...]
/frameworks/base/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/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/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/base/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/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/media/libdrm/mobile2/src/util/domcore/
H A DNodeListImpl.cpp28 const NodeImpl* NodeListImpl::item(int index) const
32 if (size == 0 || index > size - 1 || index < 0)
35 return nodeList.at(index);
/frameworks/base/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/awt/java/awt/image/renderable/
H A DParameterBlock.java82 * Sets the source image at the specified index.
86 * @param index
87 * the index where the source will be placed.
90 public ParameterBlock setSource(Object source, int index) { argument
91 if (sources.size() < index + 1) {
92 sources.setSize(index + 1);
94 sources.setElementAt(source, index);
99 * Sets the parameter value object at the specified index.
102 * the parameter value to place at the desired index.
103 * @param index
108 set(Object obj, int index) argument
187 getSource(int index) argument
198 getObjectParameter(int index) argument
262 getRenderableSource(int index) argument
276 set(short s, int index) argument
301 set(long l, int index) argument
326 set(int i, int index) argument
351 set(float f, int index) argument
376 set(double d, int index) argument
401 set(char c, int index) argument
426 set(byte b, int index) argument
449 getRenderedSource(int index) argument
461 getShortParameter(int index) argument
473 getLongParameter(int index) argument
485 getIntParameter(int index) argument
497 getFloatParameter(int index) argument
509 getDoubleParameter(int index) argument
521 getCharParameter(int index) argument
533 getByteParameter(int index) argument
[all...]
/frameworks/base/tools/localize/
H A DValues.cpp14 index(ix),
27 index(-1),
40 index(that.index),
57 if (index != that.index) {
58 return index - that.index;
73 if (index < 0) {
77 sprintf(n, "%d:", index);
88 size_t index = 0; local
102 ParseTypedID(const string& raw, string* id, int* index) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridgeTypedArray.java62 public void bridgeSetValue(int index, String name, IResourceValue value) { argument
63 mData[index] = value;
64 mNames[index] = name;
88 int index = 1;
91 mIndices[index++] = i;
113 * Retrieve the styled string value for the attribute at <var>index</var>.
115 * @param index Index of attribute to retrieve.
121 public CharSequence getText(int index) { argument
122 if (mData[index] != null) {
124 return mData[index]
139 getString(int index) argument
156 getBoolean(int index, boolean defValue) argument
178 getInt(int index, int defValue) argument
226 getFloat(int index, float defValue) argument
260 getColor(int index, int defValue) argument
289 getColorStateList(int index) argument
347 getInteger(int index, int defValue) argument
386 getDimension(int index, float defValue) argument
432 getDimensionPixelOffset(int index, int defValue) argument
455 getDimensionPixelSize(int index, int defValue) argument
496 getLayoutDimension(int index, String name) argument
501 getLayoutDimension(int index, int defValue) argument
521 getFraction(int index, int base, int pbase, float defValue) argument
558 getResourceId(int index, int defValue) argument
659 getDrawable(int index) argument
696 getTextArray(int index) argument
723 getValue(int index, TypedValue outValue) argument
741 hasValue(int index) argument
757 peekValue(int index) argument
782 getValueAt(int index, TypedValue outValue) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DTypedArray.java62 * 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
717 loadStringValueAt(int index) argument
[all...]
/frameworks/base/core/java/android/util/
H A DXmlPullAttributes.java37 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 DAttributeSet.java60 public String getAttributeName(int index); argument
61 public String getAttributeValue(int index); argument
75 * @param index Index of the desired attribute, 0...count-1.
79 public int getAttributeNameResource(int index); argument
82 * Return the index of the value of 'attribute' in the list 'options'.
158 * Return the index of the value of attribute at 'index' in the list
161 * @param index Index of the desired attribute, 0...count-1.
168 public int getAttributeListValue(int index, argument
172 * Return the boolean value of attribute at 'index'
179 getAttributeBooleanValue(int index, boolean defaultValue) argument
196 getAttributeResourceValue(int index, int defaultValue) argument
207 getAttributeIntValue(int index, int defaultValue) argument
220 getAttributeUnsignedIntValue(int index, int defaultValue) argument
231 getAttributeFloatValue(int index, float defaultValue) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DShortButtons.java37 public Button getButtonAt(int index) { argument
38 if (index < 3) {
39 return getContentChildAt(index);
42 return (Button) ll.getChildAt(index - 3);

Completed in 1216 milliseconds

1234567891011>>