Home
last modified time | relevance | path

Searched refs:NOT_A_CODE_POINT (Results 1 – 16 of 16) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
DEvent.java65 final public static int NOT_A_CODE_POINT = -1; field in Event
204 NOT_A_CODE_POINT, NOT_A_KEY_CODE, in createSuggestionPickedEvent()
219 return new Event(EVENT_TYPE_SOFTWARE_GENERATED_STRING, text, NOT_A_CODE_POINT, keyCode, in createSoftwareTextEvent()
246 return new Event(EVENT_TYPE_CURSOR_MOVE, null, NOT_A_CODE_POINT, NOT_A_KEY_CODE, in createCursorMovedEvent()
265 return new Event(EVENT_TYPE_NOT_HANDLED, null /* text */, NOT_A_CODE_POINT, NOT_A_KEY_CODE, in createNotHandledEvent()
274 return NOT_A_CODE_POINT == mCodePoint; in isFunctionalKeyEvent()
DHardwareKeyboardEventDecoder.java51 return Event.createHardwareKeypressEvent(Event.NOT_A_CODE_POINT, Constants.CODE_DELETE, in decodeHardwareKey()
68 return Event.createHardwareKeypressEvent(Event.NOT_A_CODE_POINT, in decodeHardwareKey()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dbyte_array_utils.h166 return NOT_A_CODE_POINT; in readCodePointAndAdvancePosition()
190 while (NOT_A_CODE_POINT != codePoint && length < maxLength) { in readStringAndAdvancePosition()
202 while (NOT_A_CODE_POINT != codePoint && length < maxLength) { in advancePositionToBehindString()
217 if (codePoint == NOT_A_CODE_POINT || codePoint == CHARACTER_ARRAY_TERMINATOR) { in writeCodePointsAndAdvancePosition()
238 if (codePoint == NOT_A_CODE_POINT || codePoint == CHARACTER_ARRAY_TERMINATOR) { in calculateRequiredByteCountToStoreCodePoints()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddigraph_utils.cpp58 return NOT_A_CODE_POINT; in getDigraphCodePointForIndex()
63 return NOT_A_CODE_POINT; in getDigraphCodePointForIndex()
71 return NOT_A_CODE_POINT; in getDigraphCodePointForIndex()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_utils.h38 if (c == NOT_A_CODE_POINT) { in getKeyIndexOf()
154 proximities[i] = NOT_A_CODE_POINT; in calculateProximities()
216 proximities[i] = NOT_A_CODE_POINT; in calculateProximities()
Dproximity_info.cpp141 return NOT_A_CODE_POINT; in getCodePointOf()
148 return NOT_A_CODE_POINT; in getOriginalCodePointOf()
Dproximity_info_state_utils.cpp957 if (codePoint == NOT_A_CODE_POINT) { in getMostProbableString()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
Ddic_node_properties.h34 : mChildrenPtNodeArrayPos(NOT_A_DICT_POS), mDicNodeCodePoint(NOT_A_CODE_POINT), in DicNodeProperties()
54 mDicNodeCodePoint = NOT_A_CODE_POINT; in init()
Ddic_node_state_input.h35 mPrevCodePoint[i] = NOT_A_CODE_POINT; in init()
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dbyte_array_utils_test.cpp79 EXPECT_EQ(NOT_A_CODE_POINT, ByteArrayUtils::readCodePoint(buffer, 5)); in TEST()
101 EXPECT_EQ(NOT_A_CODE_POINT, ByteArrayUtils::readCodePoint(buffer, 5)); in TEST()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputLogicTestsDeadKeys.java44 add(Event.createSoftwareKeypressEvent(Event.NOT_A_CODE_POINT, keyCode, in addKey()
121 mLatinIME.onEvent(Event.createSoftwareKeypressEvent(Event.NOT_A_CODE_POINT, in testDeadAcuteLetterBackspace()
/packages/inputmethods/LatinIME/native/jni/tests/utils/
Dchar_utils_test.cpp113 EXPECT_FALSE(CharUtils::isInUnicodeSpace(NOT_A_CODE_POINT)); in TEST()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Dpatricia_trie_reading_utils.cpp78 if (codePoint == NOT_A_CODE_POINT) { in getCharsAndAdvancePosition()
/packages/inputmethods/LatinIME/native/jni/src/
Ddefines.h235 #define NOT_A_CODE_POINT (-1) macro
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp132 while (NOT_A_CODE_POINT != nextChar && --charCount > 0) { in getCodePointsAndProbabilityAndReturnCodePointCount()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DLatinIME.java1462 codePoint = Event.NOT_A_CODE_POINT; in createSoftwareKeypressEvent()