Searched refs:index (Results 51 - 75 of 1601) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd4_17pf.h107 Word16 index, /* i : Positions of the 4 pulses. */
H A Dd8_31pf.h107 Word16 index[], /* i : index of 8 pulses (sign+position) */
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/
H A DomxVCCOMM_Copy16x16.c75 OMX_INT count,index, x, y; local
86 for (y = 0, count = 0, index = 0; y < 16; y++, count = count + step - 16)
88 for (x = 0; x < 16; x++, count++, index++)
90 pDst[index] = pSrc[count];
H A DomxVCCOMM_Copy8x8.c75 OMX_INT count,index, x, y; local
86 for (y = 0, count = 0, index = 0; y < 8; y++, count = count + step - 8)
88 for (x = 0; x < 8; x++, count++, index++)
90 pDst[index] = pSrc[count];
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DShortButtons.java37 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 DIRemoteMemoryIntArray.aidl25 int get(int index);
26 void set(int index, int value);
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DUnmodifiableSparseIntArray.java45 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/tests/SurfaceComposition/src/android/surfacecomposition/
H A DMemoryAccessTask.java42 for (int index = 0; index < BUFFER_SIZE; index += BUFFER_STEP) {
43 result += ++memory[index];
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetActiveAttrib.java1 // 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 DglGetActiveUniform.java1 // 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/base/core/java/android/util/
H A DAttributeSet.java69 * @param index Index of the desired attribute, 0...count-1.
74 public String getAttributeName(int index); argument
79 * @param index Index of the desired attribute, 0...count-1.
84 public String getAttributeValue(int index); argument
118 * @param index Index of the desired attribute, 0...count-1.
122 public int getAttributeNameResource(int index); argument
125 * Return the index of the value of 'attribute' in the list 'options'.
207 * Return the index of the value of attribute at 'index' in the list
210 * @param index Inde
217 getAttributeListValue(int index, String[] options, int defaultValue) argument
227 getAttributeBooleanValue(int index, boolean defaultValue) argument
243 getAttributeResourceValue(int index, int defaultValue) argument
253 getAttributeIntValue(int index, int defaultValue) argument
265 getAttributeUnsignedIntValue(int index, int defaultValue) argument
275 getAttributeFloatValue(int index, float defaultValue) argument
[all...]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DGridTest.java46 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/core/java/android/content/res/
H A DTypedArray.java120 * Returns an index in the array that has data. Attributes with a value of @empty are included,
123 * @param at The index you would like to returned, ranging from 0 to
126 * @return The index at the given offset, which can be used with
152 * Retrieves the styled string value for the attribute at <var>index</var>.
157 * @param index Index of attribute to retrieve.
164 public CharSequence getText(@StyleableRes int index) { argument
169 index *= AssetManager.STYLE_NUM_ENTRIES;
171 final int type = data[index+AssetManager.STYLE_TYPE];
175 return loadStringValueAt(index);
179 if (getValueAt(index,
201 getString(@tyleableRes int index) argument
240 getNonResourceString(@tyleableRes int index) argument
271 getNonConfigurationString(@tyleableRes int index, @Config int allowedChangingConfigs) argument
318 getBoolean(@tyleableRes int index, boolean defValue) argument
357 getInt(@tyleableRes int index, int defValue) argument
394 getFloat(@tyleableRes int index, float defValue) argument
443 getColor(@tyleableRes int index, @ColorInt int defValue) argument
495 getComplexColor(@tyleableRes int index) argument
530 getColorStateList(@tyleableRes int index) argument
561 getInteger(@tyleableRes int index, int defValue) argument
609 getDimension(@tyleableRes int index, float defValue) argument
658 getDimensionPixelOffset(@tyleableRes int index, int defValue) argument
708 getDimensionPixelSize(@tyleableRes int index, int defValue) argument
752 getLayoutDimension(@tyleableRes int index, String name) argument
793 getLayoutDimension(@tyleableRes int index, int defValue) argument
830 getFraction(@tyleableRes int index, int base, int pbase, float defValue) argument
872 getResourceId(@tyleableRes int index, int defValue) argument
900 getThemeAttributeId(@tyleableRes int index, int defValue) argument
927 getDrawable(@tyleableRes int index) argument
936 getDrawableForDensity(@tyleableRes int index, int density) argument
972 getFont(@tyleableRes int index) argument
1003 getTextArray(@tyleableRes int index) argument
1025 getValue(@tyleableRes int index, TypedValue outValue) argument
1041 getType(@tyleableRes int index) argument
1061 hasValue(@tyleableRes int index) argument
1082 hasValueOrEmpty(@tyleableRes int index) argument
1106 peekValue(@tyleableRes int index) argument
1245 getValueAt(int index, TypedValue outValue) argument
1262 loadStringValueAt(int index) argument
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DSortedList.java123 * use {@link #updateItemAt(int, Object)}. You can find the index of the item using
128 * @return The index of the newly added item.
392 int index = findIndexOf(item, mData, 0, mSize, INSERTION);
393 if (index == INVALID_POSITION) {
394 index = 0;
395 } else if (index < mSize) {
396 T existing = mData[index];
400 mData[index] = item;
401 return index;
403 mData[index]
435 removeItemAt(int index) argument
451 removeItemAtIndex(int index, boolean notify) argument
480 updateItemAt(int index, T item) argument
534 recalculatePositionOfItemAt(int index) argument
554 get(int index) argument
642 addToData(int index, T item) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dchvr_filter.cpp35 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/support/tv-provider/src/android/support/media/tv/
H A DChannel.java400 int index;
401 if ((index = cursor.getColumnIndex(Channels._ID)) >= 0 && !cursor.isNull(index)) {
402 builder.setId(cursor.getLong(index));
404 if ((index = cursor.getColumnIndex(Channels.COLUMN_DESCRIPTION)) >= 0
405 && !cursor.isNull(index)) {
406 builder.setDescription(cursor.getString(index));
408 if ((index = cursor.getColumnIndex(Channels.COLUMN_DISPLAY_NAME)) >= 0
409 && !cursor.isNull(index)) {
410 builder.setDisplayName(cursor.getString(index));
[all...]
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
H A DViewDataBinding.java282 * @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/av/drm/mediacas/plugins/clearkey/
H A DClearKeySessionLibrary.cpp76 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 = mIDToSessionMap.size() - 1; index >= 0; index--) {
99 sp<ClearKeyCasSession> session = mIDToSessionMap.valueAt(index);
[all...]
/frameworks/av/drm/mediacas/plugins/mock/
H A DMockSessionLibrary.cpp63 ssize_t index = mIDToSessionMap.indexOfKey(sessionId); local
64 if (index < 0) {
73 ssize_t index = mIDToSessionMap.indexOfKey(sessionId); local
74 if (index < 0) {
78 sp<MockCasSession> session = mIDToSessionMap.valueAt(index);
79 mIDToSessionMap.removeItemsAt(index);
85 for (ssize_t index = mIDToSessionMap.size() - 1; index >= 0; index--) {
86 sp<MockCasSession> session = mIDToSessionMap.valueAt(index);
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccController.java125 Integer index = new Integer(i);
126 mCis[i].registerForIccStatusChanged(this, EVENT_ICC_STATUS_CHANGED, index);
134 mCis[i].registerForAvailable(this, EVENT_ICC_STATUS_CHANGED, index);
136 mCis[i].registerForOn(this, EVENT_ICC_STATUS_CHANGED, index);
138 mCis[i].registerForNotAvailable(this, EVENT_RADIO_UNAVAILABLE, index);
139 mCis[i].registerForIccRefresh(this, EVENT_SIM_REFRESH, index);
215 Integer index = getCiIndex(msg);
217 if (index < 0 || index >= mCis.length) {
218 Rlog.e(LOG_TAG, "Invalid index
285 onGetIccCardStatusDone(AsyncResult ar, Integer index) argument
312 onSimRefresh(AsyncResult ar, Integer index) argument
351 isValidCardIndex(int index) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DCursorObjectAdapter.java137 public Object get(int index) { argument
141 if (!mCursor.moveToPosition(index)) {
144 Object item = mItemCache.get(index);
149 mItemCache.put(index, item);
175 protected final void invalidateCache(int index) { argument
176 mItemCache.remove(index);
180 * Removes {@code count} items starting at {@code index}.
182 protected final void invalidateCache(int index, int count) { argument
183 for (int limit = count + index; index < limi
[all...]
H A DSingleRow.java34 public final Location getLocation(int index) { argument
79 for (int index = getStartIndexForPrepend(); index >= minIndex; index--) {
80 int size = mProvider.createItem(index, false, mTmpItem, false);
84 mLastVisibleIndex = mFirstVisibleIndex = index;
87 edge = mProvider.getEdge(index + 1) + mSpacing + size;
89 edge = mProvider.getEdge(index + 1) - mSpacing - size;
91 mFirstVisibleIndex = index;
93 mProvider.addItem(mTmpItem[0], index, siz
[all...]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DGenerationRegistry.java56 final int index = getKeyIndexLocked(key, mKeyToIndexMap, backingStore);
57 if (index >= 0) {
58 final int generation = backingStore.get(index) + 1;
59 backingStore.set(index, generation);
74 final int index = getKeyIndexLocked(key, mKeyToIndexMap, backingStore);
75 if (index >= 0) {
78 bundle.putInt(Settings.CALL_METHOD_GENERATION_INDEX_KEY, index);
80 backingStore.get(index));
82 Slog.i(LOG_TAG, "Exported index:" + index
[all...]
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DBrowseAnimationFragment.java98 int index = adapter.indexOf(item);
99 if (index >= 0) {
100 if (index > 0)
101 index--;
102 adapter.removeItems(index, 1);
113 int index = adapter.indexOf(item);
114 if (index >= 0) {
115 if (index < adapter.size() - 1)
116 index++;
117 adapter.removeItems(index,
[all...]
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DBrowseAnimationFragment.java98 int index = adapter.indexOf(item);
99 if (index >= 0) {
100 if (index > 0)
101 index--;
102 adapter.removeItems(index, 1);
113 int index = adapter.indexOf(item);
114 if (index >= 0) {
115 if (index < adapter.size() - 1)
116 index++;
117 adapter.removeItems(index,
[all...]

Completed in 529 milliseconds

1234567891011>>