Commit graph

31991 commits

Author SHA1 Message Date
Keisuke Kuroyanagi
95043145df Merge "Check length of words for personalization dict." 2014-01-25 00:44:58 +00:00
Keisuke Kuroyanagi
51c5ec10f9 Add length check for dict update operations.
Bug: 12602903
Change-Id: I6835dee8bf8b356f0f1cf6c0531bee5b3415a13f
2014-01-24 16:32:42 -08:00
Keisuke Kuroyanagi
b7197b705b Check length of words for personalization dict.
Bug: 12602903

Change-Id: I1ea4e558b6d2fde425ce28226647ad60095e3488
2014-01-24 16:32:28 -08:00
Ken Wakasa
86795823f7 am 0acd1210: Fix wrong indents.
* commit '0acd121083baf137dc81cd2c5ce4214a9848a82d':
  Fix wrong indents.
2014-01-24 06:59:07 -08:00
Ken Wakasa
0acd121083 Fix wrong indents.
Removed an unused method too.

Change-Id: Id364009fd4e94ec65862fc3651a181e862909a42
2014-01-24 23:55:33 +09:00
Jean Chalard
042b560a80 am 90adbc7f: Fix build
* commit '90adbc7fdf5c18d2b9be1149d3d4927ec5ecf802':
  Fix build
2014-01-23 19:22:33 -08:00
Jean Chalard
90adbc7fdf Fix build
Missing change after a thousandth comment fix

Change-Id: Iec48f892978507fb9823236cd1c5a70209b58b0e
2014-01-24 12:16:22 +09:00
Jean Chalard
341044034c am b6e128cc: Merge "[IL69.1] Move a static method to a utility class."
* commit 'b6e128cc05fa0b4b1f79b6c7eb4d67f44833c7f4':
  [IL69.1] Move a static method to a utility class.
2014-01-23 19:07:26 -08:00
Jean Chalard
b6e128cc05 Merge "[IL69.1] Move a static method to a utility class." 2014-01-24 03:04:12 +00:00
Jean Chalard
1d6e647ac3 [IL69.1] Move a static method to a utility class.
This is a followup to IL69.

Change-Id: Iba154517aa7f75b9f16aa1b808c0da8d84be837f
2014-01-24 11:59:23 +09:00
Jean Chalard
9bbb214edd am 0c725290: Merge "[IL73] Remove all refs to Key and Keyboard in WordComposer"
* commit '0c72529088e02d7dbe496397fbb64089b8acd594':
  [IL73] Remove all refs to Key and Keyboard in WordComposer
2014-01-23 17:58:29 -08:00
Jean Chalard
0c72529088 Merge "[IL73] Remove all refs to Key and Keyboard in WordComposer" 2014-01-24 01:55:57 +00:00
Baligh Uddin
261d4944c4 am 6a39811d: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '6a39811d90ff24b9265d2622c35cfd589ab72886':
  Import translations. DO NOT MERGE
2014-01-23 13:08:49 -08:00
Baligh Uddin
a0d769f3f0 am 2efb58fc: (-s ours) Import translations. DO NOT MERGE
* commit '2efb58fc9822fed6df8b93aff62db455ab5b68a9':
  Import translations. DO NOT MERGE
2014-01-23 13:05:13 -08:00
Baligh Uddin
6a39811d90 Merge "Import translations. DO NOT MERGE" 2014-01-23 21:02:33 +00:00
Baligh Uddin
5047b4aa84 Import translations. DO NOT MERGE
Change-Id: Ib5a8be5d9ac508d57648e4e8811805eea4355fc3
Auto-generated-cl: translation import
2014-01-23 12:25:35 -08:00
Baligh Uddin
9d7c6aafde Import translations. DO NOT MERGE
Change-Id: I4ddadf6504a80fc0955c03496eeefc6c665d0965
Auto-generated-cl: translation import
2014-01-23 12:24:12 -08:00
Baligh Uddin
2efb58fc98 Import translations. DO NOT MERGE
Change-Id: I6c8aa53b9be4c3aa5822a820cc8cfdc3cf31c390
Auto-generated-cl: translation import
2014-01-23 12:22:23 -08:00
Jean Chalard
b8c71e2fa3 am 3aa2043a: Merge "[IL76] Remove a SuggestionStripView dependency"
* commit '3aa2043a66f7fcb5eaba3adae16abf5aa862d652':
  [IL76] Remove a SuggestionStripView dependency
2014-01-23 02:09:31 -08:00
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