| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\| |
| | |
| | |
| | |
| | | |
* commit '689b90115633146bcdea81bf89cdfe2f9a88c0a7':
Utilize KeyboardSet XML definitions
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This change introduces KeyboardSet and SubKeyboard XML definitions to
represent a set of keyboard layouts.
Bug: 5002108
Bug: 5679585
Change-Id: Ib6c8d5936187381bb6725c9fe574e93871c01a86
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'dbdb385bb06ccd235b3b6445ceabf07ca893454b':
Fix a long-standing race condition.
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Upon autocorrection, there is visual feedback in the text
view that quickly flashes the background of the text that
just changed. This fixes a race condition that happens
upon autocorrection when typing fast, and that results in
flashing one character too far left (typically, the flashing
area includes the whitespace before the corrected word and
not the last character of the corrected word).
This happens because the call to commitCorrection may
happen before or after the IPC sent by sendKeyChar, but the
arguments are fit only for the case where it arrives first.
Change-Id: I9b5442a665aad5a9bc66cd49228075b9056b37fa
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '4fc97c2c01646d877505295713abdf16d775d3d4':
Add a note of documentation to the sample word list
|
| | |_|/
| |/| |
| | | |
| | | | |
Change-Id: I95f09da03457933a14b549e04575d566de97dd49
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '8e3faff244a03aa49dfff03f2a6d982590ff605c':
Decouple member logic from control flow
|
| |\ \ \ |
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This place is very confusing because a member variable with
a consistent meaning is hijacked for the duration of a function
to mean something else. This is in the way of easy-to-understand
refactoring.
Change-Id: If79bc771950d6bfc0ad5f0e9c51c7ef1dbb45b66
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'f7d6517d6b1a1dd88e2142e1a15703bb839be01b':
Various mini-cleanups
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Stop the word composer from escaping - take a page from the law
of Demeter and only report what is actually needed.
- Fix typos in comments.
- Add a comment for a fishy processing.
- Remove a useless local variable.
Change-Id: I5fa78901cbb5483fc9683bfb7094f47244b85df6
|
|\| |
| | |
| | |
| | |
| | | |
* commit 'edf4995a3bad3b95a2b4184d47ea4ff890d0de73':
Remove the input connection sidework from handleCharacter
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I3d376dfda3acd8864274390de3ff5752b18456e0
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Now it got NDK friendly."
* commit '5a603f3fa2221a68452939dc1e6bb8f5444f04eb':
Reorganize LatinIME native build directory structure. Now it got NDK friendly.
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
friendly."
|
| | | |/
| | |/|
| | | |
| | | | |
Change-Id: I0f62ce8a6a4d2b6134db698f8b8d0576616e524d
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '117fc93f373cb86d4120c1261f9d0562c6529fec':
Move mBestWord to the word composer.
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
mBestWord has a confusing name - it's actually an auto-correction.
It's cleaner if it lives in the word composer because an
auto-correction should be tied to a specific user input, and
should be reset each time the user input changes to avoid
race conditions.
Change-Id: I718d29395bc747372067e6440e090c6a181994ae
|
|\| |
| | |
| | |
| | |
| | | |
* commit '7e6f4daa196f0fd88873b5b360e3fc11b97e1ef7':
Tighten conditions for space-related cancelling
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Instead of ignoring silently a found bug, throw an exception.
Change-Id: I0aa96d0cab022b6a5e7cffe8a592dcc443c3c7a8
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'c525750835cbb1e8c2b2bdf0248babaeb8225cba':
Consolidate underlining code under one function.
|
| |\ \ \
| | |_|/
| |/| | |
|
| | |/
| | |
| | |
| | | |
Change-Id: I4393ff1ec28a6b3118d1344dd6d82d04899dea42
|
|\| |
| | |
| | |
| | |
| | | |
* commit 'cfe264bfee15344282f4a2f42cfc7ee905f0eba8':
Introduce KeyboardSet to hold related KeyboardIds
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This change moves
* KeyboardSwitcher.getKeyboardId to KeyboardSet.<init> and
KeyboardSet.getKeyboardId.
* KeyboardSwitcher.getF2KeyMode to KeyboardSet.
This is the first step to get rid of shift state from Keyboard.
Bug: 5002108
Bug: 5679585
Change-Id: I2a5a97e5e89277bc606916d45c1afbc8d105d773
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '3dcba4279a9e663d040330fe13b6ce3ecd0ca879':
Extract the jni library name
|
| |\ \ \
| | |/ /
| |/| | |
|
| | |/
| | |
| | |
| | | |
Change-Id: Icc58ccea1178d9f35f5be0dceebab67bbb965b7f
|
|\| |
| | |
| | |
| | |
| | | |
* commit '77ecf52a082143ef65fa2de1ca4425ec32ad8cd0':
Remove KeyboardSwitcher.updateShiftLockState method
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | | |
Change-Id: I032fc50a62a573ba4258530e695c8c88467783c6
|
|\| |
| | |
| | |
| | |
| | | |
* commit '0a2494fa5881152a9ed316409ae650353d8969fb':
Remove a useless return
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Iefe10e94e2d88171387351a5b6cab52e281d0f76
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'b2632553bfcae5beb92f7366a71f15de30f44a9c':
Use priority queue for native string buffer
|
| |\ \ \
| | |/ /
| |/| | |
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
+1 2
-6 2
Performance
before
==== test finished, terminate logcat =====
(0) 100.34 (0.26%)
(1) 37149.26 (95.30%)
(2) 8.43 (0.02%)
(3) 11.18 (0.03%)
(4) 9.92 (0.03%)
(5) 1330.60 (3.41%)
(6) 250.46 (0.64%)
(20) 12.41 (0.03%)
Total 38982.50 (sum of others 38872.59)
after
==== test finished, terminate logcat =====
(0) 97.65 (0.26%)
(1) 35427.43 (95.32%)
(2) 10.30 (0.03%)
(3) 8.95 (0.02%)
(4) 11.01 (0.03%)
(5) 1224.67 (3.30%)
(6) 243.76 (0.66%)
(20) 40.91 (0.11%)
Total 37167.04 (sum of others 37064.68)
Change-Id: Id4d3b88a9cdef765affc52973aeac951ecc6a8ca
|
|\| |
| | |
| | |
| | |
| | | |
* commit '8e404536cd20a5624acf5cea0c3aae19324b0e3f':
Simplification
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Both tests have the same meaning. They should be merged.
Also, if "deleteLast()" deletes more than one char (which
never happens in the current implementation, but it's not
guaranteed), the new code is more correct.
Change-Id: I216df7cd45f4a7d76d1d5d6aa7f8d7f9a6e35ea3
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'cf5cecccfe84b316169f01ec1bc2b92361330002':
Refactoring
|
| |\| | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If mHasUncommittedTypedChars is true, then
mWordSavedForAutoCorrectCancellation must always be null, and
spaceState must always be SPACE_STATE_NONE.
Hence, this change is supposed to be very no-op.
Change-Id: I2716f7372d996cc4dec40a4b7ac1ee7f5f4afe91
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* commit '024ee9ff0286b760a2c5aa7c755dda7e6c37ae21':
Refactor + small bugfix
Refactoring
|
| |\| |
| | |/
| |/|
| | |
| | |
| | | |
* changes:
Refactor + small bugfix
Refactoring
|