Searched defs:index (Results 126 - 150 of 908) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/omx/
H A DSoftOMXPlugin.cpp162 OMX_U32 index) {
163 if (index >= kNumComponents) {
167 strcpy(name, kComponents[index].mName);
159 enumerateComponents( OMX_STRING name, size_t , OMX_U32 index) argument
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPatch.cpp40 status_t AudioPatch::dump(int fd, int spaces, int index) const
46 snprintf(buffer, SIZE, "%*sAudio patch %d:\n", spaces, "", index+1);
92 ssize_t index = indexOfKey(handle); local
94 if (index >= 0) {
108 ssize_t index = indexOfKey(handle); local
110 if (index < 0) {
114 ALOGV("removeAudioPatch() handle %d af handle %d", handle, valueAt(index)->mAfPatchHandle);
115 removeItemsAt(index);
H A DEffectDescriptor.cpp87 ssize_t index = indexOfKey(id); local
88 if (index < 0) {
93 sp<EffectDescriptor> effectDesc = valueAt(index);
113 ssize_t index = indexOfKey(id); local
114 if (index < 0) {
119 return setEffectEnabled(valueAt(index), enabled);
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoDumper.java101 private static void dumpNodeRec(AccessibilityNodeInfo node, XmlSerializer serializer,int index, argument
106 serializer.attribute("", "index", Integer.toString(index));
/frameworks/base/core/java/android/app/
H A DTabActivity.java58 * @param index the index of the default tab
60 public void setDefaultTab(int index) { argument
62 mDefaultTabIndex = index;
H A DTaskStackBuilder.java194 * Return the intent at the specified index for modification.
198 * @param index Index from 0-getIntentCount()
199 * @return the intent at position index
201 public Intent editIntentAt(int index) { argument
202 return mIntents.get(index);
/frameworks/base/core/java/android/os/
H A DRegistrantList.java68 get(int index) argument
70 return registrants.get(index);
/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...]
H A DIntArray.java64 * @throws IndexOutOfBoundsException when index &lt; 0 || index &gt; size()
66 public void add(int index, int value) { argument
67 if (index < 0 || index > mSize) {
73 if (mSize - index != 0) {
74 System.arraycopy(mValues, index, mValues, index + 1, mSize - index);
77 mValues[index]
143 get(int index) argument
167 remove(int index) argument
[all...]
H A DLongSparseLongArray.java41 * <code>keyAt(int)</code> with ascending values of the index will return the
124 * Removes the mapping at the given index.
126 public void removeAt(int index) { argument
127 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1));
128 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
160 * Given an index i
169 keyAt(int index) argument
184 valueAt(int index) argument
[all...]
H A DSparseIntArray.java43 * <code>keyAt(int)</code> with ascending values of the index will return the
124 * Removes the mapping at the given index.
126 public void removeAt(int index) { argument
127 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1));
128 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
160 * Given an index i
169 keyAt(int index) argument
184 valueAt(int index) argument
192 setValueAt(int index, int value) argument
[all...]
H A DSparseLongArray.java41 * <code>keyAt(int)</code> with ascending values of the index will return the
122 * Removes the mapping at the given index.
124 public void removeAt(int index) { argument
125 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1));
126 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
158 * Given an index i
167 keyAt(int index) argument
182 valueAt(int index) argument
[all...]
H A DXmlPullAttributes.java37 public String getAttributeName(int index) { argument
38 return mParser.getAttributeName(index);
41 public String getAttributeValue(int index) { argument
42 return mParser.getAttributeValue(index);
53 public int getAttributeNameResource(int index) { argument
96 public int getAttributeListValue(int index, argument
99 getAttributeValue(index), options, defaultValue);
102 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { argument
104 getAttributeValue(index), defaultValue);
107 public int getAttributeResourceValue(int index, in argument
112 getAttributeIntValue(int index, int defaultValue) argument
117 getAttributeUnsignedIntValue(int index, int defaultValue) argument
122 getAttributeFloatValue(int index, float defaultValue) argument
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DCompletionInfo.java61 * @param index An index that get passed as is. Typically this is the
62 * index in the list of completions inside the editor.
66 public CompletionInfo(long id, int index, CharSequence text) { argument
68 mPosition = index;
80 * @param index An index that get passed as is. Typically this is the
81 * index in the list of completions inside the editor.
87 public CompletionInfo(long id, int index, CharSequence text, CharSequence label) { argument
89 mPosition = index;
[all...]
H A DInputMethodSubtypeArray.java123 * Return {@link InputMethodSubtype} specified with the given index.
128 * @param index The index of {@link InputMethodSubtype}.
130 public InputMethodSubtype get(final int index) { argument
131 if (index < 0 || mCount <= index) {
154 return instance[index];
/frameworks/base/core/java/android/view/textclassifier/
H A DTextLanguage.java30 * Specifies detected languages for a section of text indicated by a start and end index.
49 * Returns the start index of the detected languages in the text provided to generate this
57 * Returns the end index of the detected languages in the text provided to generate this object.
72 * Returns the language locale at the specified index.
75 * @throws IndexOutOfBoundsException if the specified index is out of range.
79 public Locale getLanguage(int index) { argument
80 return mLanguages.get(index);
112 * @param startIndex the start index of the detected languages in the text provided
114 * @param endIndex the end index of the detected languages in the text provided
/frameworks/base/core/java/android/widget/
H A DEditText.java126 public void setSelection(int index) { argument
127 Selection.setSelection(getText(), index);
140 public void extendSelection(int index) { argument
141 Selection.extendSelection(getText(), index);
/frameworks/base/core/java/com/android/internal/app/procstats/
H A DSysMemUsageTable.java79 * @param addOff The index in addOff to start copying from
111 * @param dstOff The index in the destination array to start from
113 * @param addOff The index in the source array to start from
176 private void dumpCategory(PrintWriter pw, String prefix, String label, int bucket, int index) { argument
179 DebugUtils.printSizeValue(pw, getValueForId((byte)bucket, index) * 1024);
181 DebugUtils.printSizeValue(pw, getValueForId((byte)bucket, index + 1) * 1024);
183 DebugUtils.printSizeValue(pw, getValueForId((byte)bucket, index+2) * 1024);
/frameworks/base/core/java/com/android/internal/inputmethod/
H A DLocaleUtils.java80 ScoreEntry(@NonNull byte[] score, int index) { argument
82 set(score, index);
85 private void set(@NonNull byte[] score, int index) { argument
89 mIndex = index;
93 * Update score and index if the given score is better than this.
95 public void updateIfBetter(@NonNull byte[] score, int index) { argument
97 set(score, index);
/frameworks/base/core/java/com/android/internal/widget/
H A DButtonBarLayout.java138 private int getNextVisibleChildIndex(int index) { argument
139 for (int i = index, count = getChildCount(); i < count; i++) {
H A DTextProgressBar.java82 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
83 super.addView(child, index, params);
/frameworks/base/core/jni/android/graphics/
H A DInterpolator.cpp24 static void Interpolator_setKeyFrame(JNIEnv* env, jobject clazz, jlong interpHandle, jint index, jint msec, jfloatArray valueArray, jfloatArray blendArray) argument
37 interp->setKeyFrame(index, msec, scalars, blend);
/frameworks/base/core/jni/
H A Dandroid_util_MemoryIntArray.cpp150 jint fd, jlong address, jint index)
167 std::atomic_int* value = reinterpret_cast<std::atomic_int*>(address) + index;
172 jint fd, jlong address, jint index, jint newValue)
189 std::atomic_int* value = reinterpret_cast<std::atomic_int*>(address) + index;
149 android_util_MemoryIntArray_get(JNIEnv* env, jobject clazz, jint fd, jlong address, jint index) argument
171 android_util_MemoryIntArray_set(JNIEnv* env, jobject clazz, jint fd, jlong address, jint index, jint newValue) argument
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DTextViewAssertions.java80 * a specified index.<br>
87 * @param index The expected index.
89 public static ViewAssertion hasInsertionPointerAtIndex(int index) { argument
90 return hasInsertionPointerAtIndex(is(index));
95 * a specified index.<br>
102 * @param index A matcher representing the expected index.
104 public static ViewAssertion hasInsertionPointerAtIndex(final Matcher<Integer> index) { argument
111 assertThat(selectionStart, index);
[all...]
/frameworks/base/core/tests/utiltests/src/android/util/
H A DRemoteIntArray.java74 public int get(int index) throws IOException { argument
76 return mRemoteInstance.get(index);
82 public void set(int index, int value) throws IOException { argument
84 mRemoteInstance.set(index, value);

Completed in 438 milliseconds

1234567891011>>