/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
H A D | ResizableIntArray.java | 118 public void append(@Nonnull final ResizableIntArray src, final int startPos, final int length) { argument 125 System.arraycopy(src.mArray, startPos, mArray, currentLength, length); 129 public void fill(final int value, final int startPos, final int length) { argument 130 if (startPos < 0 || length < 0) { 131 throw new IllegalArgumentException("startPos=" + startPos + "; length=" + length); 133 final int endPos = startPos + length; 135 Arrays.fill(mArray, startPos, endPos, value);
|
H A D | InputPointers.java | 96 * @param startPos the starting index of the data in {@code times} and etc. 101 @Nonnull final ResizableIntArray yCoordinates, final int startPos, final int length) { 105 mXCoordinates.append(xCoordinates, startPos, length); 106 mYCoordinates.append(yCoordinates, startPos, length); 108 mTimes.append(times, startPos, length); 99 append(final int pointerId, @Nonnull final ResizableIntArray times, @Nonnull final ResizableIntArray xCoordinates, @Nonnull final ResizableIntArray yCoordinates, final int startPos, final int length) argument
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/ |
H A D | ResizableIntArrayTests.java | 234 final int startPos = 0; 235 dst.append(src, startPos, 0 /* length */); 238 assertIntArrayEquals("values after append zero", dstCopy.getPrimitiveArray(), startPos, 239 dst.getPrimitiveArray(), startPos, dstLength); 241 dst.append(src, startPos, srcLength); 246 assertIntArrayEquals("original values after append", dstCopy.getPrimitiveArray(), startPos, 247 dst.getPrimitiveArray(), startPos, dstLength); 248 assertIntArrayEquals("appended values after append", src.getPrimitiveArray(), startPos, 251 dst.append(src, startPos, srcLength); 257 dstCopy.getPrimitiveArray(), startPos, ds [all...] |
H A D | InputPointersTests.java | 175 final int startPos = 0; 177 startPos, 0 /* length */); 180 dstCopy.getXCoordinates(), startPos, dst.getXCoordinates(), startPos, dstLength); 182 dstCopy.getYCoordinates(), startPos, dst.getYCoordinates(), startPos, dstLength); 184 dstCopy.getPointerIds(), startPos, dst.getPointerIds(), startPos, dstLength); 186 dstCopy.getTimes(), startPos, dst.getTimes(), startPos, dstLengt [all...] |
/packages/apps/TV/src/com/android/tv/tuner/source/ |
H A D | TunerTsStreamer.java | 395 int startPos = (int) (pos % CIRCULAR_BUFFER_SIZE); 397 int firstLength = (startPos > endPos ? CIRCULAR_BUFFER_SIZE : endPos) - startPos; 398 System.arraycopy(mCircularBuffer, startPos, buffer, offset, firstLength);
|
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
H A D | PduParser.java | 844 int startPos = pduDataStream.available(); 845 if (startPos <= 0) { 873 int partHeaderLen = headerLength - (startPos - endPos); 1360 int startPos = pduDataStream.available(); 1406 lastLen = length - (startPos - tempPos); 1430 lastLen = length - (startPos - tempPos); 1474 lastLen = length - (startPos - tempPos); 1493 lastLen = length - (startPos - tempPos); 1540 int startPos = pduDataStream.available(); 1564 int parameterLen = length - (startPos [all...] |
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
H A D | PduParser.java | 878 int startPos = pduDataStream.available(); 879 if (startPos <= 0) { 907 int partHeaderLen = headerLength - (startPos - endPos); 1397 int startPos = pduDataStream.available(); 1443 lastLen = length - (startPos - tempPos); 1467 lastLen = length - (startPos - tempPos); 1511 lastLen = length - (startPos - tempPos); 1530 lastLen = length - (startPos - tempPos); 1577 int startPos = pduDataStream.available(); 1601 int parameterLen = length - (startPos [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
H A D | FolderPagedView.java | 596 int startPos, endPos; 614 startPos = 0; 617 startPos = pagePosE; 632 startPos = mMaxItemsPerPage - 1; 635 startPos = pagePosE; 681 if ((endPos - startPos) * direction <= 0) { 687 for (int i = startPos; i != endPos; i += direction) {
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | Utils.java | 1940 int startPos = 0; 1950 while (startPos < endPos) { 1952 while (Character.isWhitespace(text.charAt(startPos)) && startPos < endPos) { 1953 startPos++; 1955 if (startPos == endPos) { 1960 int matchEnd = findNanpMatchEnd(text, startPos); 1961 if (matchEnd > startPos) { 1962 list.add(startPos); 1964 startPos 1987 findNanpMatchEnd(CharSequence text, int startPos) argument [all...] |
/packages/apps/TV/src/com/android/tv/tuner/ts/ |
H A D | TsParser.java | 125 int startPos = 0; 128 startPos = (data[0] & 0xff) + 1; 135 startPos = 1; 140 if (startPos >= data.length) { 144 mPacket.append(data, startPos, data.length - startPos);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/ |
H A D | SelectionManager.java | 306 * Starts and extends range selection in one go. This assumes item at startPos is not selected 309 public void formNewSelectionRange(int startPos, int endPos) { argument 310 assert(!mSelection.contains(mAdapter.getModelId(startPos))); 311 startRangeSelection(startPos);
|
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/ |
H A D | SettingsDialog.java | 77 int startPos = intent.getIntExtra(EXTRA_START_POS, -1); 79 Log.d(TAG, "startPos=" + startPos); 125 mPanelList.setSelectedPosition(startPos + 1);
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
H A D | patricia_trie_policy.cpp | 111 const int startPos = pos; local 122 if (ptNodePos == startPos) { 179 lastCandidatePtNodePos = startPos; 251 if (hasChildren) lastCandidatePtNodePos = startPos;
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
H A D | InputLogicTests.java | 672 final int startPos) { 673 final int END_OF_WORD = startPos + word.length(); 674 final int NEW_CURSOR_POSITION = startPos + word.length() / 2; 687 private void typeWordAndPutCursorInside(final String word, final int startPos) { argument 688 typeOrGestureWordAndPutCursorInside(false /* gesture */, word, startPos); 691 private void gestureWordAndPutCursorInside(final String word, final int startPos) { argument 692 typeOrGestureWordAndPutCursorInside(true /* gesture */, word, startPos); 703 typeWordAndPutCursorInside(WORD_TO_TYPE, 0 /* startPos */); 712 typeWordAndPutCursorInside(WORD_TO_TYPE, cursorPos + 1 /* startPos */); 720 gestureWordAndPutCursorInside(WORD_TO_TYPE, 0 /* startPos */); 671 typeOrGestureWordAndPutCursorInside(final boolean gesture, final String word, final int startPos) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/ |
H A D | TextUtilities.java | 341 * @param startPos the start position in the HTML text where the tag starts 344 /*package*/ static int findTagEnd(String htmlText, String tag, int startPos) { argument 350 for (int i = startPos; i < length; i++) { 361 return htmlText.indexOf("/" + tag, startPos);
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
H A D | ComposeActivity.java | 2914 int startPos = -1; 2917 return startPos; 2928 startPos = bodyLength - printableLength; 2932 startPos = bodyLength - signatureLength; 2934 return startPos;
|
/packages/apps/TV/libs/ |
H A D | exoplayer.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ... |
H A D | exoplayer_v2.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer2/ ... |