Searched refs:index (Results 1 - 25 of 1308) 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/include/androidfw/
H A DByteBucketArray.h50 inline const T& get(size_t index) const {
51 return (*this)[index];
54 const T& operator[](size_t index) const {
55 if (index >= size()) {
59 uint8_t bucketIndex = static_cast<uint8_t>(index) >> 4;
64 return bucket[0x0f & static_cast<uint8_t>(index)];
67 T& editItemAt(size_t index) { argument
68 ALOG_ASSERT(index < size(), "ByteBucketArray.getOrCreate(index=%u) with size=%u",
69 (uint32_t) index, (uint32_
[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/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/support/v7/appcompat/src/android/support/v7/widget/
H A DTintTypedArray.java63 public Drawable getDrawable(int index) { argument
64 if (mWrapped.hasValue(index)) {
65 final int resourceId = mWrapped.getResourceId(index, 0);
70 return mWrapped.getDrawable(index);
73 public Drawable getDrawableIfKnown(int index) { argument
74 if (mWrapped.hasValue(index)) {
75 final int resourceId = mWrapped.getResourceId(index, 0);
99 public CharSequence getText(int index) { argument
100 return mWrapped.getText(index);
103 public String getString(int index) { argument
107 getNonResourceString(int index) argument
111 getBoolean(int index, boolean defValue) argument
115 getInt(int index, int defValue) argument
119 getFloat(int index, float defValue) argument
123 getColor(int index, int defValue) argument
127 getColorStateList(int index) argument
141 getInteger(int index, int defValue) argument
145 getDimension(int index, float defValue) argument
149 getDimensionPixelOffset(int index, int defValue) argument
153 getDimensionPixelSize(int index, int defValue) argument
157 getLayoutDimension(int index, String name) argument
161 getLayoutDimension(int index, int defValue) argument
165 getFraction(int index, int base, int pbase, float defValue) argument
169 getResourceId(int index, int defValue) argument
173 getTextArray(int index) argument
177 getValue(int index, TypedValue outValue) argument
181 getType(int index) argument
193 hasValue(int index) argument
197 peekValue(int index) argument
[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/core/tests/utiltests/src/android/util/
H A DIRemoteMemoryIntArray.aidl25 int get(int index);
26 void set(int index, int value);
/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsicLUT.java60 private void validate(int index, int value) { argument
61 if (index < 0 || index > 255) {
72 * @param index Must be 0-255
75 public void setRed(int index, int value) { argument
76 validate(index, value);
77 mCache[index] = (byte)value;
84 * @param index Must be 0-255
87 public void setGreen(int index, int value) { argument
88 validate(index, valu
99 setBlue(int index, int value) argument
111 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...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicLUT.java70 private void validate(int index, int value) { argument
71 if (index < 0 || index > 255) {
82 * @param index Must be 0-255
85 public void setRed(int index, int value) { argument
86 validate(index, value);
87 mCache[index] = (byte)value;
94 * @param index Must be 0-255
97 public void setGreen(int index, int value) { argument
98 validate(index, valu
109 setBlue(int index, int value) argument
121 setAlpha(int index, int value) argument
[all...]

Completed in 813 milliseconds

1234567891011>>