Commit Graph

141 Commits (6dea4254808017374af47b126f179c515bd544a9)

Author SHA1 Message Date
Amith Yamasani 6dea425480 Fix for NPE in saveWordInHistory
Bug: 2898207
2010-08-05 17:31:19 -07:00
Ken Wakasa 6be8e35235 am b608a93c: am 6511376f: am 65582531: Fix a bug in backspace handling for the "Tap again to save"
Merge commit 'b608a93c0f3087b191c88cd75665886b7c52015e'

* commit 'b608a93c0f3087b191c88cd75665886b7c52015e':
  Fix a bug in backspace handling for the "Tap again to save"
2010-08-05 16:44:39 -07:00
Ken Wakasa 6511376ff6 am 65582531: Fix a bug in backspace handling for the "Tap again to save"
Merge commit '6558253160e2039c87f424bd814f402ecd31de3b' into gingerbread

* commit '6558253160e2039c87f424bd814f402ecd31de3b':
  Fix a bug in backspace handling for the "Tap again to save"
2010-08-05 16:37:47 -07:00
Ken Wakasa 6558253160 Fix a bug in backspace handling for the "Tap again to save"
bug: 2889273
Change-Id: I0f317e203f368f5f47738154a6dee0f556d56148
2010-08-06 01:14:09 +09:00
Tadashi G. Takaoka 35f6cd905d Fix possible NPE and IndexOutOfBoundsException.
Bug: 2868304
Change-Id: I2c474736fb9bb95da9e04bdeb9b9b641e7c3adda
2010-07-29 14:54:21 -07:00
Tadashi G. Takaoka bc305c21bf Merge "Fix NPE introduced by Change-Id: Ie482167b2ae2804fa1aa43ffb5067af47b7553f1" 2010-07-29 11:38:29 -07:00
Tadashi G. Takaoka 87fe3b8556 Fix NPE introduced by Change-Id: Ie482167b2ae2804fa1aa43ffb5067af47b7553f1
Bug: 2868304
Change-Id: I60895e76c4288d4e0e960e5ba22cb47c4b989bf3
2010-07-29 11:37:07 -07:00
satok 5f14188625 Merge "Add a layout for a black-characters based theme" 2010-07-28 23:13:46 -07:00
satok db60e6f369 Add a layout for a black-characters based theme
bug: 2838151

Change-Id: Ia7136ac7432258386a53ebec2b26251c8caae0ea
2010-07-29 14:44:34 +09:00
Tadashi G. Takaoka f00341fdc5 Fix grammar error in comment
Change-Id: I728c2fefcf3c22d30d192a9f4b3aedad4eddc2ed
2010-07-28 20:43:48 -07:00
Tadashi G. Takaoka 820e4260cd Fix inconsistency between pop-up preview key and input key
This issue is caused by three reasons.
- In touch move event and while time debouncing is going on, wrong key
  is shown as pop-up preview.
- There is no pop-up preview key shown when touch up event occurs and
  also showing pop-up preview message is unintentionally canceled.
- In detectAndSendKey() method, nearby keys' primary codes are
  mistakenly sent as Key codes.

This is the last of three changes to fix bug #2868304

Bug: 2868304
Change-Id: Ie482167b2ae2804fa1aa43ffb5067af47b7553f1
2010-07-28 20:30:04 -07:00
Tadashi G. Takaoka 7a73c18fd7 Merge "Add hysteresis movement key debouncing" 2010-07-28 11:31:59 -07:00
Jae Yong Sung 80aa14fd43 - separate dict (uses xml)
- retrieve bigrams that only starts with character typed and neighbor keys
- contacts bigram
- performance measure

bug: 2873133

Change-Id: If97c005b18c82f3fafef50009dd2dfd972b0ab8f
2010-07-28 11:08:08 -07:00
Tadashi G. Takaoka e36bce042b Add hysteresis movement key debouncing
When key is pressed, each key will have a halo which is 0.05 inch
wider than the key.

Bug: bug2517112

Change-Id: I1368ff4af5f5d230b8c2f0c05c3c27bdb89027ae
2010-07-28 10:54:06 -07:00
Tadashi G. Takaoka e55a9a170e Refactor move and time de-bouncing codes into separate static class
This is the second one of three changes to fix the bug#2868304.

Bug: 2868304
Change-Id: I11a6d2e501888da98faf0c88c8d861c508d500fc
2010-07-27 09:35:05 -07:00
Maryam Garrett 879b79be27 Merge "Read the alternatives from the server-side" 2010-07-27 08:43:49 -07:00
satok 9f1db5fbcd Merge "Add a logging code to send Bigram data" 2010-07-27 01:45:15 -07:00
satok d5276e4a72 Add a logging code to send Bigram data
- with some cleanups

Change-Id: I737c9ee7f148f94e6299d6e962dda82701454759
2010-07-27 17:42:52 +09:00
Tadashi G. Takaoka 994d4000f4 Merge "Refactor UI message handling class to be more readable" 2010-07-26 22:44:36 -07:00
Tadashi G. Takaoka bd0f31f492 Refactor UI message handling class to be more readable
This is the first one of three changes to fix the bug#2868304.

Bug: 2868304

Change-Id: I2eb31c0966b2a7695e19aed7fceb13dad0c5bf0d
2010-07-26 22:40:02 -07:00
Tadashi G. Takaoka 999368ef0c Updating keyboard ids must happen everytime makeKeyboards() is called
In makeKeyboards(), there is a fall through pass in which the
keyboards' id (mSymbolsId and mSymbolsShiftedId) will not be updated.
Then in toggleShift(), current keyboard id (mCurrentId) will not match
any of two and nothing happens.

Bug: 2825858

Change-Id: Iaf8a7368f513b35cf77a67794ecd3e21aa08484b
2010-07-26 16:35:47 -07:00
Maryam Garrett 262748c8da Read the alternatives from the server-side
This change will parse the voice-search word-based
alternatives from the bundle returned by the server,
rather than generating them on the client.

Change-Id: I7d7abc224de3ab8f37eca18632a427d39fd61a78
2010-07-26 13:56:26 -04:00
satok 40bd98816d Enable re-edit feature
Change-Id: I4c6a9ddf3f3c4eb35076f4ed27e009462cfc2e9e
2010-07-20 20:19:21 +09:00
Ken Wakasa b42ceab02e Merge "Change the default vaule of Log to be false" 2010-07-20 01:59:23 -07:00
satok 7df1c4e6c9 Change the default vaule of Log to be false
Change-Id: I8a3c0ce81b67e27b7559b534b4ccde2ad0783dbc
2010-07-20 17:46:09 +09:00
Ken Wakasa debd74c678 Prepare for master merge
- Rename the jni library name
- Revert the local cert
- LatinIme2Google -> LatinIME
Please note that we'll use the new package name: com.google.android.inputmethod.latin

Change-Id: Ibbab07e8102ade5a93660c0723cd86f600c14a7d
2010-07-20 16:37:12 +09:00
satok 481a75fcfa Merge remote branch 'goog/master'
Conflicts:
	java/src/com/android/inputmethod/latin/LatinIME.java
2010-07-17 19:20:35 +09:00
Tadashi G. Takaoka 44f92495c1 Merge "Slightly reluctant to scroll candidate strip to be able to easily choose the suggestion" 2010-07-16 22:56:00 -07:00
Tadashi G. Takaoka 353c20a62f Slightly reluctant to scroll candidate strip to be able to easily choose the suggestion
Also fixed the comment of mMinTouchableWidth

Bug: 2581826

Change-Id: Idc79186b0647b0e7e7ec889488b019b7db5241ad
2010-07-16 18:04:18 -07:00
Amith Yamasani 8b96a9a238 Underlining for correction is causing problems with styled text. Disable for now.
Disable until we find a cleaner solution to highlighting for correction (may need
a framework change).

Removed a check for VoiceInput.DELETE_SYMBOL, which is not in use any more.
2010-07-16 13:28:38 -07:00
satok f336adc4bf Comment out re-editing feature
Change-Id: Ib4ffee3a00b8dae75e3472ccdfcb3765625ed4ed
2010-07-16 17:59:24 +09:00
satok 7ff4da9489 Fix build failure by adding an input
Change-Id: I0f8f7549423deb6d18df4cca949b210c9ec494a5
2010-07-16 17:38:25 +09:00
satok b9c57e6540 Merge remote branch 'goog/master'
Conflicts:
	java/res/xml/prefs.xml
	java/src/com/android/inputmethod/latin/BinaryDictionary.java
	java/src/com/android/inputmethod/latin/Dictionary.java
	java/src/com/android/inputmethod/latin/ExpandableDictionary.java
	java/src/com/android/inputmethod/latin/LatinIME.java
	java/src/com/android/inputmethod/latin/Suggest.java
	tests/src/com/android/inputmethod/latin/tests/SuggestTests.java
2010-07-16 13:02:45 +09:00
Jae Yong Sung 937d5ad013 added bigram prediction
- after first character, only suggests bigram data (but doesn't autocomplete)
  - after second character, words from dictionary gets rearranged by using bigram
  - compatible with old dictionary
  - added preference option to disable bigram

Change-Id: Ia8f4e8fa55e797e86d858fd499887cd396388411
2010-07-13 11:33:39 -07:00
Amith Yamasani b71547f2d0 Fix some bugs in editing feature
- Fixed caching of words - some StringBuilders were being recycled while also being cached. Making copies now.
- Fixed regression in revert - don't reset the word composer after saving the accepted word.
- Removed flicker when cursoring through a word - delay the abortCorrection() until we need to and do the correction
   as an atomic operation.
- Fixed replacing of "selected" words (double-tap to select a word)

Still to do:
- Remove flicker on highlighting a word - may need a framework change
- Don't remove spans on text that's already in the text field - may require a framework change.
- Figure out what to do about the punctuations that share the suggestion strip when in correction mode.
2010-07-09 14:08:01 -07:00
satok 09ecdc8bd6 Disable re-editting feature.
Change-Id: I1fd8d7b3037ec8ee2eb468ed7770b10c09c5e73c
2010-07-02 17:32:55 +09:00
satok bc0b0a6478 Show preview of F1 keys properly
Change-Id: Ie1c6a13efcada09d29c1006224dcf54000c14283
2010-07-02 08:02:55 +09:00
satok e8e153490d Merge "Null check at BackToAcceptedDefault" 2010-07-01 14:45:28 -07:00
satok ac108d5b34 Null check at BackToAcceptedDefault
Change-Id: Ib232475520f822bf8613258afb9638e1be50d7f7
2010-07-02 06:36:02 +09:00
satok a86a942d7c Fix the mic icon key is not black in the black scheme.
Change-Id: I2be3507019601bc93a3e49cc60777e1515f53dc4
2010-07-02 05:35:27 +09:00
Ken Wakasa b54abe22ab Merge "Add key debounce. bug: 2517112" 2010-06-30 18:38:50 -07:00
Ken Wakasa 59d271ee76 Add key debounce. bug: 2517112
Change-Id: I461e481226395ce8964003c2ad1f4af888c6f7f9
2010-07-01 10:31:14 +09:00
satok 9c76844da2 Fix NPE on logging words
Change-Id: Idb01cc3226a979de656b30e57422bb35b25d13fa
2010-07-01 08:42:20 +09:00
satok 9d2e059f83 Merge commit 'goog/master'
Conflicts:
	java/src/com/android/inputmethod/latin/LatinIME.java
2010-07-01 05:11:23 +09:00
Ken Wakasa 67607ea8b1 Fix "pi" input issues. Added a popup for greek capital pi. Bug: 2220892
Change-Id: Ie465e2ed93c79b0efe9d518cc44df1028f1bb392
2010-06-30 19:10:11 +09:00
Ken Wakasa 40c86618c1 No capitalization for inputs from the symbols keyboard. bug: 2220892
Change-Id: I832e855e8882c0ccbc48505acce5b605761cd93a
2010-06-30 13:42:36 +09:00
satok 0fbdf1035b Change color of a shodow behind the current language in Black symbols scheme
Change-Id: I8ce049e1d77753a481cd45b53254ba248dca9f15
2010-06-30 12:34:01 +09:00
Maryam Garrett 57691a3574 Show word alternatives for spoken input
With this change, we show alternatives for a word that has
been spoken.The user triggers the display of alternatives by
tapping on the word. The alternatives are currently
generated by a client-side algorithm, but will be improved
when we move to a server-side generation of the alternatives

Change-Id: I454ee28fef9bf97a1b026ce8c605ca4badb39e79
2010-06-29 09:52:48 -04:00
satok 6c20ab55b5 Add a typeFace element and a symbol's color element
- add default bold theme
- add

Change-Id: Ie3f31a6973c12e7f8b885d0036f50e8647c9fe82
2010-06-29 08:41:33 +09:00
satok cd61cadb71 Remove additional layouts
Change-Id: I65dbf3a4484b02ff1d854f704088ca527e273b85
2010-06-26 10:15:08 +09:00