Searched refs:index (Results 176 - 200 of 1601) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/
H A DJankTracker.cpp92 uint32_t index = static_cast<uint32_t>(ns2ms(frameTime)); local
93 // If index > kBucketMinThreshold mask will be 0xFFFFFFFF as a result
95 uint32_t mask = -(index > kBucketMinThreshold);
96 // If index > threshold, this will essentially perform:
97 // amountAboveThreshold = index - threshold;
98 // index = threshold + (amountAboveThreshold / 2)
99 // However if index is <= this will do nothing. It will underflow, do
101 index = ((index - kBucket4msIntervals) >> (index > kBucket4msInterval
113 frameTimeForFrameCountIndex(uint32_t index) argument
126 frameTimeForSlowFrameCountIndex(uint32_t index) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeXmlBlockParser.java239 public String getAttributeNamespace(int index) { argument
240 return mParser.getAttributeNamespace(index);
244 public String getAttributeName(int index) { argument
245 return mParser.getAttributeName(index);
249 public String getAttributePrefix(int index) { argument
265 public String getAttributeValue(int index) { argument
266 return mParser.getAttributeValue(index);
270 public String getAttributeType(int index) { argument
275 public boolean isAttributeDefault(int index) { argument
409 public boolean getAttributeBooleanValue(int index, boolea argument
420 getAttributeFloatValue(int index, float defaultValue) argument
430 getAttributeIntValue(int index, int defaultValue) argument
440 getAttributeListValue(int index, String[] options, int defaultValue) argument
451 getAttributeNameResource(int index) argument
456 getAttributeResourceValue(int index, int defaultValue) argument
466 getAttributeUnsignedIntValue(int index, int defaultValue) argument
[all...]
/frameworks/av/media/libstagefright/wifi-display/
H A DVideoFormats.cpp146 void VideoFormats::setNativeResolution(ResolutionType type, size_t index) { argument
148 CHECK(GetConfiguration(type, index, NULL, NULL, NULL, NULL));
151 mNativeIndex = index;
153 setResolutionEnabled(type, index);
157 ResolutionType *type, size_t *index) const {
159 *index = mNativeIndex;
182 ResolutionType type, size_t index,
186 if (!GetConfiguration(type, index, &width, &height,
205 ResolutionType type, size_t index, bool enabled) {
207 CHECK(GetConfiguration(type, index, NUL
181 enableResolutionUpto( ResolutionType type, size_t index, ProfileType profile, LevelType level) argument
204 setResolutionEnabled( ResolutionType type, size_t index, bool enabled) argument
220 setProfileLevel( ResolutionType type, size_t index, ProfileType profile, LevelType level) argument
230 getProfileLevel( ResolutionType type, size_t index, ProfileType *profile, LevelType *level) const argument
270 GetConfiguration( ResolutionType type, size_t index, size_t *width, size_t *height, size_t *framesPerSecond, bool *interlaced) argument
[all...]
/frameworks/base/core/java/android/content/
H A DSyncStatusInfo.java154 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/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/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.java42 * Returns an action that clicks on text at an index on the TextView.<br>
49 * @param index The index of the TextView's text to click on.
51 public static ViewAction clickOnTextAtIndex(int index) { argument
53 new ViewClickAction(Tap.SINGLE, new TextCoordinates(index), Press.FINGER));
57 * Returns an action that clicks by mouse on text at an index on the TextView.<br>
64 * @param index The index of the TextView's text to click on.
66 public static ViewAction mouseClickOnTextAtIndex(int index) { argument
67 return mouseClickOnTextAtIndex(index, MotionEven
81 mouseClickOnTextAtIndex(int index, @MouseUiController.MouseButton int button) argument
97 doubleClickOnTextAtIndex(int index) argument
112 mouseDoubleClickOnTextAtIndex(int index) argument
127 longPressOnTextAtIndex(int index) argument
142 mouseLongClickOnTextAtIndex(int index) argument
157 mouseTripleClickOnTextAtIndex(int index) argument
407 HandleCoordinates(TextView textView, Handle handleType, int index, boolean primary) argument
490 TextCoordinates(int index) argument
494 TextCoordinates(int index, boolean primary) argument
523 locateTextAtIndex(TextView textView, int index, boolean primary) 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/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/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/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/tests/notification/src/com/android/server/notification/
H A DNotificationListenerServiceTest.java100 private int getVisibilityOverride(int index) { argument
101 return index * 9;
108 private boolean isIntercepted(int index) { argument
109 return index % 2 == 0;
112 private int getSuppressedVisualEffects(int index) { argument
113 return index * 2;
116 private int getImportance(int index) { argument
117 return index;
124 private NotificationChannel getChannel(String key, int index) { argument
125 return new NotificationChannel(key, key, getImportance(index));
128 getShowBadge(int index) argument
132 getPeople(String key, int index) argument
140 getSnoozeCriteria(String key, int index) argument
[all...]
/frameworks/base/telephony/java/com/android/ims/
H A DImsSuppServiceNotification.java38 /** TS 27.007 7.17 "index" - Not used currently*/
39 public int index; field in class:ImsSuppServiceNotification
58 ", index=" + index +
74 out.writeInt(index);
83 index = in.readInt();
/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/layoutlib/bridge/src/android/content/res/
H A DTypedArray_Delegate.java26 public static boolean getValueAt(TypedArray theTypedArray, int index, TypedValue outValue) { argument
/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
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
H A DCallbackRegistry.java52 * The lowest significant bit corresponds to the 0th index into mCallbacks.
165 * @param remainderIndex The index into mRemainderRemoved that should be notified.
191 * @param startIndex The index into the mCallbacks to start notifying.
192 * @param endIndex One past the last index into mCallbacks to notify.
216 int index = mCallbacks.lastIndexOf(callback);
217 if (index < 0 || isRemoved(index)) {
223 * Returns true if the callback at index has been marked for removal.
225 * @param index The index int
228 isRemoved(int index) argument
287 setRemovalBit(int index) argument
[all...]

Completed in 3830 milliseconds

1234567891011>>