Commit Graph

3665 Commits (b2200511e852a8cc94a9bf569de6440ea7eb55f8)

Author SHA1 Message Date
Tadashi G. Takaoka b2200511e8 am ab72a97d: Cleanup unused import
* commit 'ab72a97d7ce44230a0c824797d1675a5ca354a56':
  Cleanup unused import
2011-10-03 22:11:31 -07:00
Tadashi G. Takaoka ab72a97d7c Cleanup unused import
This change also gets rid of several compiler warnings.

Change-Id: I23962edaadad18a6e0395d528af17b909dcf5dad
2011-10-04 12:46:20 +09:00
Yusuke Nojima f24396c5db am a25dd3b5: Merge "Pass the touch position correction flag from KeyboardSwitcher."
* commit 'a25dd3b5c3300fa8c8ab305afb955956529db088':
  Pass the touch position correction flag from KeyboardSwitcher.
2011-10-03 04:46:59 -07:00
Yusuke Nojima a25dd3b5c3 Merge "Pass the touch position correction flag from KeyboardSwitcher." 2011-10-03 04:42:53 -07:00
Yusuke Nojima 294e1b4a5a Pass the touch position correction flag from KeyboardSwitcher.
Change-Id: Ia242a9fa2fa71f7fdf8f974071a2df7acc4aa51f
2011-10-03 20:41:03 +09:00
satok fb5b1b2eaa am c812d0b8: Merge "Demote words with a capitalized char"
* commit 'c812d0b816c6e3ac4a2df23b5831b17acdc7c414':
  Demote words with a capitalized char
2011-10-03 04:29:01 -07:00
satok c812d0b816 Merge "Demote words with a capitalized char" 2011-10-03 04:24:40 -07:00
satok eb050fc2dc Demote words with a capitalized char
Bug: 5371514

+1       4
-1       2
+2       0
-2       0
+3       0
-3       0
+4       1
-4       3
+5       0
-5      12
+6       3
-6       3
+7      12
-7       0

Change-Id: I6b46e43f9059f1e8a1cc02a626ea6eb8f1f9924f
2011-10-03 20:11:06 +09:00
Jean Chalard 35988e0858 am 45f45a4f: Cleanup : remove recorrection-related stuff.
* commit '45f45a4fdb16d0fa44b4a34b880e5fabb41c1492':
  Cleanup : remove recorrection-related stuff.
2011-10-03 02:31:37 -07:00
Jean Chalard 45f45a4fdb Cleanup : remove recorrection-related stuff.
This removes UPDATE_OLD_SUGGESTIONS, and the associated settings.

Bug: 5402537
Change-Id: Ie87d4e05c54e4b7d2dd5a05f2d0b570e9cd3e463
2011-10-03 18:23:23 +09:00
Jean Chalard 30c7161934 am fe5364c8: Cleanup : remove old recorrection code
* commit 'fe5364c825058f6c34c0f42135a5520b77525a28':
  Cleanup : remove old recorrection code
2011-10-03 02:06:32 -07:00
Jean Chalard fe5364c825 Cleanup : remove old recorrection code
This removes the calls, but another change will be needed to remove
the messages LatinIME used to send itself to update the suggestion
strip.

Bug: 5402537
Change-Id: I5d1aa63a892516f339f3ceac21f43771b5ffda34
2011-10-03 17:45:45 +09:00
Jean Chalard a2a4dec8f1 am 6b64a0fe: Merge "Fix a bug where moving the cursor would not reset selection"
* commit '6b64a0fedc23d801696312909d57674f5cc43d56':
  Fix a bug where moving the cursor would not reset selection
2011-10-03 01:33:23 -07:00
Jean Chalard 6b64a0fedc Merge "Fix a bug where moving the cursor would not reset selection" 2011-10-03 01:32:30 -07:00
Jean Chalard cd95a36558 Fix a bug where moving the cursor would not reset selection
This change updates suggestions when the cursor is moved.
It is now reasonable to remove the explicit test for
TextEntryState.isAcceptedDefault because it is now shielded
by mExpectingUpdateSelection : actually, this probably fixes
a long-standing bug.

Bug: 5337309
Change-Id: Iee4046420c6a88d1a07d428230f93c3ebef25c39
2011-10-03 17:18:29 +09:00
Satoshi Kataoka 782b05fa74 am 21ffb08a: Merge "Fix obtainStyledAttribute not to look for default"
* commit '21ffb08a73d3686abfa43f8e4eeae1afc09284d7':
  Fix obtainStyledAttribute not to look for default
2011-10-03 00:51:27 -07:00
Satoshi Kataoka 21ffb08a73 Merge "Fix obtainStyledAttribute not to look for default" 2011-10-03 00:50:21 -07:00
Tadashi G. Takaoka a27812ae15 Fix obtainStyledAttribute not to look for default
Bug: 5402266
Change-Id: I8f84754b0080b315f9360e1ffa8353b386e88ad7
2011-10-03 16:48:03 +09:00
Jean Chalard c132e93592 am 397f6f82: Merge "Small refactoring"
* commit '397f6f8299a8acd645e4cc88eead7a345c198044':
  Small refactoring
2011-10-02 23:14:45 -07:00
Jean Chalard 397f6f8299 Merge "Small refactoring" 2011-10-02 23:12:41 -07:00
Jean Chalard 4c0fe57198 Small refactoring
Change-Id: Ifc33e109562abb3dd720ad4fed76add8ab1a64aa
2011-10-03 14:58:34 +09:00
Yusuke Nojima b9d0c04930 am 25f339fd: Merge "Fix bug in calculateSweetSpotType()"
* commit '25f339fd23fea22036318c47badff1b43d635a46':
  Fix bug in calculateSweetSpotType()
2011-10-02 22:44:25 -07:00
satok 66ee84d973 am 904baab2: Remove code related to AutoText
* commit '904baab25a4c6ec5d9c4bf7e562154e3f544d296':
  Remove code related to AutoText
2011-10-02 22:42:48 -07:00
Yusuke Nojima 25f339fd23 Merge "Fix bug in calculateSweetSpotType()" 2011-10-02 22:42:32 -07:00
Yusuke Nojima 5d21c5c6cb Fix bug in calculateSweetSpotType()
Change-Id: I215bc02367e123a73ffc94974e7b1cbec52a25fa
2011-10-03 14:39:40 +09:00
satok 904baab25a Remove code related to AutoText
Bug: 5245751

Change-Id: Ic02f951e8e1dbde9d8964d2c16e4928fb374ca41
2011-10-03 14:38:44 +09:00
satok bb3798bd14 am 0aa95957: Merge "Move auto text to white list dictionary"
* commit '0aa95957739f528259e44a1bb07942e4a0ebd2ea':
  Move auto text to white list dictionary
2011-10-02 22:13:25 -07:00
satok 0aa9595773 Merge "Move auto text to white list dictionary" 2011-10-02 22:11:50 -07:00
satok e2b6617f4a Move auto text to white list dictionary
Bug: 5245751

Change-Id: Ifc790ac6c0ac3b70006a5ed299f35b52b9617731
2011-10-03 14:08:50 +09:00
Tadashi G. Takaoka 3b412ab4cd am ad2dfa76: Fix keyboard theme parsing
* commit 'ad2dfa7697ecc4b775a1fd55ade1697c3322215a':
  Fix keyboard theme parsing
2011-10-02 20:44:41 -07:00
Tadashi G. Takaoka ad2dfa7697 Fix keyboard theme parsing
This is a followup of I13b9997e.

Change-Id: I4c10fbc8b250c3bad72e38d46089684a839bdd5f
2011-10-03 12:34:36 +09:00
Tadashi G. Takaoka 10d90a227d am aef4f906: Merge "Move themeId and touch correction data to Keyboard style"
* commit 'aef4f906ff1330042a06a7d9697b27b5db2bb121':
  Move themeId and touch correction data to Keyboard style
2011-09-30 20:04:05 -07:00
Tadashi G. Takaoka aef4f906ff Merge "Move themeId and touch correction data to Keyboard style" 2011-09-30 20:02:19 -07:00
Eric Fischer 5588fcf21c am 991a4737: Import revised translations.
* commit '991a4737079f59cc973327b31bf11b46c301c62d':
  Import revised translations.
2011-09-30 16:59:23 -07:00
Eric Fischer 991a473707 Import revised translations.
Change-Id: I9fe5fbc28c1bb82bd094841ba3edcbcd8fe1384a
2011-09-30 16:47:24 -07:00
Tadashi G. Takaoka 5c26922ab2 Move themeId and touch correction data to Keyboard style
Change-Id: I13b9997e013b704734b6fa94131b1f7fec7a152d
2011-09-30 22:59:53 +09:00
satok bd2eb9b1d8 am 62c7e25e: Move SharedPreferencesCompat to com.android.inputmethod.compat
* commit '62c7e25e11f021f6640f9170e53b7e86ed537fd8':
  Move SharedPreferencesCompat to com.android.inputmethod.compat
2011-09-30 05:46:45 -07:00
satok b246c2fbb2 am ba76e6ff: Show the duration of vibration in settings
* commit 'ba76e6ff27871e6a4fa33aa2aaf9b60a989f0ed8':
  Show the duration of vibration in settings
2011-09-30 05:46:44 -07:00
Yusuke Nojima 7ed6d448db am 9ee8c9c4: Calibrate score by touch coordinates
* commit '9ee8c9c45c960dae6fbf0f35e4c84c9c1c85fc3f':
  Calibrate score by touch coordinates
2011-09-30 05:46:42 -07:00
Yusuke Nojima 4d21d93621 am da9f556a: Merge "Classify touches into three types."
* commit 'da9f556a15e7ff823b8ac5f273f918691b278505':
  Classify touches into three types.
2011-09-30 05:46:40 -07:00
Jean Chalard 6a9c4ab017 am 646a6615: Merge "Make use of the FULL_EDIT_DISTANCE flag."
* commit '646a66159a147d115fa17514cb8add9214cc0577':
  Make use of the FULL_EDIT_DISTANCE flag.
2011-09-30 05:46:37 -07:00
Tadashi G. Takaoka c5c054ea36 am 59f8ca75: Skip successive InputMethodService callbacks after orientation changed
* commit '59f8ca752d5f79d4469519623590052c050c9d23':
  Skip successive InputMethodService callbacks after orientation changed
2011-09-30 05:46:29 -07:00
satok 62c7e25e11 Move SharedPreferencesCompat to com.android.inputmethod.compat
Change-Id: Ied336339b8eb3643f14517c251b07c09398f61fe
2011-09-30 20:17:32 +09:00
satok ba76e6ff27 Show the duration of vibration in settings
bug: 5345401

Change-Id: I666d48d8ddf6c14540eb401129c20ce93972d9cf
2011-09-30 20:09:04 +09:00
Yusuke Nojima 9ee8c9c45c Calibrate score by touch coordinates
Change-Id: I9fc066eb1a455243536e72405922fcb7e26d7dc6
2011-09-30 18:08:28 +09:00
Yusuke Nojima da9f556a15 Merge "Classify touches into three types." 2011-09-30 01:26:15 -07:00
Yusuke Nojima 258bfe66e0 Classify touches into three types.
Change-Id: I7c1d42835e0c15d596a1b66d421b0aa514ec0890
2011-09-30 17:22:22 +09:00
Jean Chalard 646a66159a Merge "Make use of the FULL_EDIT_DISTANCE flag." 2011-09-30 00:41:14 -07:00
Jean Chalard 673cebf9e9 Make use of the FULL_EDIT_DISTANCE flag.
In effect, this stops the spell checker from suggesting overly
long words.
More precisely, it takes advantage of the new facility that
takes into account the whole length of the dictionary word when
computing scores, so words much longer than the input word will
see their score demoted accordingly.

Bug: 5384578
Change-Id: I326cd7c87c3080e7fa8729f78517f8ba13672a9b
2011-09-30 16:00:07 +09:00
Tadashi G. Takaoka 59f8ca752d Skip successive InputMethodService callbacks after orientation changed
IME is called back four methods for each input field as a IME life
cycle. The four methods are onStartInput, onStartInputView,
onFinishInputView and onFinishInput.

After orientation changed, Those quartet methods will be called back
twice. This behavior of the framework might be a bug.

In order to restore the previous keyboard layout, we should skip
onFinishInputView and onFinishInput of the first quartet and
onStartInput and onStartInputView of the second quartet.

Bug: 4311428
Change-Id: I450ddc0cce5d00abc971ffd42a507a8a86682548
2011-09-30 10:38:32 +09:00