Home
last modified time | relevance | path

Searched refs:toBaseCodePoint (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/tests/utils/
Dchar_utils_test.cpp85 EXPECT_EQ('A', CharUtils::toBaseCodePoint('A')); in TEST()
86 EXPECT_EQ('Z', CharUtils::toBaseCodePoint('Z')); in TEST()
87 EXPECT_EQ('a', CharUtils::toBaseCodePoint('a')); in TEST()
88 EXPECT_EQ('z', CharUtils::toBaseCodePoint('z')); in TEST()
89 EXPECT_EQ('@', CharUtils::toBaseCodePoint('@')); in TEST()
90 EXPECT_EQ(' ', CharUtils::toBaseCodePoint(' ')); in TEST()
91 EXPECT_EQ('A', CharUtils::toBaseCodePoint(0x00C0 /* LATIN CAPITAL LETTER A WITH GRAVE */)); in TEST()
92 EXPECT_EQ('a', CharUtils::toBaseCodePoint(0x00E0 /* LATIN SMALL LETTER A WITH GRAVE */)); in TEST()
96 CharUtils::toBaseCodePoint(0x0410 /* CYRILLIC CAPITAL LETTER A */)); in TEST()
98 CharUtils::toBaseCodePoint(0x0430 /* CYRILLIC SMALL LETTER A */)); in TEST()
[all …]
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
Dtyping_weighting.cpp53 } else if (primaryCodePoint == CharUtils::toBaseCodePoint(nodeCodePoint)) { in getErrorType()
56 } else if (CharUtils::toBaseCodePoint(primaryCodePoint) in getErrorType()
57 == CharUtils::toBaseCodePoint(nodeCodePoint)) { in getErrorType()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Dchar_utils.h49 return toLowerCase(toBaseCodePoint(c)); in toBaseLowerCase()
66 static AK_FORCE_INLINE int toBaseCodePoint(int c) { in toBaseCodePoint() function
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state.cpp267 const int baseLowerCodePoint = CharUtils::toBaseCodePoint(lowerCodePoint); in getProximityTypeG()