Commit Graph

10499 Commits (acc1e3f4e7566496b900aa1b70bc6b148fcfa360)

Author SHA1 Message Date
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
Keisuke Kuroyanagi ddacfdeb09 Improve multi-word suggestion handling for user history.
Bug: 12902664
Change-Id: I03deed16047f0beaba8932d87c6129ec8061ba9c
2014-05-12 18:04:43 +09:00
Tadashi G. Takaoka 722f5c7966 Remove voice key from keyboard layout
Bug: 14419121
Change-Id: I71031f1ed9735a5a05dc584299b56512fb0b6866
2014-05-12 17:07:01 +09:00
Jean Chalard be99616afa Create the path for specifying combining rules in the subtype
Also add the skeleton of the combining rules for Myanmar
reordering as a pilot.

Bug: 13945569
Change-Id: Iabeb6838f45f1efff482143595ce5b48543e0c43
2014-05-12 15:58:51 +09:00
Tadashi G. Takaoka c41d261b7e Add voice key to suggestions strip
Bug: 14419121
Change-Id: I3b2bdc3c07bb7e49ea7be53649bd6dd134fea27c
2014-05-12 15:08:14 +09:00
Tadashi G. Takaoka 40f6ea720e Merge "Activate pseudo LMP theme" 2014-05-12 05:17:09 +00:00
Tadashi G. Takaoka fe536b2728 Activate pseudo LMP theme
Bug: 14419121
Change-Id: I00265315c204de2279250d9ae20f630c2ee5dec6
2014-05-12 14:11:59 +09:00
Keisuke Kuroyanagi 4eb220269b Remove ContextualDictionary.haveContentsChanged().
Change-Id: I7023ba4d9515dcad90e0a226f70936550c5241f4
2014-05-12 13:50:08 +09:00
Keisuke Kuroyanagi 47c76f0a45 Merge "Add contextual dictionary to the dictionary facilitator." 2014-05-12 04:42:33 +00:00
Tadashi G. Takaoka 43e371e513 Merge "Add pseudo LMP theme" 2014-05-12 03:29:30 +00:00
Jean Chalard 2b95bc9b64 Cleanup : remove a useless member
Change-Id: I7871c3243c82b5a19acf266033187795a2ea1767
2014-05-12 11:52:45 +09:00
Tadashi G. Takaoka d5e3f02586 Add pseudo LMP theme
This CL introduce pseudo LMP theme. This keyboard theme is a
placeholder and not final. The drawables and colors that this CL
introduces should be replaced with the final assets.

Bug: 14419121
Change-Id: I7a37c884e4ee0cac09ad21ff729996c2b9c1b4af
2014-05-12 11:52:41 +09:00
Tadashi G. Takaoka 59c3ef1ff8 Refactor KeyboardTheme
This CL introduces two preference keys in addition to the existing one.

- pref_keyboard_theme: The new preference key that is used only in the
  preference settings.

- pref_keyboard_layout_20110916: The previous preference key that
  holds keyboard color scheme settings. This is superseded by the next
  key.

- pref_keyboard_theme_20140509: The new preference key that holds
  keyboard theme settings. This value is forcibly reset to LMP theme
  on a LMP device. On a KitKat and previous device, the settings of
  the pref_keyboard_layout_20110916 is carried on into this
  preference.

This CL must be checked in together with Id7b3ddd8aa.

Change-Id: I2d55602d026e30b38d8f822d2124f5c5e4a9a812
2014-05-12 10:59:10 +09:00
Ken Wakasa 4f5ea4dfc2 Merge "Revert "Refactor KeyboardTheme"" 2014-05-09 11:28:51 +00:00
Ken Wakasa d47dca429e Revert "Refactor KeyboardTheme"
This reverts commit 19688b584b.

Build breakage.

Change-Id: I95d4be1578824eaee5a2fb08ec277250727ac668
2014-05-09 11:28:19 +00:00
Ken Wakasa d9b8eaa229 Merge "Revert "Add pseudo LMP theme"" 2014-05-09 10:45:08 +00:00
Ken Wakasa 159071fd19 Revert "Add pseudo LMP theme"
This reverts commit dd9ed45c63.

Unit test breakage.

https://sponge.corp.google.com/target?id=f7fd85a6-8e3b-4fda-8c84-d4e1b342e839&target=com.google.android.inputmethod.latin.tests&searchFor=&show=FAILED&sortBy=STATUS

Change-Id: Ia971834b368890c344a06602473a56887709bbca
2014-05-09 10:44:33 +00:00
Tadashi G. Takaoka 418df4a62e Merge "Add pseudo LMP theme" 2014-05-09 08:53:28 +00:00
Tadashi G. Takaoka dd9ed45c63 Add pseudo LMP theme
This CL introduce pseudo LMP theme. This keyboard theme is a
placeholder and not final. The drawables and colors that this CL
introduces should be replaced with the final assets.

Bug: 14419121
Change-Id: Iba4751c525775fc12763c0a55309410e0d82ce9b
2014-05-09 17:48:25 +09:00
Tadashi G. Takaoka c2a49f3006 Merge "Refactor KeyboardTheme" 2014-05-09 08:26:05 +00:00
Tadashi G. Takaoka 19688b584b Refactor KeyboardTheme
This CL introduces two preference keys in addition to the existing one.

- pref_keyboard_theme: The new preference key that is used only in the
  preference settings.

- pref_keyboard_layout_20110916: The previous preference key that
  holds keyboard color scheme settings. This is superseded by the next
  key.

- pref_keyboard_theme_20140509: The new preference key that holds
  keyboard theme settings. This value is forcibly reset to LMP theme
  on a LMP device. On a KitKat and previous device, the settings of
  the pref_keyboard_layout_20110916 is carried on into this
  preference.

This CL must be checked in together with Ifcedeabbec.

Change-Id: Ibe75146e2c1c7eebf964ca86550baf244fedb79a
2014-05-09 16:21:02 +09:00
Keisuke Kuroyanagi eaa347bc1a Merge "Add VERSION4_TEST for testing." 2014-05-09 07:06:06 +00:00
Keisuke Kuroyanagi 455dc84cf2 Add VERSION4_TEST for testing.
Bug: 13406708
Change-Id: I0b434717ea3edbb131650af634c53cfbfe113c3e
2014-05-09 15:17:01 +09:00
Keisuke Kuroyanagi 82fa755bac Fix unit tests by adding @UsedForTesting
Change-Id: I9448b1bfa7bf94039de737725851e63a2921a443
2014-05-09 14:44:44 +09:00
Keisuke Kuroyanagi 28ebe2db23 Merge "Check whether contacts have changed using hashCode()." 2014-05-09 03:48:19 +00:00
Keisuke Kuroyanagi 943e28d202 Merge "Periodic GC for personalization dict." 2014-05-09 03:41:43 +00:00
Tadashi G. Takaoka ebac0aa28f Reorder accented letters of English
This is a follow up change of Idff0b6d08e.

Bug: 13177865
Change-Id: I00ea7cda954efbd248d2abc2fa6d4995d6acbf19
2014-05-09 12:06:42 +09:00
Baligh Uddin 1a180c155d Merge "Import translations. DO NOT MERGE" 2014-05-08 15:29:35 +00:00
Keisuke Kuroyanagi 89eaa6701f Periodic GC for personalization dict.
Change-Id: I1ef922684cbf1de10c45c66eb119c2343d194da3
2014-05-08 17:20:43 +09:00
Tadashi G. Takaoka bf09cb2390 Reorder accented letters of English
Bug: 13177865
Change-Id: Idff0b6d08e6dd0ec1eb39072ba4f99e6ec7df802
2014-05-08 16:20:13 +09:00
Keisuke Kuroyanagi 08d12a1be3 Merge "Extend jni interface for dictionary migration." 2014-05-08 05:20:33 +00:00
Baligh Uddin 650023991d Import translations. DO NOT MERGE
Change-Id: I7fab17fff5b54a5c409ac5c469db00dc95d1fb7a
Auto-generated-cl: translation import
2014-05-07 21:40:21 -07:00
Keisuke Kuroyanagi 1471fbad66 Extend jni interface for dictionary migration.
Bug: 13406708

Change-Id: Iadad6df296467d0e5b631fba4a409d53c8a5a6f2
2014-05-08 12:31:04 +09:00
Keisuke Kuroyanagi 9898ee6267 Check whether contacts have changed using hashCode().
Bug: 13755213
Change-Id: Ie2f7b7f9dc8bd3fce395618877d9f234287dcb21
2014-05-08 12:25:32 +09:00
Tadashi G. Takaoka e3e331aebb Merge "Use margin instead of padding in SuggestionStripView" 2014-05-08 01:14:59 +00:00
Xiaojun Bi 50b5295d5d Merge "Use DistracterFilter when getting Language Model Param of a word" 2014-05-08 01:10:33 +00:00
Xiaojun Bi 17284659ce Use DistracterFilter when getting Language Model Param of a word
A preparation for implementing Distracter Filter.

This CL should be checked in together with Icfefa0463180

Bug: 13142176

Change-Id: If9e5ca840c4a81cb0339ab70f146b42fbfa7af5d
2014-05-07 10:10:18 -07:00
Tadashi G. Takaoka 2b479cccae Use margin instead of padding in SuggestionStripView
This CL also tunes the width of suggestions strip to be able to
display 15~16 letters without x-scaling at the center slot.

Bug: 14419121
Change-Id: Ia5766cee043899533e24e2ebc621e8dc279370b3
2014-05-07 19:12:28 +09:00
Keisuke Kuroyanagi 35acf309b7 Merge "Fix: mIsUserDictEnabled is never updated." 2014-05-07 07:52:06 +00:00
Keisuke Kuroyanagi 7d52f9b81c Fix: mIsUserDictEnabled is never updated.
Bug: 14602321

Change-Id: Ib98d5648ea2a901393b79c7f300bc6d209ee98d1
2014-05-07 16:45:37 +09:00
Tadashi G. Takaoka 9d99a2edee Make KeyboardView style as a parent of SuggestionStripView style
With this CL, SuggestionStripView can refer an icon asset in a
keyboard theme.

Bug: 14419121
Change-Id: I30d595c08ce02b8c7d3f111e1edab2820c0b602e
2014-05-07 12:13:02 +09:00
Baligh Uddin 04348c3637 Merge "Import translations. DO NOT MERGE" 2014-05-06 15:16:24 +00:00
Baligh Uddin b313db1f50 Import translations. DO NOT MERGE
Change-Id: I507926af8d82abc3ef14e99dde443e6d3068a848
Auto-generated-cl: translation import
2014-05-05 16:49:21 -07:00
Baligh Uddin ee568ee746 Import translations. DO NOT MERGE
Change-Id: I597ed10762a3c2e79e77ef21ef8d7bac4ee7488b
Auto-generated-cl: translation import
2014-05-05 16:48:49 -07:00
Ken Wakasa 0de529b4ca Fix NPE
Follow up to I2b0ec091a11aa8a495794d633efecb6d8b818f42

bug: 14488351
Change-Id: Ic88adbd6775910f35338d798dc0d5493715708e4
2014-05-03 00:33:41 +09:00
Tadashi G. Takaoka 920188c238 Merge "More meaningful Emoji descriptions" 2014-05-02 01:20:22 +00:00
Tadashi G. Takaoka 71c96c079f Merge "Add Marathi keyboard layout" 2014-05-02 01:20:07 +00:00
Baligh Uddin 9287f2a26f Merge "Import translations. DO NOT MERGE" 2014-05-01 16:47:26 +00:00
Keisuke Kuroyanagi 8a7f670ec3 Merge "Remove Dictionaries.mDictMap." 2014-05-01 11:17:28 +00:00
Keisuke Kuroyanagi c005c1dc56 Merge "Use dictType to class map to create sub dicts." 2014-05-01 10:16:58 +00:00
Keisuke Kuroyanagi 61fe28831d Merge "Create factory methods for sub dicts." 2014-05-01 10:07:24 +00:00
Keisuke Kuroyanagi fb87c250cb Add contextual dictionary to the dictionary facilitator.
Bug: 14161647
Change-Id: I0e706b2abd0cb9f351e28681e275cd7f2fdbfd9c
2014-05-01 18:45:01 +09:00
Keisuke Kuroyanagi d46855da72 Remove Dictionaries.mDictMap.
Bug: 13755213
Change-Id: I9ded695c31d3db05f561956c61d56ebd16d34703
2014-05-01 18:45:01 +09:00
Keisuke Kuroyanagi 99f2664871 Use dictType to class map to create sub dicts.
Bug: 13755213
Change-Id: I4dcd5684bc65f13361bf9c4f9d50b07b1e33c62d
2014-05-01 18:44:57 +09:00
Tadashi G. Takaoka a5ab5d830c Add Marathi keyboard layout
Bug: 10028772
Change-Id: I7bca05bbbfdb2e5f61d5db611dff62ace3b71e31
2014-05-01 18:25:56 +09:00
Keisuke Kuroyanagi ac37d4d9e3 Merge "Move dict version check to proper place." 2014-05-01 09:18:58 +00:00
Tadashi G. Takaoka 2035cec9bc More meaningful Emoji descriptions
Bug: 11452158
Change-Id: I3e7c2c935bc7c371869240487928160d5ab850e2
2014-05-01 18:16:51 +09:00
Tadashi G. Takaoka d6d2a41be9 Merge "Add TalkBack spoken description of Emoji letters" 2014-05-01 08:37:25 +00:00
Keisuke Kuroyanagi c3b151957c Move dict version check to proper place.
Change-Id: I89a5b4fa93153081b4f7a9183619cbe7c9ea01fa
2014-05-01 17:28:24 +09:00
Keisuke Kuroyanagi 98e358a936 Create factory methods for sub dicts.
Bug: 13755213
Change-Id: I046af54b4860d2839328f2089ea785d81d04cf43
2014-05-01 17:22:23 +09:00
Tadashi G. Takaoka 20770f4ba0 Merge "Guard accessibility function calls" 2014-05-01 08:08:48 +00:00
Tadashi G. Takaoka 1ead609e6f Guard accessibility function calls
This is a follow up of I2b0ec091a1.

Change-Id: I2801bd1530556cfa6cc176efac9d9f09f2405892
2014-05-01 17:06:40 +09:00
Keisuke Kuroyanagi 765cbb81ba Merge "Simplify DictionaryFacilitatorForSuggest." 2014-05-01 07:55:31 +00:00
Jean Chalard bedef0b4f0 Merge "Introduce clustering punctuation" 2014-05-01 07:01:04 +00:00
Keisuke Kuroyanagi 1ab6bfdc60 Simplify DictionaryFacilitatorForSuggest.
Bug: 13755213
Change-Id: I9663d1d60fccd8deb1a22683fb06fe64dee06b45
2014-05-01 15:51:03 +09:00
Jean Chalard 29c00ff538 Introduce clustering punctuation
Bug: 10081730
Change-Id: If198fa3df68ecb267da0a278da41fd509d6165f1
2014-05-01 15:45:24 +09:00
Tadashi G. Takaoka 3903e0d6e8 Merge "Make AccessibleKeyboardViewProxy not singleton" 2014-05-01 03:29:30 +00:00
Tadashi G. Takaoka bca7e4e9a2 Make AccessibleKeyboardViewProxy not singleton
This CL also renames AccessibleKeyboardViewProxy and
AccessibilityEntityProvider to MainKeyboardAccessibilityDelegate and
MainKeyboardAccessibilityNodeProvider.

Change-Id: I2b0ec091a11aa8a495794d633efecb6d8b818f42
2014-05-01 12:24:54 +09:00
Jean Chalard ec29147375 Merge "Some cleanup and reinforcement" 2014-05-01 03:04:29 +00:00
Jean Chalard 49d7871290 Some cleanup and reinforcement
Bug: 9520584
Change-Id: I1c0f9e1b530d4d5bf5f52c2905c20f5ab7c26442
2014-05-01 12:00:20 +09:00
Baligh Uddin 4f863d5598 Import translations. DO NOT MERGE
Change-Id: I8f524bebe216fea77f76db1646cb3b202c6b1e19
Auto-generated-cl: translation import
2014-04-30 16:17:14 -07:00
Keisuke Kuroyanagi a9f0a96377 Merge "Handle user dict as an ExpandableBinaryDictionary." 2014-04-30 12:44:25 +00:00
Keisuke Kuroyanagi 9ed7e47539 Handle user dict as an ExpandableBinaryDictionary.
Bug: 13755213
Change-Id: I2d242a3332e9633d4e41e08c0bbfafcefd814ecd
2014-04-30 20:35:08 +09:00
Yohei Yukawa 6d54f9f53c Merge "Fix the unintentional behavior change" 2014-04-30 11:33:11 +00:00
Yohei Yukawa 60003d5114 Fix the unintentional behavior change
I0188fa56cba8e introduced an unintentional behavior change
regarding the condition when the globe key is displayed
if LatinIME is running on KitKat or prior version.

With this CL, the previous behavior is back.

BUG: 12965588
BUG: 14426646
Change-Id: I112a327dce6ad2e40beb9a60d587e77b3954da82
2014-04-30 20:30:39 +09:00
Tadashi G. Takaoka 412ac4c573 Merge "TalkBack correct shift state" 2014-04-30 09:51:07 +00:00
Tadashi G. Takaoka 24536580bf TalkBack correct shift state
Change-Id: I3097805c6c8b4a4ac19fbe062f763e2639eb5cbf
2014-04-30 18:46:46 +09:00
Tadashi G. Takaoka 7203239b88 Add TalkBack spoken description of Emoji letters
This CL imports the official code point name from Unicode standard
6.3.0.

Bug: 11452158
Change-Id: I23f9c26420c7e26dc73d2d076bfa6ec646361b06
2014-04-30 17:21:21 +09:00
Yohei Yukawa 1690992d1b Check OS codename for shouldOfferSwitchingToNextInputMethod
Make sure if Build.VERSION.CODENAME is "REL" or not when
Build.VERSION.SDK_INT is 19 (KitKat). This is a tentative
workaround until Build.VERSION.SDK_INT is bumped to 20 or
greater.

BUG: 12965588
Change-Id: I0f6a8ef92af221240d247997ce65bd5e351b2d5e
2014-04-30 17:08:04 +09:00
Baligh Uddin e22398e31f Import translations. DO NOT MERGE
Change-Id: I102607cef8e2a42fad8a0f691c007d39b0be5622
Auto-generated-cl: translation import
2014-04-28 15:04:31 -07:00
Keisuke Kuroyanagi c0d754397e Fix unit tests by adding @UsedFortesting.
Change-Id: I8f66632a32b9e9ddc1b771e8ee74492c7baf9338
2014-04-29 00:00:57 +09:00
Keisuke Kuroyanagi 4426cbc59e Fix: contacts/user dicts are too frequently regenerated.
Change-Id: I6b04a58c543fda6df7a2c016b8b8a5300f137d73
2014-04-28 23:11:25 +09:00
Keisuke Kuroyanagi f614de62aa Merge "Cleanup ExpandableBinaryDictionary." 2014-04-28 12:08:01 +00:00
Keisuke Kuroyanagi b451f270f3 Cleanup ExpandableBinaryDictionary.
Bug: 8187060
Change-Id: I9103462412e727b0160b218b1bb301ce43621c46
2014-04-28 21:02:00 +09:00
Keisuke Kuroyanagi c207955d4f Merge "Use ReentrantReadWriteLock in ExpandableBinaryDictionary." 2014-04-28 12:01:14 +00:00
Keisuke Kuroyanagi 1737b7ff5c Use ReentrantReadWriteLock in ExpandableBinaryDictionary.
Bug: 8187060
Change-Id: Ic665f0a5e940708aa9addedac068a64900b307e7
2014-04-28 20:56:01 +09:00
Keisuke Kuroyanagi 2367f8f602 Merge "Simplify asyncFlushBinaryDictionary." 2014-04-28 08:44:52 +00:00
Keisuke Kuroyanagi 570602a088 Simplify asyncFlushBinaryDictionary.
We no longer write files when the dict has not been updated.

Bug: 8187060
Change-Id: I8aa23a93d5deafb3a7f16f5466a5e0e84fbbf095
2014-04-28 17:30:36 +09:00
Keisuke Kuroyanagi 5c1416e426 Merge "Remove DictionaryUpdateController." 2014-04-28 08:29:02 +00:00
Keisuke Kuroyanagi dff7153820 Merge "Use different user dict name for spell checker." 2014-04-28 08:12:17 +00:00
Keisuke Kuroyanagi a5202c7143 Merge "Use different contacts dict name for spell checker." 2014-04-28 07:58:41 +00:00
Keisuke Kuroyanagi 07c5b307d6 Remove DictionaryUpdateController.
Bug: 8187060
Change-Id: I3e1fa4060d8a5c12d8d609be3357d56051fb5815
2014-04-28 16:58:27 +09:00