Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info.cpp207 const int keyWidthHalfDiff = (keyWidth - getMostCommonKeyWidth()) / 2; in getKeyCenterXOfKeyIdG() local
208 if (referencePointX < centerX - keyWidthHalfDiff) { in getKeyCenterXOfKeyIdG()
209 centerX -= keyWidthHalfDiff; in getKeyCenterXOfKeyIdG()
210 } else if (referencePointX > centerX + keyWidthHalfDiff) { in getKeyCenterXOfKeyIdG()
211 centerX += keyWidthHalfDiff; in getKeyCenterXOfKeyIdG()