Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DResourceUtils.java203 final float keyboardHeight; in getDefaultKeyboardHeight() local
205 keyboardHeight = res.getDimension(R.dimen.config_default_keyboard_height); in getDefaultKeyboardHeight()
207 keyboardHeight = Float.parseFloat(keyboardHeightInDp) * dm.density; in getDefaultKeyboardHeight()
221 return (int)Math.max(Math.min(keyboardHeight, maxKeyboardHeight), minKeyboardHeight); in getDefaultKeyboardHeight()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info.cpp52 ProximityInfo::ProximityInfo(JNIEnv *env, const int keyboardWidth, const int keyboardHeight, in ProximityInfo() argument
65 CELL_HEIGHT((keyboardHeight + gridHeight - 1) / gridHeight), in ProximityInfo()
67 KEYBOARD_WIDTH(keyboardWidth), KEYBOARD_HEIGHT(keyboardHeight), in ProximityInfo()
Dproximity_info.h31 ProximityInfo(JNIEnv *env, const int keyboardWidth, const int keyboardHeight,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeRecognitionPoints.java80 public void setKeyboardGeometry(final int keyWidth, final int keyboardHeight) { in setKeyboardGeometry() argument
82 mMinYCoordinate = -(int)(keyboardHeight * EXTRA_GESTURE_TRAIL_AREA_ABOVE_KEYBOARD_RATIO); in setKeyboardGeometry()
83 mMaxYCoordinate = keyboardHeight; in setKeyboardGeometry()
DBatchInputArbiter.java51 public void setKeyboardGeometry(final int keyWidth, final int keyboardHeight) { in setKeyboardGeometry() argument
52 mRecognitionPoints.setKeyboardGeometry(keyWidth, keyboardHeight); in setKeyboardGeometry()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardLayout.java46 int mostCommonKeyHeight, int keyboardWidth, int keyboardHeight) { in KeyboardLayout() argument
50 mKeyboardHeight = keyboardHeight; in KeyboardLayout()
DKeyboardSwitcher.java120 final int keyboardHeight = ResourceUtils.getKeyboardHeight(res, settingsValues); in loadKeyboard() local
121 builder.setKeyboardGeometry(keyboardWidth, keyboardHeight); in loadKeyboard()
DKeyboardLayoutSet.java291 public Builder setKeyboardGeometry(final int keyboardWidth, final int keyboardHeight) { in setKeyboardGeometry() argument
293 mParams.mKeyboardHeight = keyboardHeight; in setKeyboardGeometry()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardLayoutSetTestsBase.java159 final int keyboardHeight = ResourceUtils.getDefaultKeyboardHeight(res); in createKeyboardLayoutSet() local
161 builder.setKeyboardGeometry(keyboardWidth, keyboardHeight) in createKeyboardLayoutSet()