Searched refs:index (Results 226 - 250 of 1822) sorted by relevance

1234567891011>>

/frameworks/native/opengl/libagl/
H A DTokenizer.cpp129 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 Dc2_11pf.cpp165 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 DStatusBarIconControllerTest.java113 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 DSmsMessageConverter.java104 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 DTextViewActions.java44 * 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 Delement.rs89 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 DRetryManager.java409 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 DTiffHelpers.h30 #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 Dd_gain_c.cpp60 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 Ddec_gain.h110 Word16 index, /* i : index of quantization. */
H A Ddec_lag3.h107 void Dec_lag3(Word16 index, /* i : received pitch index */
/frameworks/av/media/libstagefright/rtsp/
H A DASessionDescription.h38 // 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 DAAudioThread.cpp44 // 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 DHealthStatsWriter.java93 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 DSparseSetArray.java30 * 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 DWindowContentFrameStats.java79 * 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 DCompletionInfo.java61 * @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 DWebBackForwardList.java38 * 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 DCallbackRegistry.java50 * 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 DRemoteMemoryIntArrayService.java63 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 DLockGuard.java68 * 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 DReportCanvas.java165 for (int index = 0; index < rawData.length; index++) {
166 builder.append(getHexString(rawData[index]) + " ");
/frameworks/base/tests/AmSlam/src/test/amslam/subreceivers/
H A Dgen.py37 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 DAoapInterface.java55 * 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 DOperation.java42 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

Completed in 2104 milliseconds

1234567891011>>