/packages/inputmethods/LatinIME/native/jni/src/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 | 265 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/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | BitwiseInputStream.java | 33 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/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/Contacts/src/com/android/contacts/list/ |
D | GroupMemberPickerFragment.java | 74 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/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
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() 36 mPos(shortcutIterator.mPos), in BinaryDictionaryShortcutIterator() 49 outIsAllowed, &mHasNextShortcutTarget, &mPos); in nextShortcutTarget() 57 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/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
D | BmsgTokenizer.java | 31 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/Contacts/src/com/android/contacts/group/ |
D | GroupMembersFragment.java | 100 private int mPos = 0; field in GroupMembersFragment.FilterCursorWrapper 126 mIndex[mPos++] = i; in FilterCursorWrapper() 137 mCount = mPos; in FilterCursorWrapper() 138 mPos = 0; in FilterCursorWrapper() 148 return moveToPosition(mPos + offset); in move() 153 return moveToPosition(mPos + 1); in moveToNext() 158 return moveToPosition(mPos - 1); in moveToPrevious() 174 mPos = mCount; in moveToPosition() 177 mPos = -1; in moveToPosition() 180 mPos = mIndex[position]; in moveToPosition() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionaryProvider.java | 126 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/ |
D | InstrumentClusterFragment.java | 249 private int mPos; in startSendTurn() 253 sendTurn(mNavStateData[mPos]); in startSendTurn() 254 mPos = (mPos + 1) % mNavStateData.length; in startSendTurn()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/mschapv2/ |
D | EapMsChapV2TypeData.java | 418 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/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);
|