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

1234567891011>>

/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetProgramResourceName.java1 // C function void glGetProgramResourceName ( GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name )
6 int index
H A DglGetStringi.java1 // C function const GLubyte * glGetStringi ( GLenum name, GLuint index )
5 int index
H A DglGetStringi.cpp1 /* const GLubyte * glGetStringi ( GLenum name, GLuint index ) */
4 (JNIEnv *_env, jobject _this, jint name, jint index) {
5 const GLubyte* _chars = glGetStringi((GLenum)name, (GLuint)index);
3 android_glGetStringi__II(JNIEnv *_env, jobject _this, jint name, jint index) 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
/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];
/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/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/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/support/v7/appcompat/src/android/support/v7/content/res/
H A DGrowingArrayUtils.java99 * Inserts an element into the array at the specified index, growing the array if there is no
109 public static <T> T[] insert(T[] array, int currentSize, int index, T element) { argument
113 System.arraycopy(array, index, array, index + 1, currentSize - index);
114 array[index] = element;
120 System.arraycopy(array, 0, newArray, 0, index);
121 newArray[index] = element;
122 System.arraycopy(array, index, newArray, index
129 insert(int[] array, int currentSize, int index, int element) argument
148 insert(long[] array, int currentSize, int index, long element) argument
167 insert(boolean[] array, int currentSize, int index, boolean element) argument
[all...]
/frameworks/base/libs/androidfw/include/androidfw/
H A DByteBucketArray.h47 inline const T& get(size_t index) const { return (*this)[index]; }
49 const T& operator[](size_t index) const {
50 if (index >= size()) {
54 uint8_t bucket_index = static_cast<uint8_t>(index) >> 4;
59 return bucket[0x0f & static_cast<uint8_t>(index)];
62 T& editItemAt(size_t index) { argument
63 CHECK(index < size()) << "ByteBucketArray.getOrCreate(index=" << index
[all...]
/frameworks/base/core/java/android/util/
H A DLongArray.java62 * @throws IndexOutOfBoundsException when index &lt; 0 || index &gt; size()
64 public void add(int index, long value) { argument
65 if (index < 0 || index > mSize) {
71 if (mSize - index != 0) {
72 System.arraycopy(mValues, index, mValues, index + 1, mSize - index);
75 mValues[index]
128 get(int index) argument
152 remove(int index) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DTintTypedArray.java74 public Drawable getDrawable(int index) { argument
75 if (mWrapped.hasValue(index)) {
76 final int resourceId = mWrapped.getResourceId(index, 0);
81 return mWrapped.getDrawable(index);
84 public Drawable getDrawableIfKnown(int index) { argument
85 if (mWrapped.hasValue(index)) {
86 final int resourceId = mWrapped.getResourceId(index, 0);
95 * Retrieve the Typeface for the attribute at <var>index</var>.
100 * @param index Index of attribute to retrieve.
112 public Typeface getFont(@StyleableRes int index, in argument
142 getText(int index) argument
146 getString(int index) argument
150 getNonResourceString(int index) argument
154 getBoolean(int index, boolean defValue) argument
158 getInt(int index, int defValue) argument
162 getFloat(int index, float defValue) argument
166 getColor(int index, int defValue) argument
170 getColorStateList(int index) argument
184 getInteger(int index, int defValue) argument
188 getDimension(int index, float defValue) argument
192 getDimensionPixelOffset(int index, int defValue) argument
196 getDimensionPixelSize(int index, int defValue) argument
200 getLayoutDimension(int index, String name) argument
204 getLayoutDimension(int index, int defValue) argument
208 getFraction(int index, int base, int pbase, float defValue) argument
212 getResourceId(int index, int defValue) argument
216 getTextArray(int index) argument
220 getValue(int index, TypedValue outValue) argument
224 getType(int index) argument
236 hasValue(int index) argument
240 peekValue(int index) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DChildHelper.java89 * Add a view to the ViewGroup at an index
92 * @param index Index of the child from the regular perspective (excluding hidden views).
93 * ChildHelper offsets this index to actual ViewGroup index.
96 void addView(View child, int index, boolean hidden) { argument
98 if (index < 0) {
101 offset = getOffset(index);
109 Log.d(TAG, "addViewAt " + index + ",h:" + hidden + ", " + this);
113 private int getOffset(int index) { argument
114 if (index <
159 removeViewAt(int index) argument
179 getChildAt(int index) argument
227 attachViewToParent(View child, int index, ViewGroup.LayoutParams layoutParams, boolean hidden) argument
272 getUnfilteredChildAt(int index) argument
281 detachViewFromParent(int index) argument
405 set(int index) argument
420 clear(int index) argument
431 get(int index) argument
447 insert(int index, boolean value) argument
469 remove(int index) argument
492 countOnesBefore(int index) argument
517 addView(View child, int index) argument
521 removeViewAt(int index) argument
529 attachViewToParent(View child, int index, ViewGroup.LayoutParams layoutParams) argument
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DChildHelper.java89 * Add a view to the ViewGroup at an index
92 * @param index Index of the child from the regular perspective (excluding hidden views).
93 * ChildHelper offsets this index to actual ViewGroup index.
96 void addView(View child, int index, boolean hidden) { argument
98 if (index < 0) {
101 offset = getOffset(index);
109 Log.d(TAG, "addViewAt " + index + ",h:" + hidden + ", " + this);
113 private int getOffset(int index) { argument
114 if (index <
159 removeViewAt(int index) argument
179 getChildAt(int index) argument
227 attachViewToParent(View child, int index, ViewGroup.LayoutParams layoutParams, boolean hidden) argument
272 getUnfilteredChildAt(int index) argument
281 detachViewFromParent(int index) argument
405 set(int index) argument
420 clear(int index) argument
431 get(int index) argument
447 insert(int index, boolean value) argument
469 remove(int index) argument
492 countOnesBefore(int index) argument
517 addView(View child, int index) argument
521 removeViewAt(int index) argument
529 attachViewToParent(View child, int index, ViewGroup.LayoutParams layoutParams) argument
[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/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/com/android/internal/util/
H A DRingBufferIndices.java40 * @return Returns the index at which the new item appears, for placing in your array.
76 int index = mStart + pos;
77 if (index >= mCapacity) {
78 index -= mCapacity;
80 return index;
/frameworks/base/wifi/java/android/net/wifi/aware/
H A DWifiAwareUtils.java41 int index = 0;
42 while (index < serviceNameData.length) {
43 byte b = serviceNameData[index];
51 ++index;
/frameworks/base/rs/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/data-binding/extensions/library/src/main/java/android/databinding/
H A DObservableArrayList.java50 public void add(int index, T object) { argument
51 super.add(index, object);
52 notifyAdd(index, 1);
66 public boolean addAll(int index, Collection<? extends T> collection) { argument
67 boolean added = super.addAll(index, collection);
69 notifyAdd(index, collection.size());
84 public T remove(int index) { argument
85 T val = super.remove(index);
86 notifyRemove(index, 1);
92 int index
102 set(int index, T object) argument
[all...]

Completed in 2025 milliseconds

1234567891011>>