/frameworks/av/media/libstagefright/foundation/ |
H A D | ALooperRoster.cpp | 59 ssize_t index = mHandlers.indexOfKey(handlerID); local 61 if (index < 0) { 65 const HandlerInfo &info = mHandlers.valueAt(index); 73 mHandlers.removeItemsAt(index);
|
/frameworks/av/media/libstagefright/omx/ |
H A D | SoftOMXPlugin.cpp | 161 OMX_U32 index) { 162 if (index >= kNumComponents) { 166 strcpy(name, kComponents[index].mName); 158 enumerateComponents( OMX_STRING name, size_t , OMX_U32 index) argument
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioPatch.cpp | 38 status_t AudioPatch::dump(int fd, int spaces, int index) const 44 snprintf(buffer, SIZE, "%*sAudio patch %d:\n", spaces, "", index+1); 90 ssize_t index = indexOfKey(handle); local 92 if (index >= 0) { 106 ssize_t index = indexOfKey(handle); local 108 if (index < 0) { 112 ALOGV("removeAudioPatch() handle %d af handle %d", handle, valueAt(index)->mAfPatchHandle); 113 removeItemsAt(index);
|
H A D | EffectDescriptor.cpp | 87 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 D | AccessibilityNodeInfoDumper.java | 101 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 D | TabActivity.java | 75 * @param index the index of the default tab 77 public void setDefaultTab(int index) { argument 79 mDefaultTabIndex = index;
|
H A D | TaskStackBuilder.java | 194 * 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 D | RegistrantList.java | 68 get(int index) argument 70 return registrants.get(index);
|
H A D | RemoteCallbackList.java | 261 * @param index Which of the registered callbacks you would like to 269 public E getBroadcastItem(int index) { argument 270 return ((Callback)mActiveBroadcast[index]).mCallback; 279 public Object getBroadcastCookie(int index) { argument 280 return ((Callback)mActiveBroadcast[index]).mCookie;
|
/frameworks/base/core/java/android/util/ |
H A D | AttributeSet.java | 69 * @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 D | IntArray.java | 64 * @throws IndexOutOfBoundsException when index < 0 || index > 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 D | LongSparseLongArray.java | 41 * <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 D | SparseIntArray.java | 43 * <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 D | SparseLongArray.java | 41 * <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 D | XmlPullAttributes.java | 37 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 D | CompletionInfo.java | 61 * @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 D | InputMethodSubtypeArray.java | 123 * 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/widget/ |
H A D | EditText.java | 102 public void setSelection(int index) { argument 103 Selection.setSelection(getText(), index); 116 public void extendSelection(int index) { argument 117 Selection.extendSelection(getText(), index);
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | SysMemUsageTable.java | 79 * @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/widget/ |
H A D | ButtonBarLayout.java | 138 private int getNextVisibleChildIndex(int index) { argument 139 for (int i = index, count = getChildCount(); i < count; i++) {
|
H A D | TextProgressBar.java | 82 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 D | Interpolator.cpp | 24 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 D | android_util_MemoryIntArray.cpp | 124 jint fd, jlong address, jint index, jboolean owner) 136 std::atomic_int* value = reinterpret_cast<std::atomic_int*>(address) + index; 141 jint fd, jlong address, jint index, jint newValue, jboolean owner) 153 std::atomic_int* value = reinterpret_cast<std::atomic_int*>(address) + index; 123 android_util_MemoryIntArray_get(JNIEnv* env, jobject clazz, jint fd, jlong address, jint index, jboolean owner) argument 140 android_util_MemoryIntArray_set(JNIEnv* env, jobject clazz, jint fd, jlong address, jint index, jint newValue, jboolean owner) argument
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
H A D | TextViewAssertions.java | 78 * a specified index.<br> 85 * @param index The expected index. 87 public static ViewAssertion hasInsertionPointerAtIndex(int index) { argument 88 return hasInsertionPointerAtIndex(is(index)); 93 * a specified index.<br> 100 * @param index A matcher representing the expected index. 102 public static ViewAssertion hasInsertionPointerAtIndex(final Matcher<Integer> index) { argument 111 assertThat(selectionStart, index); [all...] |
/frameworks/base/core/tests/utiltests/src/android/util/ |
H A D | RemoteIntArray.java | 74 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);
|