Searched refs:index (Results 26 - 50 of 1205) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrwb/src/
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/support/v4/java/android/support/v4/util/
H A DSimpleArrayMap.java69 int index = ContainerHelpers.binarySearch(mHashes, N, hash);
72 if (index < 0) {
73 return index;
76 // If the key at the returned index matches, that's what we want.
77 if (key.equals(mArray[index<<1])) {
78 return index;
81 // Search for a matching key after the index.
83 for (end = index + 1; end < N && mHashes[end] == hash; end++) {
87 // Search for a matching key before the index.
88 for (int i = index
332 keyAt(int index) argument
341 valueAt(int index) argument
351 setValueAt(int index, V value) argument
464 removeAt(int index) argument
[all...]
/frameworks/base/core/java/android/util/
H A DIntArray.java64 * @throws IndexOutOfBoundsException when index &lt; 0 || index &gt; size()
66 public void add(int index, int value) { argument
67 if (index < 0 || index > mSize) {
73 if (mSize - index != 0) {
74 System.arraycopy(mValues, index, mValues, index + 1, mSize - index);
77 mValues[index]
143 get(int index) argument
167 remove(int index) argument
[all...]
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 DArraySet.java85 int index = ContainerHelpers.binarySearch(mHashes, N, hash);
88 if (index < 0) {
89 return index;
92 // If the key at the returned index matches, that's what we want.
93 if (key.equals(mArray[index])) {
94 return index;
97 // Search for a matching key after the index.
99 for (end = index + 1; end < N && mHashes[end] == hash; end++) {
103 // Search for a matching key before the index.
104 for (int i = index
317 valueAt(int index) argument
427 removeAt(int index) argument
[all...]
H A DArrayMap.java96 int index = ContainerHelpers.binarySearch(mHashes, N, hash);
99 if (index < 0) {
100 return index;
103 // If the key at the returned index matches, that's what we want.
104 if (key.equals(mArray[index<<1])) {
105 return index;
108 // Search for a matching key after the index.
110 for (end = index + 1; end < N && mHashes[end] == hash; end++) {
114 // Search for a matching key before the index.
115 for (int i = index
390 keyAt(int index) argument
399 valueAt(int index) argument
409 setValueAt(int index, V value) argument
590 removeAt(int index) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
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...]
H A Dd1035pf.h106 Word16 index[], /* (i) : index of 10 pulses (sign+position) */
H A Dd2_11pf.h85 Word16 index, /* i : Positions of the 2 pulses. */
H A Dd3_14pf.h106 Word16 index, /* i : Positions of the 3 pulses. */
H A Dd4_17pf.h107 Word16 index, /* i : Positions of the 4 pulses. */
H A Dd8_31pf.h107 Word16 index[], /* i : index of 8 pulses (sign+position) */
/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...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DArrayObjectAdapter.java55 public Object get(int index) { argument
56 return mItems.get(index);
60 * Returns the index for the first occurrence of item in the adapter, or -1 if
92 * Inserts an item into this adapter at the specified index.
93 * If the index is >= {@link #size} an exception will be thrown.
95 * @param index The index at which the item should be inserted.
98 public void add(int index, Object item) { argument
99 mItems.add(index, item);
100 notifyItemRangeInserted(index,
110 addAll(int index, Collection items) argument
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteProgram.java127 * @param index The 1-based index to the parameter to bind null to
129 public void bindNull(int index) { argument
130 bind(index, null);
137 * @param index The 1-based index to the parameter to bind
140 public void bindLong(int index, long value) { argument
141 bind(index, value);
148 * @param index The 1-based index t
151 bindDouble(int index, double value) argument
162 bindString(int index, String value) argument
176 bindBlob(int index, byte[] value) argument
210 bind(int index, Object value) argument
[all...]
/frameworks/base/libs/hwui/utils/
H A DTinyHashMap.h39 ssize_t index = mTable.find(-1, hash, key); local
40 if (index != -1) {
41 mTable.removeAt(index);
53 ssize_t index = mTable.find(-1, hash, key); local
54 if (index == -1) {
57 outValue = mTable.entryAt(index).value;
/frameworks/base/libs/usb/tests/accessorytest/
H A Daudio.c56 int index, other; local
63 index = empty_index;
64 other = (index == 0 ? 1 : 0);
65 buffer_states[index] = BUFFER_BUSY;
72 return index;
75 static void put_empty(int index) argument
79 buffer_states[index] = BUFFER_EMPTY;
81 empty_index = index;
90 int index, other; local
97 index
109 put_full(int index) argument
149 int index = get_empty(); local
168 int index, err; local
[all...]
/frameworks/base/media/java/android/media/
H A DAudioGainConfig.java35 AudioGainConfig(int index, AudioGain gain, int mode, int channelMask, argument
37 mIndex = index;
46 * get the index of the parent gain.
49 int index() { method in class:AudioGainConfig
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameValues.java61 * Returns the value at the specified index.
63 * In case the value is null or not an array, the index must be 0, and the value itself is
66 * @param index The index to access.
67 * @return The value at that index.
69 public Object getValueAtIndex(int index) { argument
72 if (index != 0) {
73 throw new ArrayIndexOutOfBoundsException(index);
78 return Array.get(value, index);
83 * Returns the value as a FrameValue at the specified index
91 getFrameValueAtIndex(int index) argument
118 setValueAtIndex(Object value, int index) argument
141 setFrameValueAtIndex(FrameValue frame, int index) argument
[all...]
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DTextTest.java45 void addTest(int index, int fillNum) { argument
46 mTests[index] = new ScriptField_TestScripts_s.Item();
47 mTests[index].testScript = mTextScript;
48 mTests[index].testName = Allocation.createFromString(mRS,
49 mNames[index],
51 mTests[index].debugName = RsBenchRS.createZeroTerminatedAlloc(mRS,
52 mNames[index],
59 mTests[index].testData = testData.getAllocation();
68 int index = 0;
69 addTest(index
[all...]
/frameworks/base/tools/split-select/
H A DRuleGenerator.h31 static android::sp<Rule> generate(const android::SortedVector<SplitDescription>& group, size_t index);
33 static android::sp<Rule> generateAbi(const android::Vector<abi::Variant>& allVariants, size_t index);
34 static android::sp<Rule> generateDensity(const android::Vector<int>& allDensities, size_t index);
/frameworks/support/v4/java/android/support/v4/content/res/
H A DTypedArrayUtils.java29 public static boolean getBoolean(TypedArray a, @StyleableRes int index, argument
32 return a.getBoolean(index, val);
35 public static Drawable getDrawable(TypedArray a, @StyleableRes int index, argument
37 Drawable val = a.getDrawable(index);
44 public static int getInt(TypedArray a, @StyleableRes int index, argument
47 return a.getInt(index, val);
50 public static @AnyRes int getResourceId(TypedArray a, @StyleableRes int index, argument
53 return a.getResourceId(index, val);
56 public static String getString(TypedArray a, @StyleableRes int index, argument
58 String val = a.getString(index);
65 getTextArray(TypedArray a, @StyleableRes int index, @StyleableRes int fallbackIndex) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeTypedArray.java80 // Contains ids that are @empty. We still store null in mResourceData for that index, since we
98 * @param index the index of the value in the TypedArray
103 public void bridgeSetValue(int index, String name, boolean isFramework, ResourceValue value) { argument
104 mResourceData[index] = value;
105 mNames[index] = name;
106 mIsFramework[index] = isFramework;
150 int index = 1;
153 mIndices[index++] = i;
182 * Retrieve the styled string value for the attribute at <var>index</va
190 getText(int index) argument
204 getString(int index) argument
224 getBoolean(int index, boolean defValue) argument
239 getInt(int index, int defValue) argument
260 getFloat(int index, float defValue) argument
288 getColor(int index, int defValue) argument
316 getColorStateList(int index) argument
376 getInteger(int index, int defValue) argument
397 getDimension(int index, float defValue) argument
437 getDimensionPixelOffset(int index, int defValue) argument
460 getDimensionPixelSize(int index, int defValue) argument
490 getLayoutDimension(int index, String name) argument
508 getLayoutDimension(int index, int defValue) argument
513 getDimension(int index, @Nullable String name) argument
558 getFraction(int index, int base, int pbase, float defValue) argument
592 getResourceId(int index, int defValue) argument
705 getThemeAttributeId(int index, int defValue) argument
721 getDrawable(int index) argument
742 getTextArray(int index) argument
775 getValue(int index, TypedValue outValue) argument
782 getType(int index) argument
842 hasValue(int index) argument
847 hasValueOrEmpty(int index) argument
864 peekValue(int index) argument
905 resolveEnumAttribute(int index) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/
H A DomxVCCOMM_Copy16x16.c75 OMX_INT count,index, x, y; local
86 for (y = 0, count = 0, index = 0; y < 16; y++, count = count + step - 16)
88 for (x = 0; x < 16; x++, count++, index++)
90 pDst[index] = pSrc[count];

Completed in 956 milliseconds

1234567891011>>