/frameworks/base/core/java/android/preference/ |
H A D | RingtonePreference.java | 197 protected Object onGetDefaultValue(TypedArray a, int index) { argument 198 return a.getString(index);
|
/frameworks/base/core/java/android/util/ |
H A D | LongSparseArray.java | 113 * Removes the mapping at the specified index. 115 public void removeAt(int index) { argument 116 if (mValues[index] != DELETED) { 117 mValues[index] = DELETED; 215 * Given an index in the range <code>0...size()-1</code>, returns 216 * the key from the <code>index</code>th key-value mapping that this 219 public long keyAt(int index) { argument 224 return mKeys[index]; 228 * Given an index in the range <code>0...size()-1</code>, returns 229 * the value from the <code>index</cod 233 valueAt(int index) argument 246 setValueAt(int index, E value) argument [all...] |
H A D | SparseArray.java | 113 * Removes the mapping at the specified index. 115 public void removeAt(int index) { argument 116 if (mValues[index] != DELETED) { 117 mValues[index] = DELETED; 215 * Given an index in the range <code>0...size()-1</code>, returns 216 * the key from the <code>index</code>th key-value mapping that this 219 public int keyAt(int index) { argument 224 return mKeys[index]; 228 * Given an index in the range <code>0...size()-1</code>, returns 229 * the value from the <code>index</cod 233 valueAt(int index) argument 246 setValueAt(int index, E value) argument [all...] |
H A D | SparseLongArray.java | 101 * Removes the mapping at the given index. 103 public void removeAt(int index) { argument 104 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1)); 105 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1)); 146 * Given an index in the range <code>0...size()-1</code>, returns 147 * the key from the <code>index</cod 150 keyAt(int index) argument 159 valueAt(int index) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | AccessibilityIterators.java | 238 private boolean isStartBoundary(int index) { argument 239 return isLetterOrDigit(index) 240 && (index == 0 || !isLetterOrDigit(index - 1)); 243 private boolean isEndBoundary(int index) { argument 244 return (index > 0 && isLetterOrDigit(index - 1)) 245 && (index == mText.length() || !isLetterOrDigit(index)); 248 private boolean isLetterOrDigit(int index) { argument 320 isStartBoundary(int index) argument 325 isEndBoundary(int index) argument [all...] |
/frameworks/base/core/java/android/view/animation/ |
H A D | LayoutAnimationController.java | 33 * characteristics of each child, like its index in the view group. 36 * amount of miliseconds by the index of the child in its parent view group. 274 * child animation delay = child index * delay * animation duration 353 * child animation delay = child index * delay 356 * The index is retrieved from the 391 * Transforms the index stored in 398 * @param params the animation parameters containing the index 399 * @return a transformed index 404 return params.count - 1 - params.index; 412 return params.index; 433 public int index; field in class:LayoutAnimationController.AnimationParameters [all...] |
/frameworks/base/core/java/android/view/textservice/ |
H A D | SpellCheckerInfo.java | 251 * Return the subtype at the specified index. 253 * @param index the index of the subtype to return. 255 public SpellCheckerSubtype getSubtypeAt(int index) { argument 256 return mSubtypes.get(index);
|
/frameworks/base/core/java/com/android/internal/preference/ |
H A D | YesNoPreference.java | 80 protected Object onGetDefaultValue(TypedArray a, int index) { argument 81 return a.getBoolean(index, false);
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | StatusBarIconList.java | 113 public void setIcon(int index, StatusBarIcon icon) { argument 114 mIcons[index] = icon.clone(); 117 public void removeIcon(int index) { argument 118 mIcons[index] = null; 121 public String getSlot(int index) { argument 122 return mSlots[index]; 125 public StatusBarIcon getIcon(int index) { argument 126 return mIcons[index]; 129 public int getViewIndex(int index) { argument 131 for (int i=0; i<index; [all...] |
/frameworks/base/core/jni/android/opengl/ |
H A D | poly_clip.cpp | 49 * copying the portion satisfying sign*s[index] < k*sw into q, 51 * index is an index into the array of floats at each vertex, such that 52 * s[index] is sx, sy, or sz (screen space x, y, or z). 59 void poly_clip_to_halfspace(Poly* p, Poly* q, int index, float sign, float k) argument 72 tu = sign*COORD(u, index) - u->sw*k; 76 tv = sign*COORD(v, index) - v->sw*k;
|
/frameworks/base/core/jni/ |
H A D | android_hardware_UsbDeviceConnection.cpp | 144 jint requestType, jint request, jint value, jint index, 163 value, index, bufferBytes, length, timeout); 143 android_hardware_UsbDeviceConnection_control_request(JNIEnv *env, jobject thiz, jint requestType, jint request, jint value, jint index, jbyteArray buffer, jint length, jint timeout) argument
|
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | NetworkStatsTest.java | 313 private static void assertValues(NetworkStats stats, int index, String iface, int uid, int set, argument 315 final NetworkStats.Entry entry = stats.getValues(index, null);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ScrollViewScenario.java | 219 * @param index The index within the linear layout. 221 * at the specified index. 224 public <T extends View> T getContentChildAt(int index) { argument 225 return (T) mLinearLayout.getChildAt(index);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Interpolator.java | 64 * Assign the keyFrame (specified by index) a time value and an array of key 68 * @param index The index of the key frame to assign 73 public void setKeyFrame(int index, int msec, float[] values) { argument 74 setKeyFrame(index, msec, values, null); 78 * Assign the keyFrame (specified by index) a time value and an array of key 81 * @param index The index of the key frame to assign 87 public void setKeyFrame(int index, int msec, float[] values, float[] blend) { argument 88 if (index < 159 nativeSetKeyFrame(int native_instance, int index, int msec, float[] values, float[] blend) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | StateListDrawable.java | 209 * Gets the state set at an index. 211 * @param index The index of the state set. 212 * @return The state set at the index. 217 public int[] getStateSet(int index) { argument 218 return mStateListState.mStateSets[index]; 222 * Gets the drawable at an index. 224 * @param index The index of the drawable. 225 * @return The drawable at the index 230 getStateDrawable(int index) argument [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
H A D | FileA3D.java | 39 * index entries for all the objects stored inside it. 75 * objects inside the file's index. It could be used to query the 89 * Returns the name of a renderscript object the index entry 92 * @return name of a renderscript object the index entry 102 * Returns the type of a renderscript object the index entry 104 * @return type of a renderscript object the index entry 113 * Used to load the object described by the index entry 124 * Used to load the mesh described by the index entry, object 125 * described by the index entry must be a renderscript mesh 158 IndexEntry(RenderScript rs, int index, in argument 215 getIndexEntry(int index) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | Program.cpp | 113 ssize_t index = mAttributes.indexOfKey(name); local 114 if (index >= 0) { 115 return mAttributes.valueAt(index); 127 ssize_t index = mUniforms.indexOfKey(name); local 128 if (index >= 0) { 129 return mUniforms.valueAt(index);
|
H A D | ResourceCache.cpp | 87 ssize_t index = mCache->indexOfKey(resource); local 88 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; 150 ssize_t index = mCache->indexOfKey(resource); local 151 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; 192 ssize_t index = mCache->indexOfKey(resource); local 193 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; 214 ssize_t index local 236 ssize_t index = mCache->indexOfKey(resource); local 255 ssize_t index = mCache->indexOfKey(resource); local 282 ssize_t index = mCache->indexOfKey(resource); local [all...] |
/frameworks/base/libs/hwui/utils/ |
H A D | SortedListImpl.cpp | 79 ssize_t index = _indexOrderOf(item, &order); local 80 index = VectorImpl::insertAt(item, order, 1); 81 return index;
|
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
H A D | accessorychat.c | 77 static void send_string(struct usb_device *device, int index, const char* string) { argument 79 ACCESSORY_SEND_STRING, 0, index, (void *)string, strlen(string) + 1, 0);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodecList.cpp | 36 JNIEnv *env, jobject thiz, jint index) { 37 const char *name = MediaCodecList::getInstance()->getCodecName(index); 48 JNIEnv *env, jobject thiz, jint index) { 49 return MediaCodecList::getInstance()->isEncoder(index); 53 JNIEnv *env, jobject thiz, jint index) { 56 MediaCodecList::getInstance()->getSupportedTypes(index, &types); 79 JNIEnv *env, jobject thiz, jint index, jstring type) { 97 index, typeStr, &profileLevels, &colorFormats); 35 android_media_MediaCodecList_getCodecName( JNIEnv *env, jobject thiz, jint index) argument 47 android_media_MediaCodecList_isEncoder( JNIEnv *env, jobject thiz, jint index) argument 52 android_media_MediaCodecList_getSupportedTypes( JNIEnv *env, jobject thiz, jint index) argument 78 android_media_MediaCodecList_getCodecCapabilities( JNIEnv *env, jobject thiz, jint index, jstring type) argument
|
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorPropertiesMain.cpp | 86 M4OSA_UInt32 index = 0; local 336 M4OSA_UInt32 index = 0; local 349 for (index = 0; index < extLength ; index++) 351 extension[index] = tolower((int)pExtension[index]);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
H A D | TabletStatusBarView.java | 142 public void setIgnoreChildren(int index, View ignore, View panel) { argument 143 mIgnoreChildren[index] = ignore; 144 mPanels[index] = panel;
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardWidgetCarousel.java | 58 public float getAlphaForPage(int screenCenter, int index, boolean showSidePages) { argument 59 View child = getChildAt(index); 62 boolean inVisibleRange = index >= getNextPage() - 1 && index <= getNextPage() + 1; 63 float scrollProgress = getScrollProgress(screenCenter, child, index); 65 if (isOverScrollChild(index, scrollProgress)) { 67 } else if ((showSidePages && inVisibleRange) || index == getNextPage()) { 68 scrollProgress = getBoundedScrollProgress(screenCenter, child, index); 76 public float getOutlineAlphaForPage(int screenCenter, int index, boolean showSidePages) { argument 77 boolean inVisibleRange = index > 194 getTransformForPage(int screenCenter, int index, float[] transform) argument [all...] |
/frameworks/base/services/jni/ |
H A D | com_android_server_UsbDeviceManager.cpp | 51 static void set_accessory_string(JNIEnv *env, int fd, int cmd, jobjectArray strArray, int index) argument 59 env->SetObjectArrayElement(strArray, index, obj);
|