Commit Graph

269 Commits (f36477ed97d917ac2971278afa018a7617a5a5e5)

Author SHA1 Message Date
satok 679b838b05 Update resources of the tentertive UI for tablet friendly UI
Change-Id: I59acd50b3531cf02d71c124d7ce8211d0c3dcd7e
2010-07-29 02:18:29 +09: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
satok 6591321cc1 Remove values-xlarge/styles.xml and added key_text_size to dimens.xml
Change-Id: I5b23950447742f70e7ca6dca21e8afaed28d30ec
2010-07-27 16:04:54 +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 b851e406c0 Merge "Change the default value of keyTextSize for xlarge" 2010-07-26 03:43:30 -07:00
satok c97c326cb8 Change the default value of keyTextSize for xlarge
- rename ginger to stone

Change-Id: I6968ed1b388e1f55ecb27a449ca49be77790f9cc
2010-07-26 19:29:30 +09:00
Ken Wakasa ae1b71c6a8 Move Google's proprietary dictionaries for LatinIME to vendor/google/apps/LatinImeGoogle.
bug: 2811749

Refer to https://android-git.corp.google.com/g/58621

Change-Id: I3721ad3b3a29673f1ddd32871b1575a45c7365ee
2010-07-24 11:50:38 +09:00
Ken Wakasa 68df22eebc Get rid of wrongly added "Don't translate" entries in values-sr/strings.xml
Change-Id: I10437a119fac68ae3231ad923b2ce090f56847e6
2010-07-23 01:01:53 +09:00
Ken Wakasa 74635f5146 Merge "Add Norwegian and Danish keyboard layouts." 2010-07-21 22:20:39 -07:00
Fredrik Roubert 7c76990c03 Add Norwegian and Danish keyboard layouts.
Change-Id: I77e4f6105b1f5d4569ad59e3d536941310cc6c0d
2010-07-21 10:16:23 +02:00
satok 512cba7838 Merge "Fix a string for zh-rCN" 2010-07-20 06:25:30 -07:00
satok 096b87a4b4 Fix a string for zh-rCN
Change-Id: I63d9c5254188a84c92cb4ff34988ebb5a2a034ae
2010-07-20 22:24:00 +09: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 9a5d3cd9a5 Merge "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" 2010-07-20 00:51:23 -07:00
satok 9ebcc21450 Merge "Change the name of the application to Latin Keyboard" 2010-07-20 00:50:43 -07: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 91d96f2a64 Add xlarge resources
Change-Id: I8879322ed8573d57257faf15b66b8ae04101971f
2010-07-20 14:21:54 +09:00
satok e04cc8b826 Change the name of the application to Latin Keyboard
Change-Id: I0ae02c61fae200672004028196d3e8d990b4c32c
2010-07-20 14:17:34 +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
Ken Wakasa 1812bcebd6 am 88e7b49f: Backport https://android-git.corp.google.com/g/#change,52371 to Froyo. Fix bug: 2693836 - Russian keyboard is missing a letter
Merge commit '88e7b49fc8657544380620729eb28966669103a2' into gingerbread

* commit '88e7b49fc8657544380620729eb28966669103a2':
  Backport https://android-git.corp.google.com/g/#change,52371 to Froyo.  Fix bug: 2693836 - Russian keyboard is missing a letter
2010-07-16 18:12:48 -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
Ken Wakasa 88e7b49fc8 Backport https://android-git.corp.google.com/g/#change,52371 to Froyo. Fix bug: 2693836 - Russian keyboard is missing a letter
Change-Id: Ic931991bc188f646d30a399bb0b268f415f12051
2010-07-17 09:51:26 +09: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 9dc82cb77e Merge "Change version to 0.21" 2010-07-16 01:43:06 -07:00
satok f73907ab5a Change version to 0.21
Change-Id: I8e3792ba43293313baab0bb0d6bebba8c65df4b9
2010-07-16 17:42:33 +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
Ying Wang 2a118d844e Unbundle LatinIME
Change-Id: I9f55377d5de050d18ee4a3b29bc43b19b0fababd
2010-07-14 17:32:12 -07: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 b5a0d8ef42 Merge "Change version" 2010-07-02 01:38:19 -07:00
satok 2941dc28d7 Change version
Change-Id: I1e4042eef1a6b19e1e75cc62f24e8b229970b608
2010-07-02 17:37:41 +09: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
satok c700ffcddf Merge commit 'goog/master' 2010-07-01 15:59: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 c891d4d16c Merge "Fix NPE on logging words" 2010-06-30 17:37:29 -07:00
satok 9c76844da2 Fix NPE on logging words
Change-Id: Idb01cc3226a979de656b30e57422bb35b25d13fa
2010-07-01 08:42:20 +09:00
satok 222c9019e7 Add a key to the keyboard layout for Russia
bug: 2693836
Change-Id: I88a3664af8074788c6bfc146247ab33ae8a02c08
2010-07-01 07:33:06 +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
Amith Yamasani daf88d35e7 Move the Serbian keyboard and strings to the correct folder. 2010-06-30 11:13:49 -07: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 f5d9b3d4e4 change version code
Change-Id: I54b45774d12ea6791e567c9908202606475503ff
2010-06-30 13:18:39 +09:00
satok 421915cd74 Merge "change version" 2010-06-29 21:14:23 -07:00
satok 0208492cae change version
Change-Id: I94e110b3180dc740a7708984440eda12e32a849f
2010-06-30 13:13:31 +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
Amith Yamasani 578096b688 Quick adjustment to keyboard size on xlarge screens.
And adjust the text size of the extension keyboard too.
2010-06-25 14:55:57 -07:00
satok 2b2db815d2 Move KeyboardView in the framework to LatinKeyboardViewBase
Change-Id: I99e3ea5eb1f1f5e5f9b36306930cdf0f50acfb01
2010-06-26 04:01:29 +09:00
Amith Yamasani a62f7c18f9 Remember typed words for auto-corrections
Change-Id: I475c2fa7604f91659100510079fa13c7615177e9
2010-06-24 19:25:32 -07:00
Kenny Root dae9017014 am 3e59cea2: am a008d164: am 7697133c: Import revised translations
Merge commit '3e59cea2c0807ec0fc7e39edb900cb096668a868'

* commit '3e59cea2c0807ec0fc7e39edb900cb096668a868':
  Import revised translations
2010-06-21 12:39:20 -07:00
Kenny Root a008d16402 am 7697133c: Import revised translations
Merge commit '7697133c85f30ae2ec046d9fd19fdb5f2ddc7cbc' into gingerbread

* commit '7697133c85f30ae2ec046d9fd19fdb5f2ddc7cbc':
  Import revised translations
2010-06-21 12:36:18 -07:00
Kenny Root 7697133c85 Import revised translations
Change-Id: If4c56c6cea6a99cc784e3e16457a43ca550fdefa
2010-06-21 11:05:32 -07:00
satok 9512706adf Make DropBox.addText AsyncTask in IMELogger
Change-Id: I84d5915a3197a67cda6bec8b0ef3343df2e510be
2010-06-17 05:53:49 +09:00
satok b373d460c7 Log the current launguage and enabled languages
Change-Id: Ie504961be7c90bdcabe73ca3bddf98cac61f3d3b
2010-06-16 10:06:25 +09:00
Kenny Root 4c20a92fa0 am e6de8785: am 36dcfec5: Import revised translations 2010-06-09 23:24:10 -07:00
Kenny Root e6de8785d6 am 36dcfec5: Import revised translations
Merge commit '36dcfec5a744996ee35735ffa4c796d37b946a9b' into kraken

* commit '36dcfec5a744996ee35735ffa4c796d37b946a9b':
  Import revised translations
2010-06-09 23:19:48 -07:00
Kenny Root 36dcfec5a7 Import revised translations
Change-Id: I7ffd12b24b3946d83899813c498c32eea0b75de0
2010-06-09 22:51:48 -07:00
satok d5d61c3485 Catch inflate exception
Change-Id: Ia5a384f5cbd2d0063904c2959ccbeb987198616b
2010-06-09 00:54:18 +09:00
satok acbe38f3e1 Try GC at OutOfMemoryError
Change-Id: Icfaecc6a0e8858622649ce9115ab94b00e240cc2
2010-06-09 00:01:21 +09:00
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