Home
last modified time | relevance | path

Searched refs:MAX_PROXIMITY_CHARS_SIZE (Results 1 – 7 of 7) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_utils.h65 int *proximities = &inputProximities[i * MAX_PROXIMITY_CHARS_SIZE]; in initializeProximities()
74 for (int j = 0; j < MAX_PROXIMITY_CHARS_SIZE; ++j) { in initializeProximities()
76 inputProximities[i * MAX_PROXIMITY_CHARS_SIZE + j]; in initializeProximities()
86 return ((y / cellHeight) * gridWidth + (x / cellWidth)) * MAX_PROXIMITY_CHARS_SIZE; in getStartIndexFromCoordinates()
153 for (int i = insertPos; i < MAX_PROXIMITY_CHARS_SIZE; ++i) { in calculateProximities()
160 for (int i = 0; i < MAX_PROXIMITY_CHARS_SIZE; ++i) { in calculateProximities()
172 if (insertPos >= MAX_PROXIMITY_CHARS_SIZE) { in calculateProximities()
184 if (insertPos >= MAX_PROXIMITY_CHARS_SIZE) { in calculateProximities()
205 if (insertPos >= MAX_PROXIMITY_CHARS_SIZE) { in calculateProximities()
215 for (int i = insertPos; i < MAX_PROXIMITY_CHARS_SIZE; ++i) { in calculateProximities()
Dproximity_info_state.h80 inputProximities += MAX_PROXIMITY_CHARS_SIZE; in sameAsTyped()
89 while (codePoints[i] > 0 && i < MAX_PROXIMITY_CHARS_SIZE) { in existsCodePointInProximityAt()
227 int mInputProximities[MAX_PROXIMITY_CHARS_SIZE * MAX_WORD_LENGTH];
Dproximity_info.cpp72 mProximityCharsArray(new int[GRID_WIDTH * GRID_HEIGHT * MAX_PROXIMITY_CHARS_SIZE in ProximityInfo()
77 if (proximityCharsLength != GRID_WIDTH * GRID_HEIGHT * MAX_PROXIMITY_CHARS_SIZE) { in ProximityInfo()
118 for (int i = 0; i < MAX_PROXIMITY_CHARS_SIZE; ++i) { in hasSpaceProximity()
Dproximity_info_state.cpp222 while (j < MAX_PROXIMITY_CHARS_SIZE in getProximityType()
234 if (j < MAX_PROXIMITY_CHARS_SIZE in getProximityType()
237 while (j < MAX_PROXIMITY_CHARS_SIZE in getProximityType()
Dproximity_info_state_utils.cpp141 return inputProximities + (index * MAX_PROXIMITY_CHARS_SIZE); in getProximityCodePointsAt()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DProximityInfo.java38 public static final int MAX_PROXIMITY_CHARS_SIZE = 16; field in ProximityInfo
116 final int[] proximityCharsArray = new int[mGridSize * MAX_PROXIMITY_CHARS_SIZE]; in createNativeProximityInfo()
121 int infoIndex = i * MAX_PROXIMITY_CHARS_SIZE; in createNativeProximityInfo()
136 for (int j = 0; j < MAX_PROXIMITY_CHARS_SIZE; j++) { in createNativeProximityInfo()
137 final int code = proximityCharsArray[i * MAX_PROXIMITY_CHARS_SIZE + j]; in createNativeProximityInfo()
/packages/inputmethods/LatinIME/native/jni/src/
Ddefines.h36 #define MAX_PROXIMITY_CHARS_SIZE 16 macro