/frameworks/support/compat/ics/android/support/v4/view/accessibility/ |
H A D | AccessibilityEventCompatIcs.java | 35 public static Object getRecord(AccessibilityEvent event, int index) { argument 36 return event.getRecord(index);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | MultiActionsProvider.java | 34 * the current index within the drawables. Both list of drawables and index can be updated 71 * Increments the index which this MultiAction currently represents. The index is wrapped 79 * Sets the index which this MultiAction currently represents. 80 * @param index The current action index. 82 public void setIndex(int index) { argument 83 mIndex = index; 87 * Returns the currently selected index i [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeXmlBlockParser.java | 239 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 D | VideoFormats.cpp | 146 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 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/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/core/tests/coretests/src/android/widget/espresso/ |
H A D | TextViewActions.java | 42 * 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/base/tools/aapt/ |
H A D | AaptConfig.cpp | 39 ssize_t index = 0; local 42 const char* part = parts[index].string(); 49 index++; 50 if (index == N) { 53 part = parts[index].string(); 57 index++; 58 if (index == N) { 61 part = parts[index].string(); 65 // control the index. 66 localeIndex = locale.initFromDirName(parts, index); [all...] |
/frameworks/base/libs/hwui/ |
H A D | JankTracker.cpp | 89 uint32_t index = static_cast<uint32_t>(ns2ms(frameTime)); local 90 // If index > kBucketMinThreshold mask will be 0xFFFFFFFF as a result 92 uint32_t mask = -(index > kBucketMinThreshold); 93 // If index > threshold, this will essentially perform: 94 // amountAboveThreshold = index - threshold; 95 // index = threshold + (amountAboveThreshold / 2) 96 // However if index is <= this will do nothing. It will underflow, do 98 index = ((index - kBucket4msIntervals) >> (index > kBucket4msInterval 110 frameTimeForFrameCountIndex(uint32_t 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/codecs/avc/enc/ |
H A D | SoftAVCEncoder.h | 39 OMX_INDEXTYPE index, OMX_PTR params); 42 OMX_INDEXTYPE index, const OMX_PTR params); 52 void unbindOutputBuffer(int32_t index); 53 int32_t bindOutputBuffer(int32_t index, uint8_t **yuv);
|
/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/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/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/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/telephony/java/com/android/ims/ |
H A D | ImsSuppServiceNotification.java | 38 /** 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/tools/layoutlib/bridge/src/android/content/res/ |
H A D | TypedArray_Delegate.java | 26 public static boolean getValueAt(TypedArray theTypedArray, int index, TypedValue outValue) { argument
|
/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
|
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/ |
H A D | CallbackRegistry.java | 52 * 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. 213 int index = mCallbacks.lastIndexOf(callback); 214 if (index < 0 || isRemoved(index)) { 220 * Returns true if the callback at index has been marked for removal. 222 * @param index The index int 225 isRemoved(int index) argument 284 setRemovalBit(int index) argument [all...] |