Searched refs:index (Results 1 - 25 of 1822) 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/support/core/ktx/src/main/java/androidx/core/content/res/
H A DTypedArray.kt29 private fun TypedArray.checkAttribute(@StyleableRes index: Int) {
30 if (!hasValue(index)) {
36 * Retrieve the boolean value for the attribute at [index] or throws [IllegalArgumentException]
42 fun TypedArray.getBooleanOrThrow(@StyleableRes index: Int): Boolean {
43 checkAttribute(index)
44 return getBoolean(index, false)
48 * Retrieve the color value for the attribute at [index] or throws [IllegalArgumentException]
55 fun TypedArray.getColorOrThrow(@StyleableRes index: Int): Int {
56 checkAttribute(index)
57 return getColor(index,
[all...]
/frameworks/base/cmds/statsd/src/condition/
H A DConditionWizard.cpp27 ConditionState ConditionWizard::query(const int index, const ConditionKey& parameters, argument
34 mAllConditions[index]->isConditionMet(
37 return cache[index];
41 const int index, const vector<Matcher>& dimensionFields,
44 return mAllConditions[index]->getMetConditionDimension(mAllConditions, dimensionFields,
50 const int index) const {
51 return mAllConditions[index]->getChangedToTrueDimensions(mAllConditions);
55 const int index) const {
56 return mAllConditions[index]->getChangedToFalseDimensions(mAllConditions);
59 bool ConditionWizard::IsChangedDimensionTrackable(const int index) { argument
40 getMetConditionDimension( const int index, const vector<Matcher>& dimensionFields, const bool isSubOutputDimensionFields, std::unordered_set<HashableDimensionKey>* dimensionsKeySet) const argument
67 IsSimpleCondition(const int index) argument
75 equalOutputDimensions(const int index, const vector<Matcher>& dimensions) argument
[all...]
/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/support/persistence/db/src/main/java/androidx/sqlite/db/
H A DSupportSQLiteProgram.java31 * @param index The 1-based index to the parameter to bind null to
33 void bindNull(int index); argument
39 * @param index The 1-based index to the parameter to bind
42 void bindLong(int index, long value); argument
48 * @param index The 1-based index to the parameter to bind
51 void bindDouble(int index, double value); argument
57 * @param index Th
60 bindString(int index, String value) argument
69 bindBlob(int index, byte[] value) argument
[all...]
/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/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/persistence/db-framework/src/main/java/androidx/sqlite/db/framework/
H A DFrameworkSQLiteProgram.java34 public void bindNull(int index) { argument
35 mDelegate.bindNull(index);
39 public void bindLong(int index, long value) { argument
40 mDelegate.bindLong(index, value);
44 public void bindDouble(int index, double value) { argument
45 mDelegate.bindDouble(index, value);
49 public void bindString(int index, String value) { argument
50 mDelegate.bindString(index, value);
54 public void bindBlob(int index, byte[] value) { argument
55 mDelegate.bindBlob(index, valu
[all...]
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/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/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DTintTypedArray.java72 public Drawable getDrawable(int index) { argument
73 if (mWrapped.hasValue(index)) {
74 final int resourceId = mWrapped.getResourceId(index, 0);
79 return mWrapped.getDrawable(index);
82 public Drawable getDrawableIfKnown(int index) { argument
83 if (mWrapped.hasValue(index)) {
84 final int resourceId = mWrapped.getResourceId(index, 0);
93 * Retrieve the Typeface for the attribute at <var>index</var>.
98 * @param index Index of attribute to retrieve.
110 public Typeface getFont(@StyleableRes int index, in argument
138 getText(int index) argument
142 getString(int index) argument
146 getNonResourceString(int index) argument
150 getBoolean(int index, boolean defValue) argument
154 getInt(int index, int defValue) argument
158 getFloat(int index, float defValue) argument
162 getColor(int index, int defValue) argument
166 getColorStateList(int index) argument
180 getInteger(int index, int defValue) argument
184 getDimension(int index, float defValue) argument
188 getDimensionPixelOffset(int index, int defValue) argument
192 getDimensionPixelSize(int index, int defValue) argument
196 getLayoutDimension(int index, String name) argument
200 getLayoutDimension(int index, int defValue) argument
204 getFraction(int index, int base, int pbase, float defValue) argument
208 getResourceId(int index, int defValue) argument
212 getTextArray(int index) argument
216 getValue(int index, TypedValue outValue) argument
220 getType(int index) argument
232 hasValue(int index) argument
236 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/main/java/androidx/recyclerview/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/leanback/src/main/java/androidx/leanback/widget/
H A DPlaybackSeekDataProvider.java37 * @param index Index of {@link #getSeekPositions()}.
39 public void onThumbnailLoaded(Bitmap bitmap, int index) { argument
60 * getThumbnail() will be called with increasing index; when seeking left, getThumbnail() will
61 * be called with decreasing index. The increment of index can be used by subclass to determine
64 * @param index Index of position in {@link #getSeekPositions()}.
68 public void getThumbnail(int index, ResultCallback callback) { argument
/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;

Completed in 538 milliseconds

1234567891011>>