aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinKeyboard.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move some inner static class to top class in new packageTadashi G. Takaoka2010-12-021-720/+0
| | | | | | | | | This change introduces new package com.android.inputmethod.keyboard which hosts keyboard related classes. Also adds missing @Override and @SuppressWarning("unused") annotation Change-Id: I0317f5cfa317e13f3c77815f48ffc69b5d1ade05
* Update tablet keyboard layout to the latest designTadashi G. Takaoka2010-11-251-5/+5
| | | | | | | | | | | | | This change introduces shiftedIcon attribute for Key which specifies icon to draw the shift key while the key is in shifted state. This change also intriduces new configurable dimension value key_label_horizontal_alignment_padding which represents horizontal padding for left or right alignment of key label. Bug: 3216592 Bug: 3201839 Change-Id: I3aa7392227ce573c404517678e6340a8d1fcb328
* Support dedicated number/date keyboard layoutTadashi G. Takaoka2010-11-241-0/+8
| | | | | Bug: 3009716 Change-Id: Idc12cc9d8ee4f5febfae4e11712e2aaca327a6ea
* Support imeOptions condition in <case>Tadashi G. Takaoka2010-11-231-73/+0
| | | | Change-Id: Ie5494601efb29cf65363c4aa3bf5a9ab04a0109a
* Support colorScheme <case/> condition in Keyboard XMLTadashi G. Takaoka2010-11-231-39/+30
| | | | Change-Id: Ibbfb99e0e2b15df301f83af6739b7bca01ebf490
* Support <key-style/> and keyStyle attribute for Keyboard XMLTadashi G. Takaoka2010-11-221-4/+4
| | | | Change-Id: Ie052e989d0180eecfc8c244ba6c60594a46103d1
* Make F1 and Symbol keys static in XML fileTadashi G. Takaoka2010-11-211-106/+0
| | | | Change-Id: If869f5ad4fe8f192f89a8679a4abde99a25e02e6
* Implement both automatic and manual temporary upper casesTadashi G. Takaoka2010-11-181-43/+40
| | | | | | | | | | | | | | With this change, - Shift and Shift lock state of keyboard is maintained by LatinKeyboard.ShiftState. - Shift key state is maintained by ShiftKeyState object in KeyboardSwitcher. - LatinIME informs KeyboardSwitcher that shift key press, release and long press and KeyboardSwitcher determines which state LatinKeyboard and ShiftLeyState should be. Bug: 3193390 Change-Id: I948ef26fda512eb1cb0ebddc89d322c4f4f4d670
* Add a functionarity to handle Subtypesatok2010-11-191-2/+2
| | | | Change-Id: Ic6055ba218b64f4276e3db99a435f546c3990ee5
* Move functions in LatinKeyboard related to LanguageSwitcher to SubtypeSwitchersatok2010-11-181-33/+16
| | | | Change-Id: I777db896bd0287931ce7c810b080ccee1121d34e
* Move functions related to LanguageSwitcher to LatinIMESubtypeSwitchersatok2010-11-181-4/+0
| | | | Change-Id: I5fa306cf311063ff96b6d45faaca2ffe84cddbf9
* Refactor KeyboardSwitcher and LatinIMETadashi G. Takaoka2010-11-161-1/+2
| | | | | Bug: 3193390 Change-Id: Id894c9bc574a53966d9efc419ab398bae89c34c1
* Keyboard XML supports switch-case-default tags to select rows and keysTadashi G. Takaoka2010-11-121-6/+5
| | | | Change-Id: I0d92e513757e765d9de98561205754af5a143650
* Rename KeyboardSwitcher.setKeyboardMode to loadKeyboardTadashi G. Takaoka2010-11-111-12/+5
| | | | | | | This change also eliminates KeyboardSwitcher.refreshKeyboardCache, LatinIME.reloadKeyboards() and LanguageSwicther.getLocales(). Change-Id: I5fd4914660ea1c955ddfa0ca62b920f9bcd53e1b
* am b5e8c779: am 69db35c4: Make the buttons work for edge pixels of the keyboardKen Wakasa2010-10-291-1/+3
|\ | | | | | | | | * commit 'b5e8c7799726a5975283fa138ad2870ab02d01a4': Make the buttons work for edge pixels of the keyboard
| * Make the buttons work for edge pixels of the keyboardKen Wakasa2010-10-291-1/+3
| | | | | | | | | | | | | | Follow-up change to If7630b89 bug: 3142416 Change-Id: I2660e3d688eb0490363e460d5b4944c89b8ca35c
| * DO NOT MERGE. Add '...' (hint) to period/smiley keys which triggers mini ↵Ken Wakasa2010-10-191-6/+10
| | | | | | | | | | | | | | popup by long-press. bug: 3105185 Change-Id: I901e36aa12dad5968ba1a420fff6a2f2efb16da5
| * DO NOT MERGE. Revise the setting hint visual and its handling code.Ken Wakasa2010-10-171-22/+20
| | | | | | | | | | | | | | This is a follow up change to I8b38e280. bug: 3084022 Change-Id: I1062763d87b4498e19598b4e7d99bb91c510c6d2
| * DO NOT MERGE. Follow up change to I8b38e280Ken Wakasa2010-10-161-18/+61
| | | | | | | | | | | | | | Add visual indicator that long press / or @ on F1 key will bring up Settings bug: 3084022 Change-Id: If925b546829ca8e8806e1f8f89eaf72fc8c220da
| * Follow up change of I8b38e280 (DO NOT MERGE)Tadashi G. Takaoka2010-10-151-21/+24
| | | | | | | | | | | | | | | | | | | | | | | | This is follow up change of I8b38e2803eb32469653484701882af35108eb69a This change fixes the following when "Voice input on symbols keyboard" option is selected. - LatinIME.onCreateInputView fails to show "123mic" icon. - Email and URL variation keyboard fails to show "123mic" icon. Bug: 3084022 Change-Id: Ia3929bb0cc5c5c8651af816718c21d1f20e8f016
| * DO NOT MERGE. Add visual indicator that long press , or mic key will bring ↵Ken Wakasa2010-10-141-2/+32
| | | | | | | | | | | | | | up Settings bug:3084022 Change-Id: I8b38e2803eb32469653484701882af35108eb69a
| * Specify keyboard metrics with physical unit "inch" (DO NOT MERGE)Tadashi G. Takaoka2010-10-141-9/+23
| | | | | | | | | | | | | | | | | | | | | | | | This change also introduces the key background drawables which has no fixed bottom padding. Instead of relying on bottom padding in drawable, this change also specifies Keyboard.verticalGap with physical unit. Other keyboard related length, distance and size are also specified by physical unit. Bug: 3066107 Change-Id: I44f3b2eef8086d6e0b0db53d38f08487549060c6
* | Revise caps lock sequencesTadashi G. Takaoka2010-10-251-0/+2
| | | | | | | | | | | | | | | | | | This change also fixes that the popup preview of ALT on symbol keyboard is not showing. Bug: 3122877 Bug: 3127255 Change-Id: I978cb30a0d05298274d8ab6541b91323a0fef211
* | Tablet keyboard should always show "?123" as symbol keyTadashi G. Takaoka2010-10-221-29/+36
| | | | | | | | | | Bug: 3118554 Change-Id: Ib609799f28dee56a4ded2e8144ac4a0c0d113ad6
* | Table keyboard should always show return icon on enter keyTadashi G. Takaoka2010-10-221-25/+29
| | | | | | | | | | Bug: 3122750 Change-Id: I75d2b5adff3a349d29d8a56e7b761c26b04683c0
* | Manual merge of the following Gingerbread changes logicallyKen Wakasa2010-10-201-15/+56
| | | | | | | | | | | | | | | | | | | | | | I8b38e280 Ia3929bb0 If925b546 I1062763d I901e36aa bug: 3100311 Change-Id: Ic7e01277ec816e77d34732599b2b9552668b81c2
* | Cleanup LatinKeyboard and LatinKeyboard.LatinKey classesTadashi G. Takaoka2010-10-181-28/+11
| | | | | | | | Change-Id: I4c5a37315dea1c7545b77a8a6c93b930927a5a82
* | Save default enter key attributes and restore these if neededTadashi G. Takaoka2010-10-171-0/+21
| | | | | | | | | | Bug: 3103016 Change-Id: Id8128d5b685ac040afd2c248e1ad17e9aaf1fdf0
* | Specify keyboard metrics with physical unit "inch"Tadashi G. Takaoka2010-10-171-24/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | Cherrypick I44f3b2eef8086d6e0b0db53d38f08487549060c6 from Gingerbread This change also introduces the key background drawables which has no fixed bottom padding. Instead of relying on bottom padding in drawable, this change also specifies Keyboard.verticalGap with physical unit. Other keyboard related length, distance and size are also specified by physical unit. Bug: 3066107 Change-Id: Ib38355ebfc2f8d5b1d26c4e90eba87196fbeddfa
* | Follow up change of I4c6df819Tadashi G. Takaoka2010-10-131-24/+14
| | | | | | | | | | | | This change is follow up of I4c6df8197b734feb998da78478a4d9a41f6d92b2 Change-Id: I3b8a82dd71305f34afb2e8b6a705efabdc2bc0cf
* | Add text variation keyboard layoutTadashi G. Takaoka2010-10-121-14/+6
| | | | | | | | Change-Id: I4c6df8197b734feb998da78478a4d9a41f6d92b2
* | Add keyHintIcon attribute to BaseKeyboard.Key classTadashi G. Takaoka2010-10-051-65/+9
| | | | | | | | | | | | | | This keyHintIcon attribute is used to specify hint icon drawable at top right corner of Key. Change-Id: Icaa91e63c4473b2513396bd3fbeb8ed6fd73586c
* | Modify BaseKeyboard to be able to handle multiple shift keysTadashi G. Takaoka2010-10-021-12/+5
| | | | | | | | Change-Id: Ie840ae113ee6bd5b629a90959d7f955a5ceba95a
* | Unbundle Keyboard.java to BaseKeyboard.javasatok2010-10-021-4/+3
| | | | | | | | Change-Id: I8b310c2c0cae1a151e53c22001c586697346982c
* | am c0fc4bf9: am 8e1f1be0: Long press mic/comma key bring mini keyboard with ↵Tadashi G. Takaoka2010-10-011-0/+2
|\| | | | | | | | | | | | | | | | | settings Merge commit 'c0fc4bf9932caf536af5d5d86bb61ec6d8a44a99' * commit 'c0fc4bf9932caf536af5d5d86bb61ec6d8a44a99': Long press mic/comma key bring mini keyboard with settings
| * Long press mic/comma key bring mini keyboard with settingsTadashi G. Takaoka2010-10-011-0/+2
| | | | | | | | | | | | Bug: 3050703 Change-Id: I090b2bfebfb48e5ec461615d4c911024ea6d130a
* | Fix NPE in LatinKeyboard when it represent phone keyboardTadashi G. Takaoka2010-09-281-9/+13
| | | | | | | | | | Bug: 3041532 Change-Id: I1d846e9175bd033f056a8715287a936be2fe8f74
* | Add xlarge keyboard layouts (tentative)Tadashi G. Takaoka2010-09-281-34/+38
|/ | | | | | | | | | | This keyboard layout is tentative for UX study. This change added xlarge keyboard layouts only for "regular text", "symbol/number mode" and "symbol/number mode shifted". TODO other text mode variants should have dedicated layout. Change-Id: I36077efcec4b57c3b5cada0a851e1409a289eeb9
* Use constant for keycode.Tadashi G. Takaoka2010-09-221-2/+2
| | | | | | This is follow up change of Idb3adcb6fac1a23836510912d35312fa11b4f259 Change-Id: I130e381b0d5ac01176a746a4a915e2fc9d54587b
* Choose smaller or shorter language name for space barTadashi G. Takaoka2010-09-221-85/+125
| | | | | | | | | | | | | | To fit a language name to the space bar or the language switcher, this change chooses smaller text size or shorter language name appropriately. This change also tunes the vertical position of a language name in the space bar by parameter SPACEBAR_LANGUAGE_BASELINE. Bug: 3004640 Bug: 3001021 Change-Id: Idb3adcb6fac1a23836510912d35312fa11b4f259
* Fix issue space key preview remains on screen and would not dismissTadashi G. Takaoka2010-09-221-1/+5
| | | | | | | | | | | | | | The space key preview should be displayed one of the following case. - Popup preview is enabled - Language switcher is in action, whether popup preview is enabled or not. For phone number keyboard, popup preview is never displayed even if popup preview is enabled. Bug: 3006612 Bug: 3021091 Change-Id: I5385c776d0e8e3981fc8d8851db9140d92599ce5
* Add lightweight visual indication for numbers.Ken Wakasa2010-09-221-0/+44
| | | | | | | | | This change adds lightweight visual hints of alternate numeric characters on the top row - e.g. having a light gray '1' on the upper right corner of letter 'q' Note that MDPI resources are tentative (the same as HDPI for now, until we get fixed MDPI visual assets). bug: 3004632 Change-Id: I7a25cf90b702433a844c88f5c47bf914706af9bc
* Draw language label on space key of symbol+alt modeTadashi G. Takaoka2010-09-211-14/+8
| | | | | Bug: 3003888 Change-Id: I0bafcd13f3e5e5c69c65ed72580d108f2745e004
* Space key will no longer auto-repeatTadashi G. Takaoka2010-09-211-2/+0
| | | | | Bug: 3014225 Change-Id: I94d4904726985d5e17b665d4042c873ea07221f1
* Fix ALT key light behaviorTadashi G. Takaoka2010-09-061-5/+5
| | | | | | | This change also cleanups some imports, unnecessary cast and null check. Bug: 2977256 Change-Id: I81b9e539ff8a13ae0cc1eb5c4fb2246732cca3e9
* Extend space LED for autocompletionsatok2010-09-031-33/+42
| | | | Change-Id: If59ea7c871ffc2af6fe2bfde72303f2612e43c3b
* Change symbol on space bar when autocompletion is activatedsatok2010-09-031-22/+47
| | | | | | bug: 2959279 Change-Id: Icc70b7cce0c245ae2451d324debd346f226b8769
* Change background color for functional keys in LatinIMEsatok2010-09-021-4/+33
| | | | Change-Id: I45f13c1fd139ce43478e5d0b2cdb62e56e9f77a8
* Fix new theme assets and resourcessatok2010-09-011-1/+1
| | | | | | | | - Add a layout for popup for new theme - Change the color of language bar - Fix a drawable for settings feedback Change-Id: I7c0c9e238c8223554a62f7b0c8092d074cf9743f
* Remove extension keyboardTadashi G. Takaoka2010-08-301-9/+0
| | | | | Bug: 2959287 Change-Id: I344ac58b4119e96daf5928c784275ee0b7095958