Commit Graph

10590 Commits (e782f1f4154690da356fac6939ded66b5f66864d)

Author SHA1 Message Date
Tadashi G. Takaoka 305778b53a Support accessibility TalkBack in emoji palette
Bug: 11452158
Change-Id: I699e4e9f4baec4bb0fb9cd7875f675044f20465f
2014-05-20 17:35:39 +09:00
Tadashi G. Takaoka f22285006a Move generic hover event handling to KeyboardAccessibilityDelegate
This is a follow up of I0d73b4cf60.

Change-Id: Iecfe124321682c8fc307ccf4c79e836390403d95
2014-05-20 17:25:19 +09:00
Tadashi G. Takaoka 4d146d5e3e Separate MainKeyboardView specific accessibility code
Change-Id: I0d73b4cf60145b6e34bd89f72eb49de3c686f5e3
2014-05-20 15:34:25 +09:00
Tadashi G. Takaoka 524392adfa Merge "Refactor accessibility classes to be more generic" 2014-05-20 06:19:30 +00:00
Tadashi G. Takaoka c6d40dfa5c Merge "Remove preliminary subtypes for L-preview" 2014-05-20 06:08:41 +00:00
Tadashi G. Takaoka 7b90d2c432 Refactor accessibility classes to be more generic
Change-Id: Ifad1905f304bccdc39f0d5fbcab8a6353e0b4f76
2014-05-20 15:07:45 +09:00
Keisuke Kuroyanagi 1afaf6770b Merge "Use PrevWordsInfo for get/add/remove n-gram(bigram) entry." 2014-05-20 05:36:10 +00:00
Tadashi G. Takaoka d2f968847a Remove preliminary subtypes for L-preview
Bug: 13966540
Bug: 13779052
Bug: 10028772
Bug: 7963632
Change-Id: I38552cdbdd6165ee5d9b1a89a822653459fb2b38
2014-05-20 13:56:04 +09:00
Tadashi G. Takaoka 5b7c85ec32 Merge "Update key preview popup and shift icons of LXX_Dark" 2014-05-20 04:49:22 +00:00
Tadashi G. Takaoka cf3b5df3ba Update key preview popup and shift icons of LXX_Dark
Bug: 14419121
Change-Id: I808ea58a8d00be3c64d0f4a17e61c55299f8583a
2014-05-20 13:37:54 +09:00
Keisuke Kuroyanagi ff50b39176 Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.
Bug: 14119293
Bug: 14425059

Change-Id: I12e9ba977c153b514c6591ab52940712fd0874e3
2014-05-20 13:37:04 +09:00
Tadashi G. Takaoka 9fb2797714 Fix number password field handling
Bug: 15088419
Change-Id: Ie88375c8c8203c318d9b410692c527443cb0a2d5
2014-05-20 10:26:26 +09:00
Tadashi G. Takaoka 437be2d5c4 Refactor Emoji tab indicators to refer keyboard theme
Bug: 14419121
Change-Id: I7086923fff153039c2d011bbccbfd04eb687a76a
2014-05-20 01:16:25 +09:00
Tadashi G. Takaoka 27ca9f1bf1 Remove Emoji label tab
Change-Id: Ia2f3482363b462c16a51f2baac59d6bcae96ffab
2014-05-19 23:11:39 +09:00
Tadashi G. Takaoka 3bfacd445e Merge "Remove Emoji delete key UX hack" 2014-05-19 05:33:28 +00:00
Tadashi G. Takaoka 6ea0dab845 Remove Emoji delete key UX hack
The Emoji delete key UX hack that changes key background color based
on the key state isn't keyboard theme compliant.

Change-Id: I0fa43a91cdd6da944d6d4d1a5a09b771f852a081
2014-05-19 14:07:35 +09:00
Keisuke Kuroyanagi b52055bfd1 Merge "Use PrevWordsInfo instead of String in Java side." 2014-05-19 05:00:21 +00:00
Keisuke Kuroyanagi 83c40a2301 Use PrevWordsInfo instead of String in Java side.
Bug: 14119293
Bug: 14425059

Change-Id: I3d5da84881a49a04550180dd9aac2c37da2ed762
2014-05-19 13:55:40 +09:00
Tadashi G. Takaoka 10bd458efc Rename Emoji related resource names more consistent
Change-Id: I318a98feeaf7b8bc4d2ed6d54475a144e2dca0a1
2014-05-19 13:54:00 +09:00
Tadashi G. Takaoka 260b65478f Rename key background drawables more consistent
This CL also deletes the following unused drawables.
- btn_keyboard_key_dark_normal_on.9.png
- btn_keyboard_key_dark_normal_off.9.png
- btn_keyboard_key_dark_pressed_off.9.png

Change-Id: I3e4e14fc1e631245ebb36a0a1c7ffc76f75fd217
2014-05-19 12:58:27 +09:00
Tadashi G. Takaoka 193584ce6a Update Enter and key preview popup of Quantum Dark
Bug: 14419121
Change-Id: Ibdac3caaf9b7ec2c2c7f226ed7f66285587d4d5c
2014-05-19 11:54:49 +09:00
Tadashi G. Takaoka 04e2a494e2 Rename LXX theme to LXX_Dark
Bug: 14419121
Change-Id: I3d73c51d339eafec26871a659575d8b7b8cc441c
2014-05-19 10:27:36 +09:00
Keisuke Kuroyanagi 23246ed18d Use dedicated DictionaryFacilitator for DistracterFilter
Bug: 15002249
Change-Id: Ic77eaa7d627d406daad7dcd15cb4884d9f647312
2014-05-17 01:18:08 +09:00
Keisuke Kuroyanagi 96013c9605 Merge "Revert "Use dedicated DictionaryFacilitator for DistracterFilter"" 2014-05-16 11:17:45 +00:00
Keisuke Kuroyanagi f9377c8920 Revert "Use dedicated DictionaryFacilitator for DistracterFilter"
This reverts commit 7122fe76e3.

Change-Id: I341089864a2b58de6e0f35844a12fb632bd1eabb
2014-05-16 11:16:54 +00:00
Keisuke Kuroyanagi 0dac17f5fb Merge "Use dedicated DictionaryFacilitator for DistracterFilter" 2014-05-16 10:49:02 +00:00
Tadashi G. Takaoka 060e63835a Merge "Fix keyboard theme selection logic" 2014-05-16 09:59:22 +00:00
Tadashi G. Takaoka 3b12718537 Fix keyboard theme selection logic
Bug: 15002666
Change-Id: I5cc52db71ee609edffdb2613e93245e92ac6fc6a
2014-05-16 18:45:09 +09:00
Keisuke Kuroyanagi 7122fe76e3 Use dedicated DictionaryFacilitator for DistracterFilter
Bug: 15002249
Change-Id: I2ebf1941fb0453ea4b97c0e539f8b36e5e0262c1
2014-05-16 18:39:31 +09:00
Keisuke Kuroyanagi d1f9ce00db Merge "Make session id mandatory for getSuggestions." 2014-05-16 09:33:28 +00:00
Keisuke Kuroyanagi 09c72207c6 Make session id mandatory for getSuggestions.
Bug: 15008504
Change-Id: Ic4a17a4b7242118ae74fd89c695da2bb52204fb2
2014-05-16 17:57:03 +09:00
Tadashi G. Takaoka 91e4ba742a Merge "Fix typeface weight and suggestions strip background" 2014-05-16 07:59:30 +00:00
Keisuke Kuroyanagi f1b3518d71 Merge "Fix: StringIndexOutOfBoundsException." 2014-05-16 07:47:52 +00:00
Keisuke Kuroyanagi 34873a66f0 Fix: StringIndexOutOfBoundsException.
Bug: 14985751
Change-Id: I9df2f737555ab02e24e0fbd231a97c1eec26bc57
2014-05-16 15:32:12 +09:00
Keisuke Kuroyanagi cfd3093362 Merge "Fix: NPE when context.getFilesDir() returns null." 2014-05-16 05:35:57 +00:00
Tadashi G. Takaoka 496879a2e2 Fix typeface weight and suggestions strip background
Changes the typeface weight from bold to regular.

Bug: 14419121
Change-Id: Ia80f82a32344114cf66cad882e403985e6bb1044
2014-05-16 11:24:09 +09:00
Tadashi G. Takaoka 812d7d935a Merge "Support 9-patch drawable for spacebar icon" 2014-05-16 01:28:04 +00:00
Baligh Uddin 346e96bb5c Merge "Import translations. DO NOT MERGE" 2014-05-15 14:35:22 +00:00
Keisuke Kuroyanagi a545e8dd23 Fix: NPE when context.getFilesDir() returns null.
Bug: 14517587
Change-Id: Ib99bea14eab3a25ddb5042527b757133734a6ba6
2014-05-15 20:20:13 +09:00
Tadashi G. Takaoka 41808192d3 Support 9-patch drawable for spacebar icon
Bug: 14419121
Change-Id: I901ea2a5bfae870b3aae8fea3bc38d999b2354b8
2014-05-15 18:40:16 +09:00
Tadashi G. Takaoka 2ddaf9543d Remove unused auto correction led for spacebar feature
Change-Id: Ie1544bd0d28684d9b7887fddff37b224ed4f8201
2014-05-15 17:53:43 +09:00
Tadashi G. Takaoka c007e8863c Swap space and dot of number keyboard of phone
Bug: 14419121
Change-Id: I0968b46cfabd3d0a37a705451e38bd922b69e7ec
2014-05-15 16:31:09 +09:00
Tadashi G. Takaoka 591ec83e40 Merge "Use slightly dimmed text color for functional keys" 2014-05-15 07:09:53 +00:00
Tadashi G. Takaoka 28289ece59 Merge "Fix NPE in KeyboardSwitcher while orientation change" 2014-05-15 07:09:44 +00:00
Keisuke Kuroyanagi e810a266fd Merge "Quit use bigram probability diff for ver4 dict." 2014-05-15 07:07:25 +00:00
Tadashi G. Takaoka afdcc15ca8 Fix NPE in KeyboardSwitcher while orientation change
This is a follow up of I8a737e2b73.

Bug: 14981300
Bug: 14419121
Change-Id: I87f910adbff248d9606d074c351aa951c9539163
2014-05-15 16:07:15 +09:00
Keisuke Kuroyanagi 64341927d2 Quit use bigram probability diff for ver4 dict.
Change-Id: I2cfcfbcf351877d1dff466a24974dbb05908f14e
2014-05-15 16:02:58 +09:00
Tadashi G. Takaoka 37ec0fe984 Use slightly dimmed text color for functional keys
This CL introduces two new key attributes to achieve this.
- KeyboardView.functionalTextColor
- followFunctionalTextColor flag for Key.keyLabelFlags

Bug: 14419121
Change-Id: I45ca433dcc9cc8c6cf891e21d5316ee4048b0cad
2014-05-15 15:39:59 +09:00
Yohei Yukawa f0fc320b4e Merge "Simplify StatsUtils" 2014-05-15 06:35:42 +00:00
Baligh Uddin bdc4b1876a Import translations. DO NOT MERGE
Change-Id: Ied3af9b4df35ee65da5734d910cf45af16d84e9e
Auto-generated-cl: translation import
2014-05-14 22:17:29 -07:00
Tadashi G. Takaoka 34e0fad723 Update L icons
This CL must be checked in together with I27755f45fd.

Bug: 14419121
Change-Id: Iaf032f638c9ed36f2d3b924fdd42f0502abf487e
2014-05-15 13:45:02 +09:00
Xiaojun Bi 3686bdfcc1 Fix off-device build
This CL fixed the breakage caused by DistracterFilter.
It should be checked in together with I8f53e9481c0f

Bug: 14911612
Bug: 13142176
Change-Id: I33c3526165cea58926d10404552f1fadc385c2e5
2014-05-14 17:39:02 -07:00
Yohei Yukawa 9aa7f66a15 Simplify StatsUtils
With this CL, the implementation of StatsUtils no longer
needs to know how to read settings from the system.

Insted, the LatinIME class is now responsible for notifying
StatsUtils whenever the settings is changed.

BUG: 14324207
Change-Id: Ic3d26ec31c8d2c082d3e7487b578b323aad2f960
2014-05-15 00:11:13 +09:00
Keisuke Kuroyanagi aa7329de15 Merge "Add VERSION4_DEV(402) in Java side and use it for tests." 2014-05-14 13:42:24 +00:00
Keisuke Kuroyanagi 04536f14b0 Add VERSION4_DEV(402) in Java side and use it for tests.
Bug: 13406708
Change-Id: I7c9c53bf34d12dced7331a359a83f6444490783a
2014-05-14 22:37:07 +09:00
Keisuke Kuroyanagi ee59975420 Merge "Fix a NPE in DistracterFilter.isDistracterToWordsInDictionaries()" 2014-05-14 12:20:10 +00:00
Jean Chalard babde55bf8 Merge "Fix a bug where changing languages kills the composition." 2014-05-14 11:36:43 +00:00
Jean Chalard 5ce39dfa78 Fix a bug where changing languages kills the composition.
Bug: 14926896
Change-Id: Id2a06c68a51f833db4d8bbc858a232c2696afb6e
2014-05-14 20:34:32 +09:00
Tadashi G. Takaoka 9f4d62cc42 Create com.android.inputmethod.keyboard.emoji package
Change-Id: Idd12c2fa4f5add7bb50bd7349ff9a74fffe82cfd
2014-05-14 19:32:00 +09:00
Tadashi G. Takaoka 71f4c6b8ea Merge "Fix NPE that happens only in some unit tests" 2014-05-14 10:01:15 +00:00
Tadashi G. Takaoka 268bf2cdfe Fix NPE that happens only in some unit tests
Bug: 14922410
Change-Id: Ica801e102d302e9faa7c24721b37634f1e812af3
2014-05-14 18:55:14 +09:00
Jean Chalard 08476dc107 Merge "Don't send empty composing texts." 2014-05-14 09:50:25 +00:00
Tadashi G. Takaoka 83da26422c Merge "Rename LMP to LXX just in case" 2014-05-14 09:43:27 +00:00
Tadashi G. Takaoka 3610039723 Rename LMP to LXX just in case
This CL must be checked in together with I7e2ba67f31.

Change-Id: I51cb982f9cf0ace173d535a60293bb4be83bbb75
2014-05-14 18:39:39 +09:00
Tadashi G. Takaoka d7c520bb74 Merge "Make Emoji palette more Quantum light compliant" 2014-05-14 09:33:43 +00:00
Keisuke Kuroyanagi 0a04f8be93 Merge "Output dictionary format version for dump." 2014-05-14 09:07:56 +00:00
Tadashi G. Takaoka c1094d6913 Make Emoji palette more Quantum light compliant
Bug: 14419121
Change-Id: I8a737e2b73a000ad66e7e30a695677fe0bcc66fb
2014-05-14 18:01:24 +09:00
Tadashi G. Takaoka ae1c53bead Merge "Separate functional key background from normal one" 2014-05-14 09:00:43 +00:00
Tadashi G. Takaoka c1e6100bde Separate functional key background from normal one
This CL also moves spacebarBackground attribute from MainKeyboardView
to KeyboardView.

This CL must be checked in together with I48c383ca97.

Bug: 14419121
Change-Id: Id356d0086a8fb21375fb5c66076873258fb3d63e
2014-05-14 17:57:51 +09:00
Jean Chalard 309ab664a8 Don't send empty composing texts.
Bug: 13160467
Change-Id: I5e3204ac8aaa18fe9219cc6b564b832ab6cf94fc
2014-05-14 16:55:32 +09:00
Jean Chalard a1b7f66eb2 Merge "Implement backspace in the current cluster for Myanmar" 2014-05-14 07:18:35 +00:00
Jean Chalard d23d1970b0 Implement backspace in the current cluster for Myanmar
Bug: 13945569
Change-Id: I738b01ede25fd731a2e10c4775f5511ce9bb54c8
2014-05-14 16:09:33 +09:00
Tadashi G. Takaoka ead058b002 Make EmojiCategory and EmojiPalettesAdapter as top level classes
Change-Id: Iea8087a240cb46e410b8de1f6a784b2995e7a6fb
2014-05-14 16:01:00 +09:00
Xiaojun Bi eb4f8506d6 Fix a NPE in DistracterFilter.isDistracterToWordsInDictionaries()
Bug: 14904706
Change-Id: I3b52bb01b9c59cbba2eba0bd1d91dffb4419c019
2014-05-13 21:00:28 -07:00
Tadashi G. Takaoka 83be21a563 Fix emoji category page indicator height
Bug: 14419121
Change-Id: I67f2072c67c2c4da0e5ac21a90f5cc7313f70f59
2014-05-14 12:35:40 +09:00
Tadashi G. Takaoka 161fa05d03 Update LMP colors and temporal drawables
Bug: 14419121
Change-Id: I84ce3d82636a88f3e63c3858012d1ade44f0cfd2
2014-05-14 12:03:20 +09:00
Keisuke Kuroyanagi 935150795b Output dictionary format version for dump.
Change-Id: I13873727dbb25550a5087c883968a77094d2115d
2014-05-14 11:39:28 +09:00
Tadashi G. Takaoka 7edd345bf2 Remove unused drawables
Change-Id: I27612d5a47ea780a9c9b6244e33ab6ff8fc4a37a
2014-05-14 10:54:13 +09:00
Tadashi G. Takaoka 08103a0e07 Show voice key even when important notice is showing
Bug: 14822080
Change-Id: I2a55bb630cf544b6dc31a5e0e6b932c6af268c71
2014-05-14 09:11:35 +09:00
Xiaojun Bi 25ec32f635 Merge "Implement the distracter filter" 2014-05-13 23:08:40 +00:00
Xiaojun Bi ac20253806 Implement the distracter filter
Bug: 13142176

Change-Id: I85a048cdcbbad3d6020a25f900250d8d7a0fe3da
2014-05-13 15:52:14 -07:00
Baligh Uddin f8297dc54d Merge "Import translations. DO NOT MERGE" 2014-05-13 16:03:45 +00:00
Tadashi G. Takaoka 5fc93fadd6 Merge "Add content description to the voice key" 2014-05-13 07:53:02 +00:00
Tadashi G. Takaoka cda11fb3a4 Merge "Show icon on action key when it is defined in keyboard theme" 2014-05-13 07:49:37 +00:00
Tadashi G. Takaoka 06d1cdd5dc Add content description to the voice key
Bug: 14849593
Change-Id: I1664b6a4ef54b78a09df65adbffff7861b54c4a9
2014-05-13 16:33:31 +09:00
Tadashi G. Takaoka aaffc46e82 Fix inconsistent TalkBack descriptions of keyboard modes
The previous "symbols shift mode" is renamed as "more symbols
mode". This CL also simplifies the shift key on various keyboard
modes.

Bug: 14461550
Change-Id: I8ed48805eaf95892e0f12f5edcdf97937d5c2bd4
2014-05-13 15:55:32 +09:00
Tadashi G. Takaoka dcd74ba929 Merge "Optimize drawing key text shadow layer" 2014-05-13 05:21:08 +00:00
Tadashi G. Takaoka 41f9f1ef70 Optimize drawing key text shadow layer
Change-Id: Id226fe8042ba0f538d5109459a3615d7e7113d7f
2014-05-13 14:16:33 +09:00
Tadashi G. Takaoka 9e39c603d3 Merge "Add isIconDefined predicate to Keyboard_Case attribute" 2014-05-13 03:37:35 +00:00
Keisuke Kuroyanagi 0f645381ee Merge "Fix typo wordPreperty -> wordProperty." 2014-05-13 02:58:05 +00:00
Tadashi G. Takaoka dd68d4e4bf Show icon on action key when it is defined in keyboard theme
This CL also adds the following icons name for an action key.
- Go
- Send
- Next
- Done
- Previous

Bug: 14259323
Change-Id: I48bba708d1f78349270d2ca01aebd8f111685723
2014-05-13 11:03:49 +09:00
Tadashi G. Takaoka 1c8e069d3c Add isIconDefined predicate to Keyboard_Case attribute
Bug: 14259323
Change-Id: I9450a5125b1809b9fada6ee6e6b253cabfa2e2b4
2014-05-13 10:24:32 +09:00
Baligh Uddin ecac0cdbc9 Import translations. DO NOT MERGE
Change-Id: Ic226d55b4c9cdff3fef5e31b411e0825b76cce55
Auto-generated-cl: translation import
2014-05-12 15:55:46 -07:00
Keisuke Kuroyanagi 0befbf8289 Fix typo wordPreperty -> wordProperty.
Change-Id: I793f9a42f8dbf48fa15292e74df9edf1cf5d8901
2014-05-13 01:32:27 +09:00
Jean Chalard 61ddac28de Merge "Add initial reordering rules for Myanmar" 2014-05-12 11:29:53 +00:00
Keisuke Kuroyanagi 490e6846a1 Merge "Add freq=0 words to user history depending on the option." 2014-05-12 11:15:52 +00:00
Keisuke Kuroyanagi 84070cbc74 Merge "Improve multi-word suggestion handling for user history." 2014-05-12 11:11:15 +00:00
Keisuke Kuroyanagi 87343166e5 Add freq=0 words to user history depending on the option.
Bug: 14686585
Change-Id: Ia1c3adb1bcc625788016e378e1ac7b0792ea9f4e
2014-05-12 19:48:58 +09:00
Jean Chalard 281dbc3973 Add initial reordering rules for Myanmar
Bug: 13945569
Change-Id: Ib546ba110e87bf72afa7f42c878cc5f638bff6c7
2014-05-12 19:17:47 +09:00
Jean Chalard fac678e13d Merge "Create the path for specifying combining rules in the subtype" 2014-05-12 09:33:27 +00:00