/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | q_pulse.h | 66 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 D | dec_alg_codebook.cpp | 118 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 D | SimpleArrayMap.java | 69 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 D | IntArray.java | 64 * @throws IndexOutOfBoundsException when index < 0 || index > 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 D | XmlPullAttributes.java | 37 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 D | ArraySet.java | 85 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 D | ArrayMap.java | 96 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 D | dec_lag3.cpp | 63 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 D | d1035pf.h | 106 Word16 index[], /* (i) : index of 10 pulses (sign+position) */
|
H A D | d2_11pf.h | 85 Word16 index, /* i : Positions of the 2 pulses. */
|
H A D | d3_14pf.h | 106 Word16 index, /* i : Positions of the 3 pulses. */
|
H A D | d4_17pf.h | 107 Word16 index, /* i : Positions of the 4 pulses. */
|
H A D | d8_31pf.h | 107 Word16 index[], /* i : index of 8 pulses (sign+position) */
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | Duration.java | 57 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 D | ArrayObjectAdapter.java | 55 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 D | SQLiteProgram.java | 127 * @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 D | TinyHashMap.h | 39 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 D | audio.c | 56 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 D | AudioGainConfig.java | 35 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 D | FrameValues.java | 61 * 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 D | TextTest.java | 45 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 D | RuleGenerator.h | 31 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 D | TypedArrayUtils.java | 29 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 D | BridgeTypedArray.java | 80 // 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 D | omxVCCOMM_Copy16x16.c | 75 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];
|