summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethod/keyboard/internal/MiniKeyboardBuilder.java
Commit message (Collapse)AuthorAgeFilesLines
* Refactor and rename popup mini keyoard related classesTadashi G. Takaoka2011-08-231-259/+0
| | | | Change-Id: Ia92ec4612090b03829db9a87ce68d701db6e15bc
* Cleanup Keyboard related code and rename some classesTadashi G. Takaoka2011-08-021-6/+6
| | | | | | | This is a follow up change of I90ffbde0 Bug: 5023981 Change-Id: I3a6b862d05f5f907dee954cd6d6fee983b20ab5e
* Make Keyboard object immutable except shift stateTadashi G. Takaoka2011-08-011-62/+56
| | | | | | | This is the first step to implement suggestions pane as mini keyboard. Bug: 5023981 Change-Id: I90ffbde0fda19b4be68add449310997b56bf6904
* Remove Keyboard reference from Key objectTadashi G. Takaoka2011-08-011-1/+1
| | | | | Bug: 5023981 Change-Id: Ib0b9debf2018a0a9e9efe9323738e85174589e71
* Refactor Keyboard and KeyboardView resizing and drawing codeTadashi G. Takaoka2011-07-221-1/+1
| | | | | Bug: 4311428 Change-Id: Ice4050f92c8f3cec1bec2074fe6a913d04f50524
* Narrower KeyboardView referenceTadashi G. Takaoka2011-07-041-3/+3
| | | | | | | | This change also rename static inner class to more readable name and get rid of unnecessary object reference from PointerTracker. Bug: 4768084 Change-Id: Ie4e2b940d66b47d41efcae7eeac853cdae2e4d38
* Move keyboard event handling code to separate LatinKeyboardBaseView classTadashi G. Takaoka2011-07-041-3/+3
| | | | | | | | | | | | | | To sort out the issue, main keyboard and mini keyboard have to share the pointer trackers. In order to prepare for that, KeyboardView needs to be refactored as two separate classes. KeyboardView is responsible for drawing keyboard visual. And LatinKeyboardBaseView is responsible for handling key event and mini keyboard as well. Bug: 4768084 Change-Id: I5643e333b9bdfde0c939a0693cea76bd22f38897
* Remove top padding parameter from MiniKeyboardBuilder constructorTadashi G. Takaoka2011-07-021-5/+8
| | | | | | | To keep unit test simple, instead of specifying top padding in the constructor, make separate setter for it. Change-Id: I8870622cc1bd97420637b8c465bdb6c9dd366062
* Add top padding to mini keyboardTadashi G. Takaoka2011-07-011-5/+17
| | | | | | | | Because Key only has bottom padding, to make mini keyboard vertically symmetric and looks nicer, we should add mini keyboard top padding that equals to Key bottom padding (a.k.a. vertical gap). Change-Id: Icceb687d50edfa48e0f0830a60a1e230836c982f
* Draw phone/number keyboard layout witout iconTadashi G. Takaoka2011-06-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | This change introduces: * New KeyboardView attribute * keyLargeLetterRatio to specify large letter text size. * keyHintLabelRatio to specify hint label text size. * keyHintLabelColor to specify hint label text color. * keyPreviewTextRatio to specify key preview text size. * New Key.keyLabelOption flags * alignLeftOfCenter, align the key label slightly left of the key center. * largeLetter, use keyLargeLetterRatio to draw key letter. * hasHintLabel, draw keyHintLabel at the right of key letter. * followKeyHintLabelRatio, draw the key label following keyHintLabelRatio size. * Renames * Key.keyHintLetter to keyHintLabel. * Key.keylLabelOption fontFixedWidth to fontMonoSpace. * Key.keylLabelOption popupHint to hasPopupHint. * Removes * number icon releted attributes and declarations. Change-Id: I2f456737e3a46209e5f48b5155951b2b21a33859
* Move Key class out of internal packageTadashi G. Takaoka2011-06-231-0/+1
| | | | | Bug: 4903326 Change-Id: I2493d6dae613d2e37dfa8ce96b4cddc9a038160c
* Move icon declaration to Keyboard themeTadashi G. Takaoka2011-06-221-5/+5
| | | | | Bug: 4436327 Change-Id: I074014d28dcb323b60dbc8fd9e169c75c393e0b3
* Move keyboard related internal class to separate packageTadashi G. Takaoka2011-06-221-0/+249
Change-Id: Ic1459066b865cde5104b3734193f76c997959c68