/frameworks/native/opengl/libagl/ |
H A D | Tokenizer.cpp | 129 ssize_t Tokenizer::_insertTokenAt(uint32_t token, size_t index) argument 133 if (index >= 1) { 135 run_t& p = mRanges.editItemAt(index-1); 138 if (index < c) { 139 const run_t& n = mRanges[index]; 142 mRanges.removeItemsAt(index); 145 return index; 149 if (index < c) { 151 run_t& n = mRanges.editItemAt(index); 155 return index; [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | c2_11pf.cpp | 165 index 247 Word16 index; local 299 index = 332 return index; 474 * These index have low complexity address computation because * 576 Builds the codeword, the filtered codeword and index of the 628 Word16 index; local 652 /* index = pos/5 */ 653 /* index = mult(i, 6554, pOverflow); */ 654 index [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarIconControllerTest.java | 113 public StatusIconDisplayable getViewAt(int index) { argument 114 return (StatusIconDisplayable) mGroup.getChildAt(index); 118 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, argument 121 mGroup.addView(mock, index); 127 protected StatusBarWifiView addSignalIcon(int index, String slot, WifiIconState state) { argument 129 mGroup.addView(mock, index); 134 protected StatusBarMobileView addMobileIcon(int index, String slot, MobileIconState state) { argument 136 mGroup.addView(mock, index); 148 public StatusIconDisplayable getViewAt(int index) { argument 149 return (StatusIconDisplayable) mGroup.getChildAt(index); 153 addIcon(int index, String slot, boolean blocked, StatusBarIcon icon) argument 162 addSignalIcon(int index, String slot, WifiIconState state) argument 169 addMobileIcon(int index, String slot, MobileIconState state) argument 178 getViewAt(int index) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | SmsMessageConverter.java | 104 for (int index=0; index < count; index++) { 105 data[index] = cdmaSmsMessage.address.digits.get(index); 109 data[index] = SmsMessage.convertDtmfToAscii(data[index]); 127 for (int index = 0; index < count; ++index) { [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
H A D | TextViewActions.java | 44 * Returns an action that clicks on text at an index on the TextView.<br> 51 * @param index The index of the TextView's text to click on. 53 public static ViewAction clickOnTextAtIndex(int index) { argument 55 new ViewClickAction(Tap.SINGLE, new TextCoordinates(index), Press.FINGER)); 73 * Returns an action that clicks by mouse on text at an index on the TextView.<br> 80 * @param index The index of the TextView's text to click on. 82 public static ViewAction mouseClickOnTextAtIndex(int index) { argument 83 return mouseClickOnTextAtIndex(index, MotionEven 97 mouseClickOnTextAtIndex(int index, @MouseUiController.MouseButton int button) argument 113 doubleClickOnTextAtIndex(int index) argument 128 mouseDoubleClickOnTextAtIndex(int index) argument 143 longPressOnTextAtIndex(int index) argument 158 mouseLongClickOnTextAtIndex(int index) argument 173 mouseTripleClickOnTextAtIndex(int index) argument 423 HandleCoordinates(TextView textView, Handle handleType, int index, boolean primary) argument 506 TextCoordinates(int index) argument 510 TextCoordinates(int index, boolean primary) argument 539 locateTextAtIndex(TextView textView, int index, boolean primary) argument [all...] |
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
H A D | element.rs | 89 uint32_t index = 0; 90 subElemOffsets[index++] = (uint32_t)&complexStruct->subElem0 - (uint32_t)complexStruct; 91 subElemOffsets[index++] = (uint32_t)&complexStruct->subElem1 - (uint32_t)complexStruct; 92 subElemOffsets[index++] = (uint32_t)&complexStruct->subElem2 - (uint32_t)complexStruct; 93 subElemOffsets[index++] = (uint32_t)&complexStruct->arrayElem0 - (uint32_t)complexStruct; 94 subElemOffsets[index++] = (uint32_t)&complexStruct->arrayElem1 - (uint32_t)complexStruct; 95 subElemOffsets[index++] = (uint32_t)&complexStruct->subElem3 - (uint32_t)complexStruct; 96 subElemOffsets[index++] = (uint32_t)&complexStruct->subElem4 - (uint32_t)complexStruct; 97 subElemOffsets[index++] = (uint32_t)&complexStruct->subElem5 - (uint32_t)complexStruct; 98 subElemOffsets[index [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | RetryManager.java | 409 int index; 411 index = mRetryCount; 413 index = mRetryArray.size() - 1; 417 if ((index >= 0) && (index < mRetryArray.size())) { 418 retVal = mRetryArray.get(index).mDelayTime + nextRandomizationTime(index); 469 * Return next random number for the index 470 * @param index Retry index 472 nextRandomizationTime(int index) argument [all...] |
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | TiffHelpers.h | 30 #define BYTES_TILL_WORD(index) \ 31 ((TIFF_WORD_SIZE - ((index) % TIFF_WORD_SIZE)) % TIFF_WORD_SIZE) 36 #define ZERO_TILL_WORD(output, index, ret) \ 38 size_t remaining = BYTES_TILL_WORD(index); \
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | d_gain_c.cpp | 60 index = received quantization index of type Word16 82 Purpose : Decode the fixed codebook gain using the received index. 193 Word16 index, /* i : received quantization index */ 220 index &= 31; /* index < 32, to avoid buffer overflow */ 221 tbl_tmp = index + (index << 1); 190 d_gain_code( gc_predState *pred_state, enum Mode mode, Word16 index, Word16 code[], Word16 *gain_code, Flag *pOverflow ) argument
|
H A D | dec_gain.h | 110 Word16 index, /* i : index of quantization. */
|
H A D | dec_lag3.h | 107 void Dec_lag3(Word16 index, /* i : received pitch index */
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ASessionDescription.h | 38 // Actually, 1 + number of tracks, as index 0 is reserved for the 41 void getFormat(size_t index, AString *value) const; 44 size_t index, unsigned long *PT, 48 size_t index, unsigned long PT, 56 bool findAttribute(size_t index, const char *key, AString *value) const;
|
/frameworks/av/services/oboeservice/ |
H A D | AAudioThread.cpp | 44 // Name the thread with an increasing index, "prefix_#", for debugging. 45 uint32_t index = mNextThreadIndex++; local 46 // Wrap the index so that we do not hit the 16 char limit 48 index = index % 100000; // arbitrary 49 snprintf(mName, sizeof(mName), "%s_%u", prefix, index);
|
/frameworks/base/core/java/android/os/health/ |
H A D | HealthStatsWriter.java | 93 final int index = mConstants.getIndex(HealthKeys.TYPE_TIMER, timerId); 95 mTimerFields[index] = true; 96 mTimerCounts[index] = count; 97 mTimerTimes[index] = time; 104 final int index = mConstants.getIndex(HealthKeys.TYPE_MEASUREMENT, measurementId); 106 mMeasurementFields[index] = true; 107 mMeasurementValues[index] = value; 118 final int index = mConstants.getIndex(HealthKeys.TYPE_STATS, key); 120 ArrayMap<String,HealthStatsWriter> map = mStatsValues[index]; 122 map = mStatsValues[index] [all...] |
/frameworks/base/core/java/android/util/ |
H A D | SparseSetArray.java | 30 * Add a value at index n. 31 * @return FALSE when the value already existed at the given index, TRUE otherwise. 47 * @return whether a value exists at index n. 58 * Remove a value from index n. 59 * @return TRUE when the value existed at the given index and removed, FALSE otherwise. 74 * Remove all values from index n. 83 public int keyAt(int index) { argument 84 return mData.keyAt(index); 87 public int sizeAt(int index) { argument 88 final ArraySet<T> set = mData.valueAt(index); [all...] |
/frameworks/base/core/java/android/view/ |
H A D | WindowContentFrameStats.java | 79 * Get the time a frame at a given index was posted by the producer (e.g. the application). 87 * @param index The frame index. 90 public long getFramePostedTimeNano(int index) { argument 94 return mFramesPostedTimeNano[index]; 98 * Get the time a frame at a given index was ready for presentation. 105 * @param index The frame index. 109 public long getFrameReadyTimeNano(int index) { argument 113 return mFramesReadyTimeNano[index]; [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...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebBackForwardList.java | 38 * Get the index of the current history item. This index can be used to 39 * directly index into the array list. 40 * @return The current index from 0...n or -1 if the list is empty. 45 * Get the history item at the given index. The index range is from 0...n 47 * @param index The index to retrieve. 49 public abstract WebHistoryItem getItemAtIndex(int index); argument
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | CallbackRegistry.java | 50 * The lowest significant bit corresponds to the 0th index into mCallbacks. 168 * @param remainderIndex The index into mRemainderRemoved that should be notified. 194 * @param startIndex The index into the mCallbacks to start notifying. 195 * @param endIndex One past the last index into mCallbacks to notify. 216 int index = mCallbacks.lastIndexOf(callback); 217 if (index < 0 || isRemovedLocked(index)) { 223 * Returns true if the callback at index has been marked for removal. 225 * @param index The index int 228 isRemovedLocked(int index) argument 285 setRemovalBitLocked(int index) argument [all...] |
/frameworks/base/core/tests/utiltests/src/android/util/ |
H A D | RemoteMemoryIntArrayService.java | 63 public int get(int index) { 66 return mArray.get(index); 74 public void set(int index, int value) { 77 mArray.set(index, value);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | LockGuard.java | 68 * Well-known locks ordered by fixed index. Locks with a specific index 69 * should never be acquired while holding a lock of a lower index. 150 public static void guard(int index) { argument 151 for (int i = 0; i < index; i++) { 155 // Note in this case sKnownFixed may not contain a lock at the given index, 157 final Object targetMayBeNull = sKnownFixed[index]; 160 + lockToString(index)); 188 * Report the given lock with a well-known index. 190 public static Object installLock(Object lock, int index) { argument 197 installLock(Object lock, int index, boolean doWtf) argument 205 installNewLock(int index) argument 209 installNewLock(int index, boolean doWtf) argument 224 lockToString(int index) argument [all...] |
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/ |
H A D | ReportCanvas.java | 165 for (int index = 0; index < rawData.length; index++) { 166 builder.append(getHexString(rawData[index]) + " ");
|
/frameworks/base/tests/AmSlam/src/test/amslam/subreceivers/ |
H A D | gen.py | 37 public class PingReceiver{index:03d} extends PingReceiver {{}} 44 f.write(TEMPLATE.format(index=i))
|
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/ |
H A D | AoapInterface.java | 55 * index: 0 68 * index: string ID 83 * index: 0 106 public static void sendString(UsbDeviceConnection conn, int index, String string) { argument 110 AoapInterface.ACCESSORY_SEND_STRING, 0, index, 113 throw new RuntimeException("Failed to send string " + index + ": \"" + string + "\""); 115 Log.i(TAG, "Sent string " + index + ": \"" + string + "\"");
|
/frameworks/base/tools/preload/ |
H A D | Operation.java | 42 final int index; field in class:Operation 58 int index, Type type) { 62 this.index = index; 57 Operation(Proc process, LoadedClass loadedClass, long startTimeNanos, int index, Type type) argument
|