Commit Graph

31074 Commits (af76254afa6bd64ba7f71ebd064d071a9c750359)

Author SHA1 Message Date
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 9f5acd4ede am 783f1932: [QRP4] Simplification & small correctness fix.
* commit '783f1932393547b2bcb88e6dc454ce888ce1d4a1':
  [QRP4] Simplification & small correctness fix.
2014-02-25 01:58:43 -08: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 3fb8aaf079 am a0984662: [QRP3] Refactoring
* commit 'a0984662a17df0d5c293d62bf653a40491c2bd58':
  [QRP3] Refactoring
2014-02-25 00:18:45 -08:00
Jean Chalard 030b22c1db am 74224f2c: [QRP2] Small refactor
* commit '74224f2c5c1b54b459d885eb9695e10fb5f24ede':
  [QRP2] Small refactor
2014-02-25 00:18:43 -08:00
Jean Chalard 553dd86c19 am ef3a4564: [QRP1] Fix a bug where the wrong value would get passed
* commit 'ef3a45643e950cdd934763c59963cee4089f93e1':
  [QRP1] Fix a bug where the wrong value would get passed
2014-02-25 00:18:41 -08: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
Baligh Uddin 6ff2126a23 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-02-25 04:33:47 +00:00
Baligh Uddin 87f2ae5eab Import translations. DO NOT MERGE
Change-Id: I432d2256c716b942b0241cd82f2421ffea37d8b7
Auto-generated-cl: translation import
2014-02-24 20:29:22 -08:00
Baligh Uddin c90009dccb Import translations. DO NOT MERGE
Change-Id: Id8acd4004f7e2d1f576c0fb74f8c5c94e9562bce
Auto-generated-cl: translation import
2014-02-24 20:27:55 -08:00
Tadashi G. Takaoka 53b62fe7d0 Add KeyboardTextsSetTests
- Text "label_to_alpha_key" needed to implement Emoji keyboard exists.
- Test the text from resources are loaded correctly.

Bug: 13017434
Change-Id: Idfb9ac87c1556c535ebc10eaef78d8166799a657
2014-02-25 12:24:55 +09:00
Tadashi G. Takaoka 5d2c961ed6 am deb5cedf: Add Key.getIconId for testability
* commit 'deb5cedf811e6d605a4a2a934f4d0c75b880cede':
  Add Key.getIconId for testability
2014-02-24 18:19:18 -08: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 a6ab1f9065 am 6e224a23: Merge "Correctly read the header of APK-embedded dicts"
* commit '6e224a236a0a7cd253f74c7ed8b9a8f2eea41600':
  Correctly read the header of APK-embedded dicts
2014-02-24 06:00:50 -08:00
Jean Chalard 6e224a236a Merge "Correctly read the header of APK-embedded dicts" 2014-02-24 13:57:46 +00:00
Jean Chalard b7a224636c am 64ace089: Merge "Use an executor to serialize opening dictionaries."
* commit '64ace089a8cde06ff030aa491b798ec7d32a3ad7':
  Use an executor to serialize opening dictionaries.
2014-02-24 05:57:30 -08:00
Tadashi G. Takaoka d7e008c0f9 am 7446232c: Merge "Show emoji key both main and shift PC Qwerty keyboard"
* commit '7446232c0c5bfd1b440e977e3c2bb1f9031b5b36':
  Show emoji key both main and shift PC Qwerty keyboard
2014-02-24 05:57:27 -08:00
Tadashi G. Takaoka 03347d8dc1 am 2c55706b: Merge "Create a utils class for executors."
* commit '2c55706b0ef90301682adaf9f6cef5b5e18a5f97':
  Create a utils class for executors.
2014-02-24 05:57:25 -08:00
Keisuke Kuroyanagi c23ba814d2 am 097e75ef: Merge "Fix: -1 can be used as a code point of most probable string."
* commit '097e75efc783c68f38612319c055e783767b8581':
  Fix: -1 can be used as a code point of most probable string.
2014-02-24 05:57:22 -08:00
Jean Chalard 8cbcbb4170 am d694e354: Merge "Update all dicts to version 44."
* commit 'd694e354ae7cc6023a113a2f69ff9472dd3d2cd8':
  Update all dicts to version 44.
2014-02-24 05:57:19 -08:00
Tadashi G. Takaoka e1d58d7369 am c40eb52e: Merge "Remove hack from EmojiPalettesView.startEmojiPalettes"
* commit 'c40eb52e43254d5021f7950f70543ee19e69d566':
  Remove hack from EmojiPalettesView.startEmojiPalettes
2014-02-24 05:57:15 -08:00
Jean Chalard 94393f057f am 65bce4ca: Merge "Never pass negative values to setSelection."
* commit '65bce4cabc9d1a1e8087e9769311ac00f3888d0e':
  Never pass negative values to setSelection.
2014-02-24 05:57:13 -08:00
Tadashi G. Takaoka 1ea83181b0 am b08a9e02: Merge "Revert "Prepare for changing text color for functional keys""
* commit 'b08a9e021c2e5be7375295858b28bf8c4b9767b9':
  Revert "Prepare for changing text color for functional keys"
2014-02-24 05:57:10 -08:00
Jean Chalard 01ce563a3a am 66c96e88: Update dictionaries
* commit '66c96e881330538f2dbd85e97d9c636c06af5826':
  Update dictionaries
2014-02-24 05:57:05 -08:00
Keisuke Kuroyanagi 099051772f am 2b72aa07: Disconnect app data search client after fetching all data.
* commit '2b72aa07a9ac952e5d28cf657632e8d31d247baf':
  Disconnect app data search client after fetching all data.
2014-02-24 05:57:01 -08: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 61b5388179 am 584e9c9c: (-s ours) 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 '584e9c9c22c8e54bf29db2160b72b313b93539c1':
  Import translations. DO NOT MERGE
2014-02-21 09:21:40 -08:00
Baligh Uddin bce8bab994 am 9bfa6494: (-s ours) 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 '9bfa64945fba5aa038e0b9290607c73eba39e9fc':
  Import translations. DO NOT MERGE
2014-02-21 09:21:37 -08:00
Baligh Uddin e8365b4136 am 269ab5e5: (-s ours) 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 '269ab5e557c516fca8e1d3e1cc481e7fdb1d21ed':
  Import translations. DO NOT MERGE
2014-02-21 09:21:34 -08: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