Commit Graph

30117 Commits (f8552f61a4150a23779dc969c831368381af8301)

Author SHA1 Message Date
Keisuke Kuroyanagi f8552f61a4 Set additional attributes in dictionary facilitator.
Bug: 13197276
Change-Id: I206cf4e599ca9cdf40d669358a1067a2954d11e3
2014-02-26 19:14:16 +09:00
Keisuke Kuroyanagi 18f91cf617 Add a method to create dict with additional attributes.
Bug: 13197276
Change-Id: I80311a51d9e98bfeb8c0dd9cd4adde93af366d54
2014-02-26 19:03:27 +09:00
Keisuke Kuroyanagi 6112cc26a7 Read and write forgetting curve header attributes.
Bug: 13197276
Change-Id: I6c38a127e1745903594b7bf0ec80ef179e794feb
2014-02-26 18:04:12 +09:00
Keisuke Kuroyanagi 57816c7a8b Check header attributes for forgetting curve.
Bug: 13197276
Change-Id: Ib360010f309fd1ed3e81cf23aa10c1cfe82781a6
2014-02-26 17:41:31 +09:00
Tadashi G. Takaoka f818b1aa32 Merge "Symbols shift key shoud have small greek pi" 2014-02-25 14:32:29 +00:00
Tadashi G. Takaoka 4cdc658578 Symbols shift key shoud have small greek pi
Change-Id: I7a4f68f86143863352548d30b42145c873f8ab19
2014-02-25 19:55:10 +09:00
Jean Chalard 57c0c577af [QRP6] Fix: recorrection top candidate is displayed in bold
Bug: 10385162
Change-Id: Icf9471d474a3a8ed8f38c46c7948c66f9131691e
2014-02-25 19:48:09 +09:00
Jean Chalard 0c34ee20a8 [QRP5] Fix boldness for predictions, and small refactoring
This is more correct. When predictions, the typed word should
always be null unless explicitly passed. The text color should be
that of a valid typed word only if it's actually the typed word.

Bug: 13170509
Change-Id: I769ae100e112c37c6f02064fe9ef2f81372ca9e5
2014-02-25 19:44:57 +09:00
Jean Chalard 783f193239 [QRP4] Simplification & small correctness fix.
This fixes the color of the predictions when running
on a theme that has different colors for typed and
suggested words (GB theme).
Also, this is easier to understand and to modify from
now on.

Change-Id: Ifdc6d86a1695e83e16103041b06a2451f8d52cc4
2014-02-25 08:59:14 +00:00
Jean Chalard a0984662a1 [QRP3] Refactoring
Rename some variables for clarity and use constants
instead of immediates.

Change-Id: Ie07fbfcc3738ac4e67aefddc339fc54259172c39
2014-02-25 17:05:47 +09:00
Jean Chalard 74224f2c5c [QRP2] Small refactor
Bug: 13170509
Change-Id: Ib9f10b8a137fc773ab0e5dc903e577038e29a9e2
2014-02-25 17:05:47 +09:00
Jean Chalard ef3a45643e [QRP1] Fix a bug where the wrong value would get passed
In the practice it works because this never tries to access
inside the suggestion strip, and the worst that can happen
is a wrong text color for a suggestion. But since the two
colors that would be swapped are the same, nobody ever
notices -- unless they are using the GingerBread theme.

Change-Id: Ic8c70d8b3cdddf92946dfefbbc6d061572626c7a
2014-02-25 17:05:44 +09:00
Tadashi G. Takaoka deb5cedf81 Add Key.getIconId for testability
Bug: 13017434
Change-Id: I94ff45da3f58b74cc9dd4d38179670fbcf619d92
2014-02-25 09:59:38 +09:00
Jean Chalard 6e224a236a Merge "Correctly read the header of APK-embedded dicts" 2014-02-24 13:57:46 +00:00
Jean Chalard 890b44e537 Correctly read the header of APK-embedded dicts
Bug: 13164518
Change-Id: I8768ad887af8b89ad9f29637f606c3c68629c7ca
2014-02-24 22:54:01 +09:00
Jean Chalard 64ace089a8 Merge "Use an executor to serialize opening dictionaries." 2014-02-24 13:43:49 +00:00
Tadashi G. Takaoka 7446232c0c Merge "Show emoji key both main and shift PC Qwerty keyboard" 2014-02-24 13:38:16 +00:00
Tadashi G. Takaoka 2c55706b0e Merge "Create a utils class for executors." 2014-02-24 13:33:44 +00:00
Keisuke Kuroyanagi 097e75efc7 Merge "Fix: -1 can be used as a code point of most probable string." 2014-02-24 13:25:25 +00:00
Tadashi G. Takaoka b6bc851ce0 Show emoji key both main and shift PC Qwerty keyboard
Bug: 13164305
Change-Id: I8efaa2690f5f5441f003fb0104705f0032fa49c7
2014-02-24 22:07:13 +09:00
Jean Chalard d694e354ae Merge "Update all dicts to version 44." 2014-02-24 12:35:27 +00:00
Jean Chalard 004cec01a9 Update all dicts to version 44.
Bug: 13164302
Change-Id: I8dc1a839c7dcfaa08a53e26cb6600e9f871447ce
2014-02-24 21:27:25 +09:00
Jean Chalard 4de2fcdde3 Use an executor to serialize opening dictionaries.
Bug: 13082957
Change-Id: I25570ab4da94337ed60330c0869fe47657096626
2014-02-24 21:05:24 +09:00
Jean Chalard b434acee34 Create a utils class for executors.
Preliminary refactoring to fix
Bug: 13082957

Change-Id: I9f1283c37089bc96140b774b1c559d58031de004
2014-02-24 20:52:49 +09:00
Keisuke Kuroyanagi 33e38096ad Fix: -1 can be used as a code point of most probable string.
Bug: 11797518
Change-Id: Id2e8bce92d000f39d506af7cb844447696bcc019
2014-02-24 20:40:16 +09:00
Tadashi G. Takaoka c40eb52e43 Merge "Remove hack from EmojiPalettesView.startEmojiPalettes" 2014-02-24 10:49:59 +00:00
Tadashi G. Takaoka d227b00a72 Remove hack from EmojiPalettesView.startEmojiPalettes
Bug: 12115967
Change-Id: I91c567a9577012ec28c08430c55e56e9c2e25b5f
2014-02-24 19:45:50 +09:00
Jean Chalard 65bce4cabc Merge "Never pass negative values to setSelection." 2014-02-24 09:26:43 +00:00
Tadashi G. Takaoka b08a9e021c Merge "Revert "Prepare for changing text color for functional keys"" 2014-02-24 08:54:55 +00:00
Tadashi G. Takaoka da500b7ec3 Revert "Prepare for changing text color for functional keys"
This reverts commit 194e004e81.
Bug: 10786040

Change-Id: I4c5287d46cabe287abce5cba77635cf26d2cd192
2014-02-24 17:42:28 +09:00
Jean Chalard f19745728e Never pass negative values to setSelection.
Bug: 13136079
Change-Id: Ieae6bafbd5339a033f0f342ba9af7dcc4ce209fa
2014-02-24 16:52:55 +09:00
Jean Chalard 66c96e8813 Update dictionaries
en* : add common app and Google product names
en_GB : also add "filters"
ru : add some missing words

Bug: 11043181
Bug: 12276653
Bug: 12953122
Change-Id: I6b62e681a07b7f0149a10ba4e05954e60d6212d4
2014-02-24 15:30:47 +09:00
Keisuke Kuroyanagi 2b72aa07a9 Disconnect app data search client after fetching all data.
Bug: 13138201
Change-Id: Ibaa3c2c22a4fe44ea23e92ce8576141bbad09b12
2014-02-24 14:47:54 +09:00
Baligh Uddin 584e9c9c22 am 5d33c766: (-s ours) am 0f591c64: (-s ours) am beaa8a47: (-s ours) am 5df8b427: (-s ours) am aa8f178b: (-s ours) am cd2a75b5: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '5d33c7663eada923d164947c269bef339b6caa14':
  Import translations. DO NOT MERGE
2014-02-21 17:18:01 +00:00
Baligh Uddin 9bfa64945f am a9ab2a62: (-s ours) am b4b0e65e: (-s ours) am b76ca05f: (-s ours) am fb52c953: (-s ours) am 4b9936d3: (-s ours) am 801517fe: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'a9ab2a62dfad586b4ea307321b6330bdc468497b':
  Import translations. DO NOT MERGE
2014-02-21 17:17:59 +00:00
Baligh Uddin 269ab5e557 am 17069e39: (-s ours) am 40193c9e: (-s ours) am 5c2e47ab: (-s ours) am 786190c2: (-s ours) am e1c66c8d: (-s ours) am 80dc4248: (-s ours) Import translations. DO NOT MERGE
* commit '17069e39904d3d5f9cb2210a7c023416fdcdfeb0':
  Import translations. DO NOT MERGE
2014-02-21 17:17:57 +00:00
Baligh Uddin 5d33c7663e am 0f591c64: (-s ours) am beaa8a47: (-s ours) am 5df8b427: (-s ours) am aa8f178b: (-s ours) am cd2a75b5: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '0f591c64ff895363f5b02521cd02648463d1062a':
  Import translations. DO NOT MERGE
2014-02-21 17:05:59 +00:00
Baligh Uddin a9ab2a62df am b4b0e65e: (-s ours) am b76ca05f: (-s ours) am fb52c953: (-s ours) am 4b9936d3: (-s ours) am 801517fe: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'b4b0e65ed8d4bfcf88a14e66b21973e447669c4d':
  Import translations. DO NOT MERGE
2014-02-21 17:05:58 +00:00
Baligh Uddin 17069e3990 am 40193c9e: (-s ours) am 5c2e47ab: (-s ours) am 786190c2: (-s ours) am e1c66c8d: (-s ours) am 80dc4248: (-s ours) Import translations. DO NOT MERGE
* commit '40193c9ee568bb52c30a1ebd96db77bd84a86292':
  Import translations. DO NOT MERGE
2014-02-21 17:05:57 +00:00
Baligh Uddin 0f591c64ff am beaa8a47: (-s ours) am 5df8b427: (-s ours) am aa8f178b: (-s ours) am cd2a75b5: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'beaa8a473ff0f9f2f2d93d25a34e880007062f53':
  Import translations. DO NOT MERGE
2014-02-21 17:03:23 +00:00
Baligh Uddin b4b0e65ed8 am b76ca05f: (-s ours) am fb52c953: (-s ours) am 4b9936d3: (-s ours) am 801517fe: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'b76ca05fef52f48db02de46c4ef15348e554fff4':
  Import translations. DO NOT MERGE
2014-02-21 17:03:22 +00:00
Baligh Uddin 40193c9ee5 am 5c2e47ab: (-s ours) am 786190c2: (-s ours) am e1c66c8d: (-s ours) am 80dc4248: (-s ours) Import translations. DO NOT MERGE
* commit '5c2e47abc014a6f20f2074b970c0288f404b8ef4':
  Import translations. DO NOT MERGE
2014-02-21 17:03:21 +00:00
Baligh Uddin beaa8a473f am 5df8b427: (-s ours) am aa8f178b: (-s ours) am cd2a75b5: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '5df8b42709662b0e599019e4fd17c4e153ff6b47':
  Import translations. DO NOT MERGE
2014-02-21 16:58:00 +00:00
Baligh Uddin b76ca05fef am fb52c953: (-s ours) am 4b9936d3: (-s ours) am 801517fe: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'fb52c953ac98cd7751a6d49cedf99eefcf86e70f':
  Import translations. DO NOT MERGE
2014-02-21 16:57:59 +00:00
Baligh Uddin 5c2e47abc0 am 786190c2: (-s ours) am e1c66c8d: (-s ours) am 80dc4248: (-s ours) Import translations. DO NOT MERGE
* commit '786190c2237a38ca997ef0966cabeb8c271455d2':
  Import translations. DO NOT MERGE
2014-02-21 16:57:57 +00:00
Baligh Uddin 5df8b42709 am aa8f178b: (-s ours) am cd2a75b5: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'aa8f178b4a8c557d553a7bfd27a22439b0465756':
  Import translations. DO NOT MERGE
2014-02-21 16:52:51 +00:00
Baligh Uddin fb52c953ac am 4b9936d3: (-s ours) am 801517fe: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '4b9936d302679369d6ec912bfd248366afafbe85':
  Import translations. DO NOT MERGE
2014-02-21 16:52:50 +00:00
Baligh Uddin 786190c223 am e1c66c8d: (-s ours) am 80dc4248: (-s ours) Import translations. DO NOT MERGE
* commit 'e1c66c8ddb26ffe5361949b9e6b82f802bb6a671':
  Import translations. DO NOT MERGE
2014-02-21 16:52:49 +00:00
Baligh Uddin aa8f178b4a am cd2a75b5: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'cd2a75b5c47a71f665e8f2020ead8b98dd418373':
  Import translations. DO NOT MERGE
2014-02-21 16:46:34 +00:00
Baligh Uddin 4b9936d302 am 801517fe: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '801517fe752f5352023bf4da8f3bb22727529963':
  Import translations. DO NOT MERGE
2014-02-21 16:46:32 +00:00