Searched defs:index (Results 151 - 175 of 587) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/preference/
H A DRingtonePreference.java197 protected Object onGetDefaultValue(TypedArray a, int index) { argument
198 return a.getString(index);
/frameworks/base/core/java/android/util/
H A DLongSparseArray.java113 * 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 DSparseArray.java113 * 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 DSparseLongArray.java101 * 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 DAccessibilityIterators.java238 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 DLayoutAnimationController.java33 * 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 DSpellCheckerInfo.java251 * 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 DYesNoPreference.java80 protected Object onGetDefaultValue(TypedArray a, int index) { argument
81 return a.getBoolean(index, false);
/frameworks/base/core/java/com/android/internal/statusbar/
H A DStatusBarIconList.java113 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 Dpoly_clip.cpp49 * 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 Dandroid_hardware_UsbDeviceConnection.cpp144 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 DNetworkStatsTest.java313 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 DScrollViewScenario.java219 * @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 DInterpolator.java64 * 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 DStateListDrawable.java209 * 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 DFileA3D.java39 * 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 DProgram.cpp113 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 DResourceCache.cpp87 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 DSortedListImpl.cpp79 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 Daccessorychat.c77 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 Dandroid_media_MediaCodecList.cpp36 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 DVideoEditorPropertiesMain.cpp86 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 DTabletStatusBarView.java142 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 DKeyguardWidgetCarousel.java58 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 Dcom_android_server_UsbDeviceManager.cpp51 static void set_accessory_string(JNIEnv *env, int fd, int cmd, jobjectArray strArray, int index) argument
59 env->SetObjectArrayElement(strArray, index, obj);

Completed in 417 milliseconds

1234567891011>>