| Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
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
|
|
Change-Id: I4393ff1ec28a6b3118d1344dd6d82d04899dea42
|
|
Instead of ignoring silently a found bug, throw an exception.
Change-Id: I0aa96d0cab022b6a5e7cffe8a592dcc443c3c7a8
|
|
Change-Id: Icc58ccea1178d9f35f5be0dceebab67bbb965b7f
|
|
Change-Id: I032fc50a62a573ba4258530e695c8c88467783c6
|
|
Change-Id: Iefe10e94e2d88171387351a5b6cab52e281d0f76
|
|
+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
|
|
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
|
|
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
|
|
postUpdateShiftKeyState used to be called also when
mEnteredText is not null => this is a bugfix.
The rest does not change the logic, as posting a message can
be done anywhere within the function with no impact.
Change-Id: I7888797c0778702d64f96701e35b611a55a6a259
|
|
Change-Id: I57b2232f7fde32df5f6e1925aad1df988def34f9
|
|
Change-Id: Iec19af98209e1ea8ecd176d3be04d628d4b38950
|
|
If there are no uncommitted chars, we shouldn't enter any of
the tests that follow. We didn't use to, but a change today
made it possible - it should not happen.
There is no point in doing the rest of the tests, they are
sure to fail.
Change-Id: I580dd104aff3585de72a93b38989bfd9713f615b
|
|
Change-Id: I1a775cbf90dca301e1e6b596ddac64fdbc023199
|
|
This can be just read when it's needed.
Change-Id: I00753fe55645c244db5d4a96e7fdb8f5325475d9
|
|
Change-Id: I1331ad6dec3a9d64a77e314f8a1f4c29282df31b
|
|
Today is a happy day
Change-Id: I3ef484bd258d5a59815bfcb0bd35ea3606b32430
|
|
Change-Id: Ib98eea9e791e426435cfdfd0c9ab3ed9061664aa
|
|
Bug: 5743584
Change-Id: I821b837a2078afb64b460191c98b28f7733cf2c1
|
|
Change-Id: Iea5ce5cfc05bad8b1d9085438e90147bd54b7e9c
|
|
This also includes a new memorized string with simpler
logic that will allow to remove other members
Change-Id: I0b97243084902e68fcb835b6163c86fef8190ebc
|
|
Bug: 5708602
Change-Id: I1a8a9f4320948bb500a96df8773b0bfa1a1d4167
|
|
Change-Id: I9cde21fbb45c1e5f1a568bb97b1b1a76524f4bf2
|
|
Bug: 5742827
Change-Id: I72b55ce246b14a2d8f4fd16211b71dc716db30b2
|
|
Change-Id: Ic2eab17e525901a1cf7096ebe7d24ae78624ed2e
|
|
This is awesome cleanup.
Change-Id: I35ce8940a13f3084630dc26d6e7e397acfdaac36
|
|
Change-Id: I29ab9e9041c9faac91dc303175625221bfdb3af8
|
|
Change-Id: I286450fe89a37d75cb398f17d300ddc6f5857ffd
|
|
Change-Id: I6b16dd2fe6d7356c747ba0ee2da5976738003ded
|
|
Bug: 5722703
Change-Id: I089f944bdbf2cbb036eb59dd9b5b414370c770f1
|
|
Change-Id: I34f6c76bf9318e1fbe8eb5ffab6772a98ff824e0
|
|
Bug: 5708602
Change-Id: I3dbc3cd00aa9ddf611e2078ff2cfea8945fa09bf
|
|
Change-Id: Idf09cb5d801e8008eb63cbb5138058faeb7db136
|
|
Change-Id: I481eadb6a73faf239e24d05b7e220fcb01194fa4
|
|
Change-Id: I1a7c4d0bcaedad6d4045c36c79280c23234db5b3
|
|
Change-Id: Ibf9113a8ef07ac720100ee32d2e5ef321e8ddd98
|
|
Change-Id: I9b9602ec5b379b44b0f0663d4f065dbcf88fd352
|
|
Change-Id: I7586fa342d7a39412d656890f7b525139c45ea4a
|
|
Reorder so that they match the order in the preference xml
file. Also add TODOs for missing raw variables.
Change-Id: I06332c131a624d6c359512d75c808f3f7313fa91
|
|
Change-Id: Ifa7033a84b08ea626eb44cf6d04ba8e28c250bea
|
|
Bug: 5708602
Change-Id: I181cdeb90d24984ce6f6c993b278293aae7364eb
|
|
The ultimate intent is to close it up in the settings, as it does not
change while typing, only when the keyboard is open again.
Change-Id: I12ff56e7482c1584877fe5531473bf03e95a60f6
|
|
Change-Id: I633378a41f63cd492b8c9345d550e07254df5e5a
|
|
Bug: 5722703
Change-Id: I27acc374c5d4b52707708b83689dea5d78a573d7
|
|
Change-Id: If806d61c5945d319c89d9cc127e09f98b7b10a4e
|
|
Bug: 5708602
Change-Id: I98bcca7d3e9dd88f034d0faecada76902b2d0dff
|
|
These calls, setAlphabetKeyboard, setSymbolsKeyboard, and
setSymbolsShiftedKeyboard have to be call backed from KeyboardState.
Bug: 5708602
Change-Id: Ibbe1a21bd10bf942e17886869c0ab0fa1735b87e
|
|
This is pretty much automatic refactoring. Thanks Eclipse!
Change-Id: I8ccd24d11878445c836347e9c487c91461eee9cd
|
|
* Move caps lock state preserving code to KeyboardState.
* Merge KeyboardState.onLoadKeyboard and onRestoreKeyboardState.
* Merge private methods into toggleShift and toggleKeyboardMode.
Bug: 5708602
Change-Id: I793a934a0ba18d5750be011c52ebe20c1976eac6
|