/frameworks/base/core/java/android/os/ |
H A D | RemoteCallbackList.java | 262 * @param index Which of the registered callbacks you would like to 270 public E getBroadcastItem(int index) { argument 271 return ((Callback)mActiveBroadcast[index]).mCallback; 280 public Object getBroadcastCookie(int index) { argument 281 return ((Callback)mActiveBroadcast[index]).mCookie;
|
/frameworks/base/core/java/android/view/ |
H A D | InputEventReceiver.java | 147 int index = mSeqMap.indexOfKey(event.getSequenceNumber()); 148 if (index < 0) { 151 int seq = mSeqMap.valueAt(index); 152 mSeqMap.removeAt(index);
|
H A D | InputQueue.java | 104 int index = mActiveEventArray.indexOfKey(id); 105 if (index >= 0) { 106 ActiveInputEvent e = mActiveEventArray.valueAt(index); 107 mActiveEventArray.removeAt(index);
|
/frameworks/base/core/java/android/widget/ |
H A D | EditText.java | 98 public void setSelection(int index) { argument 99 Selection.setSelection(getText(), index); 112 public void extendSelection(int index) { argument 113 Selection.extendSelection(getText(), index);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | LongSparseLongArrayTest.java | 88 final int index = r.nextInt(map.size()); 89 final long key = getKeyAtIndex(map, index); 104 private static <E> E getKeyAtIndex(Map<E, ?> map, int index) { argument 106 for (int i = 0; i < index; i++) {
|
/frameworks/base/libs/hwui/ |
H A D | RenderBufferCache.cpp | 114 ssize_t index = mCache.indexOf(entry); local 116 if (index >= 0) { 117 entry = mCache.itemAt(index); 118 mCache.removeAt(index);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | SplitClockView.java | 92 int index = getAmPmPartEndIndex(formatString); 95 if (index == -1) { 99 timeString = formatString.substring(0, index); 100 amPmString = formatString.substring(index); 109 * @return the index where the AM/PM part starts at the end in {@code formatString} including 132 // If we have AM/PM at all, return last index, or -1 to indicate that it's not
|
/frameworks/base/tools/aidl/ |
H A D | generate_java.h | 25 Variable* Get(int index);
|
/frameworks/ex/common/java/com/android/common/ |
H A D | Rfc822Validator.java | 163 int index = text.indexOf('@'); 164 if (index < 0) { 171 String fix = removeIllegalCharacters(text.substring(0, index)); 177 String domain = removeIllegalCharacters(text.substring(index + 1));
|
/frameworks/native/include/media/hardware/ |
H A D | OMXPluginBase.h | 46 OMX_U32 index) = 0;
|
/frameworks/native/opengl/tools/glgen/src/ |
H A D | CFunc.java | 86 public String getArgName(int index) { argument 87 return argNames.get(index); 90 public CType getArgType(int index) { argument 91 return argTypes.get(index);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | PlaybackControlGlue.java | 600 int index = 0; 602 index = playbackSpeed - PLAYBACK_SPEED_FAST_L0; 604 index++; 607 if (mFastForwardAction.getIndex() != index) { 608 mFastForwardAction.setIndex(index); 613 int index = 0; 615 index = -playbackSpeed - PLAYBACK_SPEED_FAST_L0; 617 index++; 620 if (mRewindAction.getIndex() != index) { 621 mRewindAction.setIndex(index); [all...] |
/frameworks/wilhelm/src/android/ |
H A D | android_AudioSfDecoder.h | 66 bool getPcmFormatKeySize(uint32_t index, uint32_t* pKeySize); 67 bool getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName); 68 bool getPcmFormatValueSize(uint32_t index, uint32_t* pValueSize); 69 bool getPcmFormatKeyValue(uint32_t index, uint32_t size, uint32_t* pValue);
|
/frameworks/av/media/libstagefright/ |
H A D | AMRExtractor.cpp | 183 sp<MediaSource> AMRExtractor::getTrack(size_t index) { argument 184 if (mInitCheck != OK || index != 0) { 192 sp<MetaData> AMRExtractor::getTrackMetaData(size_t index, uint32_t /* flags */) { argument 193 if (mInitCheck != OK || index != 0) { 261 size_t index = seekFrame < 0 ? 0 : seekFrame / 50; local 262 if (index >= mOffsetTableLength) { 263 index = mOffsetTableLength - 1; 266 mOffset = mOffsetTable[index] + (mIsWide ? 9 : 6); 268 for (size_t i = 0; i< seekFrame - index * 50; i++) {
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | c2_9pf.cpp | 183 index = code index (Word16) 254 Word16 i, index, sharp; 265 index = build_code(subNr, codvec, dn_sign, code, h, y, sign); 276 return index; 323 Word16 index; local 387 index = 421 return(index); 519 * These index have low complexity address computation because * 659 * These index hav 1001 register Word16 index; local [all...] |
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextDriver.cpp | 63 status_t TimedTextDriver::selectTrack_l(size_t index) { argument 64 if (mCurrentTrackIndex == index) { 68 source = mTextSourceVector.valueFor(index); 73 mCurrentTrackIndex = index; 118 status_t TimedTextDriver::selectTrack(size_t index) { argument 126 ret = selectTrack_l(index); 130 ret = selectTrack_l(index); 142 status_t TimedTextDriver::unselectTrack(size_t index) { argument 145 if (mCurrentTrackIndex != 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...] |
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
H A D | DisplaySinkService.java | 195 final int index = mCodec.dequeueInputBuffer(0); 196 if (index < 0) { 202 final ByteBuffer buffer = mCodecInputBuffers[index]; 214 mCodec.queueInputBuffer(index, 0, buffer.limit(), 0, 0); 220 final int index = mCodec.dequeueOutputBuffer(mCodecBufferInfo, 0); 221 if (index >= 0) { 222 mCodec.releaseOutputBuffer(index, true /*render*/); 223 } else if (index != MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED 224 && index != MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) {
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | ManualActivity.java | 164 public DisplayModifierSpinner(int index) { argument 166 mIndex = index; 189 int index = 0; 191 mSpinners[index] = new DisplayModifierSpinner(index); 192 mSpinners[index].setAdapter(new ArrayAdapter<String>(this, 194 layout.addView(mSpinners[index]); 195 index++; 197 Log.d(LOG_TAG, "created " + index + " spinners");
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | SparseWeakArray.java | 112 * Removes the mapping at the specified index. 114 public void removeAt(int index) { argument 115 if (mValues[index] != DELETED) { 116 mValues[index] = DELETED; 191 * Given an index in the range <code>0...size()-1</code>, returns 192 * the key from the <code>index</code>th key-value mapping that this 195 public long keyAt(int index) { argument 200 return mKeys[index]; 204 * Given an index in the range <code>0...size()-1</code>, returns 205 * the value from the <code>index</cod 208 valueAt(int index) argument 221 setValueAt(int index, E value) argument [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | Loader.cpp | 232 ssize_t index = ssize_t(strlen(name)) - 3; local 233 if ((index>0 && (index<SIZE-1)) && (!strcmp(name+index, "OES"))) { 234 strncpy(scrap, name, index); 235 scrap[index] = 0; 242 ssize_t index = ssize_t(strlen(name)) - 3; local 243 if (index>0 && strcmp(name+index, "OES")) {
|
/frameworks/native/services/surfaceflinger/ |
H A D | FrameTracker.cpp | 127 const size_t index = (offset + i) % NUM_FRAME_RECORDS; local 130 if (mFrameRecords[index].desiredPresentTime == 0) { 134 nsecs_t desiredPresentTimeNano = mFrameRecords[index].desiredPresentTime; 137 nsecs_t actualPresentTimeNano = mFrameRecords[index].actualPresentTime; 140 nsecs_t frameReadyTimeNano = mFrameRecords[index].frameReadyTime; 242 const size_t index = (o+i) % NUM_FRAME_RECORDS; local 244 mFrameRecords[index].desiredPresentTime, 245 mFrameRecords[index].actualPresentTime, 246 mFrameRecords[index].frameReadyTime);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | RetryManager.java | 276 int index; 278 index = mRetryCount; 280 index = mRetryArray.size() - 1; 284 if ((index >= 0) && (index < mRetryArray.size())) { 285 retVal = mRetryArray.get(index).mDelayTime + nextRandomizationTime(index); 431 * Return next random number for the index 433 private int nextRandomizationTime(int index) { argument 434 int randomTime = mRetryArray.get(index) [all...] |
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LongSparseArray.java | 136 * Removes the mapping at the specified index. 138 public void removeAt(int index) { argument 139 if (mValues[index] != DELETED) { 140 mValues[index] = DELETED; 238 * Given an index in the range <code>0...size()-1</code>, returns 239 * the key from the <code>index</code>th key-value mapping that this 242 public long keyAt(int index) { argument 247 return mKeys[index]; 251 * Given an index in the range <code>0...size()-1</code>, returns 252 * the value from the <code>index</cod 256 valueAt(int index) argument 269 setValueAt(int index, E value) argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | MediaProfiles.cpp | 529 int index = -1; local 575 index = getCamcorderProfileIndex(cameraId, refQuality); 577 if (index == -1) { 618 int index = getCamcorderProfileIndex(cameraId, profile->mQuality); local 619 if (index != -1) { 622 CHECK(index == refIndex); 983 int index = -1; local 986 index = i; 990 if (index == -1) { 995 if (!strcmp("enc.vid.width.min", name)) return mVideoEncoders[index] 1012 int index = -1; local 1068 int index = -1; local 1111 int index = -1; local 1129 int index = getCamcorderProfileIndex(cameraId, quality); local 1169 ssize_t index = mStartTimeOffsets.indexOfKey(cameraId); local [all...] |