/frameworks/base/tools/split-select/ |
H A D | RuleGenerator.h | 31 static android::sp<Rule> generate(const android::SortedVector<SplitDescription>& group, size_t index); 33 static android::sp<Rule> generateAbi(const android::Vector<abi::Variant>& allVariants, size_t index); 34 static android::sp<Rule> generateDensity(const android::Vector<int>& allDensities, size_t index);
|
/frameworks/support/persistence/db/src/main/java/androidx/sqlite/db/ |
H A D | SimpleSQLiteQuery.java | 82 private static void bind(SupportSQLiteProgram statement, int index, Object arg) { argument 85 statement.bindNull(index); 87 statement.bindBlob(index, (byte[]) arg); 89 statement.bindDouble(index, (Float) arg); 91 statement.bindDouble(index, (Double) arg); 93 statement.bindLong(index, (Long) arg); 95 statement.bindLong(index, (Integer) arg); 97 statement.bindLong(index, (Short) arg); 99 statement.bindLong(index, (Byte) arg); 101 statement.bindString(index, (Strin [all...] |
/frameworks/base/core/java/android/util/ |
H A D | ArrayMap.java | 122 int index = binarySearchHashes(mHashes, N, hash); 125 if (index < 0) { 126 return index; 129 // If the key at the returned index matches, that's what we want. 130 if (key.equals(mArray[index<<1])) { 131 return index; 134 // Search for a matching key after the index. 136 for (end = index + 1; end < N && mHashes[end] == hash; end++) { 140 // Search for a matching key before the index. 141 for (int i = index 429 keyAt(int index) argument 438 valueAt(int index) argument 448 setValueAt(int index, V value) argument 640 removeAt(int index) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | d1035pf.h | 106 Word16 index[], /* (i) : index of 10 pulses (sign+position) */
|
H A D | d2_11pf.h | 85 Word16 index, /* i : Positions of the 2 pulses. */
|
H A D | d3_14pf.h | 106 Word16 index, /* i : Positions of the 3 pulses. */
|
H A D | d4_17pf.h | 107 Word16 index, /* i : Positions of the 4 pulses. */
|
H A D | d8_31pf.h | 107 Word16 index[], /* i : index of 8 pulses (sign+position) */
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
H A D | ShortButtons.java | 37 public Button getButtonAt(int index) { argument 38 if (index < 3) { 39 return getContentChildAt(index); 42 return (Button) ll.getChildAt(index - 3);
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
H A D | IRemoteMemoryIntArray.aidl | 25 int get(int index); 26 void set(int index, int value);
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | UnmodifiableSparseIntArray.java | 45 public int keyAt(int index) { argument 46 return mArray.keyAt(index); 49 public int valueAt(int index) { argument 50 return mArray.valueAt(index);
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
H A D | Usb10ACHeader.java | 60 for (int index = 0; index < mNumInterfaces; index++) { 61 mInterfaceNums[index] = stream.getByte(); 80 for (int index = 0; index < numInterfaces; index++) { 81 sb.append("" + interfaceNums[index]); 82 if (index < numInterfaces - 1) {
|
H A D | Usb20ACMixerUnit.java | 48 for (int index = 0; index < controlArraySize; index++) { 49 mControls[index] = stream.getByte();
|
H A D | UsbACSelectorUnit.java | 60 for (int index = 0; index < mNumPins; index++) { 61 mSourceIDs[index] = stream.getByte();
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
H A D | MemoryAccessTask.java | 42 for (int index = 0; index < BUFFER_SIZE; index += BUFFER_STEP) { 43 result += ++memory[index];
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glGetActiveAttrib.java | 1 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 5 int index, 17 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 22 int index, 30 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 34 int index, 41 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 45 int index, 3 glGetActiveAttrib( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument 20 glGetActiveAttrib( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument 32 glGetActiveAttrib( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument 43 glGetActiveAttrib( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type ) argument
|
H A D | glGetActiveUniform.java | 1 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 5 int index, 17 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 22 int index, 29 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 33 int index, 40 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 44 int index, 3 glGetActiveUniform( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument 20 glGetActiveUniform( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument 31 glGetActiveUniform( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument 42 glGetActiveUniform( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type ) argument
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
H A D | GridTest.java | 46 public int createItem(int index, boolean append, Object[] item, boolean disappearingItem) { argument 47 return mItems[index]; 51 public void addItem(Object item, int index, int length, int rowIndex, int edge) { argument 56 mEdges[index] = edge; 60 public void removeItem(int index) { argument 64 public int getEdge(int index) { argument 65 return mEdges[index]; 69 public int getSize(int index) { argument 70 return mItems[index];
|
/frameworks/base/libs/hwui/ |
H A D | ProfileData.cpp | 44 uint32_t index = static_cast<uint32_t>(ns2ms(frameTime)); local 45 // If index > kBucketMinThreshold mask will be 0xFFFFFFFF as a result 47 uint32_t mask = -(index > kBucketMinThreshold); 48 // If index > threshold, this will essentially perform: 49 // amountAboveThreshold = index - threshold; 50 // index = threshold + (amountAboveThreshold / 2) 51 // However if index is <= this will do nothing. It will underflow, do 53 index = ((index - kBucket4msIntervals) >> (index > kBucket4msInterval 63 frameTimeForFrameCountIndex(uint32_t index) argument 76 frameTimeForSlowFrameCountIndex(uint32_t index) argument [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | TypedArray.java | 129 * Returns an index in the array that has data. Attributes with a value of @empty are included, 132 * @param at The index you would like to returned, ranging from 0 to 135 * @return The index at the given offset, which can be used with 161 * Retrieves the styled string value for the attribute at <var>index</var>. 166 * @param index Index of attribute to retrieve. 173 public CharSequence getText(@StyleableRes int index) { argument 178 index *= STYLE_NUM_ENTRIES; 180 final int type = data[index + STYLE_TYPE]; 184 return loadStringValueAt(index); 188 if (getValueAt(index, 210 getString(@tyleableRes int index) argument 249 getNonResourceString(@tyleableRes int index) argument 279 getNonConfigurationString(@tyleableRes int index, @Config int allowedChangingConfigs) argument 326 getBoolean(@tyleableRes int index, boolean defValue) argument 365 getInt(@tyleableRes int index, int defValue) argument 402 getFloat(@tyleableRes int index, float defValue) argument 451 getColor(@tyleableRes int index, @ColorInt int defValue) argument 503 getComplexColor(@tyleableRes int index) argument 538 getColorStateList(@tyleableRes int index) argument 569 getInteger(@tyleableRes int index, int defValue) argument 617 getDimension(@tyleableRes int index, float defValue) argument 665 getDimensionPixelOffset(@tyleableRes int index, int defValue) argument 714 getDimensionPixelSize(@tyleableRes int index, int defValue) argument 757 getLayoutDimension(@tyleableRes int index, String name) argument 797 getLayoutDimension(@tyleableRes int index, int defValue) argument 833 getFraction(@tyleableRes int index, int base, int pbase, float defValue) argument 874 getResourceId(@tyleableRes int index, int defValue) argument 902 getThemeAttributeId(@tyleableRes int index, int defValue) argument 929 getDrawable(@tyleableRes int index) argument 938 getDrawableForDensity(@tyleableRes int index, int density) argument 974 getFont(@tyleableRes int index) argument 1005 getTextArray(@tyleableRes int index) argument 1027 getValue(@tyleableRes int index, TypedValue outValue) argument 1043 getType(@tyleableRes int index) argument 1063 hasValue(@tyleableRes int index) argument 1084 hasValueOrEmpty(@tyleableRes int index) argument 1108 peekValue(@tyleableRes int index) argument 1247 getValueAt(int index, TypedValue outValue) argument 1264 loadStringValueAt(int index) argument [all...] |
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
H A D | fp_mad.rs | 24 static void test_mad4(uint32_t index) { 43 float time = end(index); 47 static void test_mad(uint32_t index) { 66 float time = end(index); 70 static void test_norm(uint32_t index) { 80 float time = end(index); 84 static void test_sincos4(uint32_t index) { 94 float time = end(index); 98 static void test_sincos(uint32_t index) { 108 float time = end(index); [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | chvr_filter.cpp | 35 int index, counter; local 87 /* brwidth is used as an index when counting blocks */ 102 /* Set the index to the current block of the second row counting in blocks */ 103 index = brwidth + bc; 109 QP = QP_store[index]; 114 if (((pp_mod[index]&0x02) != 0) && ((pp_mod[index-pp_w]&0x02) != 0)) 118 pp_mod[index-pp_w] |= 0x10; /* 4/26/00 reuse pp_mod for HorzHflag*/ 121 for (index = BLKSIZE; index > [all...] |
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
H A D | ViewDataBinding.java | 282 * @param localFieldId The index into mLocalFieldObservers that this Object resides in. 558 * @param includes The include layout information, indexed by their container's index. 670 protected static <T> T getFromArray(T[] arr, int index) { argument 671 if (arr == null || index < 0 || index >= arr.length) { 674 return arr[index]; 678 protected static <T> void setTo(T[] arr, int index, T value) { argument 679 if (arr == null || index < 0 || index >= arr.length) { 682 arr[index] 686 getFromArray(boolean[] arr, int index) argument 694 setTo(boolean[] arr, int index, boolean value) argument 702 getFromArray(byte[] arr, int index) argument 710 setTo(byte[] arr, int index, byte value) argument 718 getFromArray(short[] arr, int index) argument 726 setTo(short[] arr, int index, short value) argument 734 getFromArray(char[] arr, int index) argument 742 setTo(char[] arr, int index, char value) argument 750 getFromArray(int[] arr, int index) argument 758 setTo(int[] arr, int index, int value) argument 766 getFromArray(long[] arr, int index) argument 774 setTo(long[] arr, int index, long value) argument 782 getFromArray(float[] arr, int index) argument 790 setTo(float[] arr, int index, float value) argument 798 getFromArray(double[] arr, int index) argument 806 setTo(double[] arr, int index, double value) argument 814 getFromList(List<T> list, int index) argument 822 setTo(List<T> list, int index, T value) argument 830 getFromList(SparseArray<T> list, int index) argument 838 setTo(SparseArray<T> list, int index, T value) argument 847 getFromList(LongSparseArray<T> list, int index) argument 856 setTo(LongSparseArray<T> list, int index, T value) argument 864 getFromList(android.support.v4.util.LongSparseArray<T> list, int index) argument 872 setTo(android.support.v4.util.LongSparseArray<T> list, int index, T value) argument 881 getFromList(SparseBooleanArray list, int index) argument 889 setTo(SparseBooleanArray list, int index, boolean value) argument 897 getFromList(SparseIntArray list, int index) argument 905 setTo(SparseIntArray list, int index, int value) argument 914 getFromList(SparseLongArray list, int index) argument 923 setTo(SparseLongArray list, int index, long value) argument 1340 setIncludes(int index, String[] layouts, int[] indexes, int[] layoutIds) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | AnswerToReset.java | 97 int index = startIndex + 1; 98 while (index < startIndex + length && index > 0) { 99 index = parseLtvNode(index, nodes, originalData, startIndex + length - 1); 101 if (index < 0) { 116 int index, ArrayMap<Integer, byte[]> nodes, byte[] data, int lastByteIndex) { 117 if (index > lastByteIndex) { 120 int tag = (data[index] & TAG_MASK) >> 4; 121 int length = data[index 115 parseLtvNode( int index, ArrayMap<Integer, byte[]> nodes, byte[] data, int lastByteIndex) argument 163 parseConventionByte(byte[] atrBytes, int index) argument 180 parseFormatByte(byte[] atrBytes, int index) argument 190 parseInterfaceBytes(byte[] atrBytes, int index) argument 254 parseHistoricalBytes(byte[] atrBytes, int index) argument 266 parseCheckBytes(byte[] atrBytes, int index) argument [all...] |
/frameworks/av/drm/mediacas/plugins/clearkey/ |
H A D | ClearKeySessionLibrary.cpp | 76 ssize_t index = mIDToSessionMap.indexOfKey(sessionId); local 77 if (index < 0) { 86 ssize_t index = mIDToSessionMap.indexOfKey(sessionId); local 87 if (index < 0) { 91 sp<ClearKeyCasSession> session = mIDToSessionMap.valueAt(index); 92 mIDToSessionMap.removeItemsAt(index); 98 for (ssize_t index = (ssize_t)mIDToSessionMap.size() - 1; index >= 0; index--) { 99 sp<ClearKeyCasSession> session = mIDToSessionMap.valueAt(index); [all...] |