/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/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); 68 public Drawable getDrawableIfKnown(int index) { argument 69 if (mWrapped.hasValue(index)) { 70 final int resourceId = mWrapped.getResourceId(index, 0); 94 public CharSequence getText(int index) { argument 95 return mWrapped.getText(index); 98 public String getString(int index) { argument 102 getNonResourceString(int index) argument 106 getBoolean(int index, boolean defValue) argument 110 getInt(int index, int defValue) argument 114 getFloat(int index, float defValue) argument 118 getColor(int index, int defValue) argument 122 getColorStateList(int index) argument 126 getInteger(int index, int defValue) argument 130 getDimension(int index, float defValue) argument 134 getDimensionPixelOffset(int index, int defValue) argument 138 getDimensionPixelSize(int index, int defValue) argument 142 getLayoutDimension(int index, String name) argument 146 getLayoutDimension(int index, int defValue) argument 150 getFraction(int index, int base, int pbase, float defValue) argument 154 getResourceId(int index, int defValue) argument 158 getTextArray(int index) argument 162 getValue(int index, TypedValue outValue) argument 166 getType(int index) argument 170 hasValue(int index) argument 174 peekValue(int index) argument [all...] |
/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/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 | 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/base/core/java/android/content/res/ |
H A D | TypedArray.java | 104 * Returns an index in the array that has data. 106 * @param at The index you would like to returned, ranging from 0 to 109 * @return The index at the given offset, which can be used with 135 * Retrieves the styled string value for the attribute at <var>index</var>. 140 * @param index Index of attribute to retrieve. 147 public CharSequence getText(int index) { argument 152 index *= AssetManager.STYLE_NUM_ENTRIES; 154 final int type = data[index+AssetManager.STYLE_TYPE]; 158 return loadStringValueAt(index); 162 if (getValueAt(index, 184 getString(int index) argument 223 getNonResourceString(int index) argument 254 getNonConfigurationString(int index, int allowedChangingConfigs) argument 298 getBoolean(int index, boolean defValue) argument 337 getInt(int index, int defValue) argument 374 getFloat(int index, float defValue) argument 423 getColor(int index, @ColorInt int defValue) argument 474 getColorStateList(int index) argument 505 getInteger(int index, int defValue) argument 551 getDimension(int index, float defValue) argument 598 getDimensionPixelOffset(int index, int defValue) argument 646 getDimensionPixelSize(int index, int defValue) argument 688 getLayoutDimension(int index, String name) argument 727 getLayoutDimension(int index, int defValue) argument 764 getFraction(int index, int base, int pbase, float defValue) argument 804 getResourceId(int index, int defValue) argument 832 getThemeAttributeId(int index, int defValue) argument 859 getDrawable(int index) argument 890 getTextArray(int index) argument 912 getValue(int index, TypedValue outValue) argument 928 getType(int index) argument 948 hasValue(int index) argument 969 hasValueOrEmpty(int index) argument 993 peekValue(int index) argument 1130 getValueAt(int index, TypedValue outValue) argument 1146 loadStringValueAt(int index) argument [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | ChildHelper.java | 89 * 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 386 set(int index) argument 401 clear(int index) argument 412 get(int index) argument 428 insert(int index, boolean value) argument 450 remove(int index) argument 473 countOnesBefore(int index) argument 498 addView(View child, int index) argument 502 removeViewAt(int index) argument 510 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/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/data-binding/library/src/main/java/android/databinding/ |
H A D | ObservableArrayList.java | 50 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 D | ScriptIntrinsicLUT.java | 70 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...] |
/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...] |