Searched refs:keyHeight (Results 1 – 7 of 7) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyDrawParams.java | 84 public void updateParams(final int keyHeight, @Nullable final KeyVisualAttributes attr) { in updateParams() argument 93 mLetterSize = selectTextSizeFromDimensionOrRatio(keyHeight, in updateParams() 95 mLabelSize = selectTextSizeFromDimensionOrRatio(keyHeight, in updateParams() 97 mLargeLetterSize = selectTextSize(keyHeight, attr.mLargeLetterRatio, mLargeLetterSize); in updateParams() 98 mHintLetterSize = selectTextSize(keyHeight, attr.mHintLetterRatio, mHintLetterSize); in updateParams() 99 mShiftedLetterHintSize = selectTextSize(keyHeight, in updateParams() 101 mHintLabelSize = selectTextSize(keyHeight, attr.mHintLabelRatio, mHintLabelSize); in updateParams() 102 mPreviewTextSize = selectTextSize(keyHeight, attr.mPreviewTextRatio, mPreviewTextSize); in updateParams() 125 public KeyDrawParams mayCloneAndUpdateParams(final int keyHeight, in mayCloneAndUpdateParams() argument 131 newParams.updateParams(keyHeight, attr); in mayCloneAndUpdateParams() [all …]
|
D | BogusMoveEventDetector.java | 68 public void setKeyboardGeometry(final int keyWidth, final int keyHeight) { in setKeyboardGeometry() argument 69 final float keyDiagonal = (float)Math.hypot(keyWidth, keyHeight); in setKeyboardGeometry()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardView.java | 194 final int keyHeight = keyboard.mMostCommonKeyHeight - keyboard.mVerticalGap; in setKeyboard() local 195 mKeyDrawParams.updateParams(keyHeight, mKeyVisualAttributes); in setKeyboard() 196 mKeyDrawParams.updateParams(keyHeight, keyboard.mKeyVisualAttributes); in setKeyboard() 220 protected void updateKeyDrawParams(final int keyHeight) { in updateKeyDrawParams() argument 221 mKeyDrawParams.updateParams(keyHeight, mKeyVisualAttributes); in updateKeyDrawParams() 353 final int keyHeight = key.getHeight(); in onDrawKeyBackground() local 361 keyWidth / (float)intrinsicWidth, keyHeight / (float)intrinsicHeight); in onDrawKeyBackground() 365 bgY = (keyHeight - bgHeight) / 2; in onDrawKeyBackground() 369 bgHeight = keyHeight + padding.top + padding.bottom; in onDrawKeyBackground() 386 final int keyHeight = key.getHeight(); in onDrawKeyTopVisuals() local [all …]
|
D | MoreKeysKeyboardView.java | 95 final int keyHeight = key.getHeight(); in onDrawKeyTopVisuals() local 99 final int iconY = (keyHeight - iconHeight) / 2; // Align vertically center in onDrawKeyTopVisuals()
|
D | MainKeyboardView.java | 400 final int keyHeight = keyboard.mMostCommonKeyHeight - keyboard.mVerticalGap; in setKeyboard() local 401 mLanguageOnSpacebarTextSize = keyHeight * mLanguageOnSpacebarTextRatio; in setKeyboard()
|
D | PointerTracker.java | 357 final int keyHeight = mKeyboard.mMostCommonKeyHeight; in setKeyDetectorInner() local 363 mBogusMoveEventDetector.setKeyboardGeometry(keyWidth, keyHeight); in setKeyDetectorInner()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | MoreSuggestionsView.java | 76 public void updateKeyboardGeometry(final int keyHeight) { in updateKeyboardGeometry() argument 77 updateKeyDrawParams(keyHeight); in updateKeyboardGeometry()
|