Commit graph

5587 commits

Author SHA1 Message Date
Tadashi G. Takaoka
f1e05e74e6 Merge "Add com.android.inputmethod.latin.suggestions package" 2011-12-15 22:00:05 -08:00
Tadashi G. Takaoka
6cb72b0f36 Cleanup ProximityInfo.calulateSweetSpot
Change-Id: I98238359dffd76a620d3b0e73b3b22dd82c56c93
2011-12-16 14:59:24 +09:00
Tadashi G. Takaoka
dcd6bd619f am 8950f259: Merge "Make Key.mPreviewIcon public final"
* commit '8950f259b10e8e44c85dca2ecc67a5039460b950':
  Make Key.mPreviewIcon public final
2011-12-15 21:21:55 -08:00
Tadashi G. Takaoka
8c3d5b6961 Add com.android.inputmethod.latin.suggestions package
Change-Id: If4b823768ab9c073625da3034ecc8091be1df230
2011-12-16 14:21:44 +09:00
Tadashi G. Takaoka
8950f259b1 Merge "Make Key.mPreviewIcon public final" 2011-12-15 21:20:46 -08:00
Tadashi G. Takaoka
f639ca5865 am a44685ab: Add colorValidTypedWord and alphaValidTypedWord
* commit 'a44685ab326809185a0e4c44afabe8fd93441b4c':
  Add colorValidTypedWord and alphaValidTypedWord
2011-12-15 20:40:14 -08:00
Tadashi G. Takaoka
0b6237da94 Make Key.mPreviewIcon public final
Change-Id: I280b1fa6a018e095e9b36ea5475dde68e0965350
2011-12-16 12:47:34 +09:00
Tadashi G. Takaoka
a44685ab32 Add colorValidTypedWord and alphaValidTypedWord
This change fixes Gingerbread theme.

Change-Id: I142437ac0173df48ab36390f47ed67c6cea24a65
2011-12-16 12:26:19 +09:00
Tadashi G. Takaoka
daaf590a1b am e9a0efc2: Merge "Cleanup unused variables and parameters"
* commit 'e9a0efc242f3bca80e8f64523a7bade659c28069':
  Cleanup unused variables and parameters
2011-12-15 18:04:16 -08:00
Tadashi G. Takaoka
e9a0efc242 Merge "Cleanup unused variables and parameters" 2011-12-15 18:02:38 -08:00
Jean Chalard
8c180bbc60 am 05f654d4: Merge "Group all input-related info into an inner class."
* commit '05f654d498d4f7a0821c9ddd509951af981cb8d2':
  Group all input-related info into an inner class.
2011-12-15 10:11:02 -08:00
Tadashi G. Takaoka
9eb8ad99ec am c3ef86d8: Merge "Fix auto correction spacebar LED"
* commit 'c3ef86d861ea0deb1d073e7eb5cc196ba0b00ed1':
  Fix auto correction spacebar LED
2011-12-15 10:11:01 -08:00
Tadashi G. Takaoka
c71aa81fbd am eee2a066: Merge "Change visibility to avoid synthetic accessor method"
* commit 'eee2a066d8bcde65a128abb0d0618a280e623688':
  Change visibility to avoid synthetic accessor method
2011-12-15 10:11:00 -08:00
satok
3923736dc1 am a7e5a5a6: Add words priority queue pool
* commit 'a7e5a5a6b9ed1367a4bb81c874d0fde7de85a787':
  Add words priority queue pool
2011-12-15 10:10:59 -08:00
satok
2d651760c4 am 4d355989: Add a functionality to limit the max correction errors
* commit '4d355989bd972ba792ba546a55c67e5b6fc2527a':
  Add a functionality to limit the max correction errors
2011-12-15 10:10:59 -08:00
satok
c296887497 am d03317c4: Prune traversing a bit agressively and add a flag not to do auto completion
* commit 'd03317c4be21ee65c19d00c7b83a7042042b8627':
  Prune traversing a bit agressively and add a flag not to do auto completion
2011-12-15 10:10:56 -08:00
Tadashi G. Takaoka
0b910d79d2 am 5a39e527: Ignore settings key if it isn\'t adjecent to the space key on phone
* commit '5a39e527dde07cc4360234553c9bb75694ece1ef':
  Ignore settings key if it isn't adjecent to the space key on phone
2011-12-15 10:08:33 -08:00
Tadashi G. Takaoka
5661e4e4a3 am b8c2c6e2: Merge "Add XmlParseUtils class"
* commit 'b8c2c6e2ecdac2c170e17a100a007aea04aafa1a':
  Add XmlParseUtils class
2011-12-15 10:08:32 -08:00
Tadashi G. Takaoka
5e58cd999c am d549d433: Merge "Remove long press settings key function"
* commit 'd549d4334f05737128061a595a0a3304b1af00b6':
  Remove long press settings key function
2011-12-15 10:08:32 -08:00
satok
6140e326d7 am c115aed9: Merge "Unbundle members in unigram_dictionary"
* commit 'c115aed98f9d1a3cc09b3c04e659bfe0f28d91d6':
  Unbundle members in unigram_dictionary
2011-12-15 10:08:31 -08:00
Tadashi G. Takaoka
4a7adcbace am 6652e458: Merge "Move Keyboard.themeName to KeyboardSwitcher and make it private"
* commit '6652e4589981a0f06692b49e86d1a6f0784a434f':
  Move Keyboard.themeName to KeyboardSwitcher and make it private
2011-12-15 10:08:30 -08:00
Tadashi G. Takaoka
c479d88196 am 90c12077: Merge "Remove EditorInfo from KeyboardId"
* commit '90c12077b2c57afe34b5d9d02fd6a9dcdd9b0cfc':
  Remove EditorInfo from KeyboardId
2011-12-15 10:08:30 -08:00
Tadashi G. Takaoka
be6d5a041c am a042150a: Merge "Just ignore settings/shortcut key while typing on tablet"
* commit 'a042150a697715ca0b65fcc1a03fcc3491c488a2':
  Just ignore settings/shortcut key while typing on tablet
2011-12-15 10:08:29 -08:00
Jean Chalard
e3297a79ff am 9750165c: Merge "Cleanup"
* commit '9750165c9a134a8981747f1ca1d279f0086829e5':
  Cleanup
2011-12-15 10:08:28 -08:00
Tadashi G. Takaoka
7bc67e14a1 am 014b755f: Merge "Cleanup KeyboardId\'s hasCode method"
* commit '014b755f8a22c9b5cfc70fa3c80355543445feed':
  Cleanup KeyboardId's hasCode method
2011-12-15 10:08:27 -08:00
Jean Chalard
d752540d41 am 64361bd6: Merge "Move some code inside a function to simplify flow"
* commit '64361bd66d2d764bd5fb6486e9b9de5a3f2fb240':
  Move some code inside a function to simplify flow
2011-12-15 10:08:27 -08:00
Jean Chalard
b60ab9752c am 676917de: Merge "Fail faster in case of a bug"
* commit '676917dea2595d7bbc1f24a44034a4254a1884fa':
  Fail faster in case of a bug
2011-12-15 10:08:26 -08:00
Tadashi G. Takaoka
6168c33aac am 2c4b21d7: Merge "Cleanup settings key related stuff"
* commit '2c4b21d7ca659e958d77eff660abab7104e03cca':
  Cleanup settings key related stuff
2011-12-15 10:08:25 -08:00
Jean Chalard
ed6522b30b am b5880034: Refactoring.
* commit 'b5880034268111a094c9e684cec9cca784386140':
  Refactoring.
2011-12-15 10:08:25 -08:00
Tadashi G. Takaoka
b9f71631da am e35e13fc: Merge "Record onStartInputView"
* commit 'e35e13fc7dc046be7f605cbfc706678f57e40491':
  Record onStartInputView
2011-12-15 10:08:23 -08:00
Tadashi G. Takaoka
b0980f0d90 am 689b9011: Merge "Utilize KeyboardSet XML definitions"
* commit '689b90115633146bcdea81bf89cdfe2f9a88c0a7':
  Utilize KeyboardSet XML definitions
2011-12-15 10:08:22 -08:00
Jean Chalard
d86696a110 am dbdb385b: Merge "Fix a long-standing race condition."
* commit 'dbdb385bb06ccd235b3b6445ceabf07ca893454b':
  Fix a long-standing race condition.
2011-12-15 10:08:21 -08:00
Jean Chalard
9b5e67a281 am 4fc97c2c: Add a note of documentation to the sample word list
* commit '4fc97c2c01646d877505295713abdf16d775d3d4':
  Add a note of documentation to the sample word list
2011-12-15 10:08:21 -08:00
Tadashi G. Takaoka
2ac5988f84 Cleanup unused variables and parameters
Change-Id: Iad756a7a775c93f3344c6962e7b3456ef8339490
2011-12-15 20:26:12 +09:00
Jean Chalard
05f654d498 Merge "Group all input-related info into an inner class." 2011-12-15 03:21:47 -08:00
Tadashi G. Takaoka
c3ef86d861 Merge "Fix auto correction spacebar LED" 2011-12-15 03:19:32 -08:00
Tadashi G. Takaoka
eee2a066d8 Merge "Change visibility to avoid synthetic accessor method" 2011-12-15 03:12:53 -08:00
Jean Chalard
27dff63833 Group all input-related info into an inner class.
Currently, these variables hold the info about the composing
word, or maybe some outdated info, and it's not very clear
which it is. LatinIME is maintaining the freshness info in
a separate boolean, and uses it throughout the code for many,
many things, leading to much confusion.
The idea in grouping this info is, it can be saved in another
instance and restored later. It can be tested against to know
whether there is actually outdated but kept info or not, and
it should allow to straighten out what is actually currently
being typed. Ultimately, it will eliminate the need for
LatinIME to keep track of the status of the info in the
word composer.

Change-Id: I00e2c690f303f8320c9be35590a6df4583e9e456
2011-12-15 19:58:04 +09:00
Tadashi G. Takaoka
2d74806262 Change visibility to avoid synthetic accessor method
Change-Id: Ie93c7437fb9a3fe63adaa48c2d4a723f96c0a0e1
2011-12-15 19:50:53 +09:00
satok
a7e5a5a6b9 Add words priority queue pool
Change-Id: I152df7b876a1756b69ded2ca4fb3ee26b38c971f
2011-12-15 19:20:28 +09:00
Tadashi G. Takaoka
23d27fefcb Fix auto correction spacebar LED
Change-Id: I4894d188d5612380cc9f8eec7cb72544e37fb2b0
2011-12-15 17:34:14 +09:00
satok
4d355989bd Add a functionality to limit the max correction errors
Before
==== test finished, terminate logcat =====
(0)  121.97 (0.28%)
(1)  42032.07 (95.46%)
(2)  11.03 (0.03%)
(3)  12.19 (0.03%)
(4)  10.02 (0.02%)
(5)  1417.41 (3.22%)
(6)  258.43 (0.59%)
(20) 50.20 (0.11%)
Total 44033.07 (sum of others 43913.32)

After
==== test finished, terminate logcat =====
(0)  110.81 (0.29%)
(1)  36416.11 (94.47%)
(2)  10.06 (0.03%)
(3)  9.45 (0.02%)
(4)  9.83 (0.03%)
(5)  1535.52 (3.98%)
(6)  290.25 (0.75%)
(20) 40.57 (0.11%)
Total 38546.83 (sum of others 38422.60)

Change-Id: Iffd24ce0b2dc422c8c6085d5be5f6bfdaf59ca7d
2011-12-15 16:00:08 +09:00
satok
d03317c4be Prune traversing a bit agressively and add a flag not to do auto completion
+1       1
-1       2
+2       0
-2       0
+3       0
-3       0
+4       6
-4       1
+5       4
-5       3
+6       3
-6      10
+7       7
-7       5

Before:
Total 42936.28 (sum of others 42814.63)

After:
Total 40860.56 (sum of others 40733.92)

Change-Id: I6a3d52f31ec181970083358280c3ebaca0a1f63e
2011-12-15 12:09:25 +09:00
Tadashi G. Takaoka
5a39e527dd Ignore settings key if it isn't adjecent to the space key on phone
Bug: 5759096
Change-Id: I1e1250d917e726e1931de3247ddc782b005ab5c1
2011-12-14 20:17:36 +09:00
Tadashi G. Takaoka
b8c2c6e2ec Merge "Add XmlParseUtils class" 2011-12-14 03:02:17 -08:00
Tadashi G. Takaoka
d549d4334f Merge "Remove long press settings key function" 2011-12-14 03:02:09 -08:00
satok
c115aed98f Merge "Unbundle members in unigram_dictionary" 2011-12-14 02:54:41 -08:00
Tadashi G. Takaoka
17dc10724b Remove long press settings key function
Bug: 5759092
Change-Id: I328e2043075ce5d0d0285febc4a9b7356702c250
2011-12-14 19:47:17 +09:00
Tadashi G. Takaoka
4665463ccd Add XmlParseUtils class
Change-Id: Ie288272bc75832db7d743262c4c4fbe73b6dca04
2011-12-14 19:46:03 +09:00
satok
1147c7bac9 Unbundle members in unigram_dictionary
Change-Id: Id737d943d20e3de3db568162caf40d3e956c7fae
2011-12-14 19:45:51 +09:00