Searched refs:index (Results 26 - 50 of 1090) 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/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.java53 public Object get(int index) { argument
54 return mItems.get(index);
58 * Returns the index for the first occurrence of item in the adapter, or -1 if
90 * Inserts an item into this adapter at the specified index.
91 * If the index is >= {@link #size} an exception will be thrown.
93 * @param index The index at which the item should be inserted.
96 public void add(int index, Object item) { argument
97 mItems.add(index, item);
98 notifyItemRangeInserted(index,
108 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/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 DArraySet.java87 int index = ContainerHelpers.binarySearch(mHashes, N, hash);
90 if (index < 0) {
91 return index;
94 // If the key at the returned index matches, that's what we want.
95 if (key.equals(mArray[index])) {
96 return index;
99 // Search for a matching key after the index.
101 for (end = index + 1; end < N && mHashes[end] == hash; end++) {
105 // Search for a matching key before the index.
106 for (int i = index
319 valueAt(int index) argument
429 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/base/media/java/android/media/
H A DMediaCodecList.java52 * the given {@code index} in the regular list.
58 public static final MediaCodecInfo getCodecInfoAt(int index) { argument
60 if (index < 0 || index > sRegularCodecInfos.length) {
63 return sRegularCodecInfos[index];
76 for (int index = 0; index < count; index++) {
78 MediaCodecInfo info = getNewCodecInfoAt(index);
96 private static MediaCodecInfo getNewCodecInfoAt(int index) { argument
108 getCodecName(int index) argument
110 isEncoder(int index) argument
112 getSupportedTypes(int index) argument
115 getCodecCapabilities(int index, String type) argument
[all...]
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/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/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/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];
H A DomxVCCOMM_Copy8x8.c75 OMX_INT count,index, x, y; local
86 for (y = 0, count = 0, index = 0; y < 8; y++, count = count + step - 8)
88 for (x = 0; x < 8; x++, count++, index++)
90 pDst[index] = pSrc[count];
/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 6098 milliseconds

1234567891011>>