Commit Graph

3706 Commits (2ac4000d1f957a717242e5526c3a1eccc8e2e8d3)

Author SHA1 Message Date
satok 2ac4000d1f am 602bcecf: Merge "Put SuggestionSpan as the indicater of the auto-correction"
* commit '602bcecf6bbe64080c602cd71e33f814551370f4':
  Put SuggestionSpan as the indicater of the auto-correction
2011-10-10 02:59:39 -07:00
satok 602bcecf6b Merge "Put SuggestionSpan as the indicater of the auto-correction" 2011-10-10 02:58:22 -07:00
satok ec780e2868 Put SuggestionSpan as the indicater of the auto-correction
Bug: 5245468

Change-Id: Ia5609e1b3c69f5553e3632fbce60a55665a5b185
2011-10-10 18:44:52 +09:00
Svetoslav Ganov 01f7ed3595 am 7c2d7ad6: Merge "Let accessibility users know to connect a headset when the IME connects to a password field."
* commit '7c2d7ad6349eaf36312b69feb6efb6cd7201b0bc':
  Let accessibility users know to connect a headset when the IME connects to a password field.
2011-10-07 15:37:42 -07:00
Svetoslav Ganov 7c2d7ad634 Merge "Let accessibility users know to connect a headset when the IME connects to a password field." 2011-10-07 15:36:04 -07:00
Jean Chalard 91b03b5bd7 am fee149ab: Use the whitelist as a dictionary in the spell checker.
* commit 'fee149abe0358ff0efcebff3d0b60d8be83af437':
  Use the whitelist as a dictionary in the spell checker.
2011-10-07 05:46:44 -07:00
Jean Chalard f6d4efe4ac am 266ae696: Merge "Fix a bug with the whitelist"
* commit '266ae6964d5bcab82e10f6ba7fe36f38da0c086d':
  Fix a bug with the whitelist
2011-10-07 05:46:32 -07:00
Tadashi G. Takaoka 158f1cce3d am beac2422: Merge "Add haptic feedback for caps lock"
* commit 'beac24226b6a6303ff1821cf0ad57f146bb0e3d7':
  Add haptic feedback for caps lock
2011-10-07 05:46:31 -07:00
Jean Chalard fee149abe0 Use the whitelist as a dictionary in the spell checker.
Bug: 5402436
Change-Id: If89b8bbdebf6751697c4788270d01d4639cff665
2011-10-07 19:25:36 +09:00
Jean Chalard 266ae6964d Merge "Fix a bug with the whitelist" 2011-10-07 02:50:11 -07:00
Jean Chalard 5f41b705fc Fix a bug with the whitelist
This bug would kill the case where the whitelist contains
a word to be autocorrected to an uppercased version of
itself, and the user would enter the uppercase version.
In this case, this bug would cause the typed word to be
killed off the list of candidates, and possibly autocorrected
to the *next* candidate.

When the whitelist checks whether this the typed word is
a candidate for whitelisting, this change has it check whether
the whitelisting results in the typed word before returning.
Hence, it can keep the case-insensitive behavior of the
whitelist.

Coincidentally, this change renames the method used to do
this, because it does not comply with the general contract
of Dictionary. This happens to be in the way of another
upcoming change.

Bug: 5420371
Change-Id: Ifb305271acc5f171adf9b18c762ae7975b14be0a
2011-10-07 18:40:23 +09:00
Tadashi G. Takaoka beac24226b Merge "Add haptic feedback for caps lock" 2011-10-07 02:21:15 -07:00
Jean Chalard 276174e543 am af0f13d1: Add pretty-printing to SuggestedWords.Builder to help debug
* commit 'af0f13d15cd2edcb68fda9961c39dc6511edaafd':
  Add pretty-printing to SuggestedWords.Builder to help debug
2011-10-06 23:39:26 -07:00
Jean Chalard af0f13d15c Add pretty-printing to SuggestedWords.Builder to help debug
Change-Id: I2f40ca40f2b452078d0f24cef72e0182e10e2269
2011-10-07 14:35:18 +09:00
Tadashi G. Takaoka 416ee19d33 Add haptic feedback for caps lock
When long press triggers caps lock, the keyboard also triggers haptic
feedback.

This change also fixes trivial harmless bug in KeyboardSwitcher.

Bug: 5424681
Change-Id: I62706b49abd7be1dcebc3c5166ea03f426fc8c86
2011-10-07 13:57:49 +09:00
Tadashi G. Takaoka 919a118577 am ce9e4f92: Merge "Use XmlPullParser interface instead of XmlResourceParser"
* commit 'ce9e4f926b69745834df677501e59c6db3744de4':
  Use XmlPullParser interface instead of XmlResourceParser
2011-10-06 18:11:29 -07:00
Tadashi G. Takaoka ce9e4f926b Merge "Use XmlPullParser interface instead of XmlResourceParser" 2011-10-06 18:10:19 -07:00
Alan Viverette b0c8db018d Let accessibility users know to connect a headset when the IME connects to a password field.
Change-Id: If96cd7626950dd12e88a8a97f5e405d303d41e06
2011-10-06 11:02:29 -07:00
satok 931187d058 am c1368a8e: Merge "Fix a bug of the conversion of the correction algorithm"
* commit 'c1368a8efce58f3e513e490e78ade396ef03b1e8':
  Fix a bug of the conversion of the correction algorithm
2011-10-06 08:27:53 -07:00
satok c1368a8efc Merge "Fix a bug of the conversion of the correction algorithm" 2011-10-06 08:25:23 -07:00
satok 57834c20a5 Fix a bug of the conversion of the correction algorithm
Bug: 5414829

+1      25
-1      17
+2       0
-2       0
+3       0
-3       0
+4      15
-4       9
+5       2
-5       9
+6      13
-6       4
+7       3
-7      19

Change-Id: Ie99db961051320ee31d31476ea7c25b1d837c484
2011-10-07 00:23:26 +09:00
Jean Chalard 3e14a85bb2 am 3d36cdcd: Merge "Fix possible NPE in debug mode"
* commit '3d36cdcd2d4a4cfb6fab6d89f1a6fcc62dfce6e6':
  Fix possible NPE in debug mode
2011-10-06 03:45:30 -07:00
Jean Chalard 3d36cdcd2d Merge "Fix possible NPE in debug mode" 2011-10-06 03:44:24 -07:00
Jean Chalard cc23c303b5 am c53661f1: Fix a possible OutOfBoundsException
* commit 'c53661f152f2d676f8cec656cbdd93adfa7fc908':
  Fix a possible OutOfBoundsException
2011-10-06 03:40:35 -07:00
Jean Chalard 51075d145a Fix possible NPE in debug mode
Change-Id: I55776110a489621c99e9a3bf58daa6fcaf415cb3
2011-10-06 19:36:40 +09:00
Jean Chalard c53661f152 Fix a possible OutOfBoundsException
Change-Id: I6eb13c228738119c78496a96acaedbccefd83cd3
2011-10-06 19:05:23 +09:00
Tadashi G. Takaoka 406a54f41c Use XmlPullParser interface instead of XmlResourceParser
Change-Id: I00e8a82aaaf5fec1e27707bce0a82cbfd1bc9fae
2011-10-06 18:40:32 +09:00
Jean Chalard c5d0415f3e am 3458d618: Make the whitelist an instanciable class.
* commit '3458d61807a03ed7fb8571488ee0fcbff39e07f8':
  Make the whitelist an instanciable class.
2011-10-06 00:42:08 -07:00
Jean Chalard 3458d61807 Make the whitelist an instanciable class.
This goes together with I6b8628b9acc32449e4147a2a754b222fbb76c754
or it will break the build

Bug: 5402436
Change-Id: I07c6266b713773a8de80bb22afdd4c566261f78a
2011-10-06 16:05:21 +09:00
Yusuke Nojima 5a55e7f349 am afb90765: Enable score calibration by touch coordinates
* commit 'afb907650338e66dbdccaf891e13d334b73bcc7f':
  Enable score calibration by touch coordinates
2011-10-05 06:37:39 -07:00
Yusuke Nojima 5e458b8e74 am e4ba822c: Promote touches in hit box according to the distance from sweet spot
* commit 'e4ba822cc6959490868fd8868ffad1c4e9b23992':
  Promote touches in hit box according to the distance from sweet spot
2011-10-05 06:37:34 -07:00
Yusuke Nojima afb9076503 Enable score calibration by touch coordinates
Result of diff.sh:
+1       3
-1       3
+2       0
-2       0
+3       0
-3       0
+4       1
-4       3
+5       3
-5       2
+6       3
-6       1
+7       1
-7       2

Change-Id: I41b803df23ac03e1fc81043df4e1e6a63c0afbb1
2011-10-05 18:11:42 +09:00
Yusuke Nojima e4ba822cc6 Promote touches in hit box according to the distance from sweet spot
Change-Id: Ice0fd0514304a79aed67627c2ea3439bd5177de4
2011-10-05 17:33:43 +09:00
Tadashi G. Takaoka 30d24d8d40 am a62a022e: Merge "Remove unused local variable"
* commit 'a62a022ea710377359312ceeb77f146d80a00401':
  Remove unused local variable
2011-10-04 01:53:54 -07:00
Tadashi G. Takaoka a62a022ea7 Merge "Remove unused local variable" 2011-10-04 01:52:50 -07:00
Yusuke Nojima 7e8480e972 am c25c7ccf: Cache the sweet spot types
* commit 'c25c7ccf25dd45464b82d29adca067f9a941c11c':
  Cache the sweet spot types
2011-10-04 01:31:26 -07:00
Yusuke Nojima 295af5e2a0 am 7afd9102: Merge "Move ProximityInfo::calculateSweetSpotType right after ProximityInfo::setInputParams"
* commit '7afd910242c5008857c28888cb806586fd2dbf5d':
  Move ProximityInfo::calculateSweetSpotType right after ProximityInfo::setInputParams
2011-10-04 01:31:25 -07:00
Yusuke Nojima c25c7ccf25 Cache the sweet spot types
Change-Id: Ibaee062dc55c11892143d48b2d0959e78e52be83
2011-10-04 17:22:41 +09:00
Yusuke Nojima 7afd910242 Merge "Move ProximityInfo::calculateSweetSpotType right after ProximityInfo::setInputParams" 2011-10-04 01:06:46 -07:00
Yusuke Nojima 16717159ff Move ProximityInfo::calculateSweetSpotType right after ProximityInfo::setInputParams
Change-Id: Ifc76ab0aa3e9467d54696bb8b84bf523f001938a
2011-10-04 17:04:07 +09:00
Tadashi G. Takaoka cf6d374505 Remove unused local variable
Change-Id: Ia71e03ee59153db1dbc35028569f7c76d5b12bf7
2011-10-04 16:46:15 +09:00
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