Home
last modified time | relevance | path

Searched refs:mPos (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DCachedInputStream.java37 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/dictionary/structure/pt_common/
Ddynamic_pt_reading_helper.h88 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 …]
Ddynamic_pt_reading_helper.cpp265 mReadingState.mPos, &ptNodeCountInArray, &firstPtNodePos)) { in nextPtNodeArray()
267 mReadingState.mPos = NOT_A_DICT_POS; in nextPtNodeArray()
270 mReadingState.mPosOfThisPtNodeArrayHead = mReadingState.mPos; in nextPtNodeArray()
272 mReadingState.mPos = firstPtNodePos; in nextPtNodeArray()
292 mReadingState.mPos = NOT_A_DICT_POS; in nextPtNodeArray()
305 mReadingState.mPos, &nextPtNodeArrayPos)) { in followForwardLink()
307 mReadingState.mPos = NOT_A_DICT_POS; in followForwardLink()
310 mReadingState.mPosOfLastForwardLinkField = mReadingState.mPos; in followForwardLink()
313 mReadingState.mPos = nextPtNodeArrayPos; in followForwardLink()
317 mReadingState.mPos = NOT_A_DICT_POS; in followForwardLink()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DListSuggestionCursor.java41 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/Contacts/src/com/android/contacts/list/
DGroupMemberPickerFragment.java74 private int mPos = 0; field in GroupMemberPickerFragment.FilterCursorWrapper
99 mIndex[mPos++] = i; in FilterCursorWrapper()
109 mCount = mPos; in FilterCursorWrapper()
110 mPos = 0; in FilterCursorWrapper()
120 return moveToPosition(mPos + offset); in move()
125 return moveToPosition(mPos + 1); in moveToNext()
130 return moveToPosition(mPos - 1); in moveToPrevious()
146 mPos = mCount; in moveToPosition()
149 mPos = -1; in moveToPosition()
152 mPos = mIndex[position]; in moveToPosition()
[all …]
/packages/apps/Email/provider_src/com/android/email/mail/transport/
DDiscourseLogger.java33 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/dictionary/utils/
Dbinary_dictionary_bigrams_iterator.h29 : 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
Dbinary_dictionary_shortcut_iterator.h31 mPos(shortcutStructurePolicy->getStartPos(shortcutPos)), in BinaryDictionaryShortcutIterator()
36 mPos(shortcutIterator.mPos), in BinaryDictionaryShortcutIterator()
49 outIsWhitelist, &mHasNextShortcutTarget, &mPos); in nextShortcutTarget()
57 int mPos; variable
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DBmsgTokenizer.java31 private int mPos = 0; field in BmsgTokenizer
41 mPos = mMatcher.regionStart(); in BmsgTokenizer()
48 mMatcher.region(mPos, mMatcher.regionEnd()); in next()
58 mPos = mMatcher.end(); in next()
73 return mStr.substring(mPos); in remaining()
77 return mPos + mOffset; in pos()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DAbstractGoogleSourceResult.java32 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/Contacts/src/com/android/contacts/group/
DGroupMembersFragment.java102 private int mPos = 0; field in GroupMembersFragment.FilterCursorWrapper
128 mIndex[mPos++] = i; in FilterCursorWrapper()
139 mCount = mPos; in FilterCursorWrapper()
140 mPos = 0; in FilterCursorWrapper()
150 return moveToPosition(mPos + offset); in move()
155 return moveToPosition(mPos + 1); in moveToNext()
160 return moveToPosition(mPos - 1); in moveToPrevious()
176 mPos = mCount; in moveToPosition()
179 mPos = -1; in moveToPosition()
182 mPos = mIndex[position]; in moveToPosition()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionaryProvider.java126 mPos = 0; in ResourcePathCursor()
147 case 0: return mWordLists[mPos].mId; in getString()
148 case 1: return mWordLists[mPos].mLocale; in getString()
149 case 2: return mWordLists[mPos].mRawChecksum; in getString()
156 if (mPos >= mWordLists.length) return true; in isNull()
/packages/apps/Gallery/src/com/android/camera/
DViewImage.java1195 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/
DSuggestionCursorUtil.java109 private int mPos = 0;
120 mPos++;
121 return new SuggestionPosition(cursor, mPos);
/packages/apps/Music/src/com/android/music/
DSortCursor.java45 mPos = -1;
50 mPos = -1;