Commit Graph

14042 Commits (9573ccdf7300ffa8b655484d16bdb29989b662ff)

Author SHA1 Message Date
satok 3a7adf6569 Merge "Fix logging issues" 2010-06-07 18:40:57 -07:00
satok 297444953c Fix logging issues
- send non-main dic words after filling blank
- send cancellation counts per dic

Change-Id: I010794cc810339d7b04d64f7b0a6fa5d5cbf8826
2010-06-08 10:34:10 +09:00
Ken Wakasa 71a0e3f551 Update the cert to catch up with a bug fix - https://android-git.corp.google.com/g/53188
Change-Id: I144a80be8f47aac292f320e9a6cdb9a970886d38
2010-06-07 23:49:22 +09:00
Ken Wakasa cf325a4031 Bump the versionCode for the next release
modified:   java/AndroidManifest.xml

Change-Id: I4084dbad22f000e793b635615130c92f46f477cc
2010-06-07 23:26:27 +09:00
Ken Wakasa d8dac11374 Ver up to v0.17
Change-Id: I88a5033f5573b738315755813a2d5c52f8704da7
2010-06-04 11:17:39 +09:00
satok 03d88c0b1f Show a current locale in the space bar
Change-Id: I317a0b0b20c3065f2e7454f7b44654a34b97500d
2010-06-04 10:25:55 +09:00
satok 88327fb73b Fix NPE onDestroy
Change-Id: I6aa1951fd3d69e07d1fbc7712fe2526dd9a5ef57
2010-06-04 00:51:17 +09:00
satok dac53d9c7d Change RuntimeErrot to OutOfMemoryError
Change-Id: Ic237bc7f0631dcb192be7203379bdf4c5d832b28
2010-06-04 00:13:43 +09:00
satok e4c7ad3097 Show encoded log
Change-Id: I59a8c1506409097a1e8864b51051d969edaf2680
2010-06-03 20:55:42 +09:00
satok 0f97599f1a Delete extra inflating view
- this is not called in froyo-LatinIME, so it can be removed

Change-Id: I3a761145dd30a93ba71d39df9fa504383c5425a5
2010-06-03 20:47:10 +09:00
satok c6bc1a93a3 URL encode a log of exception
Change-Id: I50c08d58b4ce8555d88c68cae44c12600ae93221
2010-06-03 20:45:27 +09:00
satok 0eaca7aa99 Fix NPE and addded logOnWarning
Change-Id: I4cca905ce044c014490ada6d00a76d79a20ed885
2010-06-03 20:31:45 +09:00
satok 8edbaf0433 Hide debug mode
- Tap feedback option 10 times, then debug mode will be enabled.
- Change default value of KeyboardMode to avoid NPE
- Update version code

Change-Id: I3a4e64db0d3aa9a08f0e3b3ad1669e728e32cddf
2010-06-03 19:25:12 +09:00
satok 518643a2c5 Remove non-main dictionary candidates
Change-Id: I9f33da674c2c2a0101671ba24424640ba3e695e5
2010-06-03 18:46:44 +09:00
satok 4ff7bbcb97 Fix a bug that force closing happens even when SUPPRESS_EXCEPTION flag is on.
Change-Id: I927b11da1e62b147813fbbf01e2afce5915aed73
2010-06-03 15:25:18 +09:00
satok 219d9d52e5 Flush before re-throwing exception in logOnException
Change-Id: I061738c5b1a1509015344c2c27848bac1e29d833
2010-06-03 11:48:33 +09:00
satok dd58fe92d1 Add candidates of manually picked suggestions
Change-Id: Ieed585be5f4e88509cdcc31f5d82474cb06add6a
2010-06-02 21:58:36 +09:00
Ken Wakasa 0175d7da21 Add additional punctuations to suggestion strip. Bug: 2729632
Change-Id: I5a3d47fee2a09da06b395529c4eccce6d14ecb9d
2010-06-02 20:44:16 +09:00
satok 4ee3676cf3 Check suggested words whether they are from mainDic or not
- Added counters for suggestions by dictionarys
- Added a counter for cancelled suggestions

Change-Id: Ia7d3a73855b1e82b60a010f18dba4e1c0fe1c2bb
2010-06-02 19:18:22 +09:00
satok 7f96616c75 Add minSdkVersion
Change-Id: Id0d95983b98dcb3eda52705cc709356ce53991c6
2010-06-02 13:20:18 +09:00
satok 928ebfeaf8 Add aggressive cancellation for auto suggestion
- Add ring buffer
- Count separator for auto suggestion
- Add a test for ring buffer

Change-Id: Id4a0aa00ceb1b055b8fc96c45e100d318cceb2ab
2010-06-02 12:59:35 +09:00
satok ac2b332e94 Merge "Get the log of exceptions. And delete the gradient background." 2010-06-01 01:11:57 -07:00
satok e607db631d Get the log of exceptions. And delete the gradient background.
- Add a logger of Exception
- Catch RuntimeException where bug reported.
- Delete gradient background.

Change-Id: I98b5fbc4a51163de7e56bee4f8312585d8e98eb7
2010-06-01 17:07:39 +09:00
satok a146069dbd change version
Change-Id: Ie43ec5fab87eeb5494b05fc5683c616937b5c444
2010-05-31 22:28:06 +09:00
satok 7c00957e46 Log version of IME
Change-Id: I6e6dc751da05cdc94d38a2a819f659b9f1885414
2010-05-31 22:23:07 +09:00
satok bfccd09079 Merge "Clear user's input and manually picked suggestion" 2010-05-31 05:20:04 -07:00
satok f4973b3d41 Clear user's input and manually picked suggestion
Change-Id: I7bbad73b87a9341440621489db7fbdb4ad81c7f6
2010-05-31 21:07:39 +09:00
satok 1d2acf6ac4 Change name of default theme
Change-Id: Iee11ad318126793291b6acada35ee6c6c865ef48
2010-05-31 21:04:13 +09:00
satok 37340b3fb4 Merge "Add black resources" 2010-05-31 04:40:40 -07:00
satok c03c7cb268 Logging issues
- Swap user's input and auto suggested words if they are same
- Set user's input blank if punctuation is selected
- Not count when user's input has one or more digit

Change-Id: I8bbe1cb43287c06f8e284ada0712b1b9ec714dc3
2010-05-31 20:39:48 +09:00
satok faeed22612 Add black resources
Change-Id: Ibd1ac2610b70693975011f85e232348388245553
2010-05-31 20:38:38 +09:00
satok 352f8bc9a3 Fix log dupplication of auto suggest
Change-Id: Ic2af15adff64631cc275b07113b42991363c92f8
2010-05-31 19:07:02 +09:00
satok cddf471210 Fix the name drawable
Change-Id: Idf359a81b59522c030839e00ea5287bad5069677
2010-05-31 13:05:46 +09:00
satok f4b5e6b252 Merge "Change version to v0.11 from v0.10" 2010-05-27 10:24:37 -07:00
satok a3b2fa6722 Change version to v0.11 from v0.10
Change-Id: I88f14f1ab5c325a82589fc8a3becd1a7a56e2cd3
2010-05-28 02:23:32 +09:00
satok 2776a9f2c3 Change default theme to Ginger Bread "6"
Change-Id: I68d5519c03dba0f8b6344a103c5bcf4f9b18e760
2010-05-28 02:18:09 +09:00
satok 574a7cc82d Fix the bug that black symbols are shown when only one lanugage is selected.
Change-Id: I15f83fc43d91c2c9d74b40fdcecdfe239242d565
2010-05-28 02:01:32 +09:00
satok bf336cb4a2 Change symbol to use black icons
Change-Id: I834efd322b4ef6e99707028d38223d837a3d4e36
2010-05-27 22:14:24 +09:00
satok f22d479e48 Log and UI fix
- add Log entry for the setting of auto completion
- fix the parameter names
- reduce the time to commit
- copy popup window's resources from framework
- change extention window to use the current layout

Change-Id: I5f52c41dc8027c28a874ba8f198471eb3c9bdd1e
2010-05-27 12:06:58 +09:00
satok b72f348467 Add new UI for Gingerbread refering to Heiko's sample
Change-Id: I80db4a52f5bbb25c77dfe7df94bdced69debf831
2010-05-26 19:15:14 +09:00
satok 3e5b8b3520 Merge commit 'goog/master'
Conflicts:
	java/res/values-de/strings.xml
	java/res/values-it/strings.xml
2010-05-24 15:02:28 +09:00
Amith Yamasani 90599bd107 Fix bug: 2693836 - Russian keyboard is missing a letter 2010-05-21 17:05:11 -07:00
satok 107d9dd5c0 Fix the valid length of a logged data
Change-Id: I94abccd9585edc42555ab3ffaed35f09cdfadd44
2010-05-21 15:01:37 +09:00
Amith Yamasani db8dcd8b02 Only use fullscreen mode if the number of inches in height is less than 2.5in 2010-05-20 10:19:23 -07:00
Ken Wakasa ed5d613e36 Add versionCode and versionName. versionCode needs to be incremented to keep the unbundled LatinIME even after the reboot.
Change-Id: I78f2d7400e71dd011d2d086e035aadeb96b16ce0
2010-05-21 01:28:33 +09:00
satok 01303e39f5 Commit on finishInput
Change-Id: I26254cfdaecd0d85571be3f930476040de935d6c
2010-05-19 15:20:03 +09:00
Ken Wakasa bfd3b8bf86 Restore the original-package entry to support overwrite-install with the old package name.
Change-Id: I1ddbcb3e1b41ef7d0e4017d7de11b600ec645197
2010-05-18 11:01:46 +09:00
Kenny Root 60d81e3a80 am 71403bcc: am 8099a06b: Import revised translations 2010-05-17 15:03:16 -07:00
Kenny Root 71403bcc58 am 8099a06b: Import revised translations
Merge commit '8099a06ba4e70177cfa2c8a997a6ed146fbe2fbf' into froyo-plus-aosp

* commit '8099a06ba4e70177cfa2c8a997a6ed146fbe2fbf':
  Import revised translations
2010-05-17 12:05:45 -07:00
Kenny Root 8099a06ba4 Import revised translations
Change-Id: I05cc3d1908de8a9a9765f4887cdf641639e65cfd
2010-05-17 11:43:46 -07:00
satok 07865c0530 Fix not resource found exception
Change-Id: Id94ef1ccbeb9a1566c91e0fcc62dfa51dea71909
2010-05-17 19:08:12 +09:00
satok b2447f73bc Merge "Add logging for UI" 2010-05-17 02:58:20 -07:00
satok 853083627a Add logging for UI
Change-Id: Ib47919be442feb7a0cb22e886a537ef4ff5b8533
2010-05-17 18:41:04 +09:00
Ken Wakasa 758388f14e Merge "Change the package name to override the current LatinIME." 2010-05-17 02:32:41 -07:00
Ken Wakasa a25324fbe1 Change the package name to override the current LatinIME.
Change-Id: I9fa0740ddd47cb3a4ee13bc38e82957b7cc07f13
2010-05-17 18:24:02 +09:00
satok f9ce9105ba Merge commit 'goog/master' 2010-05-17 17:52:04 +09:00
satok a0f8739914 Add Keyboard Theme Switcher
Change-Id: If1bf7d20e4f8a47a7c0429d2445431dc73c1b31b
2010-05-17 17:37:09 +09:00
Amith Yamasani 8aaca66928 Merge "Fix a bug throwing IndexOutOfBoundsException when IME receives completions more than MAX_SUGGESTIONS in full-screen mode." 2010-05-12 16:44:14 -07:00
satok 6bf73582cb Merge commit 'goog/master' 2010-05-12 15:11:47 +09:00
satok 8d6bd9389f Clean up
- extract color

Change-Id: Ic9cbb44502e71941eb74f15cc2f96b9abdb4b327
2010-05-12 14:44:22 +09:00
satok 00dd9e180a Fix NPE
Change-Id: Ic438704af64e8ebcecba13dbc0f3e72b14ac6f4f
2010-05-12 11:54:28 +09:00
Yuncheol Heo 75e0abcfdb Fix a bug throwing IndexOutOfBoundsException when IME receives completions more than MAX_SUGGESTIONS in full-screen mode.
Change-Id: Ic76287c2f8aa91733769e789df1f2a0614100f65
2010-05-12 10:56:57 +09:00
satok f6ecc28767 Merge commit 'goog/master' 2010-05-12 10:05:17 +09:00
satok 9e820fa0f4 Cleanup
- Remove dead code
- Add colors

Change-Id: I011146b33a37375d2a0b12342d65bad62ba7542b
2010-05-12 09:57:30 +09:00
satok 912fb384da Merge commit 'goog/master' 2010-05-11 10:37:11 +09:00
Amith Yamasani 44357b74a3 Merge "Sync hebrew keyboard with the rest (removed popular domain button)" 2010-05-10 13:08:25 -07:00
satok ee2ab40c7a Add settings for "enable log" to UI
Change-Id: Ib6ebfbc586dbea4dce037e484598cbc47ba58c7e
2010-05-10 19:00:54 +09:00
satok 34a69469ac Change the application name
Change-Id: I097bfe031ff8a0652329469fa11074e109653fdb
2010-05-10 18:03:09 +09:00
satok 8e0575db72 Cleanup unused function
Change-Id: I7417bcaa578ef85f0b634bcac8ddde2b0368b905
2010-05-10 15:49:11 +09:00
Roman Mitnitski 54b3fe771f Sync hebrew keyboard with the rest (removed popular domain button)
Change-Id: Ib7e91513fcb02e7383c7d0e524b7f56a53b1abd8
2010-05-10 09:26:58 +03:00
satok 1263d23466 Insert logging code
- Add log of auto suggestion
- Add log of cancelling auto suggestion
- Add log of actual number of charactors
- Add log of manually clicking suggestion

Change-Id: I8fc1cef356bf1a98b0676ed171bfb17825e18425
2010-05-10 15:11:26 +09:00
Amith Yamasani 7e615228de Merge "Tests and some new constructors to help in testing." 2010-05-07 13:43:11 -07:00
Amith Yamasani e4e1130d00 Tests and some new constructors to help in testing.
Added tests for the dictionary lookup and correction logic on the primary dictionary.
This exercises part of the Suggest class and the native dictionary lookup code.
2010-05-07 13:40:20 -07:00
satok 4c3ff1a760 am a8e487be: am d6b80c6e: Merge "Fix hardcoded "isDefault" setting" into froyo 2010-05-07 10:53:20 -07:00
satok a8e487be4c am d6b80c6e: Merge "Fix hardcoded "isDefault" setting" into froyo
Merge commit 'd6b80c6ed4433d66381501cd0a00813647261a6c' into froyo-plus-aosp

* commit 'd6b80c6ed4433d66381501cd0a00813647261a6c':
  Fix hardcoded "isDefault" setting
2010-05-07 10:34:41 -07:00
satok d6b80c6ed4 Merge "Fix hardcoded "isDefault" setting" into froyo 2010-05-07 10:32:51 -07:00
satok 53393240e8 Merge commit 'goog/master'
Conflicts:
	native/Android.mk
2010-05-07 19:57:51 +09:00
satok 5c7c33735d IME Logger improvement
- Eabled to handle an array value in the log entry
- Added word counter
- Added parameters to Log APIs
- Obfuscate user privacy support

Change-Id: I5e2a7d58113b0581e51d22d6dac9a6a6fdc34356
2010-05-07 19:23:11 +09:00
satok 8a3f6dfba9 Fix hardcoded "isDefault" setting
Bug:2661261

- Changed true to @bool/im_is_default
- isDefault was changed in https://android-git.corp.google.com/g/#patch,sidebyside,37627,3,res/xml/method.xml by mistake

Change-Id: Id1c20c292bed27523fb41f32514f2abdee11f992
2010-05-07 18:00:45 +09:00
Amith Yamasani dbab992963 am b1068051: am f0296426: Don\'t auto-select the system language in IME language selection screen. 2010-05-04 13:08:44 -07:00
Amith Yamasani b1068051c7 am f0296426: Don\'t auto-select the system language in IME language selection screen.
Merge commit 'f02964264f196447b03a88591a2964b67c318718' into froyo-plus-aosp

* commit 'f02964264f196447b03a88591a2964b67c318718':
  Don't auto-select the system language in IME language selection screen.
2010-05-04 12:05:33 -07:00
Amith Yamasani f02964264f Don't auto-select the system language in IME language selection screen.
Fixes http://b/2650378

On entering the selection screen, don't add the system language in addition
to other selected languages.

Change-Id: Id7a3b45df39a8493d17be668029eee139bf00ff3
2010-05-03 14:13:34 -07:00
Kenny Root d96df289a4 am 8701305f: am 221d99c8: Merge "Import revised translations" into froyo 2010-04-28 09:54:01 -07:00
Kenny Root 8701305f4f am 221d99c8: Merge "Import revised translations" into froyo
Merge commit '221d99c891b1ea0955957849abc5df3019cb18c7' into froyo-plus-aosp

* commit '221d99c891b1ea0955957849abc5df3019cb18c7':
  Import revised translations
2010-04-28 09:32:58 -07:00
Kenny Root 221d99c891 Merge "Import revised translations" into froyo 2010-04-28 08:07:51 -07:00
satok 85b6c5fc6b Fix NPE
Change-Id: I27fc6268ea325f6e5f2a8bfd36499bf6c2b9f146
2010-04-28 17:25:29 +09:00
satok 22f7ea7518 Add logging
- add logging for delete
- add logging for inputchar

Change-Id: I684692385f4c3acb66ab2bcd6421dae1d84feb8f
2010-04-28 16:48:48 +09:00
satok 8677ac3586 Logger improvements
- Made each method static
- Added a setter of contest
- Added a function to entry counts periodically

Change-Id: I644dfa83c4fcb1933dc267fc4cfad05c9bb7adc7
2010-04-28 16:33:40 +09:00
Amith Yamasani dd7a2cb283 am afae9b25: am 6aab3310: Remove .com key from URL and Email address keyboards. Bug: 2630268 2010-04-27 18:56:38 -07:00
Kenny Root 0dfa3e6dad Import revised translations
Change-Id: I1050cb361860cbea36bba762d37b4558dee8cecb
2010-04-27 14:30:47 -07:00
Amith Yamasani afae9b251e am 6aab3310: Remove .com key from URL and Email address keyboards. Bug: 2630268
Merge commit '6aab33105a64dabe0b85c4d4fdc4f784a7a57c4f' into froyo-plus-aosp

* commit '6aab33105a64dabe0b85c4d4fdc4f784a7a57c4f':
  Remove .com key from URL and Email address keyboards. Bug: 2630268
2010-04-27 13:10:01 -07:00
Amith Yamasani 6aab33105a Remove .com key from URL and Email address keyboards. Bug: 2630268
Have the spacebar be normal width and remove the .com keys.

Change-Id: I470ee4ffa2c84b91e3207e016c99bc66b34ef564
2010-04-27 11:30:17 -07:00
Ken Wakasa 3592749a4c Merge "Remove ByteBuffer prefix which wrongly suppresses a class member." 2010-04-27 08:11:28 -07:00
Ken Wakasa e945a182c2 Remove ByteBuffer prefix which wrongly suppresses a class member.
Change-Id: I5114106eca0f67326fb3f939165bae0c122ed982
2010-04-27 23:35:45 +09:00
Ken Wakasa 826269c8ae Get rid of dependency on native AssetManager API. Confirmed the native code builds with the NDK r3.
Change-Id: I0d2d3a0e262847d6948a0336a35440e21e312ad2
2010-04-27 22:23:03 +09:00
satok 59d77a1586 Merge "Add a base class of logger" 2010-04-26 23:47:13 -07:00
satok ac981fd39a Add a base class of logger
Change-Id: I8462369d59f90642331c08baada354f7a0b07e45
2010-04-27 15:14:36 +09:00
Ken Wakasa 4606367f98 Get rid of dependency on native AssetManager API. Confirmed the native code builds with the NDK r3.
Change-Id: I6a9a5bb4129e9269d74348801436c9e5e0058da5
2010-04-27 08:56:56 +09:00
Ken Wakasa 07cab72ce4 Fix the sandbox build & get rid of ICU dependency.
Changed package name from com.android.inputmethod.latin2 to com.google.android.inputmethod.latin2.
Copied LatinIME's current dictionaries from master's vendor directory.
Confirmed latin_tolower() function returns the result identical to ICU's u_tolower().
- Note that I will merge the ICU dependency removal change to master.

Change-Id: Ia85bd3e88ce5159934684e2228d8b0c5a8885296
2010-04-20 17:55:53 +09:00
satok 19266dc860 Merge commit 'goog/master' 2010-04-16 15:55:35 +09:00
Amith Yamasani 857cde9007 am 335a0c55: am 938c1782: Fix for hanging extension keyboard. Bug: 2593488 2010-04-15 17:00:07 -07:00
Amith Yamasani 335a0c5511 am 938c1782: Fix for hanging extension keyboard. Bug: 2593488
Merge commit '938c178215d38c6f085b32b0994598f9e8bc5ab5' into froyo-plus-aosp

* commit '938c178215d38c6f085b32b0994598f9e8bc5ab5':
  Fix for hanging extension keyboard. Bug: 2593488
2010-04-15 16:48:13 -07:00
Amith Yamasani 938c178215 Fix for hanging extension keyboard. Bug: 2593488
Sometimes the only motion event that is above the keyboard is the UP
event. In that case we can't expect one more event to come that will
dismiss the extension. So don't show the extension if the only Y < 0
event is an UP event.

Change-Id: I04a8b742dea03cd700006dc5df740ac7d9620c0b
2010-04-15 14:44:22 -07:00
Kenny Root 228e817578 am 41c2b30a: am 48832c86: Import revised translations 2010-04-15 13:31:38 -07:00
Valentin Kravtsov 17450fd29b am b98c17a7: am f9d0f3a8: Fix for: For Voice IME busy circle displayed below waveform 2010-04-15 06:36:59 -07:00
Kenny Root 41c2b30a34 am 48832c86: Import revised translations
Merge commit '48832c860377e5515be6ccf57fce9299a408584a' into froyo-plus-aosp

* commit '48832c860377e5515be6ccf57fce9299a408584a':
  Import revised translations
2010-04-15 05:59:54 -07:00
Kenny Root 48832c8603 Import revised translations
Change-Id: I2d221b9501462110848592e76c6bd8490f2b209e
2010-04-14 20:34:58 -07:00
Valentin Kravtsov b98c17a7a9 am f9d0f3a8: Fix for: For Voice IME busy circle displayed below waveform
Merge commit 'f9d0f3a81ad4220672f90a8799a79e63e53c46d3' into froyo-plus-aosp

* commit 'f9d0f3a81ad4220672f90a8799a79e63e53c46d3':
  Fix for: For Voice IME busy circle displayed below waveform
2010-04-14 12:01:40 -07:00
Amith Yamasani bb488c1476 Merge "Add hebrew keyboard to LatinIME Bug: 2532052" 2010-04-13 10:06:22 -07:00
Valentin Kravtsov f9d0f3a81a Fix for: For Voice IME busy circle displayed below waveform
bugfix for: http://b/issue?id=2568048

[Sapphire] ]For Voice IME busy circle displayed below waveform.
STEPS TO REPRODUCE:
1. launch Calendar . -> Select menu -> New Event.
2.  Switch soft keyboard to Number view.
3.  Tap on mic symbol of  to speak
4. Speak any word to enter in Text field .
5. Verify busy icon ( circular icon ) displayed in "working " screen.

EXPECTED RESULTS:
 Busy circle should be displayed in center of waveform

OBSERVED RESULTS:
 Busy circle displayed below waveform

ADDITIONAL INFORMATION:
 Spoken word is enetering in text field correctly.

Change-Id: I043ce6a985f526cade0e9f63525619a92d918485
2010-04-12 21:02:27 +01:00
Ken Wakasa 1cf0ce74e8 Make this sandbox buildable under the froyo tree using symlink under vendor/google/apps.
Change-Id: Ia83a8e27d7a44a3a4dcf21b7a0bf0ab814f106ea
2010-04-07 18:58:46 +09:00
Amith Yamasani 97f4b4ad34 am c2b8c16b: Possible fix for monkey bug: 2529350
Merge commit 'c2b8c16bdf392c81785031483d21740c5e883046' into froyo-plus-aosp

* commit 'c2b8c16bdf392c81785031483d21740c5e883046':
  Possible fix for monkey bug: 2529350
2010-04-06 12:39:02 -07:00
Amith Yamasani 4f695092a2 am 3e0c82ec: Fix for 2568664 : Slide gesture on spacebar is not reliable anymore
Merge commit '3e0c82ec80a69c4adbd60546c3c56c83c43ec7eb' into froyo-plus-aosp

* commit '3e0c82ec80a69c4adbd60546c3c56c83c43ec7eb':
  Fix for 2568664 : Slide gesture on spacebar is not reliable anymore
2010-04-06 12:38:59 -07:00
Amith Yamasani c2b8c16bdf Possible fix for monkey bug: 2529350
Don't try to show the extension if the main keyboard is not showing.

Change-Id: Ic3368f48f8973dedfb1ab8f4644b0766b52aed1b
2010-04-06 11:22:19 -07:00
Amith Yamasani 3e0c82ec80 Fix for 2568664 : Slide gesture on spacebar is not reliable anymore
This was due to the multi-touch error correction code that was recently
added. Make sure that one of the move points is in the upper 3 rows
to allow for fast swipe on spacebar.

Change-Id: I420bdb83a4cd8833c4158bc37a2d806b8c83b948
2010-04-06 11:14:03 -07:00
Jean-Baptiste Queru 443c360d0a Clarify licensing
-use AOSP copyright instead of Google
-add NOTICE and tag file

Bug: 2548782
Change-Id: If50b2e9e9cc4b4876b0d047fc9f34e2d537a6da4
2010-04-05 09:47:36 -07:00
Amith Yamasani dad0e792aa Fix for 2559069 IME ".com" should be erasable with one backspace
Change-Id: Ifef97a9b66e051fef7ca8b0a92bfe21f3d1e6cf6
2010-04-01 06:28:52 -07:00
Amith Yamasani 0fef498a07 Treat fast moves as multi-touch. Bug: 2561786
Detect sudden moves that have a large delta that would not be a typical drag
by the user when hunting for a key. Drop move events until the user releases
the touch and register both starting and ending keys instead of only the
ending key. This reduces the frequency of dropped keys on touch hardware that
isn't able to detect multi-touch reliably.

This also takes into account diagonal moves or right angled moves due to
pseudo-multi-touch.

It weakens the swipe gestures (to swipe, you'll need to swipe slowly and fully,
  otherwise it will trigger 2 keys)

Change-Id: Ieba3a0bef4c8910f0f17aa20baedb3581d1de12b
2010-03-31 15:18:17 -07:00
Amith Yamasani fbd1866424 Avoid race conditions between queries and closing of the auto_dict database.
Keep a reference to the openhelper around across locale and input language
changes. Also, share the openhelper between the queries and updates. Creating
a new one in a separate thread could cause it to be closed at the wrong time.

Monkey bugs, probably dupes.

Bug: 2560471
Bug: 2544169
Change-Id: I6eb39145de7191732ddde455728bf147a2d1ba31
2010-03-31 14:01:59 -07:00
Jean-Michel Trivi 06933183c8 Fix bug 2553592 API REVIEW: android.speech
Change 3 of 4
Notes from API Council review:
Rename RecognitionManager to SpeechRecognizer

Change-Id: Ieea0ade975b7c01f1fccb83a78a5b8f75e0c62de
2010-03-30 10:29:41 -07:00
Kenny Root 7f4f7b877a Merge "Import revised translations" into froyo 2010-03-30 09:35:14 -07:00
Kenny Root c39ae1d0e0 Import revised translations
Change-Id: If95d873337fa1f368fd098a5ba4497bff6dc65b6
2010-03-30 09:17:01 -07:00
Amith Yamasani d079b98ec4 Fix build breakage due to api change
Change-Id: I72661c51f277cb9aa3df0bd5a16756408b53ab7f
2010-03-29 18:04:13 -07:00
Amith Yamasani 0c05902e33 Don't auto-add when in suggest-only mode. Bug: 2521344
Also don't highlight quickfixes when in suggest-only mode
In general, reduce the situations where words are auto-added. It was
too eagerly adding even words that were in the dictionary.
2010-03-24 19:31:49 -07:00
Amith Yamasani 4ff60be170 Write the auto dictionary data to disk in a background thread to avoid blocking the UI thread.
Bug: 2536846

This also potentially fixes the occasional hangs on pressing space. Need to verify.
Bug: 2509010
2010-03-23 16:21:46 -07:00
Roman Mitnitski c12588d40b Add hebrew keyboard to LatinIME
Bug: 2532052

Change-Id: Id2de988327fa3501e9049dc972a215b754bd3d91
2010-03-21 11:29:07 +02:00
Amith Yamasani bad436e93b Potential fix for extension keyboard not cleaning up bubbles sometimes.
This might also fix the keyboard closing suddenly when using the extension.
Re-enable bubble for landscape extension keyboard, since the framework can
now display it to the side.
2010-03-19 17:31:54 -07:00
Eric Fischer 7be15a1899 Merge "Import revised translations" 2010-03-18 10:54:02 -07:00
Kenny Root 1866d9ec83 Import revised translations
Change-Id: Id1db465dcf22f183bbf365f25905f408b51709f6
2010-03-17 22:16:48 -07:00
Amith Yamasani 6780b898ec Fix a StringIndexOutOfBounds. Bug: 2524050 2010-03-17 21:39:02 -07:00
Amith Yamasani 1ab409272b Merge "Remove popup for extension keyboard in landscape. bug: 2519903" 2010-03-17 17:09:14 -07:00
Amith Yamasani 1e5374e98b Remove popup for extension keyboard in landscape. bug: 2519903
Also add a summary text in the input language list for languages with
a dictionary so that users don't feel cheated when they pick a language
that doesn't happen to have a dictionary. Remove greek as it isn't an
extension of the QWERTY keyboard.
2010-03-17 17:02:28 -07:00
Amith Yamasani b248c2f7bf Remove the shared uid for LatinIME
Bug: 2512241

Since we cannot market update apps with shared uid, had to be removed.

Added READ_CONTACTS permission, now that it has a non-shared uid.
2010-03-16 14:01:52 -07:00
Amith Yamasani c3413faf92 Merge "Fix occasional correction errors in suggesting obvious corrections." 2010-03-16 12:24:13 -07:00
Fredrik Roubert b1cb13292f Update Swedish keyboard layout to not use external strings. 2010-03-15 18:42:24 +01:00
Maryam Garrett 4f1f2201bd Fixes the over-logging of TextModified
We were overlogging the TextMoified action because the old
implementation would log a cursor change as a text
modification. This CL logs 4 specific actions (choose
suggestion, delete text, insert text, insert punctuation)
as a text modification rather than any action in the textbox

I also add in logging of the length of the recognition result
so that we can get some more context around the scope of the
editing of the ime result.

Change-Id: I172df24ddc0a7b62bcc5ed806fd70ef7e1c42310
2010-03-15 12:18:08 -04:00
Amith Yamasani 231cacd080 Fix occasional correction errors in suggesting obvious corrections.
Bug: 2513996

The array of adjacent letters did not have the primary code in the first
position. Swap the codes around to make the primary the first one.

Change-Id: Id753254c88d440d3d76dbc048d123dfc78edf58d
2010-03-14 22:53:16 -07:00
Amith Yamasani 6c2f9f5ba7 Fix bug: 2512075 : Current input language resets to first in list on orientation change
Have separate variables for system locale and input locale.
2010-03-12 17:29:23 -08:00
Amith Yamasani 3656fb7987 Fix Russian keyboard layout, bug: 2509080
Also add a similar Swedish keyboard layout, contributed by Fredrik.
2010-03-12 14:14:29 -08:00
Amith Yamasani 8102ae7941 2175312 : IME suggestions stay on screen after switching orientation in search dialog
Only show the candidate strip if the input view is showing. Otherwise ignore any
completions from the AutoCompleteTextView
2010-03-10 21:18:49 -08:00
Amith Yamasani 283a77f633 Load UserDictionary and AutoDictionary in a background thread.
This is to avoid ANRs during bootup, as some of the providers
may not have been initialized yet.

Refactored the ContactsDictionary and moved the async loading
code to ExpandableDictionary to share with the other dicts.

Bug: 2501133
Change-Id: I20393edb6fdf5df2f54ebac8dd04419a592177a2
2010-03-10 11:39:06 -08:00
Amith Yamasani 07b1603a3f Don't let the native code target be included twice when unbundling.
Move java code to a different directory so that the unbundled
version doesn't try to compile the native code again.

Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986
2010-03-09 15:01:09 -08:00