/frameworks/base/core/java/com/android/internal/alsa/ |
H A D | LineTokenizer.java | 32 int nextToken(String line, int startIndex) { argument 34 int offset = startIndex; 45 int nextDelimiter(String line, int startIndex) { argument 47 int offset = startIndex;
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
H A D | Reparenting.java | 48 private void setupButtons(int startIndex, ViewGroup parent) { argument 49 for (int i = startIndex; i < (startIndex + 3); ++i) {
|
/frameworks/base/core/java/android/view/textclassifier/ |
H A D | TextClassifier.java | 67 CharSequence text, int startIndex, int endIndex, LocaleList defaultLocales) { 101 * by the sub sequence starting at startIndex and ending at endIndex) 102 * @param startIndex start index of the text to classify 109 * @throws IllegalArgumentException if text is null; startIndex is negative; 110 * endIndex is greater than text.length() or not greater than startIndex 116 @IntRange(from = 0) int startIndex, 114 classifyText( @onNull CharSequence text, @IntRange(from = 0) int startIndex, @IntRange(from = 0) int endIndex, @Nullable LocaleList defaultLocales) argument
|
H A D | TextLanguage.java | 41 int startIndex, int endIndex, @NonNull EntityConfidence<Locale> languageConfidence) { 42 mStartIndex = startIndex; 112 * @param startIndex the start index of the detected languages in the text provided 115 * to generate the result. Must be greater than startIndex 117 public Builder(@IntRange(from = 0) int startIndex, @IntRange(from = 0) int endIndex) { argument 118 Preconditions.checkArgument(startIndex >= 0); 119 Preconditions.checkArgument(endIndex > startIndex); 120 mStartIndex = startIndex; 40 TextLanguage( int startIndex, int endIndex, @NonNull EntityConfidence<Locale> languageConfidence) argument
|
H A D | TextSelection.java | 40 int startIndex, int endIndex, @NonNull EntityConfidence<String> entityConfidence, 42 mStartIndex = startIndex; 121 * @param startIndex the start index of the text selection. 122 * @param endIndex the end index of the text selection. Must be greater than startIndex 124 public Builder(@IntRange(from = 0) int startIndex, @IntRange(from = 0) int endIndex) { argument 125 Preconditions.checkArgument(startIndex >= 0); 126 Preconditions.checkArgument(endIndex > startIndex); 127 mStartIndex = startIndex; 39 TextSelection( int startIndex, int endIndex, @NonNull EntityConfidence<String> entityConfidence, @NonNull String logSource) argument
|
H A D | TextClassifierImpl.java | 140 @NonNull CharSequence text, int startIndex, int endIndex, 142 validateInput(text, startIndex, endIndex); 147 .classifyText(string, startIndex, endIndex, 148 getHintFlags(string, startIndex, endIndex)); 152 results, string.subSequence(startIndex, endIndex)); 162 text, startIndex, endIndex, defaultLocales); 422 * @throws IllegalArgumentException if text is null; startIndex is negative; 423 * endIndex is greater than text.length() or is not greater than startIndex 425 private static void validateInput(@NonNull CharSequence text, int startIndex, int endIndex) { argument 427 Preconditions.checkArgument(startIndex > 139 classifyText( @onNull CharSequence text, int startIndex, int endIndex, @Nullable LocaleList defaultLocales) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | ComprehensionTlv.java | 84 * @param startIndex Index in data at which to start parsing 88 public static List<ComprehensionTlv> decodeMany(byte[] data, int startIndex) argument 92 while (startIndex < endIndex) { 93 ComprehensionTlv ctlv = ComprehensionTlv.decode(data, startIndex); 96 startIndex = ctlv.mValueIndex + ctlv.mLength; 110 * @param startIndex Index in data at which to start parsing 114 public static ComprehensionTlv decode(byte[] data, int startIndex) argument 116 int curIndex = startIndex; 129 ", startIndex=" + startIndex [all...] |
/frameworks/av/media/libaaudio/src/fifo/ |
H A D | FifoBuffer.cpp | 84 int32_t startIndex) { 89 uint8_t *source = &mStorage[convertFramesToBytes(startIndex)]; 91 if ((startIndex + framesAvailable) > mFrameCapacity) { 93 wrappingBuffer->numFrames[0] = mFrameCapacity - startIndex; 95 wrappingBuffer->numFrames[1] = mFrameCapacity - startIndex; 110 fifo_frames_t startIndex = mFifo->getReadIndex(); local 111 fillWrappingBuffer(wrappingBuffer, framesAvailable, startIndex); 116 fifo_frames_t startIndex = mFifo->getWriteIndex(); local 117 fillWrappingBuffer(wrappingBuffer, framesAvailable, startIndex); 82 fillWrappingBuffer(WrappingBuffer *wrappingBuffer, int32_t framesAvailable, int32_t startIndex) argument
|
/frameworks/av/media/libmedia/ |
H A D | IMediaCodecList.cpp | 82 const char *type, bool encoder, size_t startIndex = 0) const 84 if (startIndex > INT32_MAX) { 92 data.writeInt32(startIndex); 165 size_t startIndex = static_cast<size_t>(data.readInt32()); local 166 ssize_t index = findCodecByType(type, isEncoder, startIndex);
|
/frameworks/base/core/java/android/animation/ |
H A D | PathKeyframes.java | 99 private PointF interpolateInRange(float fraction, int startIndex, int endIndex) { argument 100 int startBase = (startIndex * NUM_COMPONENTS);
|
H A D | AnimatorInflater.java | 895 int startIndex = i; 897 for (int j = startIndex + 1; j < count - 1; ++j) { 904 keyframeArray[startIndex - 1].getFraction(); 905 distributeKeyframes(keyframeArray, gap, startIndex, endIndex); 931 * keyframe before startIndex. 936 * - startIndex must be >0 (which follows from first assumption). 937 * - endIndex must be >= startIndex. 941 * @param startIndex The index of the first keyframe whose fraction must be set 945 int startIndex, int endIndex) { 946 int count = endIndex - startIndex 944 distributeKeyframes(Keyframe[] keyframes, float gap, int startIndex, int endIndex) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | CallbackRegistry.java | 175 final int startIndex = (remainderIndex + 1) * Long.SIZE; 176 final int endIndex = Math.min(mCallbacks.size(), startIndex + Long.SIZE); 178 notifyCallbacksLocked(sender, arg, arg2, startIndex, endIndex, bits); 183 * Notify callbacks from startIndex to endIndex, using bits as the bit status 185 * mFirst64Removed. bits set to 0 indicates that all callbacks from startIndex to 194 * @param startIndex The index into the mCallbacks to start notifying. 199 private void notifyCallbacksLocked(T sender, int arg, A arg2, final int startIndex, argument 202 for (int i = startIndex; i < endIndex; i++) { 251 * Removes callbacks from startIndex to startIndex 257 removeRemovedCallbacks(int startIndex, long removed) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
H A D | TextClassificationManagerTest.java | 63 int startIndex = text.indexOf(selected); 64 int endIndex = startIndex + selected.length(); 68 assertThat(mClassifier.suggestSelection(text, startIndex, endIndex, LOCALES), 79 int startIndex = text.indexOf(selected); 80 int endIndex = startIndex + selected.length(); 85 assertThat(mClassifier.suggestSelection(text, startIndex, endIndex, nullLocales), 96 int startIndex = text.indexOf(selected); 97 int endIndex = startIndex + selected.length(); 101 assertThat(mClassifier.suggestSelection(text, startIndex, endIndex, LOCALES), 111 int startIndex 204 isTextSelection( final int startIndex, final int endIndex, final String type) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | Interpolator.cpp | 99 size_t startIndex = 0; local 102 while (endIndex > startIndex + 1) { 103 int midIndex = (startIndex + endIndex) / 2; 107 startIndex = midIndex; 111 float xRange = mX[endIndex] - mX[startIndex]; 113 return mY[startIndex]; 116 float tInRange = t - mX[startIndex]; 119 float startY = mY[startIndex];
|
H A D | PathParser.cpp | 31 static size_t nextStart(const char* s, size_t length, size_t startIndex) { argument 32 size_t index = startIndex;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | KeyboardShortcutKeysLayout.java | 161 private void layoutChildrenOnRow(int startIndex, int endIndex, int fullRowWidth, int xPos, argument 167 for (int j = startIndex; j < endIndex; ++j) { 171 if (isRTL() && j == startIndex) {
|
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/ |
H A D | CallbackRegistry.java | 172 final int startIndex = (remainderIndex + 1) * Long.SIZE; 173 final int endIndex = Math.min(mCallbacks.size(), startIndex + Long.SIZE); 175 notifyCallbacks(sender, arg, arg2, startIndex, endIndex, bits); 180 * Notify callbacks from startIndex to endIndex, using bits as the bit status 182 * mFirst64Removed. bits set to 0 indicates that all callbacks from startIndex to 191 * @param startIndex The index into the mCallbacks to start notifying. 196 private void notifyCallbacks(T sender, int arg, A arg2, final int startIndex, argument 199 for (int i = startIndex; i < endIndex; i++) { 251 * Removes callbacks from startIndex to startIndex 258 removeRemovedCallbacks(int startIndex, long removed) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
H A D | TextViewActions.java | 163 * Returns an action that long presses then drags on text from startIndex to endIndex on the 171 * @param startIndex The index of the TextView's text to start a drag from 174 public static ViewAction longPressAndDragOnText(int startIndex, int endIndex) { argument 178 new TextCoordinates(startIndex), 185 * Returns an action that double taps then drags on text from startIndex to endIndex on the 193 * @param startIndex The index of the TextView's text to start a drag from 196 public static ViewAction doubleTapAndDragOnText(int startIndex, int endIndex) { argument 200 new TextCoordinates(startIndex), 207 * Returns an action that click then drags by mouse on text from startIndex to endIndex on the 215 * @param startIndex Th 218 mouseDragOnText(int startIndex, int endIndex) argument 240 mouseDoubleClickAndDragOnText(int startIndex, int endIndex) argument 262 mouseLongClickAndDragOnText(int startIndex, int endIndex) argument 284 mouseTripleClickAndDragOnText(int startIndex, int endIndex) argument [all...] |
/frameworks/native/libs/binder/ |
H A D | Debug.cpp | 223 const size_t startIndex = word+(alignment-(alignment?1:0)); local 233 const unsigned char val = *(pos+startIndex-index); 250 const unsigned char val = *(pos+startIndex-index);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | LegacyPasspointConfigParser.java | 439 * @param startIndex The start index from the given line to parse from 443 private static Pair<String, Integer> parseString(byte[] lineBytes, int startIndex) argument 447 for (int i = startIndex; i < lineBytes.length; i++) { 459 String lengthStr = new String(lineBytes, startIndex, prefixIndex - startIndex,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | WspTypeDecoder.java | 213 * @param startIndex The starting position of the "Text-string" in this pdu 219 public boolean decodeTextString(int startIndex) { argument 220 int index = startIndex; 224 mDataLength = index - startIndex + 1; 225 if (mWspData[startIndex] == 127) { 226 mStringValue = new String(mWspData, startIndex + 1, mDataLength - 2); 228 mStringValue = new String(mWspData, startIndex, mDataLength - 1); 236 * @param startIndex The starting position of the "Token-text" in this pdu 242 public boolean decodeTokenText(int startIndex) { argument 243 int index = startIndex; 262 decodeShortInteger(int startIndex) argument 280 decodeLongInteger(int startIndex) argument 303 decodeIntegerValue(int startIndex) argument 319 decodeUintvarInteger(int startIndex) argument 344 decodeValueLength(int startIndex) argument 368 decodeExtensionMedia(int startIndex) argument 394 decodeConstrainedEncoding(int startIndex) argument 415 decodeContentType(int startIndex) argument 466 readContentParameters(int startIndex, int leftToRead, int accumulator) argument 536 decodeNoValue(int startIndex) argument 568 decodeContentLength(int startIndex) argument 581 decodeContentLocation(int startIndex) argument 595 decodeXWapApplicationId(int startIndex) argument 612 seekXWapApplicationId(int startIndex, int endIndex) argument 676 decodeXWapContentURI(int startIndex) argument 689 decodeXWapInitiatorURI(int startIndex) argument [all...] |
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZoneFilterTypeAdapter.java | 344 * @param startIndex 347 public int parseNum(String str, int startIndex) { argument 348 int idx = startIndex;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | GIFMovie.cpp | 365 int startIndex = fLastDrawIndex + 1; local 369 startIndex = 0; 379 } else if (startIndex > fCurrIndex) { 381 startIndex = 0; 400 for (int i = startIndex; i <= lastIndex; i++) {
|
/frameworks/support/fragment/java/android/support/v4/app/ |
H A D | FragmentTransition.java | 75 * @param startIndex The first index into records and isRecordPop to execute as 85 int startIndex, int endIndex, boolean isReordered) { 93 for (int i = startIndex; i < endIndex; i++) { 109 records, isRecordPop, startIndex, endIndex); 134 * @param startIndex The first index into records and isRecordPop to execute as 143 int startIndex, int endIndex) { 145 for (int recordNum = endIndex - 1; recordNum >= startIndex; recordNum--) { 83 startTransitions(FragmentManagerImpl fragmentManager, ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, int startIndex, int endIndex, boolean isReordered) argument 141 calculateNameOverrides(int containerId, ArrayList<BackStackRecord> records, ArrayList<Boolean> isRecordPop, int startIndex, int endIndex) argument
|
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
H A D | AnimatorInflaterCompat.java | 755 int startIndex = i; 757 for (int j = startIndex + 1; j < count - 1; ++j) { 764 - keyframeArray[startIndex - 1].getFraction(); 765 distributeKeyframes(keyframeArray, gap, startIndex, endIndex); 791 * keyframe before startIndex. 796 * - startIndex must be >0 (which follows from first assumption). 797 * - endIndex must be >= startIndex. 801 * @param startIndex The index of the first keyframe whose fraction must be set 805 int startIndex, int endIndex) { 806 int count = endIndex - startIndex 804 distributeKeyframes(Keyframe[] keyframes, float gap, int startIndex, int endIndex) argument [all...] |