/frameworks/base/core/java/android/content/ |
H A D | ClipDescription.java | 172 public String getMimeType(int index) { argument 173 return mMimeTypes[index];
|
H A D | SyncStatusInfo.java | 154 public void setPeriodicSyncTime(int index, long when) { argument 156 // we initialize elements < index to zero (zero is ignore for scheduling purposes) 157 ensurePeriodicSyncTimeSize(index); 158 periodicSyncTimes.set(index, when); 161 public long getPeriodicSyncTime(int index) { argument 162 if (periodicSyncTimes != null && index < periodicSyncTimes.size()) { 163 return periodicSyncTimes.get(index); 169 public void removePeriodicSyncTime(int index) { argument 170 if (periodicSyncTimes != null && index < periodicSyncTimes.size()) { 171 periodicSyncTimes.remove(index); 185 ensurePeriodicSyncTimeSize(int index) argument [all...] |
/frameworks/base/core/java/android/database/ |
H A D | MatrixCursor.java | 199 private int index; field in class:MatrixCursor.RowBuilder 203 this.index = row * columnCount; 204 this.endIndex = index + columnCount; 215 if (index == endIndex) { 220 data[index++] = columnValue;
|
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteProgram.java | 127 * @param index The 1-based index to the parameter to bind null to 129 public void bindNull(int index) { argument 130 bind(index, null); 137 * @param index The 1-based index to the parameter to bind 140 public void bindLong(int index, long value) { argument 141 bind(index, value); 148 * @param index The 1-based index t 151 bindDouble(int index, double value) argument 162 bindString(int index, String value) argument 176 bindBlob(int index, byte[] value) argument 210 bind(int index, Object value) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
H A D | MarshalQueryableArray.java | 151 ByteBuffer buffer, Object array, int index) { 152 marshaler.marshal((TElem)Array.get(array, index), buffer); 162 Object array, int index) { 163 Object elem = Array.get(array, index); 150 marshalArrayElement(Marshaler<TElem> marshaler, ByteBuffer buffer, Object array, int index) argument 161 calculateElementMarshalSize(Marshaler<TElem> marshaler, Object array, int index) argument
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbConfiguration.java | 32 * <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p> 124 * Returns the {@link UsbInterface} at the given index. 128 public UsbInterface getInterface(int index) { argument 129 return (UsbInterface)mInterfaces[index];
|
H A D | UsbInterface.java | 32 * <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p> 130 * Returns the {@link android.hardware.usb.UsbEndpoint} at the given index. 134 public UsbEndpoint getEndpoint(int index) { argument 135 return (UsbEndpoint)mEndpoints[index];
|
/frameworks/base/core/java/android/net/nsd/ |
H A D | DnsSdTxtRecord.java | 117 /** Remove a key/value pair. If found, returns the index or -1 if not found */ 168 private void insert(byte[] keyBytes, byte[] value, int index) { argument 174 for (int i = 0; i < index && insertion < mData.length; i++) { 193 /** Return a key in the TXT record by zero-based index. Returns null if index exceeds the total number of keys. */ 194 private String getKey(int index) { argument 197 for (int i=0; i < index && avStart < mData.length; i++) { 214 * Look up a key in the TXT record by zero-based index and return its value. 215 * Returns null if index exceeds the total number of keys. 218 private byte[] getValue(int index) { argument 241 getValueAsString(int index) argument [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | EditTextPreference.java | 152 protected Object onGetDefaultValue(TypedArray a, int index) { argument 153 return a.getString(index);
|
H A D | PreferenceGroup.java | 120 * Returns the {@link Preference} at a particular index. 122 * @param index The index of the {@link Preference} to retrieve. 125 public Preference getPreference(int index) { argument 126 return mPreferenceList.get(index);
|
H A D | RingtonePreference.java | 201 protected Object onGetDefaultValue(TypedArray a, int index) { argument 202 return a.getString(index);
|
/frameworks/base/core/java/android/util/ |
H A D | LongSparseArray.java | 48 * <code>keyAt(int)</code> with ascending values of the index will return the 144 * Removes the mapping at the specified index. 146 public void removeAt(int index) { argument 147 if (mValues[index] != DELETED) { 148 mValues[index] = DELETED; 226 * Given an index in the range <code>0...size()-1</code>, returns 227 * the key from the <code>index</code>th key-value mapping that this 235 public long keyAt(int index) { argument 240 return mKeys[index]; 244 * Given an index i 255 valueAt(int index) argument 268 setValueAt(int index, E value) argument [all...] |
H A D | SparseArray.java | 48 * <code>keyAt(int)</code> with ascending values of the index will return the 144 * Removes the mapping at the specified index. 146 public void removeAt(int index) { argument 147 if (mValues[index] != DELETED) { 148 mValues[index] = DELETED; 156 * @param index Index to begin at 159 public void removeAtRange(int index, int size) { argument 160 final int end = Math.min(mSize, index + size); 161 for (int i = index; i < end; i++) { 239 * Given an index i 248 keyAt(int index) argument 268 valueAt(int index) argument 281 setValueAt(int index, E value) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | AccessibilityIterators.java | 236 private boolean isStartBoundary(int index) { argument 237 return isLetterOrDigit(index) 238 && (index == 0 || !isLetterOrDigit(index - 1)); 241 private boolean isEndBoundary(int index) { argument 242 return (index > 0 && isLetterOrDigit(index - 1)) 243 && (index == mText.length() || !isLetterOrDigit(index)); 246 private boolean isLetterOrDigit(int index) { argument 318 isStartBoundary(int index) argument 323 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/inputmethod/ |
H A D | SparseRectFArray.java | 200 * @throws IllegalArgumentException If the index is not greater than all of existing keys. 260 public RectF get(final int index) { argument 264 if (index < 0) { 267 final int arrayIndex = Arrays.binarySearch(mKeys, index); 278 public int getFlags(final int index, final int valueIfKeyNotFound) { argument 282 if (index < 0) { 285 final int arrayIndex = Arrays.binarySearch(mKeys, index);
|
/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 | 84 protected Object onGetDefaultValue(TypedArray a, int index) { argument 85 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/tests/coretests/src/android/net/ |
H A D | NetworkStatsTest.java | 323 private static void assertValues(NetworkStats stats, int index, String iface, int uid, int set, argument 325 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(long native_instance, int index, int msec, float[] values, float[] blend) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | AssetAtlas.cpp | 84 ssize_t index = mEntries.indexOfKey(bitmap); local 85 return index >= 0 ? mEntries.valueAt(index) : NULL; 89 ssize_t index = mEntries.indexOfKey(bitmap); local 90 return index >= 0 ? mEntries.valueAt(index)->texture : NULL;
|
H A D | LayerCache.cpp | 103 ssize_t index = mCache.indexOf(entry); local 105 if (index >= 0) { 106 entry = mCache.itemAt(index); 107 mCache.removeAt(index);
|