Commit Graph

30602 Commits (e03aef8f1d3dfac4a2180f5bbae03a8939b5c1b3)

Author SHA1 Message Date
Yohei Yukawa 0b58617951 Merge "Fix inconsistent behavior with backspace in the Emoji pallete." 2014-01-27 08:11:51 +00:00
Jean Chalard 0fd556ceca [IL74] Remove unused/unwanted arguments to a method.
Bug: 8636060
Change-Id: I3c5213cc57b5b5febd25f14d40c197d2da43dfb8
2014-01-27 16:48:17 +09:00
Yohei Yukawa ea8c1c811c Fix inconsistent behavior with backspace in the Emoji pallete.
In some ways, the delete key on the Emoji palette was
inconsistent with that in other keyboard layouts.
- It deletes a character in down events, not up events.
- A user cannot cancel the event by moving the finger away from
  the key.

This patch fixes these inconsistencies by revisin
EmojiPalettesView.DeleteKeyOnTouchListener. Notable changes are:
- An explicit state machine is introduced because there are
  different event sequences to be considered.
- Background thread is replaced with CountDownTimer so tha
  key-repeat events can be naturally generated in the UI thread.
- MotionEvent.ACTION_MOVE is now handled to cancel the
  subsequent delete key events when the finger is moved away
  from the key area.

Bug: 12464067
Change-Id: Ibc360a1394afef368a8d9af7b4c0e99e8ce1d83c
2014-01-27 16:24:51 +09:00
Tadashi G. Takaoka 4bc31d5111 am f3ca92dd: Merge "Use ViewCompat support library"
* commit 'f3ca92dd33254e0c7cc87e9ffac0cfc41c4ea3f5':
  Use ViewCompat support library
2014-01-26 23:23:12 -08:00
Tadashi G. Takaoka f3ca92dd33 Merge "Use ViewCompat support library" 2014-01-27 07:21:41 +00:00
Ken Wakasa 3873ee735d am 03283b63: Follow up to Ic7d2cbb2c1b2deaa4e735484bdc7413c0b3b1939
* commit '03283b636c0c35bfd4ff8fe6b30db27fad5cf824':
  Follow up to Ic7d2cbb2c1b2deaa4e735484bdc7413c0b3b1939
2014-01-26 23:19:57 -08:00
Tadashi G. Takaoka e7ee4fa862 Use ViewCompat support library
Change-Id: I4ba261752750f5087cba810045669512b430b5e0
2014-01-27 16:11:03 +09:00
Ken Wakasa 03283b636c Follow up to Ic7d2cbb2c1b2deaa4e735484bdc7413c0b3b1939
some cleanups as well

Change-Id: I92252eb7b13cb70283a79f50429ed77405ea9575
2014-01-27 16:08:27 +09:00
Keisuke Kuroyanagi 3dfdd307ce am 963d97af: Merge "Add length check for dict update operations."
* commit '963d97af6d83f62c48a4395caca8ac64972f8a57':
  Add length check for dict update operations.
2014-01-24 16:51:17 -08:00
Keisuke Kuroyanagi c9243ca1f7 am 95043145: Merge "Check length of words for personalization dict."
* commit '95043145df6d943849f871a80802fc40c5c8ff5b':
  Check length of words for personalization dict.
2014-01-24 16:47:53 -08:00
Keisuke Kuroyanagi 963d97af6d Merge "Add length check for dict update operations." 2014-01-25 00:47:27 +00:00
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