Commit Graph

30522 Commits (dd26833dc1d42d2bcee53e4e3c306f60c0a74843)

Author SHA1 Message Date
Jean Chalard 3aa2043a66 Merge "[IL76] Remove a SuggestionStripView dependency" 2014-01-23 10:06:42 +00:00
Jean Chalard 647466f729 am f16a2a36: [IL71.1] Add some javadoc.
* commit 'f16a2a36d21a2596db48bf3ba05d0f97339581bf':
  [IL71.1] Add some javadoc.
2014-01-23 00:55:25 -08:00
Jean Chalard f16a2a36d2 [IL71.1] Add some javadoc.
Change-Id: I382abd3104d535a1e868935d8cfb4e34ad8ebaed
2014-01-23 17:11:47 +09:00
Jean Chalard a1ed211c4e [IL76] Remove a SuggestionStripView dependency
This constant is better located in SuggestedWords.
Or it could be in Constants, that would be fine too.

Bug: 8636060
Change-Id: I3e721bb1e2559f028dce8929eceadfe0478c5924
2014-01-23 16:25:48 +09:00
Jean Chalard f266625220 am 4173610b: [IL66.1] Add a comment
* commit '4173610bc561db1ef8c630cedc9ec7396227765c':
  [IL66.1] Add a comment
2014-01-22 23:14:53 -08:00
Jean Chalard 4173610bc5 [IL66.1] Add a comment
Followup to IL66

Change-Id: I067e72c36f483cc3e3b24736c01843531298b507
2014-01-23 16:00:49 +09:00
Jean Chalard f26e79fac7 am df8310c6: Merge "[IL71] Add indices to toCodePointArray."
* commit 'df8310c6e21b5bcf825d97ed5eb3816bb7ce1b28':
  [IL71] Add indices to toCodePointArray.
2014-01-22 22:52:32 -08:00
Jean Chalard be846fc352 [IL73] Remove all refs to Key and Keyboard in WordComposer
Please hold my gun while I have this nice cup of tea.
Yes !!

Bug: 8636060
Change-Id: I33c8ffe51bb2106b17f7941235ad1e427e3a81f7
2014-01-23 15:52:29 +09:00
Jean Chalard 4b68386775 am 1284e556: [IL70] Remove unused arguments
* commit '1284e556f4ec998c6f3ea80905d690cbb4c9dc82':
  [IL70] Remove unused arguments
2014-01-22 22:52:29 -08:00
Jean Chalard 6fc8dc480f am d1f463ea: [IL69] Oust Keyboard from WordComposer#setComposingWord
* commit 'd1f463eacfaac31a999f7eb1ecaa1668ed3038d4':
  [IL69] Oust Keyboard from WordComposer#setComposingWord
2014-01-22 22:52:27 -08:00
Jean Chalard df8310c6e2 Merge "[IL71] Add indices to toCodePointArray." 2014-01-23 06:50:19 +00:00
Jean Chalard 1284e556f4 [IL70] Remove unused arguments
Bug: 8636060
Change-Id: Iec56bce362ebfc52fedab02b127978abb4f3c7f9
2014-01-23 15:33:14 +09:00
Jean Chalard d1f463eacf [IL69] Oust Keyboard from WordComposer#setComposingWord
Bug: 8636060
Change-Id: I624a45500603dfad355ee3b8b794b2d895219c0b
2014-01-23 15:32:59 +09:00
Jean Chalard 3ccba8fb47 am 9da4b49e: [IL68] Start refactoring setComposingWord
* commit '9da4b49ef626f04a58f79b0894712b6b8e658ae6':
  [IL68] Start refactoring setComposingWord
2014-01-22 22:24:19 -08:00
Jean Chalard 9da4b49ef6 [IL68] Start refactoring setComposingWord
Bug: 8636060
Change-Id: I242b7c264abf380bcd6b6b3c848238921f988e54
2014-01-23 15:15:49 +09:00
Jean Chalard 868d99cb9b am eb6d41a5: [IL67] Externalize a call to the keyboard switcher
* commit 'eb6d41a525b08c1dc347e604e366021a807a367c':
  [IL67] Externalize a call to the keyboard switcher
2014-01-22 21:00:13 -08:00
Jean Chalard 1f753edd79 am ab80b41a: [IL66] Remove two accesses to KeyboardSwitcher.
* commit 'ab80b41a0dee298837b1358457768ee5ac0fc79e':
  [IL66] Remove two accesses to KeyboardSwitcher.
2014-01-22 20:17:48 -08:00
Jean Chalard 18638d30c0 [IL71] Add indices to toCodePointArray.
This is necessary for tests

Bug: 8636060
Change-Id: I50ea401a22e4df72333eda61ca39aa180966ee4b
2014-01-23 13:11:40 +09:00
Jean Chalard eb6d41a525 [IL67] Externalize a call to the keyboard switcher
Bug: 8636060
Change-Id: Ib13a54854e30afb79217a0a1f2aeca50a95ba155
2014-01-23 13:10:02 +09:00
Jean Chalard ab80b41a0d [IL66] Remove two accesses to KeyboardSwitcher.
Bug: 8636060
Change-Id: I3b144993e2bcd552f9b292b8f057c9db4216125c
2014-01-23 13:09:58 +09:00
Jean Chalard 05d9fcff2d am a91dfff5: [IL65] Pull up X,Y processing, step 4
* commit 'a91dfff5e54f68c4003327eeca47286084c35a2f':
  [IL65] Pull up X,Y processing, step 4
2014-01-22 18:44:50 -08:00
Jean Chalard 0f06d8801a am 352286a4: [IL64] Pull up X,Y processing, step 3
* commit '352286a43b0f951a5082ca741c2bd7f501f48c81':
  [IL64] Pull up X,Y processing, step 3
2014-01-22 18:44:48 -08:00
Jean Chalard 782bd10489 am b8216a4e: [IL63] Pull up X,Y processing, step 2
* commit 'b8216a4e7eff303f8803552d47b1e553a7992f5b':
  [IL63] Pull up X,Y processing, step 2
2014-01-22 01:36:33 -08:00
Jean Chalard 992d020c87 am 2b38b5e8: [IL62] Pull up X,Y processing, step 1
* commit '2b38b5e8e60900e45a9d5d591ba6f7f7788e535c':
  [IL62] Pull up X,Y processing, step 1
2014-01-22 01:36:30 -08:00
Jean Chalard a91dfff5e5 [IL65] Pull up X,Y processing, step 4
This works because getKey{X,Y} is a no-op on
Constants.NOT_A_COORDINATE.

Bug: 8636060
Change-Id: I2f7dd96b6011f094110f7978f8ff24ef2a6e2585
2014-01-22 14:44:27 +09:00
Jean Chalard 352286a43b [IL64] Pull up X,Y processing, step 3
Bug: 8636060
Change-Id: Ic051e5d5514d270101b0571a2d30e2caa8f85bc1
2014-01-22 14:44:25 +09:00
Jean Chalard b8216a4e7e [IL63] Pull up X,Y processing, step 2
This also fixes the coordinates passed to logOnDelete and
log onSeparator.

Bug: 8636060
Change-Id: I4703d61ad7de76b501adca18df3a69e06450c9a1
2014-01-22 14:42:52 +09:00
Jean Chalard 2b38b5e8e6 [IL62] Pull up X,Y processing, step 1
This is fine because getKey{X,Y} is idempotent for any
non-keyboard coordinate value.

However this makes a net change : the x,y values passed to
LatinImeLoggerUtils.onNonSeparator are now different.
The point is however that they used to be wrong. The logged
values used not to account for the keyboard padding that
is present on tablets, and in the simulating tools we don't
know about that padding so we couldn't use the coordinates.
The catch here is that other calls like LoggerUtils.onSeparator
should follow suit, but this is too big a change to do it at once.
Follow-up changes will fix them too.

Bug: 8636060
Change-Id: If4b3d3cb1ed4b44c35f23e66aba3b5797236bba7
2014-01-22 14:41:45 +09:00
Jean Chalard 073faa18ee am 591580ee: Merge "[IL61] Remove an internal use of key coordinates"
* commit '591580ee8a084d06343b95e409931d05c7269e3c':
  [IL61] Remove an internal use of key coordinates
2014-01-21 21:21:47 -08:00
Jean Chalard 591580ee8a Merge "[IL61] Remove an internal use of key coordinates" 2014-01-22 05:19:45 +00:00
Keisuke Kuroyanagi 9768c15e22 am c894071b: Merge "Use memmove for all place src and dest can be same."
* commit 'c894071b2d151364eb1fefd8632a1d1cb6d87036':
  Use memmove for all place src and dest can be same.
2014-01-20 11:34:29 -08:00
Keisuke Kuroyanagi c894071b2d Merge "Use memmove for all place src and dest can be same." 2014-01-20 19:31:52 +00:00
Keisuke Kuroyanagi 3e0777e726 Use memmove for all place src and dest can be same.
Change-Id: I03e5c8f95cb22c7096ff545f1181f914b80a6c58
2014-01-20 11:27:01 -08:00
Tadashi G. Takaoka ce750e83f8 am 6e15af26: Merge "Fix newline string resource"
* commit '6e15af26268e122a0e3021d78641072d2a78ea96':
  Fix newline string resource
2014-01-20 02:46:52 -08:00
Tadashi G. Takaoka 528bddec97 am c93cf1c3: Use sorted int[] to represent word separators
* commit 'c93cf1c398fbea8bde4b568dae1fbe2f8d9b4180':
  Use sorted int[] to represent word separators
2014-01-20 02:46:43 -08:00
Tadashi G. Takaoka 6e15af2626 Merge "Fix newline string resource" 2014-01-20 10:45:11 +00:00
Tadashi G. Takaoka c93cf1c398 Use sorted int[] to represent word separators
Change-Id: I4103541d99fe59bfcf12379a1298a0a690497846
2014-01-20 19:40:02 +09:00
Tadashi G. Takaoka 08ce454aa5 Fix newline string resource
The newline string resource "\n" doesn't work off-device simulation.

Bug: 12623502
Change-Id: I3ad63d8afe50be174493d43f00f7191062c87cb7
2014-01-20 19:36:20 +09:00
Tadashi G. Takaoka 1905a54b9a am 5b6ebdbe: Merge "Refactor logic to retrieve relevant suggestions a bit"
* commit '5b6ebdbe9e7c386088dc8a39610b1169954f8743':
  Refactor logic to retrieve relevant suggestions a bit
2014-01-20 01:59:56 -08:00
Tadashi G. Takaoka 5b6ebdbe9e Merge "Refactor logic to retrieve relevant suggestions a bit" 2014-01-20 09:57:43 +00:00
Tadashi G. Takaoka 6bbcc01070 am 837cdd73: Add SpacingAndPunctuationsTests
* commit '837cdd738b7ddbeac04b15230f01e44d247bd50a':
  Add SpacingAndPunctuationsTests
2014-01-20 01:40:32 -08:00
Tadashi G. Takaoka 837cdd738b Add SpacingAndPunctuationsTests
Change-Id: I78d488ad84a11af809ee1f8d3d2fa01a89fbfa28
2014-01-20 18:33:45 +09:00
Tadashi G. Takaoka 3033cc51b8 Refactor logic to retrieve relevant suggestions a bit
Change-Id: Ic7d2cbb2c1b2deaa4e735484bdc7413c0b3b1939
2014-01-20 12:08:25 +09:00
Keisuke Kuroyanagi 6646161f80 am 3f3b0af5: Merge "Fix unit tests by adding @UsedForTesting"
* commit '3f3b0af5b759ef87fbc42935a53b6827c7237f05':
  Fix unit tests by adding @UsedForTesting
2014-01-19 14:48:26 -08:00
Keisuke Kuroyanagi 3f3b0af5b7 Merge "Fix unit tests by adding @UsedForTesting" 2014-01-19 22:47:03 +00:00
Keisuke Kuroyanagi fde4c5f128 Fix unit tests by adding @UsedForTesting
Change-Id: I2d2d226e21a46239077394ab09db88a4bd563460
2014-01-19 13:37:23 -08:00
Keisuke Kuroyanagi b4761d866a am b1814c96: Merge "Make contacts dict and user dict version 4."
* commit 'b1814c9633cdb8863946e20f083ad2504895155e':
  Make contacts dict and user dict version 4.
2014-01-17 12:08:11 -08:00
Keisuke Kuroyanagi b1814c9633 Merge "Make contacts dict and user dict version 4." 2014-01-17 20:05:17 +00:00
Keisuke Kuroyanagi ed95d79cc4 Make contacts dict and user dict version 4.
Bug: 12515251
Change-Id: I0b332e03b9102957bffaea56d4de17b9ee3cef23
2014-01-17 10:30:16 -08:00
Tadashi G. Takaoka 4d1e717b78 am 6a18af63: Refactor RichInputConnection a bit
* commit '6a18af634eda872daad858acbddae2a15452952e':
  Refactor RichInputConnection a bit
2014-01-17 10:11:51 -08:00