Searched defs:mostCommonKeyWidth (Results 1 - 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DProximityInfo.java55 final int minWidth, final int height, final int mostCommonKeyWidth,
71 mMostCommonKeyWidth = mostCommonKeyWidth;
90 int mostCommonKeyWidth, int mostCommonKeyHeight, int[] proximityCharsArray,
54 ProximityInfo(final String localeStr, final int gridWidth, final int gridHeight, final int minWidth, final int height, final int mostCommonKeyWidth, final int mostCommonKeyHeight, final Key[] keys, final TouchPositionCorrection touchPositionCorrection) argument
88 setProximityInfoNative(String locale, int displayWidth, int displayHeight, int gridWidth, int gridHeight, int mostCommonKeyWidth, int mostCommonKeyHeight, int[] proximityCharsArray, int keyCount, int[] keyXCoordinates, int[] keyYCoordinates, int[] keyWidths, int[] keyHeights, int[] keyCharCodes, float[] sweetSpotCenterXs, float[] sweetSpotCenterYs, float[] sweetSpotRadii) argument
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
H A Dproximity_info.cpp53 const int gridHeight, const int mostCommonKeyWidth, const int mostCommonKeyHeight,
58 : GRID_WIDTH(gridWidth), GRID_HEIGHT(gridHeight), MOST_COMMON_KEY_WIDTH(mostCommonKeyWidth),
59 MOST_COMMON_KEY_WIDTH_SQUARE(mostCommonKeyWidth * mostCommonKeyWidth),
63 static_cast<float>(mostCommonKeyWidth))),
51 ProximityInfo(JNIEnv *env, const jstring localeJStr, const int keyboardWidth, const int keyboardHeight, const int gridWidth, const int gridHeight, const int mostCommonKeyWidth, const int mostCommonKeyHeight, const jintArray proximityChars, const int keyCount, const jintArray keyXCoordinates, const jintArray keyYCoordinates, const jintArray keyWidths, const jintArray keyHeights, const jintArray keyCharCodes, const jfloatArray sweetSpotCenterXs, const jfloatArray sweetSpotCenterYs, const jfloatArray sweetSpotRadii) argument
H A Dproximity_info_utils.h53 const int gridWidth, const int mostCommonKeyWidth, const int keyCount,
66 proximityCharsArray, cellHeight, cellWidth, gridWidth, mostCommonKeyWidth,
164 const int gridWidth, const int mostCommonKeyWidth, const int keyCount,
167 const int mostCommonKeyWidthSquare = mostCommonKeyWidth * mostCommonKeyWidth;
48 initializeProximities(const int *const inputCodes, const int *const inputXCoordinates, const int *const inputYCoordinates, const int inputSize, const int *const keyXCoordinates, const int *const keyYCoordinates, const int *const keyWidths, const int *keyHeights, const int *const proximityCharsArray, const int cellHeight, const int cellWidth, const int gridWidth, const int mostCommonKeyWidth, const int keyCount, const char *const localeStr, const hash_map_compat<int, int> *const codeToKeyMap, int *inputProximities) argument
161 calculateProximities(const int *const keyXCoordinates, const int *const keyYCoordinates, const int *const keyWidths, const int *keyHeights, const int *const proximityCharsArray, const int cellHeight, const int cellWidth, const int gridWidth, const int mostCommonKeyWidth, const int keyCount, const int x, const int y, const int primaryKey, const char *const localeStr, const hash_map_compat<int, int> *const codeToKeyMap, int *proximities) argument
H A Dproximity_info_state_utils.cpp281 /* static */ void ProximityInfoStateUtils::refreshBeelineSpeedRates(const int mostCommonKeyWidth, argument
293 mostCommonKeyWidth, averageSpeed, i, inputSize, xCoordinates, yCoordinates, times,
358 /* static */ float ProximityInfoStateUtils::getPointScore(const int mostCommonKeyWidth, argument
373 const int baseSampleRate = mostCommonKeyWidth;
415 const int mostCommonKeyWidth = proximityInfo->getMostCommonKeyWidth(); local
422 const float score = getPointScore(mostCommonKeyWidth, x, y, time, isLastPoint, nearest,
437 * ProximityInfoParams::LAST_POINT_SKIP_DISTANCE_SCALE < mostCommonKeyWidth) {
444 mostCommonKeyWidth
479 /* static */ float ProximityInfoStateUtils::calculateBeelineSpeedRate(const int mostCommonKeyWidth, argument
492 const int lookupRadius = mostCommonKeyWidth
620 updateAlignPointProbabilities( const float maxPointToKeyLength, const int mostCommonKeyWidth, const int keyCount, const int start, const int sampledInputSize, const std::vector<int> *const sampledInputXs, const std::vector<int> *const sampledInputYs, const std::vector<float> *const sampledSpeedRates, const std::vector<int> *const sampledLengthCache, const std::vector<float> *const sampledNormalizedSquaredLengthCache, std::vector<NearKeycodesSet> *sampledNearKeySets, std::vector<hash_map_compat<int, float> > *charProbabilities) argument
907 suppressCharProbabilities(const int mostCommonKeyWidth, const int sampledInputSize, const std::vector<int> *const lengthCache, const int index0, const int index1, std::vector<hash_map_compat<int, float> > *charProbabilities) argument
[all...]

Completed in 603 milliseconds