/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glGetProgramResourceName.java | 1 // C function void glGetProgramResourceName ( GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name ) 6 int index
|
H A D | glGetStringi.java | 1 // C function const GLubyte * glGetStringi ( GLenum name, GLuint index ) 5 int index
|
H A D | glGetStringi.cpp | 1 /* 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 D | dec_acelp_2p_in_64.cpp | 47 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 D | d2_11pf.cpp | 95 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 D | d3_14pf.cpp | 101 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 D | d4_17pf.cpp | 121 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 D | d_gain_p.cpp | 59 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 D | q_pulse.c | 36 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 D | CursorIndexOutOfBoundsException.java | 24 public CursorIndexOutOfBoundsException(int index, int size) { argument 25 super("Index " + index + " requested, with a size of " + size);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | TintTypedArray.java | 58 public Drawable getDrawable(int index) { argument 59 if (mWrapped.hasValue(index)) { 60 final int resourceId = mWrapped.getResourceId(index, 0); 65 return mWrapped.getDrawable(index); 84 public CharSequence getText(int index) { argument 85 return mWrapped.getText(index); 88 public String getString(int index) { argument 89 return mWrapped.getString(index); 92 public String getNonResourceString(int index) { argument 93 return mWrapped.getNonResourceString(index); 96 getBoolean(int index, boolean defValue) argument 100 getInt(int index, int defValue) argument 104 getFloat(int index, float defValue) argument 108 getColor(int index, int defValue) argument 112 getColorStateList(int index) argument 116 getInteger(int index, int defValue) argument 120 getDimension(int index, float defValue) argument 124 getDimensionPixelOffset(int index, int defValue) argument 128 getDimensionPixelSize(int index, int defValue) argument 132 getLayoutDimension(int index, String name) argument 136 getLayoutDimension(int index, int defValue) argument 140 getFraction(int index, int base, int pbase, float defValue) argument 144 getResourceId(int index, int defValue) argument 148 getTextArray(int index) argument 152 getValue(int index, TypedValue outValue) argument 156 getType(int index) argument 160 hasValue(int index) argument 164 peekValue(int index) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | GrowingArrayUtils.java | 100 * Inserts an element into the array at the specified index, growing the array if there is no 110 public static <T> T[] insert(T[] array, int currentSize, int index, T element) { argument 114 System.arraycopy(array, index, array, index + 1, currentSize - index); 115 array[index] = element; 122 System.arraycopy(array, 0, newArray, 0, index); 123 newArray[index] = element; 124 System.arraycopy(array, index, newArray, index 131 insert(int[] array, int currentSize, int index, int element) argument 150 insert(long[] array, int currentSize, int index, long element) argument 169 insert(boolean[] array, int currentSize, int index, boolean element) argument [all...] |
/frameworks/base/media/java/android/mtp/ |
H A D | MtpPropertyList.java | 54 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 D | XmlUtils_Delegate.java | 43 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/base/include/androidfw/ |
H A D | ByteBucketArray.h | 50 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 D | IntArray.java | 63 * @throws IndexOutOfBoundsException when index < 0 || index > size() 65 public void add(int index, int value) { argument 66 if (index < 0 || index > mSize) { 72 if (mSize - index != 0) { 73 System.arraycopy(mValues, index, mValues, index + 1, mSize - index); 76 mValues[index] 124 get(int index) argument 148 remove(int index) argument [all...] |
H A D | LongArray.java | 62 * @throws IndexOutOfBoundsException when index < 0 || index > 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 D | ChildHelper.java | 65 * Add a view to the ViewGroup at an index 68 * @param index Index of the child from the regular perspective (excluding hidden views). 69 * ChildHelper offsets this index to actual ViewGroup index. 72 void addView(View child, int index, boolean hidden) { argument 74 if (index < 0) { 77 offset = getOffset(index); 85 Log.d(TAG, "addViewAt " + index + ",h:" + hidden + ", " + this); 89 private int getOffset(int index) { argument 90 if (index < 135 removeViewAt(int index) argument 155 getChildAt(int index) argument 200 attachViewToParent(View child, int index, ViewGroup.LayoutParams layoutParams, boolean hidden) argument 245 getUnfilteredChildAt(int index) argument 254 detachViewFromParent(int index) argument 359 set(int index) argument 374 clear(int index) argument 385 get(int index) argument 401 insert(int index, boolean value) argument 423 remove(int index) argument 446 countOnesBefore(int index) argument 471 addView(View child, int index) argument 475 removeViewAt(int index) argument 483 attachViewToParent(View child, int index, ViewGroup.LayoutParams layoutParams) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | q_gain_p.cpp | 130 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/base/core/java/android/content/res/ |
H A D | TypedArray.java | 98 * Return an index in the array that has data. 100 * @param at The index you would like to returned, ranging from 0 to 103 * @return The index at the given offset, which can be used with 126 * Retrieve the styled string value for the attribute at <var>index</var>. 128 * @param index Index of attribute to retrieve. 133 public CharSequence getText(int index) { argument 138 index *= AssetManager.STYLE_NUM_ENTRIES; 140 final int type = data[index+AssetManager.STYLE_TYPE]; 144 return loadStringValueAt(index); 148 if (getValueAt(index, 165 getString(int index) argument 204 getNonResourceString(int index) argument 234 getNonConfigurationString(int index, int allowedChangingConfigs) argument 270 getBoolean(int index, boolean defValue) argument 304 getInt(int index, int defValue) argument 337 getFloat(int index, float defValue) argument 379 getColor(int index, int defValue) argument 417 getColorStateList(int index) argument 441 getInteger(int index, int defValue) argument 478 getDimension(int index, float defValue) argument 516 getDimensionPixelOffset(int index, int defValue) argument 555 getDimensionPixelSize(int index, int defValue) argument 588 getLayoutDimension(int index, String name) argument 623 getLayoutDimension(int index, int defValue) argument 657 getFraction(int index, int base, int pbase, float defValue) argument 692 getResourceId(int index, int defValue) argument 718 getThemeAttributeId(int index, int defValue) argument 739 getDrawable(int index) argument 764 getTextArray(int index) argument 785 getValue(int index, TypedValue outValue) argument 799 getType(int index) argument 818 hasValue(int index) argument 838 hasValueOrEmpty(int index) argument 861 peekValue(int index) argument 970 getValueAt(int index, TypedValue outValue) argument 986 loadStringValueAt(int index) argument [all...] |
/frameworks/wilhelm/doc/ |
H A D | Makefile | 1 html/index.html : Doxyfile clean
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
H A D | d_gain_p.h | 39 * 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/rs/java/android/renderscript/ |
H A D | ScriptIntrinsicLUT.java | 60 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/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ScriptIntrinsicLUT.java | 68 private void validate(int index, int value) { argument 69 if (index < 0 || index > 255) { 80 * @param index Must be 0-255 83 public void setRed(int index, int value) { argument 84 validate(index, value); 85 mCache[index] = (byte)value; 92 * @param index Must be 0-255 95 public void setGreen(int index, int value) { argument 96 validate(index, valu 107 setBlue(int index, int value) argument 119 setAlpha(int index, int value) argument [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | SparseArrayObjectAdapter.java | 45 * Returns the index for the given item in the adapter. 55 * Returns the index for the given key in the adapter. 82 int index = mItems.indexOfKey(key); 83 if (index >= 0) { 84 if (mItems.valueAt(index) != item) { 85 mItems.setValueAt(index, item); 86 notifyItemRangeChanged(index, 1); 90 index = mItems.indexOfKey(key); 91 notifyItemRangeInserted(index, 1); 101 int index [all...] |