summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethod/keyboard/internal/KeyboardBuilder.java
Commit message (Collapse)AuthorAgeFilesLines
* Add new "keyboardTheme" <case> predicatorTadashi G. Takaoka2014-09-031-6/+12
| | | | | Bug: 17318036 Change-Id: Ief386c84969d8646fb5cfe2050a2f59a7db16c88
* Fix NPE by disabling key preview popup of Emoji paletteTadashi G. Takaoka2014-06-131-0/+1
| | | | | Bug: 15579928 Change-Id: I6bcf885f2c1aa37b337a85978409ccf41e459c2a
* Remove unused supportsSwitchingToShortcutIme attributeTadashi G. Takaoka2014-06-061-9/+2
| | | | Change-Id: I51c5247ac925a158facb79057f704b763b903552
* Add isIconDefined predicate to Keyboard_Case attributeTadashi G. Takaoka2014-05-131-2/+17
| | | | | Bug: 14259323 Change-Id: I9450a5125b1809b9fada6ee6e6b253cabfa2e2b4
* Consolidate KeyboardTextsSet.setLocale and loadStringResoucresTadashi G. Takaoka2014-03-201-14/+1
| | | | Change-Id: Idaf8f0d80fdeef4f1430f11d4083366e8ab7f6e0
* Remove RTL aware !code and add corresponding !textTadashi G. Takaoka2014-02-131-1/+0
| | | | Change-Id: I9021c8fa1cf2d4ac07579237a939c15551509a0b
* Refactor Key constructorsTadashi G. Takaoka2014-02-101-5/+23
| | | | | | This is a followup of I76432556ca. Change-Id: Ie2c8f7c23352a33db28e89ee8e6ebaba9eb760a3
* Use SubtypeLocaleUtils.isRtlLanguageTadashi G. Takaoka2014-02-061-6/+5
| | | | Change-Id: Ic0208412cd9c02975641cb5c448d092f28786746
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20cKen Wakasa2013-12-131-14/+11
| | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* Unfortunately, hide some broken "emoji"sSatoshi Kataoka2013-10-011-0/+8
| | | | | Bug: 10923117 Change-Id: I27ba38e5f388cc15ae331fd05d63db4e4a41cbbf
* Add keyboardLayoutSet attribute to <case> conditionTadashi G. Takaoka2013-08-291-7/+13
| | | | Change-Id: I017c4a3c1c7b2e4c6f607940078f61e120042270
* Add GridRows tag to support emoji keyboardTadashi G. Takaoka2013-08-261-1/+77
| | | | | Bug: 6370846 Change-Id: Ia68284b2402e52d835040da900a51cca669add2f
* Save and restore Row attributes using stackTadashi G. Takaoka2013-08-191-25/+6
| | | | Change-Id: I5cb402060946a711384ee53fa1caaeac86aa10cc
* Make all KeyboardRow attributes privateTadashi G. Takaoka2013-08-191-1/+1
| | | | Change-Id: Ifaca6ad5e642964d8c3a77a96a1cd74f363ee996
* Fix cosmetic source code formattingTadashi G. Takaoka2013-08-151-142/+131
| | | | Change-Id: I33c14a20bc55b826082e468c0aecfa026ba5d9f3
* Add getters and copy constructor to Key classTadashi G. Takaoka2013-08-151-1/+1
| | | | Change-Id: I78eb96dcc26378926dc63acbfeb4828cbd44435d
* Make RunInLocale as top-level classTadashi G. Takaoka2013-07-241-2/+2
| | | | Change-Id: I07ed606b7aba098a5be85533e5baff300b21fb44
* Move subtype related utility class to utils packageTadashi G. Takaoka2013-07-241-2/+2
| | | | Change-Id: I3564796531ea85f2ebafde40cd822b806b8741df
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-4/+4
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Use XmlPullParser.getEventType()Tadashi G. Takaoka2013-03-261-12/+12
| | | | Change-Id: Ie423d3416639f81409cc920658c8088b7519b045
* Clean up XmlParserUtilsTadashi G. Takaoka2013-03-261-9/+9
| | | | Change-Id: I636e8f359d47f39e61a7f77e3e686f2721779b6f
* Clean up InflateException reference from KeyboardBuilderTadashi G. Takaoka2013-03-211-2/+1
| | | | Change-Id: If9daa00b6d829ce2069a027e4bfec310ec108615
* CleanupsJean Chalard2013-02-111-2/+2
| | | | | | Follow-up to Idc6f419a Change-Id: I4aae8f4e19f27a0a309879dc19af6e40906d58c5
* Add keyboardLetfPadding and keyboardRightPadding attributesTadashi G. Takaoka2013-01-301-8/+8
| | | | | | | This change splits keyboardHorizontalEdgesPadding attributes of Keyboard into two attributes. Change-Id: Iefdb358783b81af4027e8d9e991db36a6c429cf1
* Remove "dimension|fraction" format from Key and Keyboard attributesTadashi G. Takaoka2013-01-301-22/+27
| | | | Change-Id: Ieec8b7f5ccdf2a57bcc539dcb5313b6353f926d7
* Remove {max,min}keyboardHeight attribute from KeyboardTadashi G. Takaoka2013-01-291-30/+1
| | | | | | This change removes a DisplayMetrics reference from KeyboardBuilder. Change-Id: I512694274e69e5281d5be47c3f938bcfd6571152
* Fix Apache license commentTadashi G. Takaoka2013-01-211-8/+8
| | | | Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
* Set default audio and haptic feedback settingsTadashi G. Takaoka2012-12-281-5/+6
| | | | | | | | - Default keypress volume is set to 0.2f in resource. - Default keypress vibration duration is set to 10 msec in resource. Bug: 7055329 Change-Id: I83bd6288d171d9787d52e2b02e4e5305f1435681
* Fix label of switch to symbols key when symbols has shortcut keyTadashi G. Takaoka2012-12-131-4/+8
| | | | | | | This change fixes the labels of switch to symbols key and switch back from more symbols key when symbols layout has shortcut key. Change-Id: I3fbbef2d929486d0f0542f4d89cb086d9f5bad82
* Add @UsedForTesting and @ExternallyReferenced annotationsTadashi G. Takaoka2012-10-221-1/+2
| | | | | Bug: 7268357 Change-Id: I0b7e0c19f04af9ae30874d0a4c26ad81bc80be8c
* Fix touch position correction data passingTadashi G. Takaoka2012-09-251-4/+3
| | | | | Bug: 7225811 Change-Id: I3dcc0385ed633585d6810fdb742e0f88c2efbbd2
* Support per-Key and per-Keyboard key visual attributesTadashi G. Takaoka2012-08-311-13/+1
| | | | | | | This change refactors KeyDrawParams and KeyPreviewDrawParams to separate KeyVisualAttributes. Change-Id: I4de549eef303e1debe4b8f84668e042445fc18da
* Move some key top visual attributes from KeyboardView to KeyTadashi G. Takaoka2012-08-301-14/+11
| | | | Change-Id: I1e2d59bf8c438ca653e2e415ccf66fd4f15d5394
* Separate inner classes of keyboard package out under internal packageTadashi G. Takaoka2012-08-301-0/+829
| | | | Change-Id: Ia3969bd5ddec5aa5d81d05ad4cf676d818587922
* Move KeyboardBuilder and KeyboardParams classes into Keyboard classTadashi G. Takaoka2011-12-181-833/+0
| | | | | | | This change also moves XmlParseUtils to com.android.inputmethod.latin package. Bug: 5778201 Change-Id: I7d9faa344460753ce178ad4048e0fadb65c75614
* Move KeyboardSwitcher.getKeyboard to KeyboardSetTadashi G. Takaoka2011-12-161-2/+2
| | | | | | | | This change also gets rid of XML id from KeyboardId. Bug: 5002108 Bug: 5679585 Change-Id: I7086c7da3c01ba4ade7f77ee5cc731310da46404
* Merge "Add XmlParseUtils class"Tadashi G. Takaoka2011-12-141-66/+30
|\
| * Add XmlParseUtils classTadashi G. Takaoka2011-12-141-66/+30
| | | | | | | | Change-Id: Ie288272bc75832db7d743262c4c4fbe73b6dca04
* | Remove EditorInfo from KeyboardIdTadashi G. Takaoka2011-12-141-3/+3
| | | | | | | | Change-Id: I70919ff30622afa1d8c29ca45589fa617f2c1f0e
* | Cleanup settings key related stuffTadashi G. Takaoka2011-12-141-2/+2
|/ | | | Change-Id: Ie0d1204e94fcdf9d578974256bf2ae3e87797f13
* Utilize KeyboardSet XML definitionsTadashi G. Takaoka2011-12-141-28/+4
| | | | | | | | | This change introduces KeyboardSet and SubKeyboard XML definitions to represent a set of keyboard layouts. Bug: 5002108 Bug: 5679585 Change-Id: Ib6c8d5936187381bb6725c9fe574e93871c01a86
* Fix referring wrong TypedArrayTadashi G. Takaoka2011-11-041-1/+1
| | | | Change-Id: I2a8f00edb579e24e612e839498ece097e9d3d7f6
* Fix missing TypedArray.recycle callsTadashi G. Takaoka2011-10-191-1/+4
| | | | Change-Id: I333e55b4e7925dac5495e2e73ac57ffcef4fabb4
* Close XmlResourceParser when finish parsingTadashi G. Takaoka2011-10-181-4/+13
| | | | Change-Id: If21ee187c83f044b235d88fba15af00e6ac8a308
* Use XmlPullParser interface instead of XmlResourceParserTadashi G. Takaoka2011-10-061-27/+26
| | | | Change-Id: I00e8a82aaaf5fec1e27707bce0a82cbfd1bc9fae
* Remove unused local variableTadashi G. Takaoka2011-10-041-3/+0
| | | | Change-Id: Ia71e03ee59153db1dbc35028569f7c76d5b12bf7
* Pass the touch position correction flag from KeyboardSwitcher.Yusuke Nojima2011-10-031-39/+5
| | | | Change-Id: Ia242a9fa2fa71f7fdf8f974071a2df7acc4aa51f
* Fix obtainStyledAttribute not to look for defaultTadashi G. Takaoka2011-10-031-2/+2
| | | | | Bug: 5402266 Change-Id: I8f84754b0080b315f9360e1ffa8353b386e88ad7
* Fix keyboard theme parsingTadashi G. Takaoka2011-10-031-1/+2
| | | | | | This is a followup of I13b9997e. Change-Id: I4c10fbc8b250c3bad72e38d46089684a839bdd5f
* Move themeId and touch correction data to Keyboard styleTadashi G. Takaoka2011-09-301-30/+27
| | | | Change-Id: I13b9997e013b704734b6fa94131b1f7fec7a152d