/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
D | CachedInputStream.java | 37 private int mPos = 0; // current read position inside the chunk buffers field in CachedInputStream 70 int chunks = mPos / CHUNK_SIZE; in mark() 77 mPos = mPos - removedBytes; in mark() 81 mMarkPos = mPos; in mark() 90 mPos = mMarkPos; in reset() 124 mPos = 0; in invalidate() 149 if (mPos == mBufs.size() * CHUNK_SIZE) { in read() 152 int currentBuf = mPos / CHUNK_SIZE; in read() 153 int indexInBuf = mPos - currentBuf * CHUNK_SIZE; in read() 156 int leftInBuffer = end - mPos; in read() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/pt_common/ |
D | dynamic_pt_reading_helper.h | 88 return mReadingState.mPos == NOT_A_DICT_POS; in isEnd() 94 mReadingState.mPos = NOT_A_DICT_POS; in initWithPtNodeArrayPos() 97 mReadingState.mPos = ptNodeArrayPos; in initWithPtNodeArrayPos() 110 mReadingState.mPos = NOT_A_DICT_POS; in initWithPtNodePos() 113 mReadingState.mPos = ptNodePos; in initWithPtNodePos() 128 return mPtNodeReader->fetchPtNodeParamsInBufferFromPtNodePos(mReadingState.mPos); in getPtNodeParams() 162 mReadingState.mPos = ptNodeParams.getSiblingNodePos(); in readNextSiblingNode() 176 mReadingState.mPos = ptNodeParams.getChildrenPos(); in readChildNode() 181 mReadingState.mPos = NOT_A_DICT_POS; in readChildNode() 193 mReadingState.mPos = ptNodeParams.getParentPos(); in readParentNode() [all …]
|
D | dynamic_pt_reading_helper.cpp | 270 mReadingState.mPos, &ptNodeCountInArray, &firstPtNodePos)) { in nextPtNodeArray() 272 mReadingState.mPos = NOT_A_DICT_POS; in nextPtNodeArray() 275 mReadingState.mPosOfThisPtNodeArrayHead = mReadingState.mPos; in nextPtNodeArray() 277 mReadingState.mPos = firstPtNodePos; in nextPtNodeArray() 297 mReadingState.mPos = NOT_A_DICT_POS; in nextPtNodeArray() 310 mReadingState.mPos, &nextPtNodeArrayPos)) { in followForwardLink() 312 mReadingState.mPos = NOT_A_DICT_POS; in followForwardLink() 315 mReadingState.mPosOfLastForwardLinkField = mReadingState.mPos; in followForwardLink() 318 mReadingState.mPos = nextPtNodeArrayPos; in followForwardLink() 322 mReadingState.mPos = NOT_A_DICT_POS; in followForwardLink()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | ListSuggestionCursor.java | 41 private int mPos = 0; field in ListSuggestionCursor 75 return mPos; in getPosition() 79 mPos = pos; in moveTo() 84 if (mPos >= size) { in moveToNext() 88 mPos++; in moveToNext() 89 return mPos < size; in moveToNext() 93 mSuggestions.remove(mPos); in removeRow() 97 mSuggestions.set(mPos, new Entry(suggestion)); in replaceRow() 106 return mSuggestions.get(mPos).get(); in current() 140 return mSuggestions.get(mPos).getExtras(); in getExtras()
|
/packages/apps/Email/provider_src/com/android/email/mail/transport/ |
D | DiscourseLogger.java | 33 private int mPos; field in DiscourseLogger 47 mBuffer[mPos] = s; in addLine() 48 mPos++; in addLine() 49 if (mPos >= mBufferSize) { in addLine() 50 mPos = 0; in addLine() 88 final int start = mPos; in getLines() 89 int pos = mPos; in getLines()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
D | binary_dictionary_bigrams_iterator.h | 29 : mBigramsStructurePolicy(nullptr), mPos(NOT_A_DICT_POS), in BinaryDictionaryBigramsIterator() 34 : mBigramsStructurePolicy(bigramsStructurePolicy), mPos(pos), in BinaryDictionaryBigramsIterator() 40 mPos(bigramsIterator.mPos), mBigramPos(bigramsIterator.mBigramPos), in BinaryDictionaryBigramsIterator() 48 mBigramsStructurePolicy->getNextBigram(&mBigramPos, &mProbability, &mHasNext, &mPos); in next() 63 int mPos; variable
|
D | binary_dictionary_shortcut_iterator.h | 31 mPos(shortcutStructurePolicy->getStartPos(shortcutPos)), in BinaryDictionaryShortcutIterator() 44 outIsWhitelist, &mHasNextShortcutTarget, &mPos); in nextShortcutTarget() 51 int mPos; variable
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
D | AbstractGoogleSourceResult.java | 32 private int mPos = 0; field in AbstractGoogleSourceResult 51 return mPos; in getPosition() 59 mPos = pos; in moveTo() 64 if (mPos >= size) { in moveToNext() 68 mPos++; in moveToNext() 69 return mPos < size; in moveToNext()
|
/packages/apps/Browser/src/com/android/browser/provider/ |
D | BrowserProvider.java | 545 if ((mPos != -1 && mHistoryCursor != null)) { in getString() 548 if (mHistoryCount == 0 && mPos == 0) { in getString() 551 if (mPos == 0) { in getString() 553 } else if (mPos == 1) { in getString() 557 if (type == -1) type = (mPos - 1) < mHistoryCount ? 1 : 2; in getString() 559 type = mPos < mHistoryCount ? 1 : 2; in getString() 672 if ((mPos != -1) && column == 0) { 673 return mPos; // use row# as the _Id
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionaryProvider.java | 125 mPos = 0; in ResourcePathCursor() 146 case 0: return mWordLists[mPos].mId; in getString() 147 case 1: return mWordLists[mPos].mLocale; in getString() 148 case 2: return mWordLists[mPos].mRawChecksum; in getString() 155 if (mPos >= mWordLists.length) return true; in isNull()
|
/packages/apps/Browser/src/com/android/browser/search/ |
D | OpenSearchSearchEngine.java | 235 if (mPos != -1) { in getString() 238 return mSuggestions.getString(mPos); in getString() 244 return mDescriptions.getString(mPos); in getString() 273 return mPos; // use row# as the _Id in getLong()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ViewImage.java | 1195 int mPos; 1201 mPos = -1; 1219 if (pos == e.mPos) { 1248 if (e.mPos == -1) { 1252 int dist = Math.abs(pos - e.mPos); 1267 best.mPos = pos; 1291 if (e.mPos != -1) {
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | SuggestionCursorUtil.java | 109 private int mPos = 0; 120 mPos++; 121 return new SuggestionPosition(cursor, mPos);
|
/packages/apps/Music/src/com/android/music/ |
D | SortCursor.java | 46 mPos = -1; 51 mPos = -1;
|