Commit graph

33837 commits

Author SHA1 Message Date
Jean Chalard
536bf61658 Merge "Remove dicttool dependency to NativeSuggestOptions" 2014-11-07 06:00:40 +00:00
Sandeep Siddhartha
e5515395f1 Fix restore from keyboard
The keyboard starts up before the restore process and the default shared
preferences are cached and used even after the restore.

Bug: 17837918
Change-Id: I2669e377b6e95813657fd6a80fbff4472330e3aa
(cherry picked from commit e9d814674b)
2014-11-07 02:54:14 +00:00
Tadashi G. Takaoka
6e61cd3b3b Merge "Move some methods out from SubtypeSwitcher" 2014-11-06 23:40:06 +00:00
Sandeep Siddhartha
35bb12e010 Merge "Fix restore from keyboard" 2014-11-06 21:41:03 +00:00
Tadashi G. Takaoka
7fb0ed58ed Move current subtype management code to RichInputMethodManager
Change-Id: I82d5a17a5ec96f26047d29e79f3f28850fc5b3bb
2014-11-06 11:51:07 -08:00
Tadashi G. Takaoka
8a2c4afad4 Move shorcut IME related code from SubtypeSwitcher to RichInputMethodManager
Change-Id: I0f95f603d80570c937e8c38ded88df341c11795e
2014-11-06 11:51:07 -08:00
Tadashi G. Takaoka
2a7da0ab87 Move some methods out from SubtypeSwitcher
Change-Id: I89aaf87d7d0cc204b0ca0f61c2f64d15e2df848e
2014-11-06 11:51:01 -08:00
Baligh Uddin
8188faae1b Import translations. DO NOT MERGE
Change-Id: I4b38b31403db1ee5b5bab7a6328db1919d822d20
Auto-generated-cl: translation import
2014-11-06 08:28:08 -08:00
Baligh Uddin
84cb890e15 Import translations. DO NOT MERGE
Change-Id: Ib227ef25b8d0eef2f1b83bddfadde5c1a6d93cd8
Auto-generated-cl: translation import
2014-11-06 08:22:11 -08:00
Jean Chalard
e1652d7570 Fix the build : move offdevice tests in an off device file
Also fix a failing test

Change-Id: I280aa6b5836c7332da08a88f1258546edeb25a37
2014-11-06 22:33:57 +09:00
Jean Chalard
b395ce4396 Remove a useless method.
Yay for cleanup

Bug: 18108776
Change-Id: I13f4066cd54f294377fdcf375a69350c44d4a32a
2014-11-06 21:38:17 +09:00
Jean Chalard
03eb9de961 Remove dicttool dependency to NativeSuggestOptions
Bug: 18108776
Change-Id: I0f57594617f8d5080aea9002b2356d18bfe97043
2014-11-06 21:38:11 +09:00
Jean Chalard
5b33d197ba Add a header command to dicttool.
This will allow to greatly improve the performance of the
metadata-generating files, as they won't have to wait for
the info command to read the entire dictionary when the
header is all we need.

Also add tests, and while we're at it, use the seed as
intended to enable reproducible tests.

Change-Id: I0ba79ef62f0292b23e63aed57ff565bb102281a2
2014-11-06 18:50:59 +09:00
Jean Chalard
f6b0e32df3 Add a *FAST* dictionary header reader.
It's still unused as of this change but the next change will use it

As a reference point, generating the metadata for Bayo takes
3'02" on my machine with the info command; it's down to 16" if
made to use this instead. The gains increases with the number
of dictionaries obviously.

Change-Id: I0eeea2d8f81bb74b0d1570af658e91b56f7c2b79
2014-11-06 13:17:08 +09:00
Jean Chalard
5564317f83 Genericize getting a raw dictionary
This will allow for not copying the whole dictionary when only
the header is needed.

Change-Id: Ie4a649b507ccd4a430201824ed87b8b8bbf55e9f
2014-11-06 13:12:39 +09:00
Sandeep Siddhartha
e9d814674b Fix restore from keyboard
The keyboard starts up before the restore process and the default shared
preferences are cached and used even after the restore.

Bug: 17837918
Change-Id: I2669e377b6e95813657fd6a80fbff4472330e3aa
2014-11-05 19:41:16 -08:00
Tadashi G. Takaoka
b68f90ac1a Clean up KeyboardLayoutSet a bit
This CL moves getScriptId() from KeyboardLayoutSet.Builder to
KeyboardLayoutSet.

Change-Id: I13588467e3d03abb92120acb367f021ee3490a50
2014-11-06 12:30:16 +09:00
Jean Chalard
ab68143ad0 Fix a bug where LatinIME would recorrect with no input view
Bug: 18071127
Change-Id: I634d1f63f7d5c5b7453ed7559f9b65fa0433dcd8
2014-11-05 17:41:15 +09:00
Jean Chalard
ae55db95a7 Large simplification in obtaining a raw dictionary
That is where the last refactorings were leading. This code is
simpler, but it's far more flexible. Importantly, it only makes
a single copy instead of making a full disk copy for every
intermediate step.
Next we're going to make the "copy" part modular for processes
that don't need to copy the whole file.

Change-Id: Ief32ac665d804b9b20c44f443a9c87452ceb367a
2014-11-05 12:27:35 +09:00
Tadashi G. Takaoka
b1439c2872 Fix EmojiPageKeyboardView onPress bug
Change-Id: I110f36e0547be4957656217c42a8dafd9359b700
2014-11-04 20:27:39 +09:00
Tadashi G. Takaoka
3481cfc81d Fix Emoji key feedback
Bug: 18166905
Change-Id: I629eab41b78810325710ce024068b86a157186b4
2014-11-04 20:26:43 +09:00
Tadashi G. Takaoka
ede88a3bd6 Merge "Revert "Fix Emoji key feedback"" 2014-11-04 11:25:58 +00:00
Tadashi G. Takaoka
a5d24336bf Revert "Fix Emoji key feedback"
This reverts commit 953858d615.
The original CL should be split into two.

Change-Id: Ic1d032e2964a1b9bb44d98bdb8573c6cb47a865c
2014-11-04 11:24:26 +00:00
Tadashi G. Takaoka
11cdcf604c Fix missing ZWNJ key of BengaliAkhhor keyboard
This CL also fixes the wrong script of Bengali Akkhor.

Change-Id: Id4af2ea160b4ef3cfd40ffc5984354bc60f0b7b7
2014-11-04 18:53:28 +09:00
Tadashi G. Takaoka
c514d3ead2 Merge "Fix Emoji key feedback" 2014-11-04 09:17:51 +00:00
Tadashi G. Takaoka
ed264f80dc Merge "Fix symbol letter size of phone/number layout" 2014-11-04 08:49:46 +00:00
Tadashi G. Takaoka
953858d615 Fix Emoji key feedback
Bug: 18166905
Change-Id: I3c3296cabeed31e1250ff0753ea94576b494b96a
2014-11-04 17:49:18 +09:00
Tadashi G. Takaoka
981d465d78 Fix symbol letter size of phone/number layout
This CL
- decreases the size of symbols letter on number and phone layout.
- increases the size of "Pause" and "Wait" label.
- fixes "Pause" and "Wait" label for no language keyboard

Bug: 18179572
Change-Id: I6e8b4a8e07d805c3da0558b4832291ce41ad3db0
2014-11-04 16:48:04 +09:00
Tadashi G. Takaoka
b9ba5fc778 Merge "Fix MainKeyboardView visibility must be aligned with main keyboard frame" 2014-11-04 07:28:23 +00:00
Tadashi G. Takaoka
d071545df9 Fix number and phone keyboard visual glitches
Bug: 18179572
Change-Id: I387b965ed4f7adc5a34b63e622520e3c88ffd5ca
2014-11-04 13:35:24 +09:00
Tadashi G. Takaoka
98dfa6e334 Fix MainKeyboardView visibility must be aligned with main keyboard frame
Bug: 18105755
Change-Id: Ifdcaded538d0eac3b100486ddf27ae4314293792
2014-11-04 13:17:07 +09:00
Tadashi G. Takaoka
d60f49425b Merge "Make DrawingProxy and TimerProxy as a top-level interface" 2014-11-04 02:52:15 +00:00
Ken Wakasa
933920feae Fix a wrong indent
Change-Id: Iaee83be85bb52c350dd08e4497732927b92eabcd
2014-11-04 11:18:52 +09:00
Geoff Mendal
85d08274b2 Merge "Import translations. DO NOT MERGE" 2014-11-03 14:15:56 +00:00
Geoff Mendal
615710cfdc Import translations. DO NOT MERGE
Change-Id: I3e67ed5ff3bbdbc372dfd1b3b408ac2c095fe6d6
Auto-generated-cl: translation import
2014-11-03 06:13:00 -08:00
Geoff Mendal
7cb5cd8ff4 Import translations. DO NOT MERGE
Change-Id: I4a4f46a2e3aa848ba9ac47300815f6ccf8af808b
Auto-generated-cl: translation import
2014-11-03 06:09:34 -08:00
Ken Wakasa
f296e7cdfa Small comment fixes
Change-Id: Iecb432c414eadf13ee6a57fb21fc02d1c27e777f
2014-11-02 23:54:20 +09:00
Tadashi G. Takaoka
7ab112ef4a Merge "Add null analysis annotations to latinime-common" 2014-11-02 14:03:51 +00:00
Tadashi G. Takaoka
c235a3be9d Add debug logging
Change-Id: I38bf53a0b5ea5064462b8eb5d99b7247ff8bddc4
2014-11-02 22:34:43 +09:00
Tadashi G. Takaoka
519df53599 Add null analysis annotations to latinime-common
Change-Id: I06eedd9ab85e5a8890e6809bbf9e88e5b8c14e38
2014-11-02 22:31:42 +09:00
Keisuke Kuroyanagi
2cf5550749 Fix: BoS prediction after inputting just once.
Change-Id: Ib69569ab6b6edfcc8c1d2c621b95de4127789ab6
2014-11-01 17:58:22 +09:00
Baligh Uddin
2af3fc3275 am 25b6185d: (-s ours) am 19eefc51: (-s ours) Merge "Import translations. DO NOT MERGE" into stage-aosp-master
* commit '25b6185d1cd26f91ee417906714fa6ceb9fb8705':
  Import translations. DO NOT MERGE
2014-10-31 17:16:14 +00:00
Baligh Uddin
28b90dce0b am 971297e3: (-s ours) am 084de3c9: (-s ours) Merge "Import translations. DO NOT MERGE" into stage-aosp-master
* commit '971297e38d02b6ea236e08f28c7d5cb3ee44e33f':
  Import translations. DO NOT MERGE
2014-10-31 17:16:12 +00:00
Baligh Uddin
d064c64481 am 929e97e4: (-s ours) am 46905cfd: (-s ours) Merge "Import translations. DO NOT MERGE" into stage-aosp-master
* commit '929e97e40bd74a6de8ed619e145a332ab1134e81':
  Import translations. DO NOT MERGE
2014-10-31 17:16:11 +00:00
Baligh Uddin
753c65f067 am ed8b51a7: (-s ours) am 46315a3e: (-s ours) Merge "Import translations. DO NOT MERGE" into stage-aosp-master
* commit 'ed8b51a7fbe02c5534d1855d3075eb4792a9cb84':
  Import translations. DO NOT MERGE
2014-10-31 17:16:09 +00:00
Baligh Uddin
cab2a02aa7 am 7fe0ea42: (-s ours) am f8de10ce: (-s ours) Merge "Import translations. DO NOT MERGE" into stage-aosp-master
* commit '7fe0ea4218a2ca1c663076d8e52ffeb7d842ecc4':
  Import translations. DO NOT MERGE
2014-10-31 17:16:07 +00:00
Baligh Uddin
dba15396b8 am a42c4a83: (-s ours) am 1d379712: (-s ours) Merge "Import translations. DO NOT MERGE" into stage-aosp-master
* commit 'a42c4a83664c47a6ddd081d9bb7b2fdb3c07bd9e':
  Import translations. DO NOT MERGE
2014-10-31 17:16:06 +00:00
Baligh Uddin
c31b9528ff am b6b0b609: (-s ours) am b2039bcd: (-s ours) Import translations. DO NOT MERGE
* commit 'b6b0b609a49ea81bb280e04b117915dc0dc13799':
  Import translations. DO NOT MERGE
2014-10-31 17:16:04 +00:00
Baligh Uddin
25b6185d1c am 19eefc51: (-s ours) Merge "Import translations. DO NOT MERGE" into stage-aosp-master
* commit '19eefc5109b65b1ecf74190904a1c1aa3b30b640':
  Import translations. DO NOT MERGE
2014-10-31 17:07:51 +00:00
Baligh Uddin
971297e38d am 084de3c9: (-s ours) Merge "Import translations. DO NOT MERGE" into stage-aosp-master
* commit '084de3c970cb10b02be6844d3a78ad69b487ff7c':
  Import translations. DO NOT MERGE
2014-10-31 17:07:49 +00:00