Home
last modified time | relevance | path

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

/packages/modules/StatsD/framework/java/android/util/
DStatsEvent.java358 private int mPos; field in StatsEvent.Builder
373 mPos = 0; in Builder()
377 mPos = POS_TIMESTAMP_NS; in Builder()
412 mPos += mBuffer.putBoolean(mPos, value); in writeBoolean()
424 mPos += mBuffer.putInt(mPos, value); in writeInt()
436 mPos += mBuffer.putLong(mPos, value); in writeLong()
448 mPos += mBuffer.putFloat(mPos, value); in writeFloat()
479 mPos += mBuffer.putInt(mPos, numBytes); in writeByteArray()
480 mPos += mBuffer.putByteArray(mPos, value); in writeByteArray()
507 mPos += mBuffer.putByte(mPos, numUids); in writeAttributionChain()
[all …]
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DBitwiseInputStream.java33 private int mPos; field in BitwiseInputStream
55 mPos = 0; in BitwiseInputStream()
62 return mEnd - mPos; in available()
75 int index = mPos >>> 3; in read()
76 int offset = 16 - (mPos & 0x07) - bits; // &7==%8 in read()
77 if ((bits < 0) || (bits > 8) || ((mPos + bits) > mEnd)) { in read()
79 "illegal read (pos " + mPos + ", end " + mEnd + ", bits " + bits + ")"); in read()
85 mPos += bits; in read()
111 if ((mPos + bits) > mEnd) { in skip()
113 "illegal skip (pos " + mPos + ", end " + mEnd + ", bits " + bits + ")"); in skip()
[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/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 outIsAllowed, &mHasNextShortcutTarget, &mPos); in nextShortcutTarget()
57 int mPos; variable
/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/
DMathEval.java79 int mPos = -1, mCh; in eval()
82 mCh = (++mPos < translationString.length()) ? translationString.charAt(mPos) : -1; in eval()
99 if (mPos < translationString.length()) { in eval()
146 int startPos = this.mPos; in eval()
154 x = Double.parseDouble(translationString.substring(startPos, this.mPos)); in eval()
163 String func = translationString.substring(startPos, this.mPos); in eval()
/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/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DBmsgTokenizer.java32 private int mPos = 0; field in BmsgTokenizer
42 mPos = mMatcher.regionStart(); in BmsgTokenizer()
49 mMatcher.region(mPos, mMatcher.regionEnd()); in next()
59 mPos = mMatcher.end(); in next()
74 return mStr.substring(mPos); in remaining()
78 return mPos + mOffset; in pos()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMembersFragment.java99 private int mPos = 0; field in GroupMembersFragment.FilterCursorWrapper
125 mIndex[mPos++] = i; in FilterCursorWrapper()
136 mCount = mPos; in FilterCursorWrapper()
137 mPos = 0; in FilterCursorWrapper()
147 return moveToPosition(mPos + offset); in move()
152 return moveToPosition(mPos + 1); in moveToNext()
157 return moveToPosition(mPos - 1); in moveToPrevious()
173 mPos = mCount; in moveToPosition()
176 mPos = -1; in moveToPosition()
179 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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DInstrumentClusterFragment.java280 private int mPos; in startSendTurn()
284 sendTurn(mNavStateData[mPos]); in startSendTurn()
285 mPos = (mPos + 1) % mNavStateData.length; in startSendTurn()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/mschapv2/
DEapMsChapV2TypeData.java418 int mPos = message.indexOf(MESSAGE_PREFIX); in getMessageMappings() local
421 if (mPos == -1) { in getMessageMappings()
425 preMString = message.substring(0, mPos); in getMessageMappings()
426 messageMappings.put(MESSAGE_LABEL, message.substring(mPos + MESSAGE_PREFIX.length())); in getMessageMappings()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DSuggestionCursorUtil.java109 private int mPos = 0;
120 mPos++;
121 return new SuggestionPosition(cursor, mPos);
/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) {