Searched defs:keyIndex (Results 1 - 8 of 8) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
H A Dtyping_weighting.cpp43 const int keyIndex = traverseSession->getProximityInfo()->getKeyIndexOf( local
59 if (keyIndex == NOT_AN_INDEX) {
70 if (keyIndex == NOT_AN_INDEX) {
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
H A DDialpadCharMappings.java196 for (int keyIndex = 0; keyIndex < keyToChars.length; keyIndex++) {
197 String chars = keyToChars[keyIndex];
202 charToKeyMap.put(Character.toLowerCase(c), getKeyChar(keyIndex));
211 private static char getKeyChar(int keyIndex) { argument
212 Assert.checkArgument(0 <= keyIndex && keyIndex <= 11);
214 switch (keyIndex) {
220 return (char) ('0' + keyIndex);
[all...]
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
H A Dproximity_info_state.cpp37 const int keyIndex = mProximityInfo->getKeyIndexOf(primaryCodePoint); local
38 return mProximityInfo->getOriginalCodePointOf(keyIndex);
297 // Returns a probability of mapping index to keyIndex.
298 float ProximityInfoState::getProbability(const int index, const int keyIndex) const {
300 std::unordered_map<int, float>::const_iterator it = mCharProbabilities[index].find(keyIndex);
H A Dproximity_info_utils.h165 const int keyIndex = getKeyIndexOf(keyCount, c, codeToKeyMap); local
167 keyIndex, x, y);
169 keyWidths, keyHeights, keyIndex, x, y);
H A Dproximity_info_state_utils.cpp159 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) {
160 const float sweetSpotCenterX = proximityInfo->getSweetSpotCenterXAt(keyIndex);
161 const float sweetSpotCenterY = proximityInfo->getSweetSpotCenterYAt(keyIndex);
170 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) {
171 if (keyIndex == NOT_AN_INDEX) {
174 if (!proximityInfo->hasSweetSpotData(keyIndex)) {
181 sampledInputXs, sampledInputYs, keyIndex, inputIndex);
183 proximityInfo->getSweetSpotRadiiAt(keyIndex));
157 calculateSquaredDistanceFromSweetSpotCenter( const ProximityInfo *const proximityInfo, const std::vector<int> *const sampledInputXs, const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) argument
168 calculateNormalizedSquaredDistance( const ProximityInfo *const proximityInfo, const std::vector<int> *const sampledInputXs, const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) argument
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
H A DKeyboardView.java983 private void showPreview(int keyIndex) { argument
987 mCurrentKeyIndex = keyIndex;
1009 if (keyIndex == NOT_A_KEY) {
1015 if (keyIndex != NOT_A_KEY) {
1018 showKey(keyIndex);
1021 mHandler.obtainMessage(MSG_SHOW_PREVIEW, keyIndex, 0),
1028 private void showKey(final int keyIndex) { argument
1031 if (keyIndex < 0 || keyIndex >= mKeys.length) return;
1032 Key key = keys[keyIndex];
1123 invalidateKey(int keyIndex) argument
1470 checkMultiTap(long eventTime, int keyIndex) argument
[all...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DKeyboardView.java481 int keyIndex = getKeyIndices(mStartX, mStartY, null);
482 if ((keyIndex != NOT_A_KEY)
483 && (keyIndex < mKeys.length)
484 && (oldRepeatKeyCode == mKeys[keyIndex].codes[0])) {
486 mRepeatKeyIndex = keyIndex;
888 private void showPreview(int keyIndex) { argument
892 mCurrentKeyIndex = keyIndex;
907 if (keyIndex == NOT_A_KEY) {
913 if (keyIndex != NOT_A_KEY) {
915 showKey(keyIndex);
925 showKey(final int keyIndex) argument
1023 invalidateKey(int keyIndex) argument
1382 checkMultiTap(long eventTime, int keyIndex) argument
[all...]
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 308 milliseconds