/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
StaggeredGrid.java | 286 * on that row between startPos(included) and endPositions(included). 289 public final List<Integer>[] getItemPositionsInRows(int startPos, int endPos) { 293 if (startPos >= 0) { 294 for (int i = startPos; i <= endPos; i++) {
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldTreeSetTest.java | 182 final int startPos = objArray.length / 4; 184 SortedSet aSubSet = ts.subSet(objArray[startPos], objArray[endPos]); 186 aSubSet.size() == (endPos - startPos)); 187 for (int counter = startPos; counter < endPos; counter++)
|
/packages/apps/Browser/src/com/android/browser/ |
TitleBar.java | 174 float startPos = (-getEmbeddedHeight() + visibleHeight); 176 startPos = Math.max(startPos, getTranslationY()); 180 startPos, 0);
|
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/ |
SettingsDialog.java | 76 int startPos = intent.getIntExtra(EXTRA_START_POS, -1); 78 Log.d(TAG, "startPos=" + startPos); 127 mPanelList.setSelectedPosition(startPos);
|
/external/pdfium/core/src/fxcodec/codec/ |
fx_codec_fax.cpp | 68 void _FaxFillBits(FX_LPBYTE dest_buf, int columns, int startpos, int endpos)
70 if (startpos < 0) {
71 startpos = 0;
79 if (startpos >= endpos) {
82 int first_byte = startpos / 8;
85 for (int i = startpos % 8; i <= (endpos - 1) % 8; i ++) {
91 for (i = startpos % 8; i < 8; i ++) {
507 int startpos = 0;
local 530 _FaxFillBits(dest_buf, columns, startpos, startpos + run_len); [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
ExtendableMessageNano.java | 128 int startPos = input.getPosition(); 134 byte[] bytes = input.getData(startPos, endPos - startPos);
|
/frameworks/av/media/libmedia/ |
MediaScanner.cpp | 115 int startPos = 0; 121 && (strncmp(path, &mSkipList[startPos], len) == 0)) { 124 startPos += mSkipIndex[idx] + 1; // extra char for the delimiter
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
InlineTextBox.cpp | 151 bool InlineTextBox::isSelected(int startPos, int endPos) const 153 int sPos = std::max(startPos - m_start, 0); 164 int startPos, endPos; 165 renderer().selectionStartEnd(startPos, endPos); 172 bool start = (state != RenderObject::SelectionEnd && startPos >= m_start && startPos <= m_start + m_len + endOfLineAdjustmentForCSSLineBreak); 180 else if ((state == RenderObject::SelectionEnd || startPos < m_start) && 206 LayoutRect InlineTextBox::localSelectionRect(int startPos, int endPos) 208 int sPos = std::max(startPos - m_start, 0); 578 int startPos, endPos [all...] |
InlineTextBox.h | 113 virtual LayoutRect localSelectionRect(int startPos, int endPos); 114 bool isSelected(int startPos, int endPos) const; 176 void paintSingleCompositionBackgroundRun(GraphicsContext*, const FloatPoint& boxOrigin, RenderStyle*, const Font&, Color backgroundColor, int startPos, int endPos);
|
/external/chromium_org/third_party/lzma_sdk/ |
7zDec.c | 336 ILookInStream *inStream, UInt64 startPos, 387 RINOK(LookInStream_SeekTo(inStream, startPos + offset)); 419 RINOK(LookInStream_SeekTo(inStream, startPos + offset)); 460 ILookInStream *inStream, UInt64 startPos, 465 SRes res = SzFolder_Decode2(folder, packSizes, inStream, startPos,
|
/external/lzma/C/ |
7zDec.c | 336 ILookInStream *inStream, UInt64 startPos,
387 RINOK(LookInStream_SeekTo(inStream, startPos + offset));
419 RINOK(LookInStream_SeekTo(inStream, startPos + offset));
460 ILookInStream *inStream, UInt64 startPos,
465 SRes res = SzFolder_Decode2(folder, packSizes, inStream, startPos,
|
/external/javassist/src/main/javassist/bytecode/ |
ClassFileWriter.java | 319 private int startPos; 387 startPos = output.getPos(); 449 output.writeShort(startPos + 6, maxStack); 450 output.writeShort(startPos + 8, maxLocals); 451 output.writeInt(startPos + 10, output.getPos() - startPos - 14); // code_length 502 output.writeInt(startPos + 2, output.getPos() - startPos - 6); 522 protected int startPos; 527 startPos = out.getPos() [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
SmsMessageBodyTest.java | 262 int startPos = 0; 271 int endPos = (asciiCharsLen - startPos > addCount) ? 272 (startPos + addCount) : asciiCharsLen; 273 sb.append(sAsciiChars, startPos, endPos); 274 startPos = (endPos == asciiCharsLen) ? 0 : endPos; 295 int startPos = 0; 305 int endPos = (unicodeCharsLen - startPos > addCount) ? 306 (startPos + addCount) : unicodeCharsLen; 307 sb.append(sUnicodeChars, startPos, endPos); 308 startPos = (endPos == unicodeCharsLen) ? 0 : endPos [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
SearchActivity.java | 103 int startPos = 0; 109 startPos = m.start(); 122 snippetString = mFullText.substring(startPos, startPos + searchStringLength); 135 int newstart = Math.max(0, startPos - offset); 136 int newend = Math.min(bodyLength, startPos + searchStringLength + offset);
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zDecode.cpp | 92 UInt64 startPos,
120 lockedStreamImpSpec->Init(&lockedInStream, startPos);
121 startPos += packSizes[j];
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
rhino-python.prog | 45 this.startPos = this.getCharPositionInLine();
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
XPathFunctions.cpp | 338 unsigned startPos = 0; 341 while (startPos < length && isWhitespace(idList[startPos])) 342 ++startPos; 344 if (startPos == length) 347 size_t endPos = startPos; 353 Node* node = contextScope.getElementById(AtomicString(idList.substring(startPos, endPos - startPos))); 357 startPos = endPos;
|
/external/chromium_org/third_party/icu/source/i18n/ |
nfrule.h | 84 double matchToDelimiter(const UnicodeString& text, int32_t startPos, double baseValue,
|
rematch.cpp | 607 int64_t startPos = fMatchEnd; 608 if (startPos==0) { 609 startPos = fActiveStart; 619 if (startPos >= fActiveLimit) { 624 UTEXT_SETNATIVEINDEX(fInputText, startPos); 626 startPos = UTEXT_GETNATIVEINDEX(fInputText); 646 if (startPos > testStartLimit) { 658 U_ASSERT(startPos >= 0); 665 MatchAt(startPos, FALSE, fDeferredStatus); 672 if (startPos >= testStartLimit) [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
enhancer_interface.c | 51 int16_t startPos; 86 startPos=320; /* Start position for enhancement 91 startPos=440; /* Start position for enhancement 376 (int16_t)(WEBRTC_SPL_MUL_16_16(iblock, ENH_BLOCKL)+startPos),
|
/external/icu/icu4c/source/i18n/ |
nfrule.h | 84 double matchToDelimiter(const UnicodeString& text, int32_t startPos, double baseValue,
|
rematch.cpp | 598 int64_t startPos = fMatchEnd; 599 if (startPos==0) { 600 startPos = fActiveStart; 610 if (startPos >= fActiveLimit) { 615 UTEXT_SETNATIVEINDEX(fInputText, startPos); 617 startPos = UTEXT_GETNATIVEINDEX(fInputText); 637 if (startPos > testStartLimit) { 649 U_ASSERT(startPos >= 0); 656 MatchAt(startPos, FALSE, fDeferredStatus); 663 if (startPos >= testStartLimit) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
TreeSetTest.java | 268 final int startPos = objArray.length / 4; 270 SortedSet aSubSet = ts.subSet(objArray[startPos], objArray[endPos]); 272 aSubSet.size() == (endPos - startPos)); 273 for (int counter = startPos; counter < endPos; counter++)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
heapq.py | 239 # 'heap' is a heap at all indices >= startpos, except possibly for pos. pos 242 def _siftdown(heap, startpos, pos): 246 while pos > startpos: 297 startpos = pos 313 _siftdown(heap, startpos, pos) 315 def _siftdown_max(heap, startpos, pos): 320 while pos > startpos: 333 startpos = pos 349 _siftdown_max(heap, startpos, pos)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
heapq.py | 239 # 'heap' is a heap at all indices >= startpos, except possibly for pos. pos 242 def _siftdown(heap, startpos, pos): 246 while pos > startpos: 297 startpos = pos 313 _siftdown(heap, startpos, pos) 315 def _siftdown_max(heap, startpos, pos): 320 while pos > startpos: 333 startpos = pos 349 _siftdown_max(heap, startpos, pos)
|