Commit Graph

9052 Commits (b87971d66bbc0e9974cb8fe2d1e9dc351fa4e6c2)

Author SHA1 Message Date
Tadashi G. Takaoka 4f1fdc30be Small clean up of KeyboardView.onMeasure
Change-Id: I46830f8482b46c6999b80793c8b4ae860b46e429
2013-08-08 19:15:13 +09:00
Satoshi Kataoka 5c057b3241 Merge "Fix unit tests." 2013-08-08 10:14:27 +00:00
Yuichiro Hanada 7d1ae52ded Fix unit tests.
Change-Id: Ic0013089625e112aaccc888d462330640ef7cc6f
2013-08-08 19:12:35 +09:00
Tadashi G. Takaoka eafd4b4ed9 am 96b444d4: Merge "Remove processMotionEvent from MoreKeysKeyboardView"
* commit '96b444d4292f0834c94b8d56ae124a6d6a947bd3':
  Remove processMotionEvent from MoreKeysKeyboardView
2013-08-08 01:35:24 -07:00
Satoshi Kataoka 6b48c8ba0c am 1181c5ac: Merge "Fix to follow the field naming conventions."
* commit '1181c5acbc6bd8834551d8fadca55d41c886a6d8':
  Fix to follow the field naming conventions.
2013-08-08 01:35:23 -07:00
Tadashi G. Takaoka 96b444d429 Merge "Remove processMotionEvent from MoreKeysKeyboardView" 2013-08-08 08:23:23 +00:00
Satoshi Kataoka 1181c5acbc Merge "Fix to follow the field naming conventions." 2013-08-08 08:06:45 +00:00
Keisuke Kuroyanagi 765179b355 am d7b76727: Merge "Make user and contacts dict use ver3 format."
* commit 'd7b76727b9411a003c66182af20617afd38edde5':
  Make user and contacts dict use ver3 format.
2013-08-08 00:54:41 -07:00
Keisuke Kuroyanagi d7b76727b9 Merge "Make user and contacts dict use ver3 format." 2013-08-08 07:51:36 +00:00
Tadashi G. Takaoka 33482a9b9c Remove processMotionEvent from MoreKeysKeyboardView
Change-Id: I5373df4a7c82f964f99acf70325bba8702111a75
2013-08-08 15:30:09 +09:00
Jean Chalard 1c558a31cf am 769aefe0: Merge "Increase CHAR_LIMIT to 29 to accommodate German."
* commit '769aefe00eac18240c70ad37ffd5b6b4fde81390':
  Increase CHAR_LIMIT to 29 to accommodate German.
2013-08-07 23:06:24 -07:00
Jean Chalard 7f2cb76990 Increase CHAR_LIMIT to 29 to accommodate German.
Bug: 10221961
Change-Id: Ib9967f7a258f499d24294da16a9191cc2dda4a32
2013-08-08 15:00:33 +09:00
Keisuke Kuroyanagi b6d48c4c0b Make user and contacts dict use ver3 format.
Bug: 6669677
Change-Id: I6a20eed2c8afdd1c16ada5bf85067864c7cd2a7f
2013-08-08 14:57:19 +09:00
Yuichiro Hanada 71ffcc6332 Fix to follow the field naming conventions.
Change-Id: I9b41b5f34e93a3f291a352cd85c5ac257beaa9ab
2013-08-08 12:03:36 +09:00
Jean Chalard 37fa494cd5 am 4456d1a8: Merge "Have double-space-to-period cancel leave a single space"
* commit '4456d1a8c18a4c674c8394570550f2977f5f117b':
  Have double-space-to-period cancel leave a single space
2013-08-07 19:56:49 -07:00
Jean Chalard 4456d1a8c1 Merge "Have double-space-to-period cancel leave a single space" 2013-08-08 02:52:24 +00:00
Jean Chalard 522d13c302 Have double-space-to-period cancel leave a single space
Bug: 8911898
Change-Id: Ifb4bb63c14dc960d0a53f1511908830093cca012
2013-08-08 11:49:27 +09:00
Baligh Uddin f9456855e0 Merge "Import translations. DO NOT MERGE" 2013-08-07 17:57:23 +00:00
Baligh Uddin 607143c9ce Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-08-07 17:56:37 +00:00
Tadashi G. Takaoka 72b5ff6645 am 083a40b2: Merge "Move createKeyboardSetForSpellChecker to AndroidSpellCheckService"
* commit '083a40b291dbd4d63aabbcb4a1dc1ca27bb46863':
  Move createKeyboardSetForSpellChecker to AndroidSpellCheckService
2013-08-07 03:35:08 -07:00
Tadashi G. Takaoka f6872b3601 am 15b80c4e: Merge "Add ResouceUtils.getDefaultKeyboardHeight"
* commit '15b80c4ec264d8fcc457988bc695453093e6f577':
  Add ResouceUtils.getDefaultKeyboardHeight
2013-08-07 03:35:06 -07:00
Tadashi G. Takaoka 083a40b291 Merge "Move createKeyboardSetForSpellChecker to AndroidSpellCheckService" 2013-08-07 10:32:56 +00:00
Tadashi G. Takaoka 15b80c4ec2 Merge "Add ResouceUtils.getDefaultKeyboardHeight" 2013-08-07 10:32:30 +00:00
Tadashi G. Takaoka 204e7b1401 Move createKeyboardSetForSpellChecker to AndroidSpellCheckService
Change-Id: I4a9065e703e98ffed50f2a6d76ace938dfc26ddf
2013-08-07 19:24:22 +09:00
Tadashi G. Takaoka 3897a43940 Add ResouceUtils.getDefaultKeyboardHeight
Change-Id: I377f6a83ec86b0345b170e7ad995d4577220d0ad
2013-08-07 19:23:31 +09:00
Tadashi G. Takaoka 3cbcdd3a14 am 2cb9a143: Merge "Make key label from supplementary code point"
* commit '2cb9a1434ea1d22a37f1396b20670c4b0589c120':
  Make key label from supplementary code point
2013-08-07 03:02:46 -07:00
Tadashi G. Takaoka 2cb9a1434e Merge "Make key label from supplementary code point" 2013-08-07 09:59:41 +00:00
Tadashi G. Takaoka 45d0205862 Make key label from supplementary code point
Change-Id: I0a7834b5c4908a2116a8772cf85985ab8bed7091
2013-08-07 18:34:20 +09:00
Satoshi Kataoka 3c6d5041bc am c05b3b56: Merge "Add a session for the personalization dictionary"
* commit 'c05b3b56cc6af7ae33983792b8601c869d2ff4aa':
  Add a session for the personalization dictionary
2013-08-07 01:47:26 -07:00
Satoshi Kataoka c05b3b56cc Merge "Add a session for the personalization dictionary" 2013-08-07 08:45:19 +00:00
Tadashi G. Takaoka 145ac75c0d am 7de0331a: Merge "Remove orientation member from KeyboardId"
* commit '7de0331a19bbe07a2689d7b49ae9a798a9451c2c':
  Remove orientation member from KeyboardId
2013-08-07 00:54:05 -07:00
Satoshi Kataoka 80aa7197b4 Add a session for the personalization dictionary
Bug: 9429906
Bug: 4192129

Change-Id: I361ab380edeee5a8a8b364df3f9f4ab202b79105
2013-08-07 16:44:30 +09:00
Tadashi G. Takaoka 15c42454c0 Remove orientation member from KeyboardId
Change-Id: I2c16134a24088dbc30b74ae7c5bc578a9d84a960
2013-08-07 16:32:54 +09:00
Jean Chalard f7959a3af5 am 0f47d516: Merge "Reword "No language""
* commit '0f47d5163dabb7b4205826dd2d829a55c8621577':
  Reword "No language"
2013-08-06 09:29:19 -07:00
Tadashi G. Takaoka 9f87373ea7 am 8ba87982: Merge "Consolidate forwardTouchEvent with dispatchTouchEvent"
* commit '8ba8798290388ed740f0ca4f01e74b11847b6d44':
  Consolidate forwardTouchEvent with dispatchTouchEvent
2013-08-06 09:29:17 -07:00
Tadashi G. Takaoka 7fbda5f047 am cc38bfb5: Merge "Add emoji icon and code as a groundwork"
* commit 'cc38bfb5d3bc48fae1a789d35441e96fd3d0d63c':
  Add emoji icon and code as a groundwork
2013-08-06 09:29:16 -07:00
Tadashi G. Takaoka 5f88fa8058 am daab5caf: Merge "Remove unnecessary suggestion strip container"
* commit 'daab5cafd288da696e9e9776eb0da8bd0863dcf7':
  Remove unnecessary suggestion strip container
2013-08-06 09:29:14 -07:00
Jean Chalard 0f47d5163d Merge "Reword "No language"" 2013-08-06 11:11:21 +00:00
Baligh Uddin e60fb5b716 Import translations. DO NOT MERGE
Change-Id: Idb528323e197ce6e2de7ec3fe5e764fffc72e53e
Auto-generated-cl: translation import
2013-08-06 02:29:15 -07:00
Baligh Uddin f8c8140106 Import translations. DO NOT MERGE
Change-Id: I1a07b23ba76af93435bc8305c20edfd23c51114c
Auto-generated-cl: translation import
2013-08-06 02:24:54 -07:00
Tadashi G. Takaoka 8ba8798290 Merge "Consolidate forwardTouchEvent with dispatchTouchEvent" 2013-08-06 06:38:33 +00:00
Tadashi G. Takaoka cc38bfb5d3 Merge "Add emoji icon and code as a groundwork" 2013-08-06 05:35:14 +00:00
Tadashi G. Takaoka b127d88285 Add emoji icon and code as a groundwork
The emoji switching key icon asset should be updated. The icons in
this change are just borrowed from Hangout.

Bug: 10179862
Bug: 6370846
Change-Id: Icea26d2cf2ac6a6df9beb4c98f646dbe309bdcd9
2013-08-06 14:16:15 +09:00
Tadashi G. Takaoka 88f840d2a2 Consolidate forwardTouchEvent with dispatchTouchEvent
Change-Id: Ib73962acff72be0a78a3565028572ad694fb8501
2013-08-06 11:04:51 +09:00
Tadashi G. Takaoka 52d220e71b Remove unnecessary suggestion strip container
Change-Id: I3710e1fe1574c0f69f7f448619e939fb45e9b8d3
2013-08-06 10:57:47 +09:00
Tadashi G. Takaoka 7c2ea3dfc0 am 20239759: Merge "Small optimization for readability"
* commit '202397598856d924c02c8f963425f224a2d9547f':
  Small optimization for readability
2013-08-05 17:08:01 -07:00
Tadashi G. Takaoka ce597c1319 am f8d162c3: Merge "Fix keyboard caching bug for testing"
* commit 'f8d162c315e90a2944f12255db43e55c2a22ad35':
  Fix keyboard caching bug for testing
2013-08-05 17:08:00 -07:00
Tadashi G. Takaoka 2023975988 Merge "Small optimization for readability" 2013-08-06 00:04:35 +00:00
Tadashi G. Takaoka f8d162c315 Merge "Fix keyboard caching bug for testing" 2013-08-06 00:03:59 +00:00
Tadashi G. Takaoka df6ac71e93 am c0a732f0: Remove CODE_RESEARCH
* commit 'c0a732f0320b0d125610adf23d14d742860b5fd3':
  Remove CODE_RESEARCH
2013-08-05 03:39:09 -07:00
Tadashi G. Takaoka c0a732f032 Remove CODE_RESEARCH
Instead of CODE_RESEARCH, special outputText ".research." is used to
invoke a research feedback dialog.

Change-Id: Ic95c956ab4f2b5f0c3f2205c9bbcdcfb67db5d6e
2013-08-05 19:05:07 +09:00
Tadashi G. Takaoka de7d659ebd am b2c21033: Merge "Small cleanup"
* commit 'b2c21033ab4c94a718b0bb8725a467d66083c353':
  Small cleanup
2013-08-05 02:49:16 -07:00
Tadashi G. Takaoka b2c21033ab Merge "Small cleanup" 2013-08-05 09:47:24 +00:00
Tadashi G. Takaoka 28a148681e Small cleanup
Change-Id: I7dce7373b371f1ed5a985815f5d43fb6c6ee1f84
2013-08-05 18:46:35 +09:00
Jean Chalard bb9603aa0f am 965b7266: Fix a typo
* commit '965b7266c2ed014bc08da6ef1f31c3d01d131b1e':
  Fix a typo
2013-08-05 02:19:44 -07:00
Jean Chalard c5beb522ed Reword "No language"
Bug: 10064334
Change-Id: Ie4e6c333566eee9000fa5c8e59e9df8b9b56a5b3
2013-08-05 18:16:35 +09:00
Jean Chalard 965b7266c2 Fix a typo
Change-Id: Ie724a444ce056ee43b7ca2f10f30cce5843e61ad
2013-08-05 18:13:29 +09:00
Tadashi G. Takaoka 0016d51ab8 Small optimization for readability
Change-Id: I8a24fc0981e58a7dc30f0577c4415a1d3bc5ed4d
2013-08-05 17:36:28 +09:00
Tadashi G. Takaoka 95f9b95dfb Fix keyboard caching bug for testing
Change-Id: I00584a68d868f38c065bb6a41e8e5f4eafd44e7f
2013-08-05 17:35:08 +09:00
Satoshi Kataoka bdc8767c03 am 93f4c84d: Fix build
* commit '93f4c84d9576c9e3b70f273940091b74cff23b13':
  Fix build
2013-08-02 04:44:46 -07:00
Satoshi Kataoka 93f4c84d95 Fix build
Change-Id: I5748f7fb753f06e7be31e94c5e665130d818c4a9
2013-08-02 20:39:48 +09:00
Satoshi Kataoka aa734f4199 am 33592d1b: Merge "Add a debug preference for using only personalization dictionary"
* commit '33592d1bee77f25321d6912f5f9f5fdd9e495885':
  Add a debug preference for using only personalization dictionary
2013-08-02 04:33:16 -07:00
Jean Chalard 9cd592c210 am ba2f4f84: Merge "Fix a concurrency bug."
* commit 'ba2f4f84cab1e5910968b93e26f1c2f08c8642b3':
  Fix a concurrency bug.
2013-08-02 04:33:13 -07:00
Ken Wakasa f56a8cc89c am 6333ed38: Small cleanup
* commit '6333ed3801089a7422465d9d7af00e5ec4c93138':
  Small cleanup
2013-08-02 04:33:11 -07:00
Satoshi Kataoka 33592d1bee Merge "Add a debug preference for using only personalization dictionary" 2013-08-02 11:30:20 +00:00
Jean Chalard ba2f4f84ca Merge "Fix a concurrency bug." 2013-08-02 11:28:45 +00:00
Jean Chalard 10d66669c7 Fix a concurrency bug.
This probably only ever happens in tests, but still, that's
the right thing to do.

Bug: 10139031
Change-Id: I259be9e7306162e19faf738a093a77762f2e7675
2013-08-02 20:26:37 +09:00
Ken Wakasa 6333ed3801 Small cleanup
Change-Id: I7a35eb4cb7cee4c120236a2bc1974d7b345f4188
2013-08-02 20:22:51 +09:00
Satoshi Kataoka d7491e6e81 Add a debug preference for using only personalization dictionary
Bug: 9429906
Change-Id: I2003060c7065e736d42f3b3303fbba549358dd18
2013-08-02 20:10:57 +09:00
Ken Wakasa 0a856c2d23 am 52876bbe: Remove unnecessary setLayerType() calls
* commit '52876bbefd774e8647910f73a2e4c17ac4e6bf5c':
  Remove unnecessary setLayerType() calls
2013-08-02 03:36:32 -07:00
Ken Wakasa 52876bbefd Remove unnecessary setLayerType() calls
Calling up setLayerType(LAYER_TYPE_HARDWARE, ..) on non-HW accelerated
devices was ending up with having a drawing cache in View that is not
quite needed for PreviewPlacerView.

bug: 8967766

Change-Id: Ic8e6eeaf536530ff5f23eb353b0a8e5ba96fa0e2
2013-08-02 19:30:05 +09:00
Ken Wakasa eba1ad955e am 82018f99: Forgot to reset the matrix of offscreen canvas
* commit '82018f99727a104aa77ab4d48f8b9a9858479453':
  Forgot to reset the matrix of offscreen canvas
2013-08-02 02:58:48 -07:00
Ken Wakasa 82018f9972 Forgot to reset the matrix of offscreen canvas
Follow up to I5bc980c4dc41bc304be3c190934c1f7c55c9d244

bug: 8967766
Change-Id: I37c2e8e70ff4966ca5e4f29e5cac8349d8fe73b6
2013-08-02 18:51:57 +09:00
Tadashi G. Takaoka 197c60342b am e08c418f: Move motion event dispatcher to PointerTracker
* commit 'e08c418ff8b374244677960903cee8dd52a4d831':
  Move motion event dispatcher to PointerTracker
2013-08-02 00:40:26 -07:00
Tadashi G. Takaoka e08c418ff8 Move motion event dispatcher to PointerTracker
Change-Id: I967bf4629b7d1002be6aff6007dc03d2db05c562
2013-08-02 16:34:44 +09:00
Ken Wakasa 31a61ce387 am ed56ea86: Merge "Deallocate offscreen buffer for non-HW-accel draw"
* commit 'ed56ea86d0114e85763e449a05b40e670addfc48':
  Deallocate offscreen buffer for non-HW-accel draw
2013-08-01 02:31:22 -07:00
Tadashi G. Takaoka f2b5432107 am 54dd1bed: Clean up ResearchLogger log method
* commit '54dd1bed528331208f15df2693bcd01004dd471a':
  Clean up ResearchLogger log method
2013-08-01 02:31:21 -07:00
Ken Wakasa ed56ea86d0 Merge "Deallocate offscreen buffer for non-HW-accel draw" 2013-08-01 09:29:24 +00:00
Tadashi G. Takaoka 54dd1bed52 Clean up ResearchLogger log method
Change-Id: I06c30aab462ce5b17157ff71d5d76f9755178080
2013-08-01 18:25:34 +09:00
Tadashi G. Takaoka a7739acfcb am b7f62601: Merge "Move non-distinct multitouch support to a separate class"
* commit 'b7f62601959e81dc08ce33013f023c67a0da9424':
  Move non-distinct multitouch support to a separate class
2013-08-01 02:25:03 -07:00
Tadashi G. Takaoka b6cc3a85ab Move non-distinct multitouch support to a separate class
Move code that support non-distinct multitouch screen device to the
NonDistinchMultitouchHelper class.

Change-Id: I2e44f782b83dbcd095ee8e51c36b0766da0cd457
2013-08-01 18:18:33 +09:00
Ken Wakasa e68d565d0f Deallocate offscreen buffer for non-HW-accel draw
Follow up to I5bc980c4dc41bc304be3c190934c1f7c55c9d244

This frees up 800KB on occam_svelte when LatinIME is in background.
Confirmed the performance effect in keyboard-bring up speed was unperceivable.

bug: 8967766
Change-Id: I0fab179c61179564bd3a0349c9825e7d61f7e1f2
2013-08-01 18:01:48 +09:00
Tadashi G. Takaoka 40f8a487e0 am a299421f: Merge "Remove getTimer() reference except from PointerTracker"
* commit 'a299421f67e6800e3d19021df275029f5d084a8b':
  Remove getTimer() reference except from PointerTracker
2013-08-01 00:57:30 -07:00
Tadashi G. Takaoka a299421f67 Merge "Remove getTimer() reference except from PointerTracker" 2013-08-01 07:53:45 +00:00
Satoshi Kataoka 3f30c09d88 am 503b7902: Merge "Connect the personalization dictionary"
* commit '503b79029a41d672f6a4c22e2d4f24709a1dfc80':
  Connect the personalization dictionary
2013-08-01 00:39:39 -07:00
Satoshi Kataoka 503b79029a Merge "Connect the personalization dictionary" 2013-08-01 07:36:17 +00:00
Satoshi Kataoka 60586b57cf Connect the personalization dictionary
Bug: 9429906
Bug: 4192129
Change-Id: I9c9f3ed7699f74339ad92be6dcddb8a52c377545
2013-08-01 16:33:20 +09:00
Tadashi G. Takaoka 5433ce64c0 Remove getTimer() reference except from PointerTracker
Change-Id: I142eb5b61b932e60452b9b3514d6ddca3d21ec9d
2013-08-01 16:22:53 +09:00
Tadashi G. Takaoka 5bd6016200 am c83da069: Merge "Move key repeat function to PointerTracker"
* commit 'c83da0693997280c1b996154f10ab808b3d957d6':
  Move key repeat function to PointerTracker
2013-08-01 00:09:09 -07:00
Tadashi G. Takaoka 8126e79e08 Move key repeat function to PointerTracker
Change-Id: I26e553692faf48e30e9c43c71fac6980b8432111
2013-08-01 15:45:58 +09:00
Tadashi G. Takaoka f9d919ec84 am 552a4b84: Merge "Add UsabilityStudyLogUtils.writeMotionEvent"
* commit '552a4b84f87452f2df6a3b85bcb6ef33547f70ca':
  Add UsabilityStudyLogUtils.writeMotionEvent
2013-07-31 07:25:27 -07:00
Tadashi G. Takaoka 552a4b84f8 Merge "Add UsabilityStudyLogUtils.writeMotionEvent" 2013-07-31 14:21:04 +00:00
Satoshi Kataoka c4ccf6370c am 567e7f05: Add the personalization prediction dictionary
* commit '567e7f05c131505c24dcad1ea04be09a59512c02':
  Add the personalization prediction dictionary
2013-07-31 06:05:31 -07:00
Satoshi Kataoka 567e7f05c1 Add the personalization prediction dictionary
Bug: 9429906
Bug: 4192129
Change-Id: I0663de025405b2c92eebd528339b82baec97e2ce
2013-07-31 21:37:33 +09:00
Satoshi Kataoka 746c9a4aff am 853d0fd1: Refactor the personalization dictionary
* commit '853d0fd122ab8fd06ee50217d5f7ff960614a144':
  Refactor the personalization dictionary
2013-07-31 05:19:26 -07:00
Satoshi Kataoka 853d0fd122 Refactor the personalization dictionary
Bug: 9429906
Bug: 4192129
Change-Id: I9f094bc5a6ce4652e310e090f1536e43f1f24ad1
2013-07-31 21:15:13 +09:00
Ken Wakasa ac4ec539b5 am 883bd364: Merge "Deallocate gesture trail bitmap when unneeded"
* commit '883bd364eb7905af94c470540950f055094f0d87':
  Deallocate gesture trail bitmap when unneeded
2013-07-31 04:51:12 -07:00
Ken Wakasa 883bd364eb Merge "Deallocate gesture trail bitmap when unneeded" 2013-07-31 11:46:25 +00:00
Ken Wakasa c8814e20b7 Deallocate gesture trail bitmap when unneeded
This frees up 1.7MB on Nexus 4 (occam), and 900KB on occam_svelte while
LatinIME goes to background.
The keyboard bring-up speed feels acceptable on both devices.

bug: 8967766
Change-Id: I5bc980c4dc41bc304be3c190934c1f7c55c9d244
2013-07-31 20:39:32 +09:00
Satoshi Kataoka e59fa27d75 am 3b1eb886: Merge "Refactor the user history dictionary"
* commit '3b1eb886582a6bfab63cee24323f0b139d70087f':
  Refactor the user history dictionary
2013-07-31 03:40:29 -07:00
Satoshi Kataoka 3b1eb88658 Merge "Refactor the user history dictionary" 2013-07-31 10:37:31 +00:00
Satoshi Kataoka 1439130442 Refactor the user history dictionary
Bug: 9429906
Bug: 4192129

Change-Id: If53bc3220627802d82ab7c396d0aabdb658573fa
2013-07-31 19:22:11 +09:00
Jean Chalard 465abf7b16 am 2d7e9273: Fix inconsistencies with mSuggest.
* commit '2d7e92735478115330be21b4fe250eea6e2f71b8':
  Fix inconsistencies with mSuggest.
2013-07-31 03:06:51 -07:00
Tadashi G. Takaoka 30977a151e Add UsabilityStudyLogUtils.writeMotionEvent
Change-Id: I41ee6d1879dc937e1554fedfc603d9bb5bec40f2
2013-07-31 19:05:14 +09:00
Jean Chalard 2d7e927354 Fix inconsistencies with mSuggest.
This should fix some NPEs, but they are so unlikely that we never
see them.

Bug: 10065412
Change-Id: I2aefea1f52024405cc3fda9106fea41a02aaf4d8
2013-07-31 18:59:18 +09:00
Satoshi Kataoka dfe1cfe898 am acb3cc74: Merge "Refactor on the user history dictionary"
* commit 'acb3cc74736342be10b4cbc9339eda383bc34a01':
  Refactor on the user history dictionary
2013-07-31 02:22:28 -07:00
Satoshi Kataoka acb3cc7473 Merge "Refactor on the user history dictionary" 2013-07-31 09:20:06 +00:00
Tadashi G. Takaoka befe69f589 am 310ea9ab: Remove sudden jump touch event hack
* commit '310ea9ab9058e922a562309cb0dc5d5e092000f1':
  Remove sudden jump touch event hack
2013-07-31 01:45:18 -07:00
Tadashi G. Takaoka 310ea9ab90 Remove sudden jump touch event hack
This hack was for Nexus One and Droid that can't run on ICS or later.

Change-Id: I1f9cef2022b0bbb333235e6b7c311c9785a1d894
2013-07-31 17:32:41 +09:00
Tadashi G. Takaoka 53d415370b am 3b5c05f1: Merge "Fix Catalan keyboard layout"
* commit '3b5c05f18c3628a99b5e676af636b6f64e58f1c5':
  Fix Catalan keyboard layout
2013-07-31 01:32:29 -07:00
Tadashi G. Takaoka 3b5c05f18c Merge "Fix Catalan keyboard layout" 2013-07-31 08:01:51 +00:00
Tadashi G. Takaoka 5e2e286290 am fea0862c: Merge "Fix missing Azerbaijani text resource"
* commit 'fea0862cf6eafb676238ea95a80a8ce47db12ce0':
  Fix missing Azerbaijani text resource
2013-07-31 01:01:46 -07:00
Tadashi G. Takaoka fea0862cf6 Merge "Fix missing Azerbaijani text resource" 2013-07-31 07:58:15 +00:00
Tadashi G. Takaoka 087c8a84a5 Fix Catalan keyboard layout
Bug: 10098472
Change-Id: I60e4aa6716f8166ca60ab5687b0faf2d84cd846b
2013-07-31 16:56:34 +09:00
Tadashi G. Takaoka d4a6869d38 Fix missing Azerbaijani text resource
Though Azerbaijani subtype is disabled temporary by Ib8a38f85f4.

Change-Id: I887cf3508bd2945016c506eae1969778ba4582d3
2013-07-31 16:54:46 +09:00
Satoshi Kataoka 87d06afc66 Refactor on the user history dictionary
Bug: 9429906
Bug: 4192129
Change-Id: I1a2bfe96e18119d30a72290aa48746f77a021018
2013-07-31 16:48:55 +09:00
Jean Chalard 5cc606aca6 am 8d46ea91: Merge "Fix some warnings"
* commit '8d46ea915645361856a0b3df3db1c83888cb39ff':
  Fix some warnings
2013-07-31 00:39:38 -07:00
Jean Chalard 81fb25aeb7 am 7d654d8c: Merge "Fix inconsistency with mutable settings."
* commit '7d654d8cae47f50127021918c24201bb1f0e9a06':
  Fix inconsistency with mutable settings.
2013-07-31 00:39:36 -07:00
Tadashi G. Takaoka afa9787573 am 21cabc98: Merge "Fix duplicated apostrophe on AZERTY/tablet"
* commit '21cabc98d58ef3b763ca2a56aec388310f5eb371':
  Fix duplicated apostrophe on AZERTY/tablet
2013-07-31 00:39:35 -07:00
Tadashi G. Takaoka 151a5683e8 am 536e0c79: Merge "Clean up PointerTracker a bit"
* commit '536e0c79cc6d34e03930e4298aa94112d2ec07aa':
  Clean up PointerTracker a bit
2013-07-31 00:39:33 -07:00
Jean Chalard 8d46ea9156 Merge "Fix some warnings" 2013-07-31 07:38:49 +00:00
Jean Chalard 7d654d8cae Merge "Fix inconsistency with mutable settings." 2013-07-31 07:38:22 +00:00
Tadashi G. Takaoka 21cabc98d5 Merge "Fix duplicated apostrophe on AZERTY/tablet" 2013-07-31 07:36:55 +00:00
Tadashi G. Takaoka 536e0c79cc Merge "Clean up PointerTracker a bit" 2013-07-31 07:36:27 +00:00
Jean Chalard 740cb9d29c am 561c4474: Merge "Fix a problem where settings were not renewed correctly."
* commit '561c4474046a665b5b4b06a2a09d31db92c39aab':
  Fix a problem where settings were not renewed correctly.
2013-07-31 00:20:42 -07:00
Jean Chalard 561c447404 Merge "Fix a problem where settings were not renewed correctly." 2013-07-31 07:17:49 +00:00
Jean Chalard 93445b4821 Fix some warnings
Change-Id: I7290cd1fb675a1b85b9b6ac2d464c932b5bca1dd
2013-07-31 16:17:01 +09:00
Tadashi G. Takaoka 2be611b602 Fix duplicated apostrophe on AZERTY/tablet
Bug: 10099353
Change-Id: I2394a7a7900f42a2cf9e962293fae9bd68e58dee
2013-07-31 14:56:17 +09:00
Tadashi G. Takaoka 212165b0b8 Clean up PointerTracker a bit
Change-Id: If4ff87348fbc40f271c68dad255dbc42f9b26eb6
2013-07-31 14:52:18 +09:00
Jean Chalard 37d17ab210 am f8c1aefd: Merge "Clarify the expected cursor position in RichInputConnection."
* commit 'f8c1aefd90fced4edec4eaa8d4a9ded0edc5ccf3':
  Clarify the expected cursor position in RichInputConnection.
2013-07-30 21:58:59 -07:00
Jean Chalard f8c1aefd90 Merge "Clarify the expected cursor position in RichInputConnection." 2013-07-31 04:56:35 +00:00
Jean Chalard aa108f1d7f Clarify the expected cursor position in RichInputConnection.
Change-Id: I4d36a23567415c3a293a588b51b46006256c148f
2013-07-31 12:22:15 +09:00
Baligh Uddin e9087931bd Merge "Import translations. DO NOT MERGE" 2013-07-30 16:38:53 +00:00
Satoshi Kataoka 607d35ccd8 am 323a7aae: Merge "Fix the title of the personal dictionary settings"
* commit '323a7aae6c23cbaf7a2827a6bad2234bc084f0ce':
  Fix the title of the personal dictionary settings
2013-07-30 01:33:48 -07:00
Satoshi Kataoka 323a7aae6c Merge "Fix the title of the personal dictionary settings" 2013-07-30 08:17:01 +00:00
Satoshi Kataoka 8befd36c65 Fix the title of the personal dictionary settings
Bug: 8976598
Change-Id: I9e07ff9e06449e2093b9ba8d6f28a030c69756bc
2013-07-30 15:39:41 +09:00
Jean Chalard c5c226c424 Fix inconsistency with mutable settings.
Change-Id: I0550044199273cecb6f5713aa2e43ae16319cd47
2013-07-30 14:30:24 +09:00
Satoshi Kataoka e71d9ab6da am ab2d2731: Merge "Fix the displayed name of the personal dictionary"
* commit 'ab2d273133a8fe2e1e0a66952d74127629394a4c':
  Fix the displayed name of the personal dictionary
2013-07-29 21:25:52 -07:00
Jean Chalard 74bcc911ea Fix a problem where settings were not renewed correctly.
Bug: 10065412
Change-Id: Id05284f45466cd5b2697a695c3d1bdfbf3cc1f24
2013-07-30 13:22:05 +09:00
Satoshi Kataoka ab2d273133 Merge "Fix the displayed name of the personal dictionary" 2013-07-30 04:21:58 +00:00
Satoshi Kataoka 5123427532 Fix the displayed name of the personal dictionary
Bug: 8976598
Change-Id: I11dd73c8c23b05288c5f417352dc4cc99d489b95
2013-07-30 13:14:08 +09:00
Baligh Uddin 1fa29ffa4a Import translations. DO NOT MERGE
Change-Id: Iac90270d4db88ffff492b36e15a424a50af8dddd
Auto-generated-cl: translation import
2013-07-29 15:52:19 -07:00
Ken Wakasa 856694c03b am b60e65a0: Rename a variable for SettingsValues
* commit 'b60e65a0cce9f20ee5e633921732785f99fffd2e':
  Rename a variable for SettingsValues
2013-07-29 03:00:35 -07:00
Ken Wakasa b60e65a0cc Rename a variable for SettingsValues
Change-Id: Icb4155532ea8724791c9194e8dc75ce32b6e8b16
2013-07-29 18:53:23 +09:00
Jean Chalard 7755379ebd am d9f0c1e0: Merge "Fix an NPE"
* commit 'd9f0c1e02065d457dc004fc26054fa75432e6661':
  Fix an NPE
2013-07-29 02:49:06 -07:00
Jean Chalard d9f0c1e020 Merge "Fix an NPE" 2013-07-29 09:46:32 +00:00
Jean Chalard 5408fec63a Fix an NPE
Also make mSuggest private for more security.

Bug: 10045657
Change-Id: I712505e4d2a2606efff5d09ba9b4c656f9e7c7a9
2013-07-29 18:09:48 +09:00
Satoshi Kataoka d19856b720 am fb9f448b: Merge "Add personalization dictionary helper"
* commit 'fb9f448b8d3ffc3b7d573e340772c38a77523ac4':
  Add personalization dictionary helper
2013-07-28 22:23:33 -07:00
Satoshi Kataoka fb9f448b8d Merge "Add personalization dictionary helper" 2013-07-29 05:21:14 +00:00
Satoshi Kataoka d45e4b6e5b Add personalization dictionary helper
Bug: 9429906
Bug: 4192129

Change-Id: Ic618b0b09a54ed46b20633bd4c1c570d4ac775af
2013-07-29 12:37:27 +09:00
Jean Chalard 35541a727e am 654b0a9c: Merge "Small optimization"
* commit '654b0a9c16b133019d5c68548d799a44164e7724':
  Small optimization
2013-07-26 04:35:03 -07:00
Jean Chalard c4310c43c2 am e7903101: Merge "Use cached data for getTextBeforeCursor."
* commit 'e7903101eaa72f54c78887f09bdb385ce526f1ac':
  Use cached data for getTextBeforeCursor.
2013-07-26 04:35:01 -07:00
Jean Chalard 654b0a9c16 Merge "Small optimization" 2013-07-26 11:30:50 +00:00
Jean Chalard e7903101ea Merge "Use cached data for getTextBeforeCursor." 2013-07-26 11:25:59 +00:00
Jean Chalard 0a064a5d88 Small optimization
Bug: 8864306
Change-Id: Ic8eecd64eff6a1150a90b9f5ec9ebbc5f1d2a6a9
2013-07-26 20:17:55 +09:00
Jean Chalard 8c6537edbd Use cached data for getTextBeforeCursor.
Bug: 8864306
Change-Id: Ia146f711f1de4336d7e3363208ab92eba856f5e1
2013-07-26 20:17:52 +09:00
Satoshi Kataoka d7f75dfb82 am 2a8c75fc: Merge "Add a place holder of the personalization dictionary"
* commit '2a8c75fc4313b44f3fde50ab964bc59c2227b174':
  Add a place holder of the personalization dictionary
2013-07-26 01:46:00 -07:00
Satoshi Kataoka 2a8c75fc43 Merge "Add a place holder of the personalization dictionary" 2013-07-26 08:44:26 +00:00
Satoshi Kataoka 5c15b8f442 Add a place holder of the personalization dictionary
Bug: 9429906
Bug: 4192129

Change-Id: Ieacd0559e0bf286c5933e9dba716289303f533d6
2013-07-26 16:03:04 +09:00
Jean Chalard 87677d7532 am 38e98026: Merge "Revert "Very simple refactoring""
* commit '38e9802690bbb96a00762ce5d172c5a37716fe1d':
  Revert "Very simple refactoring"
2013-07-26 00:01:19 -07:00
Jean Chalard 38e9802690 Merge "Revert "Very simple refactoring"" 2013-07-26 06:58:44 +00:00
Jean Chalard c6a07e16a5 Revert "Very simple refactoring"
This reverts commit f712dc9a4f.
It turns out this refactoring is not useful after all.

Change-Id: I0145c907b3cc5ac9a30a59abcd719cb546c9bd3a
2013-07-26 06:46:56 +00:00
Jean Chalard 25446d31f2 am 0dd23544: Merge "Very simple refactoring"
* commit '0dd23544ffec1ae50c4b56fced22b47e7772f5ed':
  Very simple refactoring
2013-07-25 22:33:22 -07:00
Jean Chalard 0dd23544ff Merge "Very simple refactoring" 2013-07-26 05:30:47 +00:00
Satoshi Kataoka d6ee1ded52 am ffcbbaf1: Refactor on UserHistoryDictionary
* commit 'ffcbbaf12788a9fc9398607a548e552d7d2bf05e':
  Refactor on UserHistoryDictionary
2013-07-25 21:05:21 -07:00
Satoshi Kataoka ffcbbaf127 Refactor on UserHistoryDictionary
Bug: 9429906
Change-Id: I576a91643bdaf5017cc826ac2e07a74a9a275d60
2013-07-26 13:00:19 +09:00
Jean Chalard f712dc9a4f Very simple refactoring
Bug: 8864306
Change-Id: I5c9b118cb6a8eb59efc52d5534b10fcab93182d6
2013-07-26 12:57:12 +09:00
Tadashi G. Takaoka 6360cef8db am adc91027: Merge "Update xxhdpi icon of microphone in label"
* commit 'adc91027d2466ef9539e79874230b3eb4502dee4':
  Update xxhdpi icon of microphone in label
2013-07-25 19:27:56 -07:00
Tadashi G. Takaoka bc6a89ddf1 Update xxhdpi icon of microphone in label
Bug: 8976566
Change-Id: I8718d793c7bbd42b69fafb5b51d49dfe6d8a732c
2013-07-26 10:45:36 +09:00
Tadashi G. Takaoka 3b1e8d55c6 am c3493382: Merge "Cancel all ongoing event when onFinishInputView"
* commit 'c34933828efc2fcb711be4bb7b2b9d7508c4e311':
  Cancel all ongoing event when onFinishInputView
2013-07-25 04:09:58 -07:00
Tadashi G. Takaoka c34933828e Merge "Cancel all ongoing event when onFinishInputView" 2013-07-25 11:08:08 +00:00
Tadashi G. Takaoka 5c095e59f6 Cancel all ongoing event when onFinishInputView
Bug: 9334755
Change-Id: If0c2ac49a50f4a529aefeca603569f9413367469
2013-07-25 20:05:39 +09:00
Tadashi G. Takaoka dfaf547b61 am 21c6d23d: Merge "Add MoreKeysPanel argument to Controller methods"
* commit '21c6d23dcd546cd988864dae086d383cd45d82cf':
  Add MoreKeysPanel argument to Controller methods
2013-07-25 04:01:35 -07:00
Tadashi G. Takaoka 21c6d23dcd Merge "Add MoreKeysPanel argument to Controller methods" 2013-07-25 11:00:25 +00:00
Tadashi G. Takaoka 0e08d70fe5 Add MoreKeysPanel argument to Controller methods
Bug: 9334755
Change-Id: I5a7104f4c98982f11fb4e060fa83c21bfc360558
2013-07-25 19:53:05 +09:00
Tadashi G. Takaoka 846044ce14 am 15c41a61: Merge "Remove boolean return value of dismissing more keys panel"
* commit '15c41a61ad6ad0281542ec4700eaf42fd7cdba0c':
  Remove boolean return value of dismissing more keys panel
2013-07-25 03:47:58 -07:00
Tadashi G. Takaoka 15c41a61ad Merge "Remove boolean return value of dismissing more keys panel" 2013-07-25 10:45:05 +00:00
Tadashi G. Takaoka 09e4530ca7 Remove boolean return value of dismissing more keys panel
Bug: 9334755
Change-Id: Ic29ab69cfbf9007e98fe67695f1854b4876eb976
2013-07-25 17:51:48 +09:00
Jean Chalard 2b6676d13f am e408bbb5: Merge "Fix a bug with multiple word insertion."
* commit 'e408bbb5bf67fa4b5a2846eeb60cb266e29358d9':
  Fix a bug with multiple word insertion.
2013-07-25 01:37:04 -07:00
Jean Chalard e408bbb5bf Merge "Fix a bug with multiple word insertion." 2013-07-25 08:34:41 +00:00
Jean Chalard 23a3fd5bfa Fix a bug with multiple word insertion.
This is a port of I5202bc52

Bug: 7903831
Change-Id: I3eb526de01a1f5b51212166e39b98de1d71e9eaf
2013-07-25 16:33:13 +09:00
Tadashi G. Takaoka 522707adb5 am 058f37f8: Merge "Cosmetic code optimization"
* commit '058f37f8badf646928cfa099240e612c4be76077':
  Cosmetic code optimization
2013-07-25 00:30:39 -07:00
Tadashi G. Takaoka 058f37f8ba Merge "Cosmetic code optimization" 2013-07-25 07:29:02 +00:00
Satoshi Kataoka f8c4d41370 am 5563dc3a: Show all languages if user enables multiple subtypes
* commit '5563dc3ad51a350f67ad857991aa97623a0084b8':
  Show all languages if user enables multiple subtypes
2013-07-25 00:06:39 -07:00
Tadashi G. Takaoka 5b696d8336 Cosmetic code optimization
Change-Id: If20c1936c8d5f23f0b86d02f21f4ff8a6444244c
2013-07-25 15:44:43 +09:00
Satoshi Kataoka 5563dc3ad5 Show all languages if user enables multiple subtypes
Bug: 8976598
Change-Id: I1c3c1ede1235f696eafb3a68ec5c29479768dd0f
2013-07-25 15:15:39 +09:00
Jean Chalard 333245a1b9 am 665e4ecc: Update dictionaries
* commit '665e4ecc621a8a88f92b371ae38fe00e244c3f82':
  Update dictionaries
2013-07-24 21:15:04 -07:00
Jean Chalard 665e4ecc62 Update dictionaries
>>> dictionaries/en_GB_wordlist.combined.gz
Header :
  date : 1374634548 <=> 1374721653
Body :
Added: Caltrain 30

>>> dictionaries/en_US_wordlist.combined.gz
Header :
  date : 1374634548 <=> 1374721654
Body :
Added: Caltrain 30

>>> dictionaries/en_wordlist.combined.gz
Header :
  date : 1374634568 <=> 1374721663
Body :
Added: Caltrain 30

>>> dictionaries/es_wordlist.combined.gz
Header :
  date : 1372393817 <=> 1374721654
  version : 35 <=> 36
Body :
Added: Caltrain 10

>>> java/res/raw/main_en.dict
Header :
  date : 1374634568 <=> 1374721663
Body :
Added: Caltrain 30

>>> java/res/raw/main_es.dict
Header :
  date : 1372393817 <=> 1374721654
  version : 35 <=> 36
Body :
Added: Caltrain 10

Bug: 9995706
Change-Id: Icf96bf01e45ef94d3ffd6d6a9d6431c52f0f5a86
2013-07-25 12:48:55 +09:00
Jean Chalard ea24dac97d am 289df0ec: Merge "[FD4] Separate cached address before/after update for groups"
* commit '289df0ecadb5b6320d8e1f484bf9decc1b726e53':
  [FD4] Separate cached address before/after update for groups
2013-07-24 20:04:57 -07:00
Jean Chalard 289df0ecad Merge "[FD4] Separate cached address before/after update for groups" 2013-07-25 03:03:09 +00:00
Tadashi G. Takaoka 808f6757c2 am cecb63c2: Merge "Make RunInLocale as top-level class"
* commit 'cecb63c2c9968b209258e491c218b86792050dfc':
  Make RunInLocale as top-level class
2013-07-24 06:39:21 -07:00
Tadashi G. Takaoka 2e94df081e am 9ef59af7: Merge "Move subtype related utility class to utils package"
* commit '9ef59af7ceda6facf37b382dfa504b9f3b3f9845':
  Move subtype related utility class to utils package
2013-07-24 06:39:19 -07:00
Tadashi G. Takaoka cecb63c2c9 Merge "Make RunInLocale as top-level class" 2013-07-24 13:34:52 +00:00
Tadashi G. Takaoka 9ef59af7ce Merge "Move subtype related utility class to utils package" 2013-07-24 13:34:35 +00:00
Jean Chalard 25de86a6a2 [FD4] Separate cached address before/after update for groups
This should fix bug#8526576 for good.

Bug: 8526576
Change-Id: I473aad26b69d64efa09d2ec9d8e69f29f5cf4819
2013-07-24 18:40:14 +09:00
Jean Chalard 4322d18832 am 9d313c6c: Merge "[FD3] Split stackNodes into two methods."
* commit '9d313c6ce96bbf47db7651445031793765094d7e':
  [FD3] Split stackNodes into two methods.
2013-07-24 01:40:56 -07:00
Jean Chalard 9d313c6ce9 Merge "[FD3] Split stackNodes into two methods." 2013-07-24 08:39:00 +00:00
Jean Chalard 429db8d61e [FD3] Split stackNodes into two methods.
In the future we need to have a method that computes only
from the size, as we used to have, to initialize the cached
addresses, and a much simpler and faster method to copy
the cached sizes.

Bug: 8526576
Change-Id: I6a5a790303ab8f3bf957c7ca266eb12da7c1ad9e
2013-07-24 17:26:16 +09:00
Jean Chalard 3014ff643f am 2c479e78: Merge "Update dictionaries"
* commit '2c479e783b86b3776cc6d5e9d9a71068b95b6947':
  Update dictionaries
2013-07-24 00:27:34 -07:00
Jean Chalard 2c479e783b Merge "Update dictionaries" 2013-07-24 07:25:05 +00:00
Tadashi G. Takaoka 0c3a9b549c Make RunInLocale as top-level class
Change-Id: I07ed606b7aba098a5be85533e5baff300b21fb44
2013-07-24 16:00:25 +09:00
Tadashi G. Takaoka a410cb48ea Move subtype related utility class to utils package
Change-Id: I3564796531ea85f2ebafde40cd822b806b8741df
2013-07-24 15:52:43 +09:00
Tadashi G. Takaoka 470cd988a4 am 9d802202: Merge "Temporarily disabled Azerbaijani subtype"
* commit '9d802202d73592ed18f2fe7835eff6156497e39d':
  Temporarily disabled Azerbaijani subtype
2013-07-23 23:41:52 -07:00
Tadashi G. Takaoka 9d802202d7 Merge "Temporarily disabled Azerbaijani subtype" 2013-07-24 06:38:57 +00:00
Jean Chalard f0046aea26 Update dictionaries
en, en_GB, en_US:
Add "id" -> "I'd" whitelist entry
Reinstate "id" and "ID" in the respective dicts

fr:
Remove many words that are not French
Change "google" to "Google"

pt_BR:
Delete "idéia"

Change-Id: I942266ac7995345580926f60de45d202aa257ae7
2013-07-24 12:10:06 +09:00
Tadashi G. Takaoka d94de42cb4 Temporarily disabled Azerbaijani subtype
Bug: 9698902
Change-Id: Ib8a38f85f44909bfba42eaf70407d5bd7346feb2
2013-07-24 11:13:31 +09:00
Jean Chalard 9b4d0c7047 am 5526d138: Merge "[FD2] Separate cached address before/after update for nodes."
* commit '5526d138fe76e7d19a58ab68c9ba7a0354172daa':
  [FD2] Separate cached address before/after update for nodes.
2013-07-23 18:57:46 -07:00
Jean Chalard 5526d138fe Merge "[FD2] Separate cached address before/after update for nodes." 2013-07-24 01:56:02 +00:00
Tadashi G. Takaoka d7da546fbb am 6587773f: Merge "Add default keypress vibration duration of HTC J One"
* commit '6587773fcfa26fa277901315859397005e3d1f27':
  Add default keypress vibration duration of HTC J One
2013-07-23 07:10:52 -07:00
Tadashi G. Takaoka 6587773fcf Merge "Add default keypress vibration duration of HTC J One" 2013-07-23 14:08:56 +00:00
Ken Wakasa 14ac4bf1e9 am b9eb3267: Cosmetic fix for the copyright header
* commit 'b9eb32679f27b28051fdd0c5e7cc59805f0bf20f':
  Cosmetic fix for the copyright header
2013-07-23 03:43:13 -07:00
Ken Wakasa b9eb32679f Cosmetic fix for the copyright header
Change-Id: I2a93ac21571d1f6255a72a1a238b03dbb95108de
2013-07-23 19:39:03 +09:00
Tadashi G. Takaoka 3029b25000 Add default keypress vibration duration of HTC J One
This change also removes obsolete HTC One Google Play edition's model
name.

Change-Id: Ic396d1a2288c8926782c3f0bc930170d468c047b
2013-07-23 19:38:29 +09:00
Ken Wakasa dc3b0c812a am 50a29b80: Merge "Fix wrong copyright header comment"
* commit '50a29b808257b71710f2c3dab04030b883e40d83':
  Fix wrong copyright header comment
2013-07-23 03:31:20 -07:00
Ken Wakasa 50a29b8082 Merge "Fix wrong copyright header comment" 2013-07-23 10:29:05 +00:00
Ken Wakasa db341afc65 Fix wrong copyright header comment
Change-Id: I75ffbc0508c00f7ac8004b764667a174b6ab0b63
2013-07-23 19:26:05 +09:00
Tadashi G. Takaoka 116bfe9356 am 8c04df20: Temporarily disabled Kazakh subtype
* commit '8c04df2006a0ff1f0733c7344aeb62e875cba4bb':
  Temporarily disabled Kazakh subtype
2013-07-23 03:14:15 -07:00
Tadashi G. Takaoka 8c04df2006 Temporarily disabled Kazakh subtype
Bug: 9698902
Change-Id: Ic44ef378a979de364ce56aa41c6c3c95fec9709c
2013-07-23 18:34:06 +09:00
Jean Chalard 91cbe3566d [FD2] Separate cached address before/after update for nodes.
Bug: 8526576
Change-Id: Ib9f8594a9e12dc75eba296faff2612c4bd7483d3
2013-07-23 17:52:54 +09:00
Tadashi G. Takaoka 34476d0205 am a005d09d: Merge "Fix prefs.xml"
* commit 'a005d09dd186254a50c60fb86b8b20012c561be3':
  Fix prefs.xml
2013-07-22 21:30:26 -07:00
Tadashi G. Takaoka 318cb109f1 Fix prefs.xml
This is a follow up of Id170dbfe2d.

Change-Id: I52e4f44b7d135f51551b912c44e1dd354c16d125
2013-07-23 13:24:45 +09:00
Tadashi G. Takaoka 20c03e2d16 am e6c51847: Fix NPE in SubtypeLocale.getSubtypeDisplayName
* commit 'e6c51847426121246cc8b48f42f8f5668db71cdb':
  Fix NPE in SubtypeLocale.getSubtypeDisplayName
2013-07-22 21:04:22 -07:00
Tadashi G. Takaoka e6c5184742 Fix NPE in SubtypeLocale.getSubtypeDisplayName
This change moves the methods that create the subtype display name for
spacebar from MainKeyboardView to SubtypeLocale class, and
consolidates SpacebarTextTests with SubtypeLocaleTests.

Bug: 9962955
Change-Id: Ifa0a08ff80bc30753a213c2feb471599ca63fa66
2013-07-23 13:00:04 +09:00
Jean Chalard 0f38876a62 am 1676b838: Merge "Fix a bug when moving the pointer in a > 48 chars word"
* commit '1676b8387f753212da2642f6caf6b838e649d827':
  Fix a bug when moving the pointer in a > 48 chars word
2013-07-22 01:30:59 -07:00
Ken Wakasa 4c606e6a25 am a6906a62: Merge "Move settings related classes to "settings""
* commit 'a6906a62483dbb2a60ef1477c46b84035a26e6b7':
  Move settings related classes to "settings"
2013-07-22 01:30:58 -07:00
Jean Chalard 1676b8387f Merge "Fix a bug when moving the pointer in a > 48 chars word" 2013-07-22 08:04:43 +00:00
Jean Chalard 5fa2202e36 Fix a bug when moving the pointer in a > 48 chars word
Bug: 9892261
Change-Id: I9db20c5b20a0764bd9f5b5e2bdc98180bbb9ec15
2013-07-22 17:02:09 +09:00
Ken Wakasa a6906a6248 Merge "Move settings related classes to "settings"" 2013-07-22 08:01:11 +00:00
Ken Wakasa a7d2fc6bef Move settings related classes to "settings"
Change-Id: Id170dbfe2dcfc93130b7be4a84615940403ec37f
2013-07-22 16:35:44 +09:00
Tadashi G. Takaoka 3b84f81ba4 am 71dc7a38: Fix missing Devanagari digit 9
* commit '71dc7a3876de2f8b10ca3cdc3b70015a29d2b978':
  Fix missing Devanagari digit 9
2013-07-21 23:05:50 -07:00
Tadashi G. Takaoka 71dc7a3876 Fix missing Devanagari digit 9
Change-Id: I487cb5177a6680ad8852a045392c10a324524df6
2013-07-22 14:55:46 +09:00
Tadashi G. Takaoka b62a5ed1e1 am dc711101: Merge "Fix IllegalArgumentException in MoreKeysKeyboard"
* commit 'dc7111013f84ca5f82998a875054c28fec829358':
  Fix IllegalArgumentException in MoreKeysKeyboard
2013-07-18 23:46:51 -07:00
Tadashi G. Takaoka dc7111013f Merge "Fix IllegalArgumentException in MoreKeysKeyboard" 2013-07-19 06:44:54 +00:00
Ken Wakasa db07b716fd am a4c44654: Merge "Move a couple classes to the utils package"
* commit 'a4c44654beb008b5f623f8c30b2e713b720aa457':
  Move a couple classes to the utils package
2013-07-18 20:15:05 -07:00
Ken Wakasa a4c44654be Merge "Move a couple classes to the utils package" 2013-07-19 03:13:57 +00:00
Tadashi G. Takaoka edc2bb730e am 2e0f750a: Reorder more keys of ALEF in Arabic and Persian
* commit '2e0f750abb7bd209d87acfdd1045a4269cb12558':
  Reorder more keys of ALEF in Arabic and Persian
2013-07-18 19:45:55 -07:00
Tadashi G. Takaoka b0e76724ed Fix IllegalArgumentException in MoreKeysKeyboard
It seems that MainKeyboardView.getMeasuredWidth() returns weird
value. Using KeyboardId.mWidth as main keyboard width may resolve the
issue.

Bug: 9684622
Change-Id: I975bfb934b8d2448e72555a3ccae0123341186b9
2013-07-19 11:43:50 +09:00
Tadashi G. Takaoka 2e0f750abb Reorder more keys of ALEF in Arabic and Persian
Regarding the frequency of letters, the visual order of the more keys
of Alef should be (in a left-to-righ fashion):

[Arabic]
1. Alef Madda above
2. Hamza
3. Alef Hamza above <-- center of the more keys
4. Alef Hamza below
5. Alef Wasla

[Persian]
1. Alef Wasla
2. Hamza
3. Alef Madda above <-- center of the more keys
4. Alef Hamza above
5. Alef Hamza below

Bug: 9371393
Change-Id: I5f458f1123fccb992b684878dacf15cce804bd51
2013-07-19 10:52:16 +09:00
Ken Wakasa b03447e1af Move a couple classes to the utils package
Change-Id: Ia14a2011d79bad7cd02697b9254705f6e2099442
2013-07-19 10:46:46 +09:00
Tadashi G. Takaoka def0cb3587 am 03a76a07: Merge "Restrict bogus events hack to certain classes of tablets"
* commit '03a76a07e2454271e67cfe1a6b563e7e32087a06':
  Restrict bogus events hack to certain classes of tablets
2013-07-18 01:42:22 -07:00
Tadashi G. Takaoka 03a76a07e2 Merge "Restrict bogus events hack to certain classes of tablets" 2013-07-18 08:40:44 +00:00
Tadashi G. Takaoka 536438a45e Restrict bogus events hack to certain classes of tablets
Bug: 9061320
Change-Id: Ib8c6a5e6db5da99c447bc00867fed51ca959cc3a
2013-07-18 15:49:11 +09:00
Jean Chalard 7a54dc88c4 am 257750d9: [FD1] Move parents\' address computation outside
* commit '257750d988b2f6499d5f7b2439c8f46df9ea3369':
  [FD1] Move parents' address computation outside
2013-07-17 04:53:17 -07:00
Jean Chalard 257750d988 [FD1] Move parents' address computation outside
There is no need to do it repeatedly in this loop: it's
clearer and faster to do it at the end only.

Bug: 8526576
Change-Id: I707571179c89479830891ec6d4fd06a9fffed7c1
2013-07-17 20:47:53 +09:00
Tadashi G. Takaoka a62621ca56 am 1a894aeb: Merge "Distinguish key press in repeat key"
* commit '1a894aeb82b635d345fbdf1e520d7c21395d7acb':
  Distinguish key press in repeat key
2013-07-16 03:28:22 -07:00
Tadashi G. Takaoka 1a894aeb82 Merge "Distinguish key press in repeat key" 2013-07-16 10:26:10 +00:00
Tadashi G. Takaoka 6455172a70 Distinguish key press in repeat key
Bug: 9859367
Change-Id: Iad643f9785b193e1918a8363de4fefc3b7558bdf
2013-07-16 19:21:16 +09:00
Jean Chalard 8ab3c1bf44 am d893fe5d: Merge "Don\'t put spaces before and after asterisks"
* commit 'd893fe5dbb81c77ebe8040cf46e4747d2b4e4095':
  Don't put spaces before and after asterisks
2013-07-16 01:31:18 -07:00
Jean Chalard d893fe5dbb Merge "Don't put spaces before and after asterisks" 2013-07-16 08:07:53 +00:00
Tadashi G. Takaoka c4c6d05c6f am 488659e1: Merge "Add xxhdpi assets"
* commit '488659e1541f5b6ea915682736d73256d601222d':
  Add xxhdpi assets
2013-07-16 00:34:03 -07:00
Tadashi G. Takaoka 488659e154 Merge "Add xxhdpi assets" 2013-07-16 07:31:43 +00:00
Jean Chalard d160926659 am 2bc980ee: Merge "Serialize commands sent to a separate threads"
* commit '2bc980ee28f899f9647b2f1d64569c1bf0a062fc':
  Serialize commands sent to a separate threads
2013-07-16 00:23:36 -07:00
Jean Chalard 2bc980ee28 Merge "Serialize commands sent to a separate threads" 2013-07-16 07:21:07 +00:00
Jean Chalard 6a7a569831 Serialize commands sent to a separate threads
Bug: 9715797
Change-Id: I1eda4d2f0056f70cfb8a92d658e0875706efc170
2013-07-16 15:54:39 +09:00
Tadashi G. Takaoka 20d498a78d Add xxhdpi assets
Bug: 8976566
Change-Id: I00034994fe2c619e91362cbaddc722597a1ae22f
2013-07-16 15:46:04 +09:00
Tadashi G. Takaoka 0a951d55a0 am 0d47f284: Merge "Move punctuations to more key of z in dvorak"
* commit '0d47f2844809afb173a54a38ff582c909af4c069':
  Move punctuations to more key of z in dvorak
2013-07-15 23:03:54 -07:00
Tadashi G. Takaoka 0d47f28448 Merge "Move punctuations to more key of z in dvorak" 2013-07-16 06:02:22 +00:00
Jean Chalard 8850a158f8 am 988a1f31: Merge "Fix a bug with bad view reuse."
* commit '988a1f3132d2e13fcd108ef945f91d9f30d8e222':
  Fix a bug with bad view reuse.
2013-07-15 22:46:07 -07:00
Jean Chalard 988a1f3132 Merge "Fix a bug with bad view reuse." 2013-07-16 05:43:15 +00:00
Jean Chalard a45075f3ca am 4d4310df: Merge "Fix a wrong call to cancel downloads"
* commit '4d4310df755a12be7b93f18c25f8e2389c33831c':
  Fix a wrong call to cancel downloads
2013-07-15 22:42:54 -07:00
Jean Chalard 4d4310df75 Merge "Fix a wrong call to cancel downloads" 2013-07-16 05:40:16 +00:00
Tadashi G. Takaoka ac675de10d Move punctuations to more key of z in dvorak
Bug: 9862531
Change-Id: I957729b30e5cf3cf6f3f1ea4bb643922bc7ed068
2013-07-16 14:36:13 +09:00
Jean Chalard 6912342a48 Fix a bug with bad view reuse.
There are many ways to fix this problem but this is the most
direct way. Removing a view from the cache when any animation
is started will ensure it won't be used again, and will be garbage
collected when it's possible. Since views are created on demand
anyway, a new one will just get created when needed, and that's
it.

Bug: 9400128
Change-Id: I4945d2859d642e79694d51ae90cf4f5bde9a5f1d
2013-07-16 14:12:55 +09:00
Keisuke Kuroynagi 1a16cdc60c am 4944827e: Merge "Add methods for dynamic updating binary dictionary."
* commit '4944827e0fdb5657a7f9305c317464edb0ef2b08':
  Add methods for dynamic updating binary dictionary.
2013-07-15 19:47:53 -07:00
Keisuke Kuroynagi 4944827e0f Merge "Add methods for dynamic updating binary dictionary." 2013-07-16 02:45:01 +00:00
Kurt Partridge 83196d0b57 am 8bfd5782: Merge "Do not output string-encoded MotionEvent."
* commit '8bfd57820f840d82dafad33c1d2f44c54f461fc1':
  Do not output string-encoded MotionEvent.
2013-07-15 10:38:59 -07:00
Kurt Partridge 8bfd57820f Merge "Do not output string-encoded MotionEvent." 2013-07-15 17:36:56 +00:00
Jean Chalard d6c621cd87 Don't put spaces before and after asterisks
Change-Id: I3c87745c3d4e7a0c531f6c2e68120fada556b44b
2013-07-12 13:37:40 +09:00
Jean Chalard faa729c47c Fix a wrong call to cancel downloads
This resulted in downloads not being correctly canceled.

Bug: 9715797
Change-Id: I786d869977df225f85cb69ec7ea9c96b039258fe
2013-07-11 17:15:45 +09:00
Baligh Uddin 0abf16a331 Import translations. DO NOT MERGE
Change-Id: I580f44f5334d0af91339646c0cfe94293f96711f
Auto-generated-cl: translation import
2013-07-10 23:56:58 -07:00
Keisuke Kuroynagi 551091ef39 am cfbb7fbd: Fix: Read lock is wrongly used for gutSuggestions.
* commit 'cfbb7fbd48125909ed61e58500e56b06afc12709':
  Fix: Read lock is wrongly used for gutSuggestions.
2013-07-09 01:54:44 -07:00
Keisuke Kuroynagi cfbb7fbd48 Fix: Read lock is wrongly used for gutSuggestions.
Bug: 9737865

Change-Id: I017f80b46c5dc48c40f2de7c4d516a042992feb4
2013-07-09 08:40:43 +00:00
Baligh Uddin 8eddeffdaf Import translations. DO NOT MERGE
Change-Id: I94e8a1dd3472e65b3c784ba285514a9117d3c776
Auto-generated-cl: translation import
2013-07-08 12:31:49 -07:00
Ken Wakasa 70147fa026 am 58b2a637: Merge "Update ExpandableDictionary.BASE_CHARS[]"
* commit '58b2a6372fd0404e27bbe137bbac18bbdf70e153':
  Update ExpandableDictionary.BASE_CHARS[]
2013-07-07 20:23:59 -07:00
Ken Wakasa 58b2a6372f Merge "Update ExpandableDictionary.BASE_CHARS[]" 2013-07-08 03:22:15 +00:00
Ken Wakasa d0ca62678d Update ExpandableDictionary.BASE_CHARS[]
This should be the same as CharUtils::BASE_CHARS[] in the native code.

Change-Id: I72ed4a43fd5c26a4439ef791b6b1cf703845c3a1
2013-07-05 20:29:21 +09:00
Tadashi G. Takaoka a5424c82a9 am f5be54f7: Merge "Move TypefaceUtils and ViewUtils to utils package"
* commit 'f5be54f710e2855b88f51bfb34b60742ebe3913c':
  Move TypefaceUtils and ViewUtils to utils package
2013-07-05 03:36:45 -07:00
Tadashi G. Takaoka b6b6fa7dcf am bac479bb: Merge "Reorganize Utils class"
* commit 'bac479bbe1d6daa074c375845bb3af42c931ecbd':
  Reorganize Utils class
2013-07-05 03:36:44 -07:00
Tadashi G. Takaoka ccf4a31027 Move TypefaceUtils and ViewUtils to utils package
Change-Id: Iccd47c27670248c43de9a539c1951111d7733111
2013-07-05 19:24:59 +09:00
Tadashi G. Takaoka 4be6198cb7 Reorganize Utils class
Change-Id: I7294d1547def5dcfcae9d1d53b277cb3cc9f2d18
2013-07-05 19:24:40 +09:00
Tadashi G. Takaoka c85efa92bf am 72c2feb5: Use TimeUnit instead of DateUtils for readability
* commit '72c2feb57369527b5f0d2b89505f94503978b928':
  Use TimeUnit instead of DateUtils for readability
2013-07-05 02:25:08 -07:00
Tadashi G. Takaoka 72c2feb573 Use TimeUnit instead of DateUtils for readability
Bug: 9550800
Change-Id: I087205530a5dbcff4bf08f48f4aa7068aae93215
2013-07-05 17:57:01 +09:00
Jean Chalard c29acb5b69 am cb13d11c: Add a trace.
* commit 'cb13d11c0af95b0621c012be9c01e04a463e40c5':
  Add a trace.
2013-07-04 21:12:54 -07:00
Jean Chalard cb13d11c0a Add a trace.
Emit a trace when a new dictionary is copied to LatinIME
successfully, not just when it fails. That will help diagnosing
some problems by being able to ensure this step succeeded
looking at the log.
This does not happen often (like, maybe 3 times at device
activation, and once every few weeks afterwards), so I think
the extra line in the log is more than acceptable.

Change-Id: I1674bc22d950a7be801076c5aa7e8bbebccab14b
2013-07-05 12:44:47 +09:00
Keisuke Kuroynagi 89ca0e13d1 am 49910a9d: Merge "Fix: release lock in UserHistoryDictionary."
* commit '49910a9d774120479d89f537c7e1b4d43e6f153a':
  Fix: release lock in UserHistoryDictionary.
2013-07-04 08:14:58 -07:00
Keisuke Kuroynagi 49910a9d77 Merge "Fix: release lock in UserHistoryDictionary." 2013-07-04 15:13:09 +00:00
Keisuke Kuroynagi 06e8860e3d am db296305: Merge "DictionaryWriter to abstract binary dictionary writing."
* commit 'db296305d61f9d7c8f9121eb0e663d3d0a2f6ecc':
  DictionaryWriter to abstract binary dictionary writing.
2013-07-04 07:17:13 -07:00
Keisuke Kuroynagi 65db026265 Fix: release lock in UserHistoryDictionary.
Change-Id: I050c252910c6b5b0a79cd2d52c525679f2d6091d
2013-07-04 23:12:49 +09:00
Keisuke Kuroynagi f8d2796724 Add methods for dynamic updating binary dictionary.
Bug: 6669677
Change-Id: I7e681ceec2af712214a647630350cb20be6b0354
2013-07-04 21:17:49 +09:00
Keisuke Kuroynagi edd1992ed3 DictionaryWriter to abstract binary dictionary writing.
UserHistoryDictionary should become to use ExpandableBinaryDictionary.

Bug: 6669677

Change-Id: I6831c7dd2d84207d1a8f51ba15d52e0a72205d0c
2013-07-04 21:06:04 +09:00
Tadashi G. Takaoka 2babbfb8b0 am fe202d67: Add Azerbaijani keyboard
* commit 'fe202d6738e57187925560bdac9051468aadd63e':
  Add Azerbaijani keyboard
2013-07-03 22:59:31 -07:00
Tadashi G. Takaoka fe202d6738 Add Azerbaijani keyboard
Bug: 7963448
Change-Id: I39c192b342278e82e30ac6ef12c6d150c817ae70
2013-07-04 14:47:33 +09:00
Tadashi G. Takaoka ed69cc3163 am 0e007eaf: Add Kazakh keyboard
* commit '0e007eaff6c2b0c583de17970f1c8ecddadd6fd5':
  Add Kazakh keyboard
2013-07-03 22:47:00 -07:00
Tadashi G. Takaoka 0e007eaff6 Add Kazakh keyboard
Bug: 9697273
Change-Id: Ic9943569ed60d601f093181bf135e45a25399121
2013-07-04 13:10:38 +09:00
Kurt Partridge 6d7c647470 Do not output string-encoded MotionEvent.
JsonUtils knows how to output MotionEvents into json; that mechanism
should be reused for SuddenJumpingTouchEventHandler.

Change-Id: Id4c36c05533a3a329bf43ba33d57c0830dc4d196
2013-07-03 10:13:59 -07:00
Keisuke Kuroynagi 9ed68c84c0 am 55de0bd9: Merge "Use ReentrantReadWriteLock in ExpandableBinaryDictionary."
* commit '55de0bd981d6dc3ad4465c654d60072604ed1f9d':
  Use ReentrantReadWriteLock in ExpandableBinaryDictionary.
2013-07-03 04:40:27 -07:00
Keisuke Kuroynagi 55de0bd981 Merge "Use ReentrantReadWriteLock in ExpandableBinaryDictionary." 2013-07-03 11:39:17 +00:00
Tadashi G. Takaoka 41f1399b2b am 88d0138d: Merge "Add missing letter THEH to Perisan keyboard layout"
* commit '88d0138d9818b49d37cf44a25b96440ea0fba507':
  Add missing letter THEH to Perisan keyboard layout
2013-07-03 04:08:45 -07:00
Tadashi G. Takaoka b7c3c75e73 am d3ef3f0a: Merge "Add missing letter THEH to Arabic keyboard layout"
* commit 'd3ef3f0ac713c80d366061adac116c3cdb10ce98':
  Add missing letter THEH to Arabic keyboard layout
2013-07-03 04:08:44 -07:00
Tadashi G. Takaoka 5b3a54fada Add missing letter THEH to Perisan keyboard layout
With this change, the phone keyboard layout use quite similar one of
the oridinal PC.  The differences from the ordinal PC keyboard layout
are:

- Add letter JEH between letter TAH and ZAIN at 3rd row.
- Move letter TCHEN from the most left of 1st row to the most left of
  3rd row.

The tablet keyboard layout is the same of of the phone except:

- Add letter ALEF with MADDA above between letter WAW and letter TCHEN
  at 3rd row.

This change also moves the delete key and the enter key on tablet to
1st and 2nd row respectively.

Bug: 9371393
Change-Id: I964589055eb15549fe20e5ec45e02f7dc6b5686e
2013-07-03 19:50:14 +09:00
Tadashi G. Takaoka 614347bfd9 Add missing letter THEH to Arabic keyboard layout
With this change, the tablet keyboard layout both 7inch and 10inch use
quite similar one of the ordinal PC.  The differences from the ordinal
PC keyboard layout are:

- Move letter THAL from the most left of digits' row to the most left
  of 3rd row.
- Move letter DAL from the most right of 1st row to the most right of
  3rd row.
- Omit ligature LAM with ALEF from 3rd row and move to more keys of
  letter LAM on 2nd row.

The phone keyboard layout is the same one of the tablet except:

- Omit letter YEH with HAMZA avobe from 3rd row and move to more keys
  of letter ALEF MAKSURA on 3rd row.

Bug: 9371393
Change-Id: I1cd164ce7c1c3a5cae67b9985f1b167aef028ca0
2013-07-03 19:49:16 +09:00
Keisuke Kuroynagi 0b1c08bf5a Use ReentrantReadWriteLock in ExpandableBinaryDictionary.
Bug: 6669677

Change-Id: I2acde0517d5ed5cbd7b7149709e35fc36651335d
2013-07-03 19:46:08 +09:00
Tadashi G. Takaoka 9caf1791f2 am d365d82d: Merge "Handling key repeat by emulating key press and code input"
* commit 'd365d82d518e75eff3e9fb67a5ce24c73f83eaed':
  Handling key repeat by emulating key press and code input
2013-07-02 12:33:13 -07:00
Tadashi G. Takaoka f87e8f7ec1 Handling key repeat by emulating key press and code input
This change also eliminates a reference of
AudioAndHapticFeedbackManager from KeyboardSwitcher and MainKeyboard.

Bug: 6522943
Change-Id: Iac42ec8ff00c66deb76a660ffc07477923a58959
2013-07-02 19:50:34 +09:00
Jean Chalard 0fed749de6 am e5a3b776: Merge "Move Range out of RichInputConnection and rename it."
* commit 'e5a3b77664db1ecfd95601a806649f063eb604d3':
  Move Range out of RichInputConnection and rename it.
2013-07-01 00:22:38 -07:00
Jean Chalard e5a3b77664 Merge "Move Range out of RichInputConnection and rename it." 2013-07-01 07:20:51 +00:00
Keisuke Kuroynagi d749af1664 am 109ba3ac: Merge "Regenerate old version dictionaries using new format."
* commit '109ba3ace3815a7650a9fb0485b187968ddf8c29':
  Regenerate old version dictionaries using new format.
2013-07-01 00:18:25 -07:00
Keisuke Kuroynagi 109ba3ace3 Merge "Regenerate old version dictionaries using new format." 2013-07-01 07:16:15 +00:00
Jean Chalard 0ae2498bbb am 70ee2201: Merge "Do not re-resume suggestion if it\'s not needed."
* commit '70ee2201a09af63f9fc87b408cc9b48c25a39605':
  Do not re-resume suggestion if it's not needed.
2013-07-01 00:14:12 -07:00
Jean Chalard 70ee2201a0 Merge "Do not re-resume suggestion if it's not needed." 2013-07-01 07:12:24 +00:00
Jean Chalard 544e36d961 am 3f0858eb: Fix a bug where no URL means refresh never ends
* commit '3f0858eb2bcb9414dd94e01991b02c785af7b871':
  Fix a bug where no URL means refresh never ends
2013-06-30 23:45:47 -07:00
Jean Chalard 675bcf191c Move Range out of RichInputConnection and rename it.
Range has grown a bit too big to stay an internal class.

Change-Id: Ic3fbc48a5d10776eedd7559c4d696e5926b88288
2013-07-01 15:41:13 +09:00
Keisuke Kuroynagi a62b5b22ef Regenerate old version dictionaries using new format.
Bug: 9617181
Change-Id: I228a3eac959f81b38e4092015e8e3c429d46fa60
2013-07-01 15:25:33 +09:00
Jean Chalard 3f0858eb2b Fix a bug where no URL means refresh never ends
This patch does two things:
- If there is no URL to download new data from, then the
Refresh button is not shown.
- Even if for some reason refresh starts for a client for
which there is no URL, loading correctly finishes.

Bug: 9388602
Change-Id: I3fd9214da50faa4b59d0bd3e775293dd34f07547
2013-07-01 14:47:30 +09:00
Jean Chalard f0af452ce2 Do not re-resume suggestion if it's not needed.
This is much better interface-wise. It eliminates all blinking
of the line in the practice.

Bug: 8874148
Bug: 8864306
Change-Id: I87754e44784327c2e9c8b162d598d145e20668e8
2013-07-01 14:40:12 +09:00
Kurt Partridge a9e975baa2 am 8142a7b6: Merge "Record number of words entered"
* commit '8142a7b637326e8fe8736de94246b1fffb4f2886':
  Record number of words entered
2013-06-28 10:04:00 -07:00
Kurt Partridge 8142a7b637 Merge "Record number of words entered" 2013-06-28 17:01:18 +00:00
Jean Chalard 8873ac60f9 am a5e28acf: Merge "Fix a bug where AOSP Latin IME would not fill dictionaries"
* commit 'a5e28acf634988f7589e4b1f07962863f15a991a':
  Fix a bug where AOSP Latin IME would not fill dictionaries
2013-06-28 07:05:33 -07:00
Jean Chalard 4936fa348a am 21c3a529: Merge "Update dictionaries"
* commit '21c3a529142cb8d07ed82b207b8d514204094b8b':
  Update dictionaries
2013-06-28 07:05:30 -07:00
Jean Chalard a5e28acf63 Merge "Fix a bug where AOSP Latin IME would not fill dictionaries" 2013-06-28 13:21:31 +00:00
Jean Chalard 21c3a52914 Merge "Update dictionaries" 2013-06-28 07:52:31 +00:00
Jean Chalard ffe7dbbe7a Update dictionaries
>>> dictionaries/cs_wordlist.combined.gz
Header :
  date : 1355802831 <=> 1372393817
  version : 29 <=> 35
Body :
Added: LTE 25

>>> dictionaries/de_wordlist.combined.gz
Header :
  date : 1355802835 <=> 1372393817
  version : 29 <=> 35
Body :
Added: LTE 25

>>> dictionaries/en_GB_wordlist.combined.gz
Header :
  date : 1366272052 <=> 1372393817
  version : 31 <=> 35
Body :
Deleted: Sea 126
Added: LTE 25

>>> dictionaries/en_US_wordlist.combined.gz
Header :
  date : 1366272093 <=> 1372393817
  version : 31 <=> 35
Body :
Added: LTE 25

>>> dictionaries/en_wordlist.combined.gz
Header :
  date : 1366272977 <=> 1372393837
  version : 31 <=> 35
Body :
Deleted: Sea 126
Added: LTE 25

>>> dictionaries/es_wordlist.combined.gz
Header :
  date : 1355802832 <=> 1372393817
  version : 29 <=> 35
Body :
Added: LTE 25

>>> dictionaries/fr_wordlist.combined.gz
Header :
  date : 1366272255 <=> 1372393818
  version : 31 <=> 35
Body :
Deleted: R'n'B 95
Deleted: count 60
Deleted: d'Inti 34
Added: beurk 25

>>> dictionaries/hr_wordlist.combined.gz
Header :
  date : 1355802836 <=> 1372393818
  version : 29 <=> 35
Body :
Added: LTE 25

>>> dictionaries/it_wordlist.combined.gz
Header :
  date : 1355802836 <=> 1372393818
  version : 29 <=> 35
Body :
Added: LTE 25

>>> dictionaries/lt_wordlist.combined.gz
Header :
  date : 1355802843 <=> 1372393818
  version : 29 <=> 35
Body :
Added: LTE 25

>>> dictionaries/lv_wordlist.combined.gz
Header :
  date : 1355802843 <=> 1372393818
  version : 29 <=> 35
Body :
Added: LTE 25

>>> dictionaries/nb_wordlist.combined.gz
Header :
  date : 1366003450 <=> 1372393818
  version : 31 <=> 35
Body :
Added: LTE 25

>>> dictionaries/nl_wordlist.combined.gz
Header :
  date : 1355802844 <=> 1372393818
  version : 29 <=> 35
Body :
Added: LTE 25

>>> dictionaries/ru_wordlist.combined.gz
Header :
  date : 1370244430 <=> 1372393835
  version : 34 <=> 35
Body :
Freq changed: связывание 93 -> 0

>>> dictionaries/sl_wordlist.combined.gz
Header :
  date : 1355802835 <=> 1372393835
  version : 29 <=> 35
Body :
Added: LTE 25

>>> dictionaries/sr_wordlist.combined.gz
Header :
  date : 1355802853 <=> 1372393835
  version : 29 <=> 35
Body :
Added: LTE 25

>>> dictionaries/sv_wordlist.combined.gz
Header :
  date : 1366003804 <=> 1372393836
  version : 31 <=> 35
Body :
Added: LTE 25

>>> dictionaries/tr_wordlist.combined.gz
Header :
  date : 1355802858 <=> 1372393837
  version : 29 <=> 35
Body :
Added: LTE 25

>>> java/res/raw/main_de.dict
Header :
  date : 1355802835 <=> 1372393817
  version : 29 <=> 35
Body :
Added: LTE 25

>>> java/res/raw/main_en.dict
Header :
  date : 1366272977 <=> 1372393837
  version : 31 <=> 35
Body :
Deleted: Sea 126
Added: LTE 25

>>> java/res/raw/main_es.dict
Header :
  date : 1355802832 <=> 1372393817
  version : 29 <=> 35
Body :
Added: LTE 25

>>> java/res/raw/main_fr.dict
Header :
  date : 1366272255 <=> 1372393818
  version : 31 <=> 35
Body :
Deleted: R'n'B 95
Deleted: count 60
Deleted: d'Inti 34
Added: beurk 25

>>> java/res/raw/main_it.dict
Header :
  date : 1355802836 <=> 1372393818
  version : 29 <=> 35
Body :
Added: LTE 25

>>> java/res/raw/main_ru.dict
Header :
  date : 1370244430 <=> 1372393835
  version : 34 <=> 35
Body :
Freq changed: связывание 93 -> 0

Bug: 9301610
Bug: 9607966
Change-Id: I1117ed85d97fbb0ee50f11bc31776f1970b56f12
2013-06-28 14:54:51 +09:00
Jean Chalard 555c4236db Fix a bug where AOSP Latin IME would not fill dictionaries
There is no reason not to contact the dictionary provider
when we don't have internet permission or when the URL
is empty. It knows how to handle both these cases.

Bug: 9388602
Change-Id: I30c4540551ad2f5e527d3acd1842bbd749feca89
2013-06-28 12:48:41 +09:00
Kurt Partridge 169571b3c0 Record number of words entered
This change records the number of words entered in every LogUnit.
This metric is helpful for determining how much multi-word gestures
and spaceless tapping is used.

Change-Id: I4c6d0f9d78e4ac2dd63fd53ed2ec70b368366f15
2013-06-27 12:30:00 -07:00
Jean Chalard 1634f8a7c4 am e04794cb: Fix some warnings
* commit 'e04794cbbeafec7463a91554d7c069deacddc744':
  Fix some warnings
2013-06-27 05:45:17 -07:00
Jean Chalard e04794cbbe Fix some warnings
Mostly remove unused imports

Change-Id: If8ceffdfad79b78194094527759f5c334746973e
2013-06-27 21:36:52 +09:00
Satoshi Kataoka 120a8da91c am 4ded1af2: Improve the language list in the personal dictionary
* commit '4ded1af21097652dcd0750d9b3f2f24df2904e25':
  Improve the language list in the personal dictionary
2013-06-27 04:36:03 -07:00
Satoshi Kataoka 4ded1af210 Improve the language list in the personal dictionary
Bug: 9117704
Change-Id: I26e6f8369a3c7ffa4bb651b4b5a3e6f004121983
2013-06-27 20:31:02 +09:00
Satoshi Kataoka 2221b89564 am ec69a259: Merge "Open an API in ExternalDictionaryGetterForDebug"
* commit 'ec69a259c60b89cfe5157dc6b43aa17f2f60d6ca':
  Open an API in ExternalDictionaryGetterForDebug
2013-06-27 03:33:33 -07:00
Satoshi Kataoka b6408d81e0 am a2bfd46a: Use internal personal dictionary settings on JBMR2 or before
* commit 'a2bfd46adf6aca5864be3d6ef2204bc18008e9c9':
  Use internal personal dictionary settings on JBMR2 or before
2013-06-27 03:33:32 -07:00
Satoshi Kataoka ec69a259c6 Merge "Open an API in ExternalDictionaryGetterForDebug" 2013-06-27 10:32:05 +00:00
Satoshi Kataoka a2bfd46adf Use internal personal dictionary settings on JBMR2 or before
Bug: 9117704
Change-Id: I7e20b03daa23b59211235183cf48d933e32845e4
2013-06-27 19:20:05 +09:00
Satoshi Kataoka bd84a00fc1 Open an API in ExternalDictionaryGetterForDebug
and extend it

Change-Id: Id2ba8dd8928a6327d3b31eb35f7cc314e2d31050
2013-06-27 18:41:07 +09:00
Jean Chalard 5fee4909f1 am 2bbd78ab: Merge "Ignore spans that are not the right size."
* commit '2bbd78ab0a0e6eb15c22365d03f58ccbcaff51e6':
  Ignore spans that are not the right size.
2013-06-26 20:08:09 -07:00
Jean Chalard 2bbd78ab0a Merge "Ignore spans that are not the right size." 2013-06-27 03:06:47 +00:00
Jean Chalard 2f7f6257b6 Ignore spans that are not the right size.
Bug: 8839763
Bug: 8862327
Change-Id: I5d49c86edcbc0fc1b2b147856437cfbadd678377
2013-06-26 23:02:50 +09:00
Ken Wakasa 17e37743dd am 16c418be: Merge "Follow-up to I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a"
* commit '16c418bebcb0ff5347235b2a5963b983eae2fb64':
  Follow-up to I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a
2013-06-26 04:33:30 -07:00
Ken Wakasa 16c418bebc Merge "Follow-up to I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a" 2013-06-26 11:32:25 +00:00
Jean Chalard c98d08b6b0 am 6c0e4121: Merge "Resume suggestion at start input"
* commit '6c0e4121376e9ce0b96d656f3aea3bfd80f2215e':
  Resume suggestion at start input
2013-06-26 03:19:30 -07:00
Jean Chalard 6c0e412137 Merge "Resume suggestion at start input" 2013-06-26 10:18:32 +00:00
Ken Wakasa 0053bc5832 Follow-up to I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a
Change-Id: I741a12508a3a05e2e517e187a7f197e6a661eddb
2013-06-26 18:09:34 +09:00
Ken Wakasa fe7b76aca6 am b1b21d4e: Make sure to always keep native methods
* commit 'b1b21d4eeaae27057ece50307723ec3d5de8f2e3':
  Make sure to always keep native methods
2013-06-26 02:05:19 -07:00
Ken Wakasa b1b21d4eea Make sure to always keep native methods
Saw a problem with proguard

Change-Id: I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a
2013-06-26 17:58:39 +09:00
Jean Chalard f608f0a6d3 am a690f3bc: Merge "Readability improvement"
* commit 'a690f3bc40268ccee20c44c7e359890b34eb2a8a':
  Readability improvement
2013-06-26 00:38:43 -07:00
Jean Chalard 9252ea38a9 am 173f74bb: Merge "Fixing follow-up to I548d899b"
* commit '173f74bb18016ccab3e5fad4c86c5201add41c30':
  Fixing follow-up to I548d899b
2013-06-26 00:38:42 -07:00
Jean Chalard a690f3bc40 Merge "Readability improvement" 2013-06-26 07:37:15 +00:00
Jean Chalard 173f74bb18 Merge "Fixing follow-up to I548d899b" 2013-06-26 07:36:44 +00:00
Jean Chalard fb72890ac6 Readability improvement
Change-Id: I2f350145f333ba1fa4eb20027b0f41107c2df02c
2013-06-26 16:03:40 +09:00
Jean Chalard 7fcf304c97 Fixing follow-up to I548d899b
I548d899b introduced a new method to fix a sync miss between
the cursor position and the cached cursor position, but did not
take into account that it should also update the cached text
before and after the cursor in this case and that there was
already a method for doing this.

Change-Id: I31bd741893207c822827304e77791b1159774e1a
2013-06-26 15:28:42 +09:00
Keisuke Kuroynagi 36108c2f85 am 5bf1be71: Add jni methods for dynamically handling a dictionary.
* commit '5bf1be71629607e7206e6203489cf742d2f8ed79':
  Add jni methods for dynamically handling a dictionary.
2013-06-25 22:32:43 -07:00
Keisuke Kuroynagi 5bf1be7162 Add jni methods for dynamically handling a dictionary.
Bug: 6669677
Change-Id: I8a26623adbb41a78e3c023c652be635c635e3b47
2013-06-26 12:51:33 +09:00
Baligh Uddin 4da287d0d1 Merge "Import translations. DO NOT MERGE" 2013-06-25 20:15:49 +00:00
Baligh Uddin 08215024c0 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-06-25 20:15:30 +00:00
Jean Chalard 2f69348d51 Resume suggestion at start input
Bug: 9568410
Change-Id: I65468268f8613c863fa7f3a497b64656da0a221c
2013-06-25 19:38:31 +09:00
Ken Wakasa ed42ccf102 am fd0945b0: Merge "Make UserLogRingCharBuffer an external class"
* commit 'fd0945b0da3e53109afc346432a7a8b40d715a0f':
  Make UserLogRingCharBuffer an external class
2013-06-25 02:42:13 -07:00
Ken Wakasa fd0945b0da Merge "Make UserLogRingCharBuffer an external class" 2013-06-25 09:40:31 +00:00
Ken Wakasa 9419e02fd9 Make UserLogRingCharBuffer an external class
Change-Id: I9d506995337d64ec11c72939a8d739423ee46efa
2013-06-25 18:38:13 +09:00
Jean Chalard 12d0e4f337 am 333362ad: Merge "Fix the one-suggestion case."
* commit '333362adfc2a6a3df980a23ea58eceea5f695b46':
  Fix the one-suggestion case.
2013-06-25 02:12:01 -07:00
Jean Chalard 333362adfc Merge "Fix the one-suggestion case." 2013-06-25 09:10:09 +00:00
Jean Chalard d7d5ff1f99 Fix the one-suggestion case.
When there is only one suggestion, this code does
not work. The reason for that is, it's not homogeneous
at all and takes indices of one thing into another.

Not completely related to b/8839763, but realized
working on this and needed to have it addressed.

Bug: 8839763
Change-Id: I422730cc7eebb69ff421a171025af0390ebcdf92
2013-06-25 18:00:30 +09:00
Keisuke Kuroynagi 9a5e0d9cfd am 38b54262: Merge "Add a parameter isUpdatable to the constructor of BinaryDictionary."
* commit '38b542629adb4e79cb08f6324f82307784e3da0f':
  Add a parameter isUpdatable to the constructor of BinaryDictionary.
2013-06-25 01:45:58 -07:00
Keisuke Kuroynagi 38b542629a Merge "Add a parameter isUpdatable to the constructor of BinaryDictionary." 2013-06-25 08:44:48 +00:00
Keisuke Kuroynagi 981717da4c Add a parameter isUpdatable to the constructor of BinaryDictionary.
Bug: 6669677
Change-Id: I6bc25131afd97112e3bbde036a81ab559a9a6460
2013-06-25 17:39:06 +09:00
Ken Wakasa a158159411 am 12ef7d37: Merge "Cleanup under the utils package"
* commit '12ef7d37021e2f99de5cc15826cc6dcd3250c41a':
  Cleanup under the utils package
2013-06-25 01:30:21 -07:00
Ken Wakasa 12ef7d3702 Merge "Cleanup under the utils package" 2013-06-25 08:20:57 +00:00
Ken Wakasa 03118a2760 Cleanup under the utils package
Change-Id: If2f7bd1346cc5085bf57645830f0faac44d017e4
2013-06-25 17:09:12 +09:00
Keisuke Kuroynagi 162f1f8928 am 8bc0b513: Merge "Allow mmapping dictionary file in writable mode in openNative."
* commit '8bc0b51369822b50c701cfe5a6ec612e5c94f75a':
  Allow mmapping dictionary file in writable mode in openNative.
2013-06-25 00:11:18 -07:00
Keisuke Kuroynagi 8bc0b51369 Merge "Allow mmapping dictionary file in writable mode in openNative." 2013-06-25 07:09:37 +00:00
Keisuke Kuroynagi f3b62900c7 Allow mmapping dictionary file in writable mode in openNative.
Bug: 6669677
Change-Id: I447668932de118b158fa029ddc977b3f3cc06cb8
2013-06-25 16:03:33 +09:00
Baligh Uddin d2f0d82220 Import translations. DO NOT MERGE
Change-Id: I17e9ad751b1e628c8a60bc2234180a37716d10e9
Auto-generated-cl: translation import
2013-06-24 22:02:24 -07:00
Jean Chalard cdb9fbfef7 am 10585620: Merge "Fix a bug in the cached cursor pos, and simplify selection handling"
* commit '10585620bdfad418f6c093ab4bfd8efaa2d84abf':
  Fix a bug in the cached cursor pos, and simplify selection handling
2013-06-24 22:01:55 -07:00
Jean Chalard 10585620bd Merge "Fix a bug in the cached cursor pos, and simplify selection handling" 2013-06-25 05:00:11 +00:00
Baligh Uddin 894e7962eb Import translations. DO NOT MERGE
Change-Id: Id9bb0441fc30d6e75a23afc4b47a17d674d2c4c8
Auto-generated-cl: translation import
2013-06-24 21:57:51 -07:00
Kurt Partridge d57a26b2a1 am 1fc6b800: Merge "Move splash screen to separate file"
* commit '1fc6b800095e2f630b006a61cea5f23feefb9a63':
  Move splash screen to separate file
2013-06-24 06:41:46 -07:00
Kurt Partridge 1fc6b80009 Merge "Move splash screen to separate file" 2013-06-24 13:40:01 +00:00
Jean Chalard 260284110d am cdf77412: Merge "Fix a small bug"
* commit 'cdf774122d29754d91aac162f7e7416b65583ea9':
  Fix a small bug
2013-06-24 03:01:53 -07:00
Jean Chalard cdf774122d Merge "Fix a small bug" 2013-06-24 10:00:05 +00:00
Ken Wakasa 292c5cc1d2 am bfaf349c: Load the native lib eagerly
* commit 'bfaf349c3554e11af8227a5f0807a74107a93069':
  Load the native lib eagerly
2013-06-24 02:16:04 -07:00
Ken Wakasa bfaf349c35 Load the native lib eagerly
in the hope of avoiding UnsatisfiedLinkError. This is definitely not a
confident fix as we still don't know the root cause of the issue.

bug: 9325110
Change-Id: I1abf8031b98509f63fce6a2d069d497895ea712c
2013-06-24 18:12:04 +09:00
Ken Wakasa d5f635a72f am bc181318: Merge "Move util classes to the latin/utils directory"
* commit 'bc1813186df823e4e1a5aabceb3198674387061e':
  Move util classes to the latin/utils directory
2013-06-24 01:51:02 -07:00
Ken Wakasa bc1813186d Merge "Move util classes to the latin/utils directory" 2013-06-24 08:49:06 +00:00
Tadashi G. Takaoka e189103e00 am fadff6ad: Merge "Fix possible divided by zeror error"
* commit 'fadff6ada189ab789daae76fb9d603d26244ee1c':
  Fix possible divided by zeror error
2013-06-24 01:45:45 -07:00
Tadashi G. Takaoka fadff6ada1 Merge "Fix possible divided by zeror error" 2013-06-24 08:44:17 +00:00
Tadashi G. Takaoka bafe4b8a4e Fix possible divided by zeror error
Bug: 9534022
Change-Id: I5ab575c724fd7a9e80c76a93d83949e81b2970bb
2013-06-24 17:39:36 +09:00
Jean Chalard ca52e1ca5a Fix a small bug
SpannableStrings are not the only type of Spanned, they are
only the mutable kind. SpannedString is the immutable one.
Spanned is the correct class to use there.

Bug: 8839763
Bug: 8862327
Change-Id: Ic5e6199a51f22368914f2748ac2d0d1ca6a33f78
2013-06-24 17:39:17 +09:00
Ken Wakasa e28eba5074 Move util classes to the latin/utils directory
Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
2013-06-24 17:04:40 +09:00
Jean Chalard 4023340775 am c074c335: Merge "Refactor text range to be able to get spans larger than the word"
* commit 'c074c3357c3bb0dfe92fff90bccbcab2b6ec422e':
  Refactor text range to be able to get spans larger than the word
2013-06-23 23:11:36 -07:00
Jean Chalard e8c4b99e56 Refactor text range to be able to get spans larger than the word
This changes how the Range class stores its data, but not its
functionality. It also improves encapsulation a bit.

Bug: 8839763
Bug: 8862327
Change-Id: I5bd583b3fc96a99b93a2632882d8fd587c03ab76
2013-06-24 12:31:14 +09:00
Tadashi G. Takaoka 82e21ee260 am 564ad492: Merge "Enable long-press digit input for tablets"
* commit '564ad4927c784e541e7f00bb17bea416cb06115e':
  Enable long-press digit input for tablets
2013-06-23 18:18:42 -07:00
Tadashi G. Takaoka 564ad4927c Merge "Enable long-press digit input for tablets" 2013-06-24 01:16:57 +00:00
Kurt Partridge 1a0750dc95 Move splash screen to separate file
Change-Id: I5cad5d5814303d7ca4abadd3fca1c37bd1bc357e
2013-06-22 10:24:13 -07:00
Jean Chalard 3f391865c1 am b7a2fd16: Merge "Defer disk-intensive tasks until after the keyboard is shown"
* commit 'b7a2fd16a139046587daaf44fdf73fed95cf6248':
  Defer disk-intensive tasks until after the keyboard is shown
2013-06-21 03:59:38 -07:00
Jean Chalard b7a2fd16a1 Merge "Defer disk-intensive tasks until after the keyboard is shown" 2013-06-21 10:57:33 +00:00
Jean Chalard 673c727b7a Defer disk-intensive tasks until after the keyboard is shown
Bug: 8689779
Change-Id: Ia78d3540f44ec0028c3246a8e0163e9ecf061ecf
2013-06-21 19:41:45 +09:00
Tadashi G. Takaoka 2cf3056354 am d02daf20: Merge "Fix punctuations strip"
* commit 'd02daf201631e5da042a43faf86e439c6904564c':
  Fix punctuations strip
2013-06-21 02:25:27 -07:00
Jean Chalard e5dee0af4a Fix a bug in the cached cursor pos, and simplify selection handling
The documentation for setComposingRegion states explicitly
that it does not move the cursor. This is just a bug.
This does not have any ill effects right now, but it will have
in later changes if not fixed.

As for the selection handling, the specific test that this code
removes used to serve a purpose, but it does not any more because
the code using the value has been much sanitized. Now the variable
can just take the obvious value, and become so self-explanatory
that the comments are unnecessary.

Change-Id: I548d899b38776bd3ab5f5361aab0d89d98f12e73
2013-06-21 18:15:07 +09:00
Tadashi G. Takaoka 9b570b5e62 Fix punctuations strip
Bug: 9508186
Change-Id: I8f0fbf4e0578cf9116d4c57e7e5747d38c89387e
2013-06-21 13:22:37 +09:00
Tadashi G. Takaoka ecd3b51444 Enable long-press digit input for tablets
Bug: 6632204
Change-Id: I8a62e78367c87c2fbb8f14575aef98035fa8440e
2013-06-21 13:00:23 +09:00
Baligh Uddin 0c178ffc8e Merge "Import translations. DO NOT MERGE" 2013-06-20 16:41:32 +00:00
Baligh Uddin a4d57a1790 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-06-20 16:41:14 +00:00
Jean Chalard 31036b9b18 am 93f74baf: Merge "Add tests to dicttool test."
* commit '93f74bafbb7e3fde207575a87c197c59f32411bd':
  Add tests to dicttool test.
2013-06-20 01:35:47 -07:00
Jean Chalard 93f74bafbb Merge "Add tests to dicttool test." 2013-06-20 08:34:38 +00:00
Jean Chalard 23d4eb55ba Add tests to dicttool test.
Bug: 8526576
Change-Id: Idd6f9cd076d5915361c68f5c29afbba67dd54eba
2013-06-20 17:29:37 +09:00
Tadashi G. Takaoka 7eb3b05cde am 7937f092: Lengthen CHAR LIMIT of settings_system_default
* commit '7937f09264623f38b411be2b5cca77f42fd192f9':
  Lengthen CHAR LIMIT of settings_system_default
2013-06-19 21:13:33 -07:00
Tadashi G. Takaoka 7937f09264 Lengthen CHAR LIMIT of settings_system_default
Bug: 9495443
Change-Id: Ib52d0ab357e79ae6004411f4b4201570a228bc71
2013-06-20 12:08:37 +09:00
Baligh Uddin d5e245bcaa Import translations. DO NOT MERGE
Change-Id: Ic7508cb2b5098403786af2f2e220d908dab51e8d
Auto-generated-cl: translation import
2013-06-19 15:50:15 -07:00
Baligh Uddin cff0696c27 Import translations. DO NOT MERGE
Change-Id: Ife8eafcb6b5951ade90967368fa461406c77be83
Auto-generated-cl: translation import
2013-06-19 15:45:17 -07:00
Tadashi G. Takaoka 3542fb9f27 am 9380b56d: Support digits more keys in Hebrew phone keyboard
* commit '9380b56db64b1ad5d165972e3bcc0ff75bba6768':
  Support digits more keys in Hebrew phone keyboard
2013-06-18 19:46:04 -07:00
Tadashi G. Takaoka 9380b56db6 Support digits more keys in Hebrew phone keyboard
Bug: 9431432
Change-Id: Ie1d438e0483022eac97cec52a64e49fbd3c7d503
2013-06-19 10:14:06 +09:00
Tadashi G. Takaoka 6e86ebe822 am c90181d6: Use system default key press volume
* commit 'c90181d6aa42c4c0b56ccc21528dcef84d186c53':
  Use system default key press volume
2013-06-18 09:05:47 -07:00
Tadashi G. Takaoka 7c1c4f3544 am af69a14c: Use system default vibration pattern
* commit 'af69a14c9684ef6f7a14e60cb635f96db530f6e7':
  Use system default vibration pattern
2013-06-18 08:56:09 -07:00
Tadashi G. Takaoka c90181d6aa Use system default key press volume
Bug: 9475973
Change-Id: I6ae825b161dde69e19b52d73fb9aa782e2aa7423
2013-06-18 21:34:30 +09:00
Tadashi G. Takaoka af69a14c96 Use system default vibration pattern
Bug: 9468462
Change-Id: Ifa46a56873c10888da8eaa2782fe07ef138a141b
2013-06-18 21:33:51 +09:00
Jean Chalard 0cae172563 am 3b5a503e: Merge "Optimize ProximityInfo#computeNearestNeighbors()"
* commit '3b5a503ebf08011fe852ac5b2e380f5a6a9cb93a':
  Optimize ProximityInfo#computeNearestNeighbors()
2013-06-18 04:48:35 -07:00
Jean Chalard 3b5a503ebf Merge "Optimize ProximityInfo#computeNearestNeighbors()" 2013-06-18 11:45:06 +00:00
Jean Chalard d55baf06d9 Optimize ProximityInfo#computeNearestNeighbors()
This cuts the time spent in computeNearestNeigbors by
a factor of 6 to 20, with an average at about 8.
This method representing about 25% of the total time
spent when switching keyboards, this change is a
20% improvement in layout switching time.

Bug: 8689779
Change-Id: Icb465f6010b317c7156057891c3341e51a198688
2013-06-18 20:33:52 +09:00
Tadashi G. Takaoka 6451fd3543 am 500b1f41: Merge "Get value text from ValueProxy"
* commit '500b1f410d65e461e667f72564d4c1579c26d1ac':
  Get value text from ValueProxy
2013-06-18 02:31:29 -07:00
Tadashi G. Takaoka 3be8263035 Get value text from ValueProxy
As a preparation to show "system default" in the settings. LatinIME
can't know the actual system default value.

Bug: 9468462
Change-Id: I0b7898d1ca29ded7a619dd636d2ad16eb0db292e
2013-06-18 18:27:17 +09:00
Jean Chalard 188856aed0 am 286877b3: Merge "Fix a bug with recapitalization"
* commit '286877b3afc6309b70c5216f05b94729aeb844f3':
  Fix a bug with recapitalization
2013-06-17 04:50:28 -07:00
Jean Chalard 2a81943d16 Fix a bug with recapitalization
This is a shameful bug :/

Bug: 9410367
Change-Id: I54ddbcd0323fa2c11fbd2aa8a1b3d2e07f6e83c8
2013-06-17 20:39:06 +09:00
Kurt Partridge fc9c896c40 am 14718ab8: Merge "Log score, kind, and sourceDict for manual suggestion and gesture"
* commit '14718ab898e2f23b078b9f25aa234c1e673517c7':
  Log score, kind, and sourceDict for manual suggestion and gesture
2013-06-14 10:04:51 -07:00
Kurt Partridge 14718ab898 Merge "Log score, kind, and sourceDict for manual suggestion and gesture" 2013-06-14 17:03:03 +00:00
Jean Chalard 57eecc0476 am 78b881bf: Merge "Fix a bug with long user dict entries"
* commit '78b881bf5a0f67b4cbb681f64dc3ccba4f19b393':
  Fix a bug with long user dict entries
2013-06-14 02:00:54 -07:00
Jean Chalard 78b881bf5a Merge "Fix a bug with long user dict entries" 2013-06-14 08:59:51 +00:00
Tadashi G. Takaoka 9a848fc867 am 97eaa543: Don\'t count Spacer into histograms
* commit '97eaa543d5fd4ac57516a586477641c129828b5d':
  Don't count Spacer into histograms
2013-06-14 01:31:32 -07:00
Tadashi G. Takaoka 97eaa543d5 Don't count Spacer into histograms
Change-Id: I202a25da4e1a722aa35c57665d73bc5990404c4e
2013-06-14 16:21:37 +09:00
Jean Chalard 6233ee3633 Fix a bug with long user dict entries
Bug: 9410958
Change-Id: I966e452c6dbdcb444abbb6ffb316849a7c85a73b
2013-06-14 12:40:35 +09:00
Kurt Partridge fc98325c61 Log score, kind, and sourceDict for manual suggestion and gesture
b/9422713

Change-Id: I4880fad6a5b10d09ca11b63311f14862bee724e5
2013-06-13 11:03:49 -07:00
Jean Chalard a57bf38e19 am 27d9c6f7: Merge "Cache subtype lists reasonably."
* commit '27d9c6f795a0856c401b3d4189f60be71bac0e98':
  Cache subtype lists reasonably.
2013-06-12 18:51:05 -07:00
Jean Chalard 27d9c6f795 Merge "Cache subtype lists reasonably." 2013-06-13 01:49:41 +00:00
Kurt Partridge 681f123968 am e72d1a07: Merge "Allow downloadable dictionaries in development builds"
* commit 'e72d1a07b6c52e3bcc7f099c81a14dab2fadf459':
  Allow downloadable dictionaries in development builds
2013-06-12 14:25:22 -07:00
Kurt Partridge e72d1a07b6 Merge "Allow downloadable dictionaries in development builds" 2013-06-12 21:22:34 +00:00
Kurt Partridge 37621957a3 am 3d9ebf21: Merge "Make intents unique to AOSP"
* commit '3d9ebf213cf795958bca1c036002eb657d1a8366':
  Make intents unique to AOSP
2013-06-12 11:13:37 -07:00
Kurt Partridge 3d9ebf213c Merge "Make intents unique to AOSP" 2013-06-12 18:11:17 +00:00
Kurt Partridge 5062442fd5 am 14dd52b8: Merge "Adjust settings for development-only versions"
* commit '14dd52b8c058b27adb17777536ff11c4b69616fc':
  Adjust settings for development-only versions
2013-06-12 09:52:54 -07:00
Kurt Partridge 14dd52b8c0 Merge "Adjust settings for development-only versions" 2013-06-12 16:50:55 +00:00
Kurt Partridge 3cdea37c6d am eac0eb89: Merge "Fix ResearchLogger feedback bug"
* commit 'eac0eb89f23a9962ece6eb884ce41610e0b85ea0':
  Fix ResearchLogger feedback bug
2013-06-12 08:41:11 -07:00
Kurt Partridge eac0eb89f2 Merge "Fix ResearchLogger feedback bug" 2013-06-12 15:38:45 +00:00
Jean Chalard ff6445ed0e Cache subtype lists reasonably.
This will spare a lot of IPC for Latin IME at the cost of very little
retained memory.
This improves the loading by potentially a lot - between 15 and 30%
when the layout is cached (which should now be the case almost every
time), and half that if it's not. More importantly, it makes the
load time less sensitive to high device load, which is one of the
sore points.

Bug: 8689779
Change-Id: I2e07736f1a92c38eed0e203bc690761a181da8b9
2013-06-12 18:04:52 +09:00
Kurt Partridge 2a1a463e2e Adjust settings for development-only versions
Change-Id: I4f08632d97f182d312edc82bda3c3897a71099ad
2013-06-12 02:01:45 -07:00
Tadashi G. Takaoka e18732ef52 am dfd96be0: Retun an empty Path instead of null
* commit 'dfd96be03aba78f4bdb3b64d1b5d3f55429a0c03':
  Retun an empty Path instead of null
2013-06-12 01:39:36 -07:00
Tadashi G. Takaoka dfd96be03a Retun an empty Path instead of null
Bug: 9374496
Change-Id: If74306104e9d25288e1b216a328304da376c1bdb
2013-06-12 17:35:02 +09:00
Kurt Partridge 19ba5e67af Fix ResearchLogger feedback bug
If the logger feedback screen is up and the user hits the home button or the
keyboard otherwise closes, the system won't let the user enter feedback again,
because it is waiting for the user to finish the first one.

With this change, the state associated with the feedback screen is
cleared when the user closes the keyboard.

b/9398772

Change-Id: I832a82793ad42e31b6b3fdb04fabcea75facde7d
2013-06-12 00:37:46 -07:00
Kurt Partridge 2c1796c226 Make intents unique to AOSP
This is to avoid confusion if multiple IMEs are installed with
dictionary pack components

Change-Id: Ibc91951e4fdd5db13f681e4cb06197da98527bbc
2013-06-11 15:04:00 -07:00
Baligh Uddin 2933f9e8b3 Merge "Import translations. DO NOT MERGE" 2013-06-11 16:26:45 +00:00
Jean Chalard 35b514bdb1 am cd4edc15: Merge "Cache three main keyboards to improve average switch time"
* commit 'cd4edc15a57bf475d0004a427872f9a87391aff8':
  Cache three main keyboards to improve average switch time
2013-06-10 20:23:24 -07:00
Jean Chalard 4d8f9f1cab Cache three main keyboards to improve average switch time
This typically improves the average loading time by about
35%, after the first time.

Bug: 8689779
Change-Id: I7b0ab6b942af1d3250b9dcbf875f27f9f64692f3
2013-06-11 12:01:56 +09:00
Baligh Uddin 1f140aff16 Import translations. DO NOT MERGE
Change-Id: I211045009e5013d31e4f97ce41c96159d5c5a601
Auto-generated-cl: translation import
2013-06-10 13:26:13 -07:00
Baligh Uddin 8ea77542f9 Merge "Import translations. DO NOT MERGE" 2013-06-07 17:10:49 +00:00
Satoshi Kataoka 28c7e63426 am fe95e7b1: Merge "Fix possible NPE"
* commit 'fe95e7b1bf06c26f71d3e2899fcdf63647d9f670':
  Fix possible NPE
2013-06-07 04:11:29 -07:00
Satoshi Kataoka fe95e7b1bf Merge "Fix possible NPE" 2013-06-07 11:09:52 +00:00
Tadashi G. Takaoka c68632af62 am 77f63c8a: Don\'t use RichInputMethodManager in setup wizard
* commit '77f63c8ac64c46de36002fd62c71f1eeebcaf2ac':
  Don't use RichInputMethodManager in setup wizard
2013-06-07 03:14:13 -07:00
Tadashi G. Takaoka 77f63c8ac6 Don't use RichInputMethodManager in setup wizard
In setup wizard, InputMethodManager may not be able to be aware that
this IME is installed, especially just after the IME is installed via
GooglePlay app and hit the open button on the app to launch the setup
wizard.

Bug: 9299618
Change-Id: I00c8544178b41074253d49ae9481996ec56593d2
2013-06-07 19:09:44 +09:00
Satoshi Kataoka 6c8136d157 Fix possible NPE
Bug: 9314901
Change-Id: Id80f59df38ae72766b097fd1c23326fedd302439
2013-06-07 19:08:58 +09:00
Tadashi G. Takaoka 60261af55f am b0e0c5a8: Merge "Defer getting no language subtype"
* commit 'b0e0c5a8445afc814ed8865c4f4b9f61ada909a9':
  Defer getting no language subtype
2013-06-07 03:01:41 -07:00
Tadashi G. Takaoka b0e0c5a844 Merge "Defer getting no language subtype" 2013-06-07 10:00:19 +00:00
Jean Chalard f637bb3343 am d3c283d5: Merge "Fix an illegal argument exception"
* commit 'd3c283d5db9259df17674bbe8c8eede9093d1da9':
  Fix an illegal argument exception
2013-06-07 02:39:52 -07:00
Jean Chalard 0ad1489625 Fix an illegal argument exception
This is a bit of a shot in the dark, as I really don't see how this
can happen, but this should fix it in the correct way no matter
how it's actually happening.

Bug: 9301836
Change-Id: I472865b7a78883942c9fd46773238c23788674f8
2013-06-07 18:23:00 +09:00
Tadashi G. Takaoka 254b484e75 Defer getting no language subtype
Bug: 9318351
Change-Id: I55338c001070655a3f90df3dbe1351bd4180d520
2013-06-07 18:20:31 +09:00
Tadashi G. Takaoka 48f20fb892 am 091a4532: Merge "Add HTC One special edition"
* commit '091a4532925ba9d35e83b60b834dcc88b1a4d2ea':
  Add HTC One special edition
2013-06-06 01:41:21 -07:00
Tadashi G. Takaoka 091a453292 Merge "Add HTC One special edition" 2013-06-06 08:39:10 +00:00
Tadashi G. Takaoka eab37ec2e5 Add HTC One special edition
Bug: 9109493
Change-Id: I6eb060a93d7afbcc5aaa2aaece242044db255829
2013-06-06 17:33:23 +09:00
Jean Chalard 323dd492f0 am 69100329: Merge "Use an iterator to remove stuff from an ArrayList."
* commit '6910032972524541314249fb2a6c2202ac813845':
  Use an iterator to remove stuff from an ArrayList.
2013-06-06 01:24:35 -07:00
Jean Chalard 6910032972 Merge "Use an iterator to remove stuff from an ArrayList." 2013-06-06 08:19:41 +00:00
Jean Chalard 0dc422e0c7 Use an iterator to remove stuff from an ArrayList.
Silly me >.>

Bug: 9306154
Change-Id: Ic00e9d6a31cd1d7aacefe68b7be9c2199e297b0d
2013-06-06 17:03:16 +09:00
Kurt Partridge efd26bb319 Allow downloadable dictionaries in development builds
Bug: 9305379

Change-Id: Iab32753070a056d3861a45aa898911b7ab67dfb6
2013-06-05 22:14:54 -07:00
Satoshi Kataoka 2fa14bc54d am f6a1a765: Merge "Fix a possible NPE"
* commit 'f6a1a7652473778ff2e52754f29f7822a9b482db':
  Fix a possible NPE
2013-06-05 22:03:39 -07:00
Satoshi Kataoka f6a1a76524 Merge "Fix a possible NPE" 2013-06-06 05:02:46 +00:00
Satoshi Kataoka 6f9c6f2c64 Fix a possible NPE
Bug: 9301208
Change-Id: Id120c99ab9ef698d16cf7b8beea30c98c95d23a1
2013-06-06 12:01:22 +09:00
Baligh Uddin f93850f06f Import translations. DO NOT MERGE
Change-Id: I79a9506c568d47a7304ff55b75676fe02bfb22a1
Auto-generated-cl: translation import
2013-06-05 15:07:26 -07:00
Tadashi G. Takaoka 596652cc5e am cbd219a7: Move Base64Reader to utils package
* commit 'cbd219a761079007b297c7d0cc1ca5d93420b0c9':
  Move Base64Reader to utils package
2013-06-05 03:51:54 -07:00
Tadashi G. Takaoka cbd219a761 Move Base64Reader to utils package
Change-Id: Id46898c5cae268f05850d79938929b7707f27320
2013-06-05 19:39:36 +09:00
Tadashi G. Takaoka d8177b3aba am 9c440d13: Merge "Remove unnecessary Drawable.setState"
* commit '9c440d137300ddf72cca201cf08c9bb2e32d6836':
  Remove unnecessary Drawable.setState
2013-06-05 01:36:24 -07:00
Tadashi G. Takaoka 9c440d1373 Merge "Remove unnecessary Drawable.setState" 2013-06-05 08:34:59 +00:00
Tadashi G. Takaoka 8235d940c4 am 9d4e2518: Merge "Add CsvUtils that conform to RFC 4180"
* commit '9d4e25182699f383e38f37fbff69bc2a7c9304bf':
  Add CsvUtils that conform to RFC 4180
2013-06-04 23:30:24 -07:00
Tadashi G. Takaoka 9d4e251826 Merge "Add CsvUtils that conform to RFC 4180" 2013-06-05 06:28:06 +00:00
Tadashi G. Takaoka 3201e98647 Remove unnecessary Drawable.setState
Change-Id: I362933ea4d5bcb1ccfebb5b22f6ccecf12337f4b
2013-06-05 14:30:16 +09:00
Tadashi G. Takaoka 3ceeb6bcc6 Add CsvUtils that conform to RFC 4180
Bug: 9070153
Change-Id: I66e55dd2f30fddfeb849edb97bc1cbda6b126d92
2013-06-05 12:26:22 +09:00
Tadashi G. Takaoka e10f4b6b77 am 0bfc2bc4: Merge "Add CODE_CAPSLOCK for long press shift key"
* commit '0bfc2bc419e7e758c6ce17b5fb959687f583551a':
  Add CODE_CAPSLOCK for long press shift key
2013-06-04 19:23:31 -07:00
Tadashi G. Takaoka 0bfc2bc419 Merge "Add CODE_CAPSLOCK for long press shift key" 2013-06-05 02:19:02 +00:00
Tadashi G. Takaoka 9552badf3c Add CODE_CAPSLOCK for long press shift key
This change utilizes the no panel auto more key feature to implement
long press shift key for shift lock.

Change-Id: I3995d25dc35aea3c67b5aa29299815462eff9cad
2013-06-04 18:20:06 +09:00
Kurt Partridge 0486b377e7 am 0dbae774: Merge "Avoid an NPE"
* commit '0dbae774969c4f467b9d51f621eca4c3a58a2717':
  Avoid an NPE
2013-06-03 19:48:05 -07:00
Kurt Partridge 0dbae77496 Merge "Avoid an NPE" 2013-06-04 02:46:54 +00:00
Kurt Partridge 5fc9d6cc04 Avoid an NPE
Change-Id: I174eb8e92820fe6e7f8d3b89afae12d94063ef5d
2013-06-03 19:30:57 -07:00
Baligh Uddin 174f1b222f Import translations. DO NOT MERGE
Change-Id: I718dc281137ceca3015d7355238f91e16f4b9cbc
Auto-generated-cl: translation import
2013-06-03 15:18:17 -07:00
Tadashi G. Takaoka 15aab5b1fe am cbc7acb6: Merge "Expand suggestion strip when center suggestion is long"
* commit 'cbc7acb6f521fb680564a4fc6132c1913491de77':
  Expand suggestion strip when center suggestion is long
2013-06-03 07:46:42 -07:00
Tadashi G. Takaoka cbc7acb6f5 Merge "Expand suggestion strip when center suggestion is long" 2013-06-03 14:45:05 +00:00
Kurt Partridge afbaac36a8 am 763fd9d5: Merge "Fix revert of committed words"
* commit '763fd9d5e9a3136a4a7300219b8094df089fe5b6':
  Fix revert of committed words
2013-06-03 06:05:01 -07:00
Kurt Partridge 763fd9d5e9 Merge "Fix revert of committed words" 2013-06-03 13:03:26 +00:00
Tadashi G. Takaoka adf68c5828 am b4ae86f0: Merge "Rename methods for readability"
* commit 'b4ae86f0de556bea6d809d8d8cb89007d8900446':
  Rename methods for readability
2013-06-03 03:01:54 -07:00
Tadashi G. Takaoka b4ae86f0de Merge "Rename methods for readability" 2013-06-03 09:57:48 +00:00
Tadashi G. Takaoka 3e543e2725 am 2a529b85: Merge "Clear previous suggestions when gesture typing starts"
* commit '2a529b85d084b1534a29b25efd27aaf881e399d1':
  Clear previous suggestions when gesture typing starts
2013-06-03 02:30:36 -07:00
Tadashi G. Takaoka 2a529b85d0 Merge "Clear previous suggestions when gesture typing starts" 2013-06-03 09:27:55 +00:00
Tadashi G. Takaoka 9ff7354d78 Clear previous suggestions when gesture typing starts
Bug: 8651076
Change-Id: Ic65ed3e3696409edea4e35080c11e4d1869a5a7e
2013-06-03 17:59:26 +09:00
Tadashi G. Takaoka 2a9882a433 Rename methods for readability
Change-Id: I8fc2c90cf8d3dce11740f8e61edf6dfde9b1c116
2013-06-03 17:52:21 +09:00
Jean Chalard 994b285875 am 3b94fd7b: Merge "Update dictionaries"
* commit '3b94fd7b970949bcc98d4ed7a65a24e4cc7985cc':
  Update dictionaries
2013-06-03 01:02:24 -07:00
Jean Chalard 3b94fd7b97 Merge "Update dictionaries" 2013-06-03 07:58:39 +00:00
Jean Chalard e73802f335 Update dictionaries
>>> dictionaries/ru_wordlist.combined.gz
Header :
  date : 1366974711 <=> 1370244430
  MULTIPLE_WORDS_DEMOTION_RATE : 0 <=> 50
  version : 32 <=> 34
Body :
Deleted: МДА 2
Freq changed: а 0 -> 60
Freq changed: в 0 -> 60
Deleted: возбужденные 0
Freq changed: гей 92 -> 0
Freq changed: жид 80 -> 0
Freq changed: зареган 0 -> 50
Freq changed: и 0 -> 60
Freq changed: к 0 -> 60
Deleted: клевом 0
Freq changed: куи 29 -> 0
Freq changed: лох 69 -> 0
Freq changed: о 0 -> 60
Freq changed: ребут 0 -> 50
Freq changed: с 0 -> 60
Freq changed: у 0 -> 60
Freq changed: хуй 77 -> 0
Freq changed: хукера 38 -> 0
Freq changed: широко 0 -> 144
Deleted: щеткой 70
Freq changed: щёткой 69 -> 70
Freq changed: я 0 -> 60
Added: жены 134
Added: звони 100
Added: клёвом 50
Added: мда 0

>>> java/res/raw/main_ru.dict
Header :
  date : 1366974711 <=> 1370244430
  version : 32 <=> 34
  MULTIPLE_WORDS_DEMOTION_RATE : 0 <=> 50
Body :
(same changes)

Change-Id: Ie10bdd1f33cac43c5be35e99faef7cfdfe877d2b
2013-06-03 16:41:12 +09:00
Tadashi G. Takaoka c6b7cd3524 am 0e66ab74: Merge "Fix ArrayIndexOutOfBoundException"
* commit '0e66ab743358b1ea65d93c640bf167af90b4d481':
  Fix ArrayIndexOutOfBoundException
2013-06-03 00:13:35 -07:00
Tadashi G. Takaoka 043273b00f Expand suggestion strip when center suggestion is long
Bug: 9059710
Change-Id: I7fa2658cc6442e86f69c991f1e99db6fb1ef909c
2013-06-03 16:12:59 +09:00
Tadashi G. Takaoka 0e66ab7433 Merge "Fix ArrayIndexOutOfBoundException" 2013-06-03 07:12:07 +00:00
Tadashi G. Takaoka 72ac390ce6 Fix ArrayIndexOutOfBoundException
Change-Id: I243fc4965365680615eed834efe9ae0240e7f2a8
2013-06-03 15:35:49 +09:00
Kurt Partridge 420532cc3a am c4119c80: Merge "Uncommit an extra LogUnit"
* commit 'c4119c80630fa952e3b3c1c444b78b1842f45180':
  Uncommit an extra LogUnit
2013-06-02 22:41:32 -07:00
Kurt Partridge c4119c8063 Merge "Uncommit an extra LogUnit" 2013-06-03 05:38:43 +00:00
Kurt Partridge ef827a99d0 am a2f3f17d: Merge "Compare scrubbed strings when uncommitting LogUnits"
* commit 'a2f3f17de6a70e25293861b02d7a5ecf79c47907':
  Compare scrubbed strings when uncommitting LogUnits
2013-06-02 20:06:46 -07:00
Kurt Partridge a2f3f17de6 Merge "Compare scrubbed strings when uncommitting LogUnits" 2013-06-03 03:03:58 +00:00
Kurt Partridge 173ac0c60d am 74330288: Merge "Uncommit separator LogUnits"
* commit '743302888b25235683c61aade88498d224d0c170':
  Uncommit separator LogUnits
2013-06-02 20:03:35 -07:00
Kurt Partridge 743302888b Merge "Uncommit separator LogUnits" 2013-06-03 03:01:23 +00:00
Kurt Partridge a856138c49 am 3d209462: Merge "Uncommit LogUnits when reverting textInput"
* commit '3d2094627223dd76436e6460f43956c57053524e':
  Uncommit LogUnits when reverting textInput
2013-06-02 20:00:24 -07:00
Kurt Partridge 3d20946272 Merge "Uncommit LogUnits when reverting textInput" 2013-06-03 02:58:20 +00:00
Kurt Partridge 82d98e7a48 am 4efb5c3b: Merge "Remove uncommit on reverting batch input"
* commit '4efb5c3b65733f985081146e018f7d4a3740c728':
  Remove uncommit on reverting batch input
2013-06-02 19:55:10 -07:00
Kurt Partridge 4efb5c3b65 Merge "Remove uncommit on reverting batch input" 2013-06-03 02:54:33 +00:00
Kurt Partridge 94ef54321e Fix revert of committed words
Now that separators are put into their own LogUnits, they must be handled
when going through a revert.

Bug: 9088919

Change-Id: Ibebd0752bb2fa38d74ac96001d63070dd419cee3
2013-06-02 19:22:35 -07:00
Kurt Partridge f07024e0fa Compare scrubbed strings when uncommitting LogUnits
A LogUnit is only uncommitted if the LogUnit's word matches what is
expected.  But a LogUnit never stores numbers, only scrubbed words that
replace numbers with a special character.  So when uncommitting, the
text from the TextView must also be scrubbed for the comparison to pass
correctly.

Bug: 9088919

Change-Id: I9b56f10afce6d0cc84eb9ead3b9a9b1e061ae39c
2013-06-02 19:17:31 -07:00
Kurt Partridge bdff287a0d Uncommit separator LogUnits
Now that separators have their own LogUnits, they must be uncommitted
from the LogBuffer when backspacing over them.

Bug: 9088919

Change-Id: Ib36cc94939b93abe18850a06bced17caf8aaa5b9
2013-06-02 19:15:57 -07:00
Kurt Partridge 8160a21c3a Uncommit an extra LogUnit
The period-generating double-space adds an extra LogUnit --
it must be removed when reverting.

Bug: 9088919

Change-Id: Ic148f40b4030a9b4a0651029bda87f7b94a52252
2013-06-02 00:02:38 -07:00
Kurt Partridge 720840851d Uncommit LogUnits when reverting textInput
Bug: 9088919

Change-Id: I17187aa0afc1c3e9d32269c65f66cfb3a08663cb
2013-06-01 23:42:35 -07:00
Kurt Partridge 4165ef031f Remove uncommit on reverting batch input
Currently when the user reverts a batch input, a LogUnit is uncommitted
from the LogBuffer.  It should not be, because the LogUnit containing the
batch input is never committed in the first place (it is only committed
to the LogBuffer when a key is pressed or a new batch input is entered).

Bug: 9088919

Change-Id: I323af453ce082437a663ccae977b21b775a964bc
2013-06-01 11:15:47 -07:00
Baligh Uddin d3ccd4bf22 Merge "Import translations. DO NOT MERGE" 2013-05-31 23:19:22 +00:00
Jean Chalard 26f489493e Fix the displayed status after download
Bug: 9166225
Change-Id: I7490593d88a5854b9e675b9ead89d2ea9b49315c
2013-05-31 20:28:15 +09:00
Jean Chalard f61999caba Merge "Make it easy to open several dictionaries from tests" 2013-05-31 11:21:37 +00:00
Tadashi G. Takaoka a0c3e02d71 Refactor SuggestionStripLayoutHelper a bit
Bug: 9059710
Change-Id: Ief12029bad75d4dc78090ab97555aece01b873de
2013-05-31 18:14:47 +09:00
Tadashi G. Takaoka 70c2dcffa3 am 6f7e39a6: am e7514a6a: Merge "Add vibration override values for Galaxy S4 and HTC One" into jb-mr2-dev
* commit '6f7e39a6827598492ffbfeedf4c47445519f272e':
  Add vibration override values for Galaxy S4 and HTC One
2013-05-30 23:49:07 -07:00
Tadashi G. Takaoka 6f7e39a682 am e7514a6a: Merge "Add vibration override values for Galaxy S4 and HTC One" into jb-mr2-dev
* commit 'e7514a6a8a9e59ea5cde9f2c3a198f35d111cdc2':
  Add vibration override values for Galaxy S4 and HTC One
2013-05-30 23:47:01 -07:00
Tadashi G. Takaoka e7514a6a8a Merge "Add vibration override values for Galaxy S4 and HTC One" into jb-mr2-dev 2013-05-31 06:45:07 +00:00
Jean Chalard 1562fc91f0 Make it easy to open several dictionaries from tests
Bug: 9127175
Change-Id: I3f1840ee73b364df26dfddb5acb10001e0f2cb61
2013-05-31 15:36:05 +09:00
Tadashi G. Takaoka 723391c945 Merge "Tidy up Utils class a bit" 2013-05-31 06:29:24 +00:00
Kurt Partridge e6125db98d Merge "Catch a permission exception" 2013-05-31 00:30:14 +00:00
Kurt Partridge d63f756013 Catch a permission exception
This change catches a SecurityException if the DictionaryProvider is
unavailable.

Change-Id: I4f2d87327c40765383d8847fd4e934b3cf799488
2013-05-30 13:40:40 -07:00
Tadashi G. Takaoka cbb99c60be Tidy up Utils class a bit
Change-Id: Idc2feb84a902a6cbb7265d1efe06c34e7d63c2c7
2013-05-31 00:32:57 +09:00
Tadashi G. Takaoka 7097aa2d3d Merge "Cleanup unreadable variable names" 2013-05-30 13:09:27 +00:00
Tadashi G. Takaoka d67db32b30 Merge "Separate SuggestionStripLayoutHelper for readablity" 2013-05-30 13:09:17 +00:00
Jean Chalard 1a50999ed9 Merge "Tell the text view we reset state on finish input" 2013-05-30 11:53:50 +00:00
Jean Chalard e90d039e0c Fix two strict mode warnings.
Bug: 9052555
Change-Id: I86e90488679a78a9f6e901b640025619293765a0
2013-05-30 20:12:05 +09:00
Tadashi G. Takaoka 500a9752b1 Cleanup unreadable variable names
Change-Id: Ic97687c58e25e4b0c6833cc25d10854f5f513081
2013-05-30 19:49:51 +09:00
Tadashi G. Takaoka 653603b725 Separate SuggestionStripLayoutHelper for readablity
Change-Id: I82c749c6837c3af7ae290f4cd92f5426ca58b5c7
2013-05-30 19:49:20 +09:00
Jean Chalard 8eb214d7e1 Merge "Fix dictionary pack preference order." 2013-05-30 06:38:27 +00:00
Baligh Uddin 73787ceaa2 Import translations. DO NOT MERGE
Change-Id: I4cd9c57839fe06e2555232074f84d21a45224baa
Auto-generated-cl: translation import
2013-05-29 23:03:48 -07:00
Jean Chalard b3d150aa13 Fix dictionary pack preference order.
It turns out giving them in the right order is not enough, you
also have to actually give them a numeric priority.

Bug: 9165928
Change-Id: I2ecff38f65b70746feeeeb0ed2cc86a586a35363
2013-05-30 12:33:06 +09:00
Jean Chalard ec9670ac3d Merge "Rub some butter on dictionary list scrolling." 2013-05-30 03:31:05 +00:00
Baligh Uddin b4b72d438b Merge "Import translations. DO NOT MERGE" 2013-05-29 21:52:43 +00:00
Jean Chalard 68d9cb62e2 Tell the text view we reset state on finish input
This should be done in onFinishInput rather than onFinishInputView
but for an unknown reason onFinishInput never comes.

Bug: 9113167
Change-Id: Iafb40846a3ed8fad78bfc160d17cd431f81fe891
2013-05-29 18:44:40 +09:00
Jean Chalard 2b34b4eab6 Rub some butter on dictionary list scrolling.
The default implementation for preferences refuses to
cache the views for custom preferences at all. We can
do it, but the system won't do it for us, so this does it.
This makes the screen scrolling smooth again.

Incidentally it also fixes the bug where the button may
not animate on the first element.

Bug: 8882722
Bug: 8883108
Change-Id: I9b2306ac4bf93761a808ebfee3477a65f017cddf
2013-05-29 11:52:04 +09:00
Kurt Partridge 305509ed2f Merge "Remove unused method" 2013-05-29 01:36:27 +00:00
Kurt Partridge b536e2ace5 Remove unused method
The removed method was used in old versions of ALK, never in master.

Change-Id: I607009d4fcca7c7c8493fee51ecd923e6a6b3890
2013-05-28 16:51:19 -07:00
Kurt Partridge 215fabff52 Merge "Rename containsCorrection to containsUserDeletions" 2013-05-28 23:41:26 +00:00
Kurt Partridge 315ab98007 Rename containsCorrection to containsUserDeletions
This change renames containsCorrection to avoid confusion with
CorrectionInfo, and to better clarify its meaning.

Change-Id: I5d8f8e2b03133c15a60d4e8b0f395cda1fff5447
2013-05-28 09:43:04 -07:00
Tadashi G. Takaoka d99abf8cb1 Delete shared preference entry when user select default value
Change-Id: I3fbafd9024c26a99d87376f5d5e359e03988a30f
2013-05-28 20:44:25 +09:00
Tadashi G. Takaoka 39bd6ea0dc Merge "Rename StringUtils.parseCsvString to KeySpecParser.splitKeySpecs" 2013-05-28 11:40:10 +00:00
Tadashi G. Takaoka dbed20ad8d Rename StringUtils.parseCsvString to KeySpecParser.splitKeySpecs
Change-Id: I16e3f3ebc43772cfd96c824afeddfd225404b857
2013-05-28 20:23:37 +09:00
Tadashi G. Takaoka d69e4191b7 Merge "Refactor suggestion strip layout methods a bit" 2013-05-28 11:11:05 +00:00
Tadashi G. Takaoka 389d308fff Refactor suggestion strip layout methods a bit
Bug: 9059710
Change-Id: I8dc698c1d61ca51b65b232e6c586472588a4accb
2013-05-28 20:03:37 +09:00
Tadashi G. Takaoka 4c2ac9ee5f Merge "Rename commaConcatinatedText to commaSplittableText" 2013-05-28 10:58:16 +00:00
Tadashi G. Takaoka c47bc30db8 Rename commaConcatinatedText to commaSplittableText
This is a follow up of I5a32882a08.

Change-Id: I9f0cda2167811f6bba2af042fbde0a821b4cfecd
2013-05-28 19:17:15 +09:00
Tadashi G. Takaoka 68cf2cd931 Merge "Check all regexp patterns in ResourceUtils.getDeviceOverrideValue" 2013-05-28 10:13:43 +00:00
Keisuke Kuroyanagi e168a3c2a5 Merge "Adding additional feature settings." 2013-05-28 10:11:29 +00:00
Tadashi G. Takaoka 4c75ea858a Check all regexp patterns in ResourceUtils.getDeviceOverrideValue
This change also fixes a regexp error of Galaxy S III.

Change-Id: I42a4780bbfd2b083f4e27e61ec513aa875907344
2013-05-28 19:05:40 +09:00
Tadashi G. Takaoka 6d77ae9d81 Merge "Remove KeyboardStart.isInMomentarySwitchState" 2013-05-28 09:23:24 +00:00
Satoshi Kataoka 07e56e76a7 Merge "Implement KIND_OOV_CORRECTION" 2013-05-28 07:27:53 +00:00
Keisuke Kuroyanagi 1b100610b3 Adding additional feature settings.
Change-Id: I9fec0c03b7da9ce0305b494193f4cfe3fca144f3
2013-05-28 00:27:48 -07:00
Tadashi G. Takaoka 1b46738796 Rename "csv" in StringUtils to "commaConcatenatedText"
Change-Id: I5a32882a088e4ff5bfe973a86465d6ff839113d9
2013-05-28 16:13:36 +09:00
Tadashi G. Takaoka e7e7b3234c Remove KeyboardStart.isInMomentarySwitchState
Change-Id: I00f45d8dd7feb6c34c0a65a8545cddd2751796d0
2013-05-28 15:26:03 +09:00
Satoshi Kataoka 3d97b95b90 Implement KIND_OOV_CORRECTION
Bug: 9127749
Change-Id: I96db15a3138e6b522c4c6ad16cc7faad577d3772
2013-05-27 18:53:43 -07:00
Satoshi Kataoka c92e87faf3 Add smoothing utils / matrix libs
Bug: 8556775
Change-Id: I7e0516b344937b84b7d57cc4e5009b7f88e7dc98
2013-05-27 18:08:49 -07:00
Baligh Uddin b4a1c2b510 Import translations. DO NOT MERGE
Change-Id: I1f9b5cf9010256f04a132bb832c128174251d726
Auto-generated-cl: translation import
2013-05-27 15:20:20 -07:00
Baligh Uddin dee9d17c68 Import translations. DO NOT MERGE
Change-Id: Iccfbe700901fe89974beab377bea82d547a1478a
Auto-generated-cl: translation import
2013-05-27 15:08:39 -07:00
Tadashi G. Takaoka 2115f63cba Merge "Add contentDescription attribute to setup wizard video and image" 2013-05-24 22:28:36 +00:00
Keisuke Kuroyanagi 28b6262b54 Merge "Passing options to native suggestion method." 2013-05-24 22:27:19 +00:00
Tadashi G. Takaoka 740d829092 Merge "Use localized toLowerString in AutoCorrection.isValidWord" 2013-05-24 20:00:38 +00:00
Tadashi G. Takaoka 94027c7201 Use Locale.ROOT for locale neutral operations
Bug: 9112465
Change-Id: I6cd63007287b5a1a57cfbabff35d53f66fc5620e
2013-05-24 12:07:30 -07:00
Tadashi G. Takaoka 618407ab7e Use localized toLowerString in AutoCorrection.isValidWord
Bug: 9112465
Change-Id: I63eb4115f393444560e80220d4c90f0f7101b934
2013-05-24 11:47:36 -07:00
Tadashi G. Takaoka ebe0544fc8 Remove redundant method AutoCorrection.isInTheDictionary
Change-Id: I0737fb0b68f411f4db06014f2d94804935808922
2013-05-24 11:40:03 -07:00
Tadashi G. Takaoka b2a78977ba Add contentDescription attribute to setup wizard video and image
Bug: 9112276
Change-Id: I028371770bacd6d975dee5648230abc19f51f542
2013-05-24 11:13:21 -07:00
Keisuke Kuroyanagi 50db5f0fff Passing options to native suggestion method.
Change-Id: I6da180cfa1b9e5aa39600e78e3bc41209a40f583
Signed-off-by: Keisuke Kuroyanagi <ksk@google.com>
2013-05-24 10:21:04 -07:00
Kurt Partridge df8f0fb64b Merge "Fix layout" 2013-05-24 16:09:24 +00:00
Kurt Partridge c4fe29425c Merge "Fix misplaced xml namespace" 2013-05-24 13:54:46 +00:00
Kurt Partridge 89c66fc12e Fix layout
Children of ScrollViews should specify a wrap_content layout_height,
according to AndroidLint

Change-Id: I4f972535f0df6bda1ba48082b812ce80fb5cfdcc
2013-05-23 17:59:23 -07:00
Kurt Partridge 003ed9b36a Fix misplaced xml namespace
Change-Id: I891293c10afbbee0a73c7c98322bec248cc7afb3
2013-05-23 17:59:23 -07:00
Kurt Partridge 264fb9581c Merge "Log reasons for punting n-gram logging" 2013-05-24 00:19:24 +00:00
Tadashi G. Takaoka 02088f4497 Add vibration override values for Galaxy S4 and HTC One
Bug: 9109493
2013-05-23 17:03:42 -07:00
Kurt Partridge aaa23bc12c Log reasons for punting n-gram logging
Addresses b/9074239

Change-Id: I91a3bfcbd32b03e4891ff5f65be01383a3fb8975
2013-05-23 13:56:36 -07:00
Tadashi G. Takaoka 6f9105383a Remove unnecessary methods of KeyboardSwitcher
Change-Id: Idd3647bb1a1d40df8bb89eda715d45427a58d0cd
2013-05-22 10:49:53 -07:00
Tadashi G. Takaoka dc22b7226a Merge "Clean up unused return value" 2013-05-22 17:44:51 +00:00
Tadashi G. Takaoka d88353266a Merge "Haptick and audio feedback on key repeat" 2013-05-22 17:44:01 +00:00
Kurt Partridge 5fdea4775e Merge "Always record word boundaries" 2013-05-22 03:04:35 +00:00
Tadashi G. Takaoka 009488eaaf Haptick and audio feedback on key repeat
Bug: 6522943
Change-Id: I181f7e8722bf1b3042d7f384ae8ebf87f29458a9
2013-05-21 19:48:15 -07:00
Tadashi G. Takaoka d9a87eb857 Merge "Fix drawing debug points of gesture trails" 2013-05-22 00:39:22 +00:00
Keisuke Kuroyanagi 44f679bbd2 Merge "Fix running on device regression test and profile." 2013-05-22 00:18:14 +00:00
Tadashi G. Takaoka 96efb1252a Clean up unused return value
Change-Id: Ie59f08db947ca5314935c6b723cf498129b4515c
2013-05-21 16:42:07 -07:00
Tadashi G. Takaoka 9764397274 Fix drawing debug points of gesture trails
Bug: 7167303
Change-Id: I9a75b1b9b9127c5364da49b2a04b22c16a7ad535
2013-05-21 16:09:10 -07:00
Kurt Partridge 450d78b030 Always record word boundaries
Word boundaries are currently logged, but only if all the
details of a word pass the privacy filter and are logged.

This change records when a word is committed in all cases,
but does not disclose the word contents or any data used in
its construction.

Addresses b/9070768

Change-Id: I573679d0685c088aca65af99e46337a2f429f816
2013-05-21 16:08:54 -07:00
Tadashi G. Takaoka 8a6a15e052 Merge "Clean up IntentCompatUtils a bit" 2013-05-21 22:17:24 +00:00
Tadashi G. Takaoka db7d4da3e5 Clean up IntentCompatUtils a bit
Change-Id: I803aa6c2160bfa1ffe992b28e7eb6e8a320c9762
2013-05-21 15:13:23 -07:00
Kurt Partridge ff80ee20b4 Merge "Modify isAllowedToLog" 2013-05-21 21:22:23 +00:00
Kurt Partridge 74a6196c6b Modify isAllowedToLog
Currently isAllowedToLog only checks the state of the
ResearchLogger, and does not consider which log the data is
going to.  This causes problems with the logs for Feedback.
The Feedback log should inhibit normal logging procedures,
but the system needs to be able to write specific data
directly to it.

This change renames to isAllowedToLogTo and adds the
destination ResearchLog as a parameter.  A FeedbackLog is also
added as a new class so it can be distinguished from other
ResearchLogs.

Change-Id: I5a1eea05bb040c26bf816b89179f44b3024fa2ad
2013-05-21 14:09:04 -07:00
Jean Chalard d96f63d2ed am e2bee5b1: am ede3db51: Merge "Fix a crash on a secondary user" into jb-mr2-dev
* commit 'e2bee5b134aaefc69a680be8ea65e2d7640b3ead':
  Fix a crash on a secondary user
2013-05-20 21:32:21 -07:00
Jean Chalard e2bee5b134 am ede3db51: Merge "Fix a crash on a secondary user" into jb-mr2-dev
* commit 'ede3db51f0fb16559c27aa29a7cf07784bb9431c':
  Fix a crash on a secondary user
2013-05-20 21:29:50 -07:00
Jean Chalard ede3db51f0 Merge "Fix a crash on a secondary user" into jb-mr2-dev 2013-05-21 04:27:34 +00:00
Baligh Uddin 13d7d5684e am 23bff513: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev
* commit '23bff513a97a71eacc6eadf694ce6f5a1e07967c':
  Import translations. DO NOT MERGE
2013-05-20 21:19:11 -07:00
Baligh Uddin 7f008a62d3 Merge "Import translations. DO NOT MERGE" 2013-05-21 04:18:40 +00:00
Baligh Uddin 23bff513a9 Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-05-21 04:17:27 +00:00
Jean Chalard 05ea7c5d02 am 167ba345: am 89fe1f50: Add a method to work around apps broken by recorrection
* commit '167ba3459b0ce02b9add12ade9388bd2b1e6eb62':
  Add a method to work around apps broken by recorrection
2013-05-20 21:10:07 -07:00
Jean Chalard 167ba3459b am 89fe1f50: Add a method to work around apps broken by recorrection
* commit '89fe1f50881180730e451cbe6ec4d1f8dc67acf1':
  Add a method to work around apps broken by recorrection
2013-05-20 21:08:41 -07:00
Satoshi Kataoka 10e8b93977 Fix a crash on a secondary user
Bug: 9054063
Change-Id: I092ab6e0077578d0aca57d2e41dfbc00b46e1ba4
2013-05-21 12:27:16 +09:00
Keisuke Kuroyanagi adf82a97a9 Fix running on device regression test and profile.
Change-Id: Ie16d9514092d6d6f42881b975420e5d1431b776c
2013-05-20 20:14:13 -07:00
Tadashi G. Takaoka a66396369b Merge "Remove unnecessary @UsedForTesting annotation" 2013-05-21 03:07:59 +00:00
Jean Chalard 0013f97ddd am 5906b05b: am 7058b02a: Extract a new class for app-specific workarounds.
* commit '5906b05bb50c0a67bd4f03fcfae41db3daefe0bc':
  Extract a new class for app-specific workarounds.
2013-05-20 19:50:46 -07:00
Jean Chalard 5906b05bb5 am 7058b02a: Extract a new class for app-specific workarounds.
* commit '7058b02a9c798c21b169b778be2befc7739f4e9b':
  Extract a new class for app-specific workarounds.
2013-05-20 19:49:25 -07:00
Tadashi G. Takaoka 2532f72b94 Remove unnecessary @UsedForTesting annotation
Change-Id: I843fd6bc20da95e61d1a05b5b34d6e4c9db59dab
2013-05-21 10:45:59 +09:00
Jean Chalard 89fe1f5088 Add a method to work around apps broken by recorrection
Bug: 8944307
Change-Id: I8986622554f30aaf4f595099c4ab5652b75c972c
2013-05-21 07:53:31 +09:00
Jean Chalard 7058b02a9c Extract a new class for app-specific workarounds.
Bug: 8944307
Change-Id: Iaff9dd03d3d856a6bdaa2b16c4e71e95cd2b6349
2013-05-21 07:53:28 +09:00
Baligh Uddin 5914b8d4b6 Import translations. DO NOT MERGE
Change-Id: I1075741837c63b5bb93cf2b39aa707cf5afeb9e7
Auto-generated-cl: translation import
2013-05-20 15:29:34 -07:00
Baligh Uddin 6ac1a79f02 Import translations. DO NOT MERGE
Change-Id: I40c83f490ebab993d07fd92b78a6901f3ddbc2b2
Auto-generated-cl: translation import
2013-05-20 15:15:36 -07:00
Kurt Partridge 500dea6ad4 Fix punctuation logging
Punctuation is currently put into the same LogUnit as the
following word.  This is counter-intuitive and makes
post-processing more complicated.

This change causes punctuation to be put into its own
LogUnit.

A tricky case is the phantom space.  A phantom space is
inserted right before other text, whose MotionEvents have
already been collected and inserted into mCurrentLogBuffer.
Phantom spaces are handled by creating their own LogUnit and
inserting it into the LogBuffer right before
mCurrentLogBuffer is shifted in.

Change-Id: I102d7cd93982ad37ba0abb6c1ac0f66b85b5f95d
2013-05-17 09:47:40 -07:00
Kurt Partridge 17b63ba588 Merge "Remove unnecessary commit/uncommit" 2013-05-15 23:52:43 +00:00
Kurt Partridge 7af5300c7d Merge "Add claifying comment" 2013-05-15 23:31:31 +00:00
Jean Chalard d40b4729a5 am b1e37e4a: am f1dcf725: Merge "Don\'t process recorrection or resets when not shown"
* commit 'b1e37e4a478a577c59930767148e50f8f45af21f':
  am f1dcf725: Merge "Don\'t process recorrection or resets when not shown"
2013-05-15 12:59:27 -07:00
Tadashi G. Takaoka ff0bd7dbfa am 25f0c808: am 96a9f357: Merge "Fix unintentional setup step advance in orientation change"
* commit '25f0c8089eecfcded7f41c66453bd874ba92219a':
  am 96a9f357: Merge "Fix unintentional setup step advance in orientation change"
2013-05-15 12:59:26 -07:00
Tadashi G. Takaoka d6a7a26d63 am d59c1f83: am 50259c70: Merge "Tune layout parameters of setup wizard"
* commit 'd59c1f8324d568fa05a0ba660c602357b8f68958':
  am 50259c70: Merge "Tune layout parameters of setup wizard"
2013-05-15 12:59:25 -07:00
Tadashi G. Takaoka e7ef9669d6 am 7d9bd6f5: am 66b87269: Update welcome fallback image (using xhdpi asset)
* commit '7d9bd6f54e5ebed4b4a1657c44e5731a2d182560':
  am 66b87269: Update welcome fallback image (using xhdpi asset)
2013-05-15 12:59:23 -07:00
Tadashi G. Takaoka 883905f45b am 7fe67544: am 769427cf: Adjust aspect ratio of setup image
* commit '7fe675440e5ecc3da872803dae60bec8bd66c9e5':
  am 769427cf: Adjust aspect ratio of setup image
2013-05-15 12:59:22 -07:00
Kurt Partridge 39afaf3dc3 am 6d0f0347: am b2d53be7: Merge "Remove FeedbackLog instance variables."
* commit '6d0f0347013fbd59d967b438c9f2754141d35f85':
  Remove FeedbackLog instance variables.
2013-05-15 12:59:19 -07:00
Tadashi G. Takaoka 46bf9f493c am 4e3a8afd: am 8b56ad78: Merge "Revise welcome screen video and still image"
* commit '4e3a8afd173b23f8f73fd18d0b23a3cc8f3226b4':
  Revise welcome screen video and still image
2013-05-15 12:59:17 -07:00
Ken Wakasa acb37023b2 am 23bfac83: am d78c776b: Merge "Adjust sampling interval for gesture stroke drawing a bit."
* commit '23bfac83c25f7635d539cdb85d923a03c44c0a8d':
  Adjust sampling interval for gesture stroke drawing a bit.
2013-05-15 12:59:11 -07:00
Ken Wakasa 5ee11c5d9a am 2e0fc8bf: am d6d70e73: Merge "Revert "Fix isSuggestionsStripVisible when keyboard hidden""
* commit '2e0fc8bf33411de82c8110878878ec1d6c392fe3':
  Revert "Fix isSuggestionsStripVisible when keyboard hidden"
2013-05-15 12:59:09 -07:00
Tadashi G. Takaoka 8e7b173936 am 3fff5179: am 41016aca: Back to previous keyboard layout by canceling sliding input
* commit '3fff5179d5020123c5bae7a1c83591afd45ace58':
  Back to previous keyboard layout by canceling sliding input
2013-05-15 12:59:08 -07:00
Tadashi G. Takaoka 03f2ca6d50 am f46eafe2: am c9398a3b: Merge "Fix PointerTrackerQueue.releaseAllPointerOlderThan"
* commit 'f46eafe2555a8d405ce7171bc4a2977a9aecf2b9':
  Fix PointerTrackerQueue.releaseAllPointerOlderThan
2013-05-15 12:59:06 -07:00
Jean Chalard 95586abc11 am dccad3ef: am cb0d1c4c: Fix isSuggestionsStripVisible when keyboard hidden
* commit 'dccad3efa4af41282857df5140e8ca6dc9ad99be':
  Fix isSuggestionsStripVisible when keyboard hidden
2013-05-15 12:59:05 -07:00
Tadashi G. Takaoka 2d86b73ffe am 035c68a1: am b121538e: Tune maximum keypress duration to 100 milliseconds
* commit '035c68a19a4966fe1a0f5c4d1cc7990e41455f79':
  Tune maximum keypress duration to 100 milliseconds
2013-05-15 12:53:14 -07:00
Tadashi G. Takaoka 7e52c35dce am 94c54eca: am e8336aa8: Merge "Fix keypress vibration duration of HTC One X"
* commit '94c54eca391b82cd174a5e80c19078ff62556b66':
  Fix keypress vibration duration of HTC One X
2013-05-15 12:53:13 -07:00
Tadashi G. Takaoka f197335027 am a70da988: am 5f857a35: Merge "Disable functional key while in sliding input mode"
* commit 'a70da988d78ffd20941dfaa34f7a6324e465808e':
  Disable functional key while in sliding input mode
2013-05-15 12:53:11 -07:00
Tadashi G. Takaoka c731457f8a am f6b5484d: am b5f67e7f: Add device specific keypress vibration duration database
* commit 'f6b5484dcb2d69fe6a21a62fda31ff523936b492':
  Add device specific keypress vibration duration database
2013-05-15 12:53:10 -07:00
Tadashi G. Takaoka 73673b4c41 am f1708394: am 0efd8d1b: Fix landscape override value expression
* commit 'f17083941daefe146358dc39a3e8d0ca660c530d':
  Fix landscape override value expression
2013-05-15 12:53:09 -07:00
Tadashi G. Takaoka 7a876b3114 am 813ba9f5: am 6b0bcfba: Merge "Disable long press timer while sliding input mode"
* commit '813ba9f5262c59ba99efdcf838036ae3b7e2dd0c':
  Disable long press timer while sliding input mode
2013-05-15 12:53:07 -07:00
Tadashi G. Takaoka 94ad2ef762 am 094447bd: am ad662ade: Disable delete key repeating while in slide input mode
* commit '094447bd4652f9ed038f0489ef4e4f5af1679143':
  Disable delete key repeating while in slide input mode
2013-05-15 12:53:06 -07:00
Tadashi G. Takaoka 66e5e05fbf am 6780e43d: am 18184eac: Support regular expression for condition pattern
* commit '6780e43d761b0cbe0ce54cfc017ac779509e1c61':
  Support regular expression for condition pattern
2013-05-15 12:53:04 -07:00
Tadashi G. Takaoka aaf7d70be7 am 6f647842: am ec83457d: Merge "Support multiple condition for getDeviceOverrideValue"
* commit '6f6478422f8881e7692c99e3a3925266980099d0':
  Support multiple condition for getDeviceOverrideValue
2013-05-15 12:53:03 -07:00
Ken Wakasa 8738eeaf65 am 01c133d7: am cb3bba3c: Rename GesturePreviewTrail.java -> GestureTrail.java
* commit '01c133d72e5cbba33148ec478a3f1ab0c0c3ad5f':
  Rename GesturePreviewTrail.java -> GestureTrail.java
2013-05-15 12:53:02 -07:00
Kurt Partridge 7bc99237b3 am 03a32146: am 7d72ca0b: Avoid JsonWriter multi-write error
* commit '03a32146458f3cd192fde2ff0e85e3a0271a7d2a':
  Avoid JsonWriter multi-write error
2013-05-15 12:53:00 -07:00
Kurt Partridge 1e0f8cffaf am 697f6abb: am 260df841: Merge "Remove unused code"
* commit '697f6abb5d6478e0e0493ee7f821522fa4411f18':
  Remove unused code
2013-05-15 12:52:59 -07:00
Kurt Partridge eaf5c22782 am 026b2645: am bb17034f: Merge "Remove ref to LatinImeLogger preference."
* commit '026b2645c8561b554aa4f127bc90f4805354dc7d':
  Remove ref to LatinImeLogger preference.
2013-05-15 12:52:57 -07:00
Kurt Partridge 4ee6df8d6e am 1f8b354c: am 4135c2db: Merge "Avoid NPE by fixing ResearchLogger initialization"
* commit '1f8b354c9e30963f48ddf6c08b9333bcdc0e0a6f':
  Avoid NPE by fixing ResearchLogger initialization
2013-05-15 12:52:56 -07:00
Tadashi G. Takaoka 941e8bbaa9 am a01ab9ea: am 565ced45: Merge "Refactor StringUtils.findPrefixedString to findValueOfKey"
* commit 'a01ab9ea3580d95e87f3357b2612fb84971b3bfd':
  Refactor StringUtils.findPrefixedString to findValueOfKey
2013-05-15 12:52:55 -07:00
Tadashi G. Takaoka e90fe9c3a4 am afc40e74: am 4705c0fa: Fix screen flash when launching settings activity
* commit 'afc40e74fe01f138155bec26733a413c1b83e0c7':
  Fix screen flash when launching settings activity
2013-05-15 12:52:54 -07:00
Tadashi G. Takaoka 05aa5e75f3 am 48002809: am 2b5c9726: Introduce another activity to launch setup wizard
* commit '480028095509458aeca91d6c887f7a01aec02774':
  Introduce another activity to launch setup wizard
2013-05-15 12:52:53 -07:00
Tadashi G. Takaoka 82e3ea9505 am e7de0ce7: am 5ffa5bf3: Merge "Keep SetupActivity alive to check re-launching from launcher"
* commit 'e7de0ce7411faec1b9bcfc07bdffe5c59856d928':
  Keep SetupActivity alive to check re-launching from launcher
2013-05-15 12:52:51 -07:00
Jean Chalard 28eab9d57c am 07905b6a: am 2564bd09: Merge "Reuse old preferences if possible."
* commit '07905b6a0a3e67ffc5a803ddbe863c2c101846fe':
  Reuse old preferences if possible.
2013-05-15 12:52:50 -07:00
Satoshi Kataoka 1884044eb7 am 81662dd4: am ba35426f: Merge "Tweak a label in the personal dictionary settings"
* commit '81662dd41e6eb39f89d7f1a3779e31f164e3e002':
  Tweak a label in the personal dictionary settings
2013-05-15 12:52:48 -07:00
Tadashi G. Takaoka 1cb72a0939 am 384d4e5b: am 2ad7023c: Fix detecting out of keyboard area
* commit '384d4e5b5da940b1620c5b4da2b938a9134ed2ea':
  Fix detecting out of keyboard area
2013-05-15 12:52:47 -07:00
Satoshi Kataoka 32866cebf1 am 2a383bfe: am 341f1b23: Tweak gesture debug
* commit '2a383bfebd16c82473ddf1c5203e5bc2d68282d5':
  Tweak gesture debug
2013-05-15 12:47:08 -07:00
Satoshi Kataoka 41b21c470f am 45c925a9: am 52cb409a: Don\'t resize debug array if production
* commit '45c925a9be45ddfd9901c44f1e2dec46d22ff84e':
  Don't resize debug array if production
2013-05-15 12:47:07 -07:00
Satoshi Kataoka 99cccf3dd0 am 7f9b3e62: am b2c4c730: Add debug facilities for gesture
* commit '7f9b3e6286ad78594d68a44c90d01062109b0320':
  Add debug facilities for gesture
2013-05-15 12:47:05 -07:00
Satoshi Kataoka f5bb523125 am a8254f73: am b9021090: Fix usages of getEnabledInputMethodSubtypeList
* commit 'a8254f73c27202f8db27c1e93816963a4634eabb':
  Fix usages of getEnabledInputMethodSubtypeList
2013-05-15 12:47:04 -07:00
Tadashi G. Takaoka e8f68d2295 am 14c0e4e7: am 499cea94: Use revised Google Keyboard icon
* commit '14c0e4e782f45d51082e8822b4520f7805a5ec80':
  Use revised Google Keyboard icon
2013-05-15 12:47:03 -07:00
Tadashi G. Takaoka 3da7bdd34e am e868922e: am 3e375863: Launch setup wizard as single top activity
* commit 'e868922edcbdf0df9ac2695c63384efa32629e07':
  Launch setup wizard as single top activity
2013-05-15 12:47:01 -07:00
Jean Chalard 29177deb55 am 114ec4ac: am 71d52474: Merge "Optimizations and safeguards."
* commit '114ec4ac9f2731419b6e1167067a4baffbefa6ea':
  Optimizations and safeguards.
2013-05-15 12:47:00 -07:00
Satoshi Kataoka e3ca68aa51 am 9e5d7abe: am eab27c1e: Merge "Add account e-mail addresses to the user dictionary"
* commit '9e5d7abe33fcf68ef74fde6851ea6dd99beb5141':
  Add account e-mail addresses to the user dictionary
2013-05-15 12:46:57 -07:00
Tadashi G. Takaoka bd2aca0b77 am c6143574: am 5b8b76ba: Merge "Move gesture preview trail parameters to resource"
* commit 'c614357468c496db420c7b1d0a8a119f86620f8a':
  Move gesture preview trail parameters to resource
2013-05-15 12:46:56 -07:00
Satoshi Kataoka 1c7a15b508 am eecf34a9: am faa94a2d: Merge "Add owner\'s info to the dictionary"
* commit 'eecf34a9be6ffb20635d0807f16f9fe131cf7f63':
  Add owner's info to the dictionary
2013-05-15 12:46:54 -07:00
Satoshi Kataoka 7fdd34317d am 873f9b90: am 6435c800: Merge "Fix an issue on the transition between the setup and the settings"
* commit '873f9b90f78857b13328a4a518d1aa8fa4b4f4eb':
  Fix an issue on the transition between the setup and the settings
2013-05-15 12:46:53 -07:00
Satoshi Kataoka 7e5e4c857f am fe856be8: am f59c4f68: Fix labels in the personal dictionary settings
* commit 'fe856be87573cd2641c6cf71e9b5a03e8b5e2491':
  Fix labels in the personal dictionary settings
2013-05-15 12:46:51 -07:00
Satoshi Kataoka a5f0a52d7c am 778eabfe: am 244a24e3: Consolidate dummy proximity info to the spell checker info
* commit '778eabfe7476b64aaef614c6649d6798b2bbc3bf':
  Consolidate dummy proximity info to the spell checker info
2013-05-15 12:46:50 -07:00
Kurt Partridge 8facddba7d am 9b5965d4: am 1eb1af75: Merge "Fix looping logic bugs."
* commit '9b5965d452d55fd271dc14f2328b44da08c3cb67':
  Fix looping logic bugs.
2013-05-15 12:46:48 -07:00
Tadashi G. Takaoka 3c3828884a am d2dbbc41: am 104bb70c: Merge "Avoid drawing too long gesture preview trails"
* commit 'd2dbbc417484d3f5ef0f4617e037473c75926d4e':
  Avoid drawing too long gesture preview trails
2013-05-15 12:46:45 -07:00
Jean Chalard d942e6e675 am 0633a208: am 2afe88b8: Merge "Unify space-adding on gestures."
* commit '0633a208bcb66afdb32de5b36329c4d559008881':
  Unify space-adding on gestures.
2013-05-15 12:46:44 -07:00
Satoshi Kataoka 4334809ff6 am 1e7c0677: am a9dd74cf: refactor spell checker
* commit '1e7c067770b6406c762974406013db24561c2416':
  refactor spell checker
2013-05-15 12:46:41 -07:00
Tadashi G. Takaoka 55b98d2549 am 7b6b30df: am 9d71a6c9: Remove unused device form factor values
* commit '7b6b30dffcf027f50198f9588eaa4918b4e1cda2':
  Remove unused device form factor values
2013-05-15 12:46:39 -07:00
Tadashi G. Takaoka 710a12e36c am d192dd94: am 84ac8f31: Move empty listner to KeyboardActionListener.Adapter
* commit 'd192dd94ebfb08a6e432c0083ba74a5ea86dd7b1':
  Move empty listner to KeyboardActionListener.Adapter
2013-05-15 12:46:38 -07:00
Tadashi G. Takaoka 066a445fc4 am 0500edcc: am 40eb31be: Merge "Clean up unused static variable"
* commit '0500edccc2b0620ee4e531508052ae6d2a84cc9b':
  Clean up unused static variable
2013-05-15 12:46:36 -07:00
Tadashi G. Takaoka bbc91a0671 am c8dcf48e: am ce67b416: Record down point as gesture preview trail for sure
* commit 'c8dcf48e022f7964015807dd7d52905ce41bdbfb':
  Record down point as gesture preview trail for sure
2013-05-15 12:46:34 -07:00
Tadashi G. Takaoka 7afc241d03 am 7a926b3c: am 4ddf1e47: Remove unused gesture preview trail code
* commit '7a926b3ca7997920a8dc56c52935676ef787d5e5':
  Remove unused gesture preview trail code
2013-05-15 12:46:33 -07:00
Tadashi G. Takaoka 4e8fde004f am a36266dd: am a5be033d: Preserve setup wizard step while orientation change
* commit 'a36266dd5840d645e46b18e41ebcdbea4a21c0e4':
  Preserve setup wizard step while orientation change
2013-05-15 12:35:28 -07:00
Tadashi G. Takaoka 3c93fdc8e0 am 9bb189f6: am 7d19ab5c: Using int instead of booleans to save keyboard shift state
* commit '9bb189f6131eda218bd76a055a3f4c83fbd0d088':
  Using int instead of booleans to save keyboard shift state
2013-05-15 12:35:27 -07:00
Tadashi G. Takaoka 62dd1ee3aa am 3c1a18c6: am 7f8dd50b: Save automatic shift state while orientation changing
* commit '3c1a18c6a6540300aea96b3195920f5a1e159e09':
  Save automatic shift state while orientation changing
2013-05-15 12:35:25 -07:00
Baligh Uddin a8fb8b4bb4 am e351e10a: Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle
* commit 'e351e10a68ad6e934ee3cfdd6456f9474d76facb':
  Import translations. DO NOT MERGE
2013-05-15 12:29:35 -07:00
Jean Chalard e229cd9743 am d8e55277: am 83757d43: Merge "Pass blockOffensiveWords as a parameter"
* commit 'd8e5527701ffe1d9da2280bf7bcca7834387b1c6':
  Pass blockOffensiveWords as a parameter
2013-05-15 12:24:00 -07:00
Jean Chalard 6b93b185ef am 3eee5cd2: am 53b37dc0: Merge "Fix a layout problem for pre-MR2"
* commit '3eee5cd24b259109b9b2122026a494a050a540e9':
  Fix a layout problem for pre-MR2
2013-05-15 12:23:55 -07:00
Baligh Uddin c363302eb7 Merge commit '3ac40c6a' into jb-mr2-dev-plus-aosp
Conflicts:
	java/src/com/android/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java

Conflict resolved by matching code with jb-mr2-dev.
2013-05-15 11:40:41 -07:00
Tadashi G. Takaoka 1e08d3d259 am 6191026c: am 0caf3f6a: Merge "Introduce MoreSuggestionsListener class"
* commit '6191026ce4e4cc756f47135223f58318d35d3143':
  Introduce MoreSuggestionsListener class
2013-05-15 11:26:02 -07:00
Satoshi Kataoka d53fb22a97 am fcfa2cb2: am 6314b845: Merge "Add permissions for personalization"
* commit 'fcfa2cb24fe4151e28574d3da4397bcc04f3d50a':
  Add permissions for personalization
2013-05-15 11:26:00 -07:00
Tadashi G. Takaoka 2f6851d9da am f405dc87: am 17a35383: Merge "Override View.drawableStateChanged to detect state_pressed"
* commit 'f405dc87a8e61fe95c8e4ee5b81a2f4cd005dfd0':
  Override View.drawableStateChanged to detect state_pressed
2013-05-15 11:25:59 -07:00
Tadashi G. Takaoka 03fe0cf4dd am 3b892164: am 7b2114a4: Display still image when device can\'t play welcome video
* commit '3b8921646fb51b9bb91108cfc103a5feccbbbbe9':
  Display still image when device can't play welcome video
2013-05-15 11:25:56 -07:00
Ken Wakasa 45fe5c3429 am 761b5586: am a0b62ece: Merge "Cleanup an unused return value"
* commit '761b5586a74f86b269335884fef4ab23eadc69f1':
  Cleanup an unused return value
2013-05-15 11:19:48 -07:00
Tadashi G. Takaoka 24fc5ab65f am f4a03ddc: am 1187ef9a: Merge "Catch error while playing welcome video"
* commit 'f4a03ddcf85a546a7ed9eb59840fd81e4c014de9':
  Catch error while playing welcome video
2013-05-15 11:19:36 -07:00
Jean Chalard 9db1f6d9c6 am d618419d: am 37bbaea8: Merge "[PB14] Cosmetic fixes to the progress bar"
* commit 'd618419d16865f9cc54ec893873bab514b321815':
  [PB14] Cosmetic fixes to the progress bar
2013-05-15 11:19:35 -07:00
Satoshi Kataoka fa47814ca3 am f4d7c99c: am 71c1e50f: Merge "Fix the title of the fragment of the personal dictionary"
* commit 'f4d7c99cda24fb5747843a47cd8a4423c315f685':
  Fix the title of the fragment of the personal dictionary
2013-05-15 11:19:28 -07:00
Jean Chalard bc81ac838a am 69e1e45c: am 01170ffe: [PB13] Actually update the progress bar
* commit '69e1e45c012f5f1c1fa1ec8d096c806c99459ffe':
  [PB13] Actually update the progress bar
2013-05-15 11:19:12 -07:00
Tadashi G. Takaoka 58434ae636 am 3bcc7545: am 965329c1: Fix missing string reference of spellchecker.xml
* commit '3bcc75456fc01327e8358468131e8daf6095da98':
  Fix missing string reference of spellchecker.xml
2013-05-15 11:19:00 -07:00
Jean Chalard 861d7cea30 am 27c91662: am 5f2efe0f: Merge "[PB12] Implement the progress bar update lifecycle"
* commit '27c91662723f3b4252cff0ecef632156a2162316':
  [PB12] Implement the progress bar update lifecycle
2013-05-15 11:18:43 -07:00
Jeff Sharkey f892099b3e am 238748d5: am 7a800e79: Merge "Avoid leaking AssetFileDescriptor."
* commit '238748d57c8ba770be4c3e34fa6d704893de3d07':
  Avoid leaking AssetFileDescriptor.
2013-05-15 11:17:59 -07:00
Jean Chalard 4779ea605a am 88f3e4ef: am fc26033c: [PB11] Add a skeleton class for a self-updating progress bar
* commit '88f3e4efd49a0d39b01e37310ebaba2c4b40a040':
  [PB11] Add a skeleton class for a self-updating progress bar
2013-05-15 11:05:23 -07:00
Jean Chalard e486427650 am eb34f710: am ab0c66b9: [PB10] Add a progress bar to display file download progress
* commit 'eb34f71088215b7c6514b5f4150057c33f2069d3':
  [PB10] Add a progress bar to display file download progress
2013-05-15 11:05:22 -07:00
Jean Chalard 33ccdd1cda am b312f4a8: am ae577ac1: Merge "Update dictionaries"
* commit 'b312f4a8f78f423c5507785f5fbf79d6c786e5bc':
  Update dictionaries
2013-05-15 11:05:20 -07:00
Jean Chalard 605e28c189 am 4e61cf71: am 739406bf: Merge "[PB9] Make buttons that animate-out unclickable"
* commit '4e61cf7162c565e71e3aeb1a23d1b4f716392fa4':
  [PB9] Make buttons that animate-out unclickable
2013-05-15 11:05:17 -07:00
Tadashi G. Takaoka 95abe990e3 am faa0c350: am be06bce1: Merge "Get rid of janky black box before the movie starts"
* commit 'faa0c3506f012f3a73893f7f0c337bbef9ee4c42':
  Get rid of janky black box before the movie starts
2013-05-15 11:05:15 -07:00
Tadashi G. Takaoka 3983196461 am bb8f6fc4: am d4777552: Merge "Fix graying animation of alt-code keys when space/enter is typed"
* commit 'bb8f6fc4c755ed1a3a1b433fac34c4f9fdd694dc':
  Fix graying animation of alt-code keys when space/enter is typed
2013-05-15 11:05:14 -07:00
Jean Chalard e7c5c8f6fd am 55d80e4f: am e8ed5d88: Delete obsolete dictionaries
* commit '55d80e4f0ce89aa9dab2ba5ce2320e32de91f40e':
  Delete obsolete dictionaries
2013-05-15 11:05:07 -07:00
Jean Chalard 926abffaaa am 42abed7f: am 9a98ef69: Merge "[ZF3] Add the option to block potentially offensive words"
* commit '42abed7ff30b4ad4c04407a81db8de86244b1d80':
  [ZF3] Add the option to block potentially offensive words
2013-05-15 11:05:06 -07:00
Jean Chalard 3160671bc1 am 330072b0: am c03aaa1b: Merge "[ZF2] Read settings for profanity filtering."
* commit '330072b0146ffe148417d43ee0842c1238b6923d':
  [ZF2] Read settings for profanity filtering.
2013-05-15 11:05:03 -07:00
Jean Chalard 4746093c3c am a9b0c4fb: am 1ff8b1ce: Merge "Update dictionaries"
* commit 'a9b0c4fb9d0247ccdc92984de2d972136a8d34bb':
  Update dictionaries
2013-05-15 11:05:01 -07:00
Satoshi Kataoka 685b65580b am 75a6a525: am adbafa1a: Merge "Support ICS on the user dictionary settings"
* commit '75a6a525e9a34befd931fe666ee761625e6ead99':
  Support ICS on the user dictionary settings
2013-05-15 11:04:59 -07:00
Tadashi G. Takaoka e681b52822 am 7a2fbbb3: am 4bb312c7: Merge "Add strings-appname.xml to AOSP Android Keyboard project"
* commit '7a2fbbb3e6c807340be95807fbd70042466a5426':
  Add strings-appname.xml to AOSP Android Keyboard project
2013-05-15 11:04:58 -07:00
Tadashi G. Takaoka 33eaf07315 am 01f044b0: am dca46b50: Merge "Keep task stack when invoking settings from setup wizard"
* commit '01f044b07a7c90d2b87f5cc31b363326134dfc7c':
  Keep task stack when invoking settings from setup wizard
2013-05-15 11:04:56 -07:00
Tadashi G. Takaoka 037be7fa0a am 3385fe8f: am 9fc82bdb: Merge "Remove graying animation of alt-code keys while typing"
* commit '3385fe8ff58cf42f1c1abac85d6d2ba2aa62ff32':
  Remove graying animation of alt-code keys while typing
2013-05-15 11:04:55 -07:00
Jean Chalard 511432b23c am ba4677fe: am df3ca042: Fix deleting a dictionary
* commit 'ba4677fe0b47aa17ac2a5856d9e71c83eaa71c40':
  Fix deleting a dictionary
2013-05-15 11:04:52 -07:00
Jean Chalard 5ca33bdc5b am 12b35158: am 1919072c: Merge "[ZF1] Check profanity in Java rather than in native"
* commit '12b35158efe759c772454059b69615b6c6b6b854':
  [ZF1] Check profanity in Java rather than in native
2013-05-15 11:04:51 -07:00
Jean Chalard fa51a86b31 am 9799b7dc: am fb34869f: Merge "[PB8] Add an animation upon status change."
* commit '9799b7dc712f3b0d5c320856b172970a9221a18d':
  [PB8] Add an animation upon status change.
2013-05-15 11:04:49 -07:00
Tadashi G. Takaoka 03b6259b75 am 4ecc0a29: am b1b03cfc: Merge "Fix missing initialization of PreviewPlacerView"
* commit '4ecc0a2972bb7747b797c498cc79e4135220bae0':
  Fix missing initialization of PreviewPlacerView
2013-05-15 11:04:48 -07:00
Jean Chalard e6b7fa9310 am 47c5846d: am 43590149: Work around a bug in older DownloadManager versions.
* commit '47c5846dae1452e5e0e480cef91838ebe1d01a48':
  Work around a bug in older DownloadManager versions.
2013-05-15 11:04:45 -07:00
Jean Chalard b7853edee0 am 13a2e1b2: am 4dc77dcf: Merge "[PB7] Export animation code out of the preference"
* commit '13a2e1b245c56812fd91099b4fe91a6111a14c0f':
  [PB7] Export animation code out of the preference
2013-05-15 11:04:44 -07:00
Jean Chalard 8810ac41af am c090b38c: am a995bf40: Put temp files within app files
* commit 'c090b38c15cadf9655b2ba026639a42b76c2ea1f':
  Put temp files within app files
2013-05-15 11:04:42 -07:00
Satoshi Kataoka 56ec8d6a02 am 36de7a5e: am 30f0f3a9: Merge "Implement a functionality to add an entry to the user dictionary"
* commit '36de7a5ea32ef6738a2923581e0b14a00b8a6808':
  Implement a functionality to add an entry to the user dictionary
2013-05-15 11:04:41 -07:00
Jean Chalard 2037d6e41d am 7e22f2e3: am 2cf450f4: [PB6] Encapsulate the buttons into a view
* commit '7e22f2e374425f5676fb9eac4bfb97e211d0d487':
  [PB6] Encapsulate the buttons into a view
2013-05-15 11:04:40 -07:00
Jean Chalard 6ace521500 am 7a9ec9dd: am e91387e2: Merge "[PB5] Store state in a more convenient manner"
* commit '7a9ec9dd5368c66bc4db8b52d217560339d7929f':
  [PB5] Store state in a more convenient manner
2013-05-15 11:04:38 -07:00
Jean Chalard a4d5187a4c am 6157a049: am e91c001d: Merge "[PB4] Make a memory non-static"
* commit '6157a049268dc1c1e9640a2f49791c54b8bd944b':
  [PB4] Make a memory non-static
2013-05-15 10:59:06 -07:00
Jean Chalard 454962153d am 77bcc98a: am 80790d78: Merge "[PB3] Simplify storage"
* commit '77bcc98ab2f1d3c9b62ee62c1eb4e3fa87f47967':
  [PB3] Simplify storage
2013-05-15 10:59:05 -07:00
Jean Chalard 49ab021b38 am e52eb1f7: am 776edcfe: Merge "[PB2] Small bugfix"
* commit 'e52eb1f706c5f9e6424081395f089f0e30a2ee44':
  [PB2] Small bugfix
2013-05-15 10:59:01 -07:00
Tadashi G. Takaoka b713600a52 am fd4baafe: am 46913aed: Merge "Add next axction to setup wizard"
* commit 'fd4baafe710dc0fe843c7672a6bd8bee4244fd73':
  Add next axction to setup wizard
2013-05-15 10:58:58 -07:00
Tadashi G. Takaoka dfa5d2d799 am 38df0ed2: am b40a8c06: Merge "Tune setup wizard layout for landscape and tablet"
* commit '38df0ed22b232d77119c709ee0e7a863c7f756b6':
  Tune setup wizard layout for landscape and tablet
2013-05-15 10:58:57 -07:00
Satoshi Kataoka 96d5e29166 am 6448f749: am b35aa487: Merge "Make aggressive threshold really aggressive"
* commit '6448f749154a723b85d4309a37ad8fda2e1434e3':
  Make aggressive threshold really aggressive
2013-05-15 10:58:55 -07:00
Tadashi G. Takaoka 7710c9d59f am ceb3f293: am 0e96003e: Merge "Refactor SetupStepGroup"
* commit 'ceb3f293f010ae75ed5d3d3715a2807537e8b614':
  Refactor SetupStepGroup
2013-05-15 10:58:53 -07:00
Tadashi G. Takaoka b689e6615b am 9ff6a6bf: am 3ee39be1: Merge "Add setup wizard indicator size resource"
* commit '9ff6a6bf739e250f2ad7e868c2be55567c23fb7b':
  Add setup wizard indicator size resource
2013-05-15 10:58:50 -07:00
Jean Chalard 1f4b748196 am 6a355d2d: am 197a2d32: Merge "[PB1] Cleanup"
* commit '6a355d2d189388833148cf3850429b38d57ae9e9':
  [PB1] Cleanup
2013-05-15 10:58:49 -07:00
Tadashi G. Takaoka 230068e2cd am 5cd83c93: am 9a289c08: Merge "Use resources for dimensions of setup wizard"
* commit '5cd83c9341c04c63de136b0e1e8b581e88704075':
  Use resources for dimensions of setup wizard
2013-05-15 10:58:45 -07:00
Tadashi G. Takaoka d66e4c4515 am 0bc46dca: am 4b7e0c5a: Merge "Remove wording "wizard" from setup application"
* commit '0bc46dca2cea2b15e1647533f81ea0ea992a41b4':
  Remove wording "wizard" from setup application
2013-05-15 10:58:41 -07:00
Tadashi G. Takaoka 85e8dca43e am dc079451: am 480284e2: Merge "Add edit personal dictionary settings menu"
* commit 'dc079451fc5bb10548d0d78c8db5e060e9a2f000':
  Add edit personal dictionary settings menu
2013-05-15 10:58:40 -07:00
Jean Chalard 5fe03e939f am 1aab945b: am c3f47836: Add an additional ID to the client info.
* commit '1aab945b2ac1a1232f1cdcb843251f93ad1c3232':
  Add an additional ID to the client info.
2013-05-15 10:58:39 -07:00
Satoshi Kataoka 874c4fda36 am 434abe45: am 9b4e3db1: Legal notice
* commit '434abe450c8fd65789b6f8b04d62ad98287115dd':
  Legal notice
2013-05-15 10:53:02 -07:00
Tadashi G. Takaoka 16bacd59d5 am 34b00870: am 1a9bf159: Merge "Don\'t triger onPress and startLongPressTimer when gesture is canceled"
* commit '34b0087038eadf8efe1ce851ad3ba41c354152d1':
  Don't triger onPress and startLongPressTimer when gesture is canceled
2013-05-15 10:53:00 -07:00
Tadashi G. Takaoka 7a58488065 am 80a98ee5: am 508ab248: Merge "Implement IMM.switchToNextInputMethod() for ICS"
* commit '80a98ee5c23024f3da7794f692a0ef69debe99d6':
  Implement IMM.switchToNextInputMethod() for ICS
2013-05-15 10:52:59 -07:00
Tadashi G. Takaoka 962c245c00 am 6bbe6858: am 0f07935e: Centering setup wizard welcome video
* commit '6bbe68589318a808c0eade6a62ffb0986a894ae0':
  Centering setup wizard welcome video
2013-05-15 10:52:54 -07:00
Kurt Partridge 6f3b9ddd76 am bd99e8dc: am 41b34cf2: Merge "Allow LogUnits to hold >1 word"
* commit 'bd99e8dc246faeafa5849078dce47fb379d23eb1':
  Allow LogUnits to hold >1 word
2013-05-15 10:52:51 -07:00
Jean Chalard 643bdb0ff4 am 6f6974e6: am 825da76c: Redisplay a hidden button after it entered the screen again.
* commit '6f6974e6e9a2b177cf1355395e52652b49a13c3a':
  Redisplay a hidden button after it entered the screen again.
2013-05-15 10:52:49 -07:00
Jean Chalard 12e180a6c3 am 6dc9933d: am f8014eea: Hide the correct button when pressing a new button.
* commit '6dc9933d83c166b57dcfc42d5738423cde2e5bee':
  Hide the correct button when pressing a new button.
2013-05-15 10:52:48 -07:00
Tadashi G. Takaoka 56c6c336b2 am ab11dbe8: am b8ff89c8: Remove translatable="false" from setup wizard strings
* commit 'ab11dbe8f3fbc7b55b251d69e3846cab24811903':
  Remove translatable="false" from setup wizard strings
2013-05-15 10:52:46 -07:00
Tadashi G. Takaoka 67f3a10225 am c35e0e6a: am 42afa82d: Support landscape orientation for setup wizard
* commit 'c35e0e6a4b73f854fef07165c4f0bdd448f5bed5':
  Support landscape orientation for setup wizard
2013-05-15 10:52:44 -07:00
Tadashi G. Takaoka e84697326f am b3663df5: am 68e4de1e: Add welcome screen to setup wizard
* commit 'b3663df58238cc8e95e9b412964f6e8f43465d70':
  Add welcome screen to setup wizard
2013-05-15 10:52:43 -07:00
Tadashi G. Takaoka b2f8f66f28 am baa1e14d: am fcefabf9: Groundwork to implement landscape and welcome screen
* commit 'baa1e14da10fd1ab31780f08ffeb4f186124fc41':
  Groundwork to implement landscape and welcome screen
2013-05-15 10:52:41 -07:00
Tadashi G. Takaoka 680fa7ba77 am 82a7b185: am 16ec2e11: Merge "Add finish action to setup wizard"
* commit '82a7b185bb8a14e610950548d36fae7a06030236':
  Add finish action to setup wizard
2013-05-15 10:52:40 -07:00
Tadashi G. Takaoka 8f9a8734d5 am fc2ca29d: am f10046bd: Remove ScrollView from setup wizard
* commit 'fc2ca29d71ef85a93170a7c5f2d61c084a694bb2':
  Remove ScrollView from setup wizard
2013-05-15 10:52:35 -07:00
Tadashi G. Takaoka 448b28beff am ed0d1156: am 30f102e2: Move some attributes of setup wizard layouts to style files
* commit 'ed0d1156f7c95666b22e10284d8f985a5e83f283':
  Move some attributes of setup wizard layouts to style files
2013-05-15 10:52:33 -07:00
Tadashi G. Takaoka 64510ad979 am ae19f170: am 1f6e06cf: Merge "Make setup wizard step number highlighted when activated"
* commit 'ae19f170ba511d0bcb7632682b8f9ac45a91ece7':
  Make setup wizard step number highlighted when activated
2013-05-15 10:52:32 -07:00
Tadashi G. Takaoka 8b085e7f87 am 7158438a: am 88ee052c: Merge "Update strings of setup wizard"
* commit '7158438a64d3f224590c484c989251d82b7fb5fa':
  Update strings of setup wizard
2013-05-15 10:52:30 -07:00
Jean Chalard 52e0b3d1b8 am 0e64fbbc: am 9cf46864: Update dictionaries
* commit '0e64fbbcac7116c410143796937e4e5ef1238c83':
  Update dictionaries
2013-05-15 10:46:54 -07:00
Tadashi G. Takaoka a06fdaadae am 64e87b3e: am 0b2d184a: Merge "Update setup wizard icons"
* commit '64e87b3e660199b5dd7539fe413146e4dfbf977f':
  Update setup wizard icons
2013-05-15 10:46:52 -07:00
Kurt Partridge 1efcbd67cd am 8acab80a: am 56f35a10: Merge "Fix bug in counting words between samples"
* commit '8acab80a8680956038b45912d3e00a1d6a5e3cdb':
  Fix bug in counting words between samples
2013-05-15 10:46:51 -07:00
Baligh Uddin af0d283bc4 am 4e12347e: am 931e2530: (-s ours) am 37ac3b3a: am a559e767: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle
* commit '4e12347e0313279d13a267bd827c025949447743':
2013-05-15 10:42:18 -07:00
Kurt Partridge b1767bc433 am 40070707: am 7a172175: Merge "Fix user recording dialog"
* commit '40070707d83fb2a105292a0683fa22a1094e58fe':
  Fix user recording dialog
2013-05-15 10:36:46 -07:00
Kurt Partridge 5abe65f1da am 72ca59bc: am 0833b3cb: Merge "Fix alarm bug"
* commit '72ca59bc2a29eaadf0b557995a137c8f682d82bb':
  Fix alarm bug
2013-05-15 10:36:44 -07:00
Kurt Partridge 453b371d2f am 1019c630: am a1913301: Merge "Avoid duplicate MotionEvents"
* commit '1019c630fafd4bffd3fb51a0b83dfc532dcd5306':
  Avoid duplicate MotionEvents
2013-05-15 10:36:42 -07:00
Kurt Partridge 10270196c8 am a2a29050: am b903f103: Merge "Label logUnits after LatinImeOnEndBatchInput"
* commit 'a2a2905033d37784b84191eec8d1efa3cd5b4819':
  Label logUnits after LatinImeOnEndBatchInput
2013-05-15 10:36:39 -07:00
Kurt Partridge 86b2c57c47 am f5864fbb: am a5bfac5b: Merge "Fix NPE"
* commit 'f5864fbb7a8703cb44a6e7bd77d7031ee271db12':
  Fix NPE
2013-05-15 10:36:37 -07:00
Kurt Partridge 79cd791b72 am f9c137aa: am 7da87f97: Merge "Clean up unnecessary log messages"
* commit 'f9c137aa600aa804110437a9385de8b5338a28b8':
  Clean up unnecessary log messages
2013-05-15 10:36:30 -07:00
Kurt Partridge 22c706aa36 am a9c2ff1b: am e9e4fe52: Merge "Fix logic error"
* commit 'a9c2ff1b236624e7aefeecb2dbd2829e8217130c':
  Fix logic error
2013-05-15 10:36:26 -07:00
Kurt Partridge 4a885f254d am b20c7ee7: am 1f99e04b: Merge "Fix JsonWriter bug"
* commit 'b20c7ee75093ae9c111daf64d9e4f8509d692824':
  Fix JsonWriter bug
2013-05-15 10:36:24 -07:00
Kurt Partridge 80a6848d8a am 6c80e047: am dac3ee49: Merge "Small dot in corner was not visible"
* commit '6c80e0475c8cde60fbadb9bab892a74dfa60132a':
  Small dot in corner was not visible
2013-05-15 10:36:22 -07:00
Kurt Partridge 21a2cfca20 am abc8d564: am dd8c87a3: Merge "Include nanoTime in filename"
* commit 'abc8d564eb0674887b5b1ebae3c1029935f4bb7b':
  Include nanoTime in filename
2013-05-15 10:36:20 -07:00
Tadashi G. Takaoka 0474d725b4 am e85e3c64: am 46420204: Add user feedback to setup action labels and icons
* commit 'e85e3c64767552461debc0b1989f09033f7e3054':
  Add user feedback to setup action labels and icons
2013-05-15 10:36:18 -07:00
Tadashi G. Takaoka 76cc6abc3a am 0206339a: am 47a78aeb: Merge "Finalize setup wizard strings and mark as translatable"
* commit '0206339a2664d1cb05fff3ff20352cf04871bef1':
  Finalize setup wizard strings and mark as translatable
2013-05-15 10:36:16 -07:00
Tadashi G. Takaoka 1626830701 am bb84fdd1: am bb5deb82: Fix singleton/utility classes initialization in SettingsFragment
* commit 'bb84fdd134e0a5aff268d5d475091e023778655d':
  Fix singleton/utility classes initialization in SettingsFragment
2013-05-15 10:36:14 -07:00
Tadashi G. Takaoka 6dd2130d84 am 2101ba41: am 888a194c: Fix missing AudioAndHapticFeedbackManager initialization
* commit '2101ba410c4fd12919b3b84e4e6bcc61b1897e70':
  Fix missing AudioAndHapticFeedbackManager initialization
2013-05-15 10:36:12 -07:00
Jean Chalard b1e37e4a47 am f1dcf725: Merge "Don\'t process recorrection or resets when not shown"
* commit 'f1dcf725061b3e61e40540566a5385cf4934f424':
  Don't process recorrection or resets when not shown
2013-05-15 07:58:27 -07:00
Tadashi G. Takaoka 25f0c8089e am 96a9f357: Merge "Fix unintentional setup step advance in orientation change"
* commit '96a9f357c7e2a059687926cd7cd52ac5d06bc65e':
  Fix unintentional setup step advance in orientation change
2013-05-15 07:58:18 -07:00
Tadashi G. Takaoka d59c1f8324 am 50259c70: Merge "Tune layout parameters of setup wizard"
* commit '50259c70d7754569a7b552cfc6ef8a034b5b0d40':
  Tune layout parameters of setup wizard
2013-05-15 07:58:05 -07:00
Tadashi G. Takaoka 7d9bd6f54e am 66b87269: Update welcome fallback image (using xhdpi asset)
* commit '66b87269e16a0ed4b13a58bca5dd3a41318ad241':
  Update welcome fallback image (using xhdpi asset)
2013-05-15 07:57:51 -07:00
Tadashi G. Takaoka 7fe675440e am 769427cf: Adjust aspect ratio of setup image
* commit '769427cff24944958f5f1f6179090a86444f3eab':
  Adjust aspect ratio of setup image
2013-05-15 07:57:38 -07:00
Jean Chalard f1dcf72506 Merge "Don't process recorrection or resets when not shown" 2013-05-15 11:25:25 +00:00
Jean Chalard c9aaba1253 Don't process recorrection or resets when not shown
Bug: 8954116
Change-Id: Ica27dbfc570643bb81e6cdf34cc7c796ea080d71
2013-05-15 20:20:20 +09:00
Tadashi G. Takaoka 96a9f357c7 Merge "Fix unintentional setup step advance in orientation change" 2013-05-15 10:52:21 +00:00
Tadashi G. Takaoka 9b4a883e09 Fix unintentional setup step advance in orientation change
Bug: 8159728
Change-Id: I53e7d7c8fb5cc231ea94474b091e550f77ae8dab
2013-05-15 19:50:35 +09:00
Tadashi G. Takaoka 50259c70d7 Merge "Tune layout parameters of setup wizard" 2013-05-15 10:13:24 +00:00
Tadashi G. Takaoka 66b87269e1 Update welcome fallback image (using xhdpi asset)
Bug: 8159728
Change-Id: Ifd7339c7db305de424109b6adb126b354028b3aa
2013-05-15 18:36:13 +09:00
Tadashi G. Takaoka 86ee98dd55 Revert "Update welcome fallback image"
This reverts commit c1ff8d7d3f

Change-Id: Ib1f374f48adb436c0b6023aa5052e6340c410df7
2013-05-15 18:32:03 +09:00
Tadashi G. Takaoka 786bc9d46f Tune layout parameters of setup wizard
Bug: 8159728
Change-Id: Ifb08b62e11008ad56715a07825c0fbc719130ebd
2013-05-15 17:49:56 +09:00
Tadashi G. Takaoka 769427cff2 Adjust aspect ratio of setup image
Bug: 8159728
Change-Id: I578014912fa63c4c9b4c2c89aeae7ffec836b06c
2013-05-15 14:48:27 +09:00
Tadashi G. Takaoka c1ff8d7d3f Update welcome fallback image
Bug: 8159728
Change-Id: I0306efe99aa8db97ec6a1888240f0538480ebea5
2013-05-15 10:41:08 +09:00
Kurt Partridge 993acbaaa2 Remove unnecessary commit/uncommit
When the user reverts a commit, this causes the committed
word to be changed. The user usually then goes back to edit
that word.  Going back to edit causes an uncommit, so that
the editing actions are added onto the LogUnit containing
the operations used to construct the word.

But currently, reverting also involves its own
commit/uncommit pair, with the caller performing the
uncommit, and the commit happening inside the revert
command.  This may have been necessary in the past, when
revert was called in different situations, but is
unnecessary now.  Furthermore, the guarding conditions are
currently such that the uncommit doesn't always undo the
effects of the commit, corrupting the log output.

Change-Id: I74af41f4f1db2fcabfa496dcc4a2d7bd0af19b3a
2013-05-14 12:20:27 -07:00
Kurt Partridge 7b0a148951 Merge "Rename a var to match semantics" 2013-05-14 16:11:07 +00:00
Kurt Partridge 3e8df13cd7 Add claifying comment
This is a follow-up to I7c01c3dd3ac33d7e96c00836256bae9c14b124ed

Change-Id: I9e3f8968c4bbf9525d5dfe101f71373c42f88361
2013-05-14 09:10:22 -07:00
Kurt Partridge b2d53be740 Merge "Remove FeedbackLog instance variables." 2013-05-14 13:09:33 +00:00
Tadashi G. Takaoka 8b56ad7814 Merge "Revise welcome screen video and still image" 2013-05-14 12:01:47 +00:00
Tadashi G. Takaoka 7348d9fb72 Revise welcome screen video and still image
Bug: 8159728
Change-Id: Ief8d7197879d24ccef529e975c23d6f11c7aa458
2013-05-14 20:56:09 +09:00
Ken Wakasa d78c776b7b Merge "Adjust sampling interval for gesture stroke drawing a bit." 2013-05-14 11:55:33 +00:00
Ken Wakasa 5a6827dbff Adjust sampling interval for gesture stroke drawing a bit.
bug: 7167303

Change-Id: I45ca9d31cf4f8492dde367f997d8e36f4a07cffe
2013-05-14 20:53:12 +09:00
Ken Wakasa d6d70e7325 Merge "Revert "Fix isSuggestionsStripVisible when keyboard hidden"" 2013-05-14 11:46:04 +00:00
Ken Wakasa 3efa36f6aa Revert "Fix isSuggestionsStripVisible when keyboard hidden"
This reverts commit cb0d1c4c58

Change-Id: Ie2c8e01c25bd051b6157e8f32ab84392a0c7252a
bug: 8954116
2013-05-14 11:44:22 +00:00
Tadashi G. Takaoka 41016acacf Back to previous keyboard layout by canceling sliding input
Bug: 8915171
Change-Id: Iabdeb7920f67f89246087c3ee06240406ecfbc3d
2013-05-14 20:28:03 +09:00
Tadashi G. Takaoka c9398a3b39 Merge "Fix PointerTrackerQueue.releaseAllPointerOlderThan" 2013-05-14 06:53:15 +00:00
Tadashi G. Takaoka 979fb7415b Fix PointerTrackerQueue.releaseAllPointerOlderThan
Change-Id: If353869720895ee5355079c15c724132762dd70c
2013-05-14 15:32:21 +09:00
Jean Chalard cb0d1c4c58 Fix isSuggestionsStripVisible when keyboard hidden
When the keyboard is hidden, the suggestion strip is
never visible.

Bug: 8954116
Change-Id: I9f242d07b49ad60b625a22429bb013251e814905
2013-05-14 15:19:19 +09:00
Kurt Partridge 6fefc142cf Remove FeedbackLog instance variables.
For a while, the ResearchLogger supported comprehensive recording of the
last few words in case the user wished to upload this data to give
developers feedback.  However, this mechanism was not implemented well
(keeping a separate copy of the data), did not make the collected data
clear to the user, and was not working properly in the latest build (NPEs).
The mechanism in fact was deprecated in favor of the "userRecording"
mechanism in which the user explicitly turned on comprehensive recording,
demonstrated the issue they were experiencing, and then turned it off.

This change removes the vestiges of the FeedbackLogging mechanism.
A feedback log is still used to hold the user's message, but it is created
in a local variable as-needed, and not persisted in ResearchLogger.

Change-Id: I6a09d0ed36e1eddb6e57895e7428d22107f75f49
2013-05-13 20:37:15 -07:00
Kurt Partridge b5c39f4531 Rename a var to match semantics
The IS_INHIBITING_AUTO_UPLOAD flag is tested in isPossibleToUpload, so it inhibits all uploads, not
just automatic ones.  Renaming to IS_INHIBITING_UPLOAD.

Change-Id: Iceed79260d4b062147f40c09f0c5bb06b2519b1b
2013-05-13 17:01:39 -07:00
Baligh Uddin e69066d11b Import translations. DO NOT MERGE
Change-Id: I9b70a81c1f507e5e9a2bfdcb179dea1cc03e0517
Auto-generated-cl: translation import
2013-05-13 11:35:25 -07:00
Tadashi G. Takaoka b121538e0c Tune maximum keypress duration to 100 milliseconds
Bug: 8556975
Change-Id: If7839c5764f7a269243a9570c0b7782b6f7ee73b
2013-05-13 20:04:59 +09:00
Tadashi G. Takaoka e8336aa80c Merge "Fix keypress vibration duration of HTC One X" 2013-05-13 10:52:09 +00:00
Tadashi G. Takaoka 5f857a359a Merge "Disable functional key while in sliding input mode" 2013-05-13 10:50:32 +00:00
Tadashi G. Takaoka 567a759b7b Fix keypress vibration duration of HTC One X
Bug: 8556975
Change-Id: I793dd90223f4da091a212ff54a02d19f03e49d6c
2013-05-13 19:49:47 +09:00
Tadashi G. Takaoka e3b1bdc4f1 Disable functional key while in sliding input mode
This change registers the functional key when sliding input mode is
end at the functional key itself.

Bug: 8915171
Change-Id: I2031e2aa4ebf33684221fc44d4a808112489724f
2013-05-13 19:39:57 +09:00
Tadashi G. Takaoka b5f67e7faf Add device specific keypress vibration duration database
Bug: 8556975
Change-Id: I11260a64dc13c102bac7a9742dc66f2b05fd32de
2013-05-13 18:34:48 +09:00
Tadashi G. Takaoka 0efd8d1b69 Fix landscape override value expression
This is a follow up of I275c99db8a.

Bug: 8556975
Change-Id: Ia6c2ab878760523da767036ce0bfc6c8350e1a92
2013-05-13 18:19:20 +09:00
Tadashi G. Takaoka 6b0bcfba9b Merge "Disable long press timer while sliding input mode" 2013-05-13 08:57:56 +00:00
Tadashi G. Takaoka 43ad100d8b Disable long press timer while sliding input mode
Bug: 8915171
Change-Id: Id8685f90766c7de55b56476de83abf97150a186d
2013-05-13 17:40:26 +09:00
Tadashi G. Takaoka ad662adeef Disable delete key repeating while in slide input mode
Bug: 8915171
Change-Id: I04f84c29f10abc0207072d2165c75dd20f053f92
2013-05-13 17:23:08 +09:00
Tadashi G. Takaoka 18184eacb1 Support regular expression for condition pattern
Bug: 8556975
Change-Id: Iffc53d6a40dd77860434c5f7f4f59af5cd1ba92b
2013-05-13 16:25:03 +09:00
Tadashi G. Takaoka ec83457d72 Merge "Support multiple condition for getDeviceOverrideValue" 2013-05-13 06:13:20 +00:00
Tadashi G. Takaoka d69fa0a09a Support multiple condition for getDeviceOverrideValue
Bug: 8556975
Change-Id: I29d3a305b6ac3d8e3620c6d8592d85047d62bf48
2013-05-13 14:38:21 +09:00
Ken Wakasa cb3bba3c4e Rename GesturePreviewTrail.java -> GestureTrail.java
Try reducing some confusions between GesturePreviewTrail.java and GestureTrailsPreview.java

Change-Id: I5fe2ee740cf1b32210530188153f6f6937e34b68
2013-05-13 13:42:22 +09:00
Kurt Partridge 7d72ca0b20 Avoid JsonWriter multi-write error
JsonWriter requires that its clients pass it only a single top-level object.
The existing implementation tries to make code cleaner by having mJsonWriter
never be null, and instead use a global static "NULL_JSON_WRITER" that just
discards data.  But because JsonWriter complains if more than one top-level
object is passed, making this a global object does not work.  This change
instead copes with mJsonWriter being null.

Change-Id: Ia37ccfc8646e91f11a64713dd92d2846eb86ac54
2013-05-10 18:21:08 -07:00
Kurt Partridge 260df84197 Merge "Remove unused code" 2013-05-10 22:12:11 +00:00
Kurt Partridge bb17034f64 Merge "Remove ref to LatinImeLogger preference." 2013-05-10 20:41:52 +00:00
Kurt Partridge 4135c2db7b Merge "Avoid NPE by fixing ResearchLogger initialization" 2013-05-10 15:48:04 +00:00
Tadashi G. Takaoka 565ced4546 Merge "Refactor StringUtils.findPrefixedString to findValueOfKey" 2013-05-10 09:49:07 +00:00
Tadashi G. Takaoka 6d3d2ae064 Refactor StringUtils.findPrefixedString to findValueOfKey
Bug: 8556975
Change-Id: I275c99db8a0d10594a5a8c0c27ebc1a87495c307
2013-05-10 18:44:04 +09:00
Tadashi G. Takaoka 4705c0fa7c Fix screen flash when launching settings activity
Bug: 8336068
Change-Id: I90a0f259129a3f3319b158b060154cc43960c234
2013-05-10 15:36:24 +09:00
Tadashi G. Takaoka 2b5c9726f4 Introduce another activity to launch setup wizard
Bug: 8336068
Change-Id: I35b94dd87c5b01d3e927da8f918a5398dd565d33
2013-05-10 15:30:53 +09:00
Tadashi G. Takaoka 5ffa5bf3ba Merge "Keep SetupActivity alive to check re-launching from launcher" 2013-05-10 06:24:52 +00:00
Tadashi G. Takaoka 9ed322b40f Keep SetupActivity alive to check re-launching from launcher
Bug: 8336068
Change-Id: I183b8e3fd1b3898d5f8dbbb13a0c93c64341fc38
2013-05-10 15:15:53 +09:00
Jean Chalard 2564bd0937 Merge "Reuse old preferences if possible." 2013-05-10 05:56:32 +00:00
Jean Chalard a2ec5e8338 Reuse old preferences if possible.
This is an optimization. It also happens to work around what
seems to be a framework bug in JB MR1 / MR1.1.

Bug: 8771179
Change-Id: I62cc7acdc8656d75f8a50c068c4e9d8c6ceb74a0
2013-05-10 14:41:36 +09:00
Satoshi Kataoka ba35426f01 Merge "Tweak a label in the personal dictionary settings" 2013-05-10 03:27:51 +00:00
Tadashi G. Takaoka 2ad7023c54 Fix detecting out of keyboard area
Bug: 8885165
Change-Id: I85c78b23955169972fb0f5395463b6fe47f12c9c
2013-05-10 12:16:44 +09:00
Satoshi Kataoka 4c6a5c0428 Tweak a label in the personal dictionary settings
Bug: 8897600
Change-Id: Ibf245e32468e5740ad9d65b8ff1f1e87b430d287
2013-05-10 12:14:22 +09:00
Kurt Partridge a68cace7d1 Avoid NPE by fixing ResearchLogger initialization
Previously, mMainResearchLog and mMainLogBuffer were set up
when the user moved to a new TextView, and set to null when
the user left the TextView.  This change causes
mMainResearchLog, mMainLogBuffer, mFeedbackLog, and
mFeedbackLogBuffer to be non-null forever after init() is
called.  start() no longer sets up these fields; instead
they are cleared and reset every time stop() is called.
Checks for null values are now removed.

The earlier code just didn't initialize these variables if
the user disabled logging, but since the new version
invariantly keeps these variables valid, we add a check for
whether the user has enabled logging in publishLogUnits().

Change-Id: Ifde3517f1cf924cfa33cda95fec24529b52b3c08
2013-05-09 18:38:32 -07:00
Kurt Partridge 011634163c Remove unused code
Change-Id: I192c67e9e8de44f073abc70ec85ebcdb36356c2e
2013-05-09 14:36:40 -07:00
Kurt Partridge ef5d760ca4 Remove ref to LatinImeLogger preference.
This is a bug; the ResearchLogger uses ResearchSettings.readResearchLoggerEnabledFlag() instead,
which the user cannot change.  (We assume they will just switch to a different keyboard.)

Change-Id: Ib5731c9eeb2bc29d9cf8608033326674f5eb6f7b
2013-05-09 14:36:40 -07:00
Baligh Uddin 8dafc8e834 am 22e6a5c5: Import translations. DO NOT MERGE
* commit '22e6a5c5b4c3fb486fd2605255081fc4b849f415':
  Import translations. DO NOT MERGE
2013-05-09 08:52:51 -07:00
Baligh Uddin 42dc0c2562 Merge "Import translations. DO NOT MERGE" 2013-05-09 15:52:00 +00:00
Satoshi Kataoka 341f1b237b Tweak gesture debug
Change-Id: Iea11a095adb15fbf4be38f34542119f8bc7bcbff
2013-05-09 20:08:50 +09:00
Satoshi Kataoka 52cb409ac2 Don't resize debug array if production
Bug: 8556775
Change-Id: I46a10f8dc938cab493933f0f2b4e1f7779b24f6f
2013-05-09 19:22:24 +09:00
Satoshi Kataoka b2c4c73064 Add debug facilities for gesture
Bug: 8556775
Change-Id: I9069b2b44356bbae9fa4aaf0b99c3d723a8c9c58
2013-05-09 19:19:11 +09:00
Satoshi Kataoka b902109000 Fix usages of getEnabledInputMethodSubtypeList
Bug: 8450279
Change-Id: Ib8433442ae6ca6c28da2652bff687cdeaf7c196e
2013-05-09 17:07:19 +09:00
Tadashi G. Takaoka 499cea949d Use revised Google Keyboard icon
Bug: 8159728
Change-Id: I458df60cb39f81cde3c08190af0ab08d304f9d98
2013-05-09 11:50:39 +09:00
Tadashi G. Takaoka 3e37586316 Launch setup wizard as single top activity
Bug: 8336068
Change-Id: Ifac84361e4e37b4aa106cbdbfffb83883ec2f8e6
2013-05-09 11:17:00 +09:00
Baligh Uddin 2e4bde7398 Import translations. DO NOT MERGE
Change-Id: I77a0aed9771ecc28a56226bb5f9776c1e1cf8b4d
Auto-generated-cl: translation import
2013-05-08 13:18:34 -07:00
Baligh Uddin 22e6a5c5b4 Import translations. DO NOT MERGE
Change-Id: I189a4ad23e69f0abe515dad7e3c909a28fcfbf0b
Auto-generated-cl: translation import
2013-05-08 13:09:53 -07:00
Jean Chalard 71d52474fd Merge "Optimizations and safeguards." 2013-05-08 10:11:49 +00:00
Satoshi Kataoka eab27c1ef6 Merge "Add account e-mail addresses to the user dictionary" 2013-05-08 09:53:54 +00:00
Jean Chalard 9f9cc03277 Optimizations and safeguards.
- Don't call finishComposingText when useless.
- Add safeguards against calling setComposingRegion when the
  data returned by the editor is inconsistent.
- Cancel pending recorrection messages when new messages arrive.

Bug: 8842941
Bug: 8845001
Change-Id: I939701033cf5c2bbd85871ecf83e329021ddeb91
2013-05-08 18:47:10 +09:00
Tadashi G. Takaoka 5b8b76baa3 Merge "Move gesture preview trail parameters to resource" 2013-05-08 09:02:52 +00:00
Satoshi Kataoka 5648054667 Add account e-mail addresses to the user dictionary
Bug: 8683365
Change-Id: Id72540c515e61c3dd854892599645dd6d22b496d
2013-05-08 17:58:21 +09:00
Tadashi G. Takaoka 05124d0193 Move gesture preview trail parameters to resource
Bug: 7167303
Change-Id: I22b56588dc5a1c9d5eaec3a39b5f32c9e5a8a5b4
2013-05-08 17:51:45 +09:00
Satoshi Kataoka faa94a2d0a Merge "Add owner's info to the dictionary" 2013-05-08 08:31:45 +00:00
Satoshi Kataoka fc6d4a5412 Add owner's info to the dictionary
Bug: 8683365
Change-Id: I1c30eac128b4172526423ebeeb45bc6cee7fb67b
2013-05-08 17:29:04 +09:00
Satoshi Kataoka 6435c80087 Merge "Fix an issue on the transition between the setup and the settings" 2013-05-08 08:23:49 +00:00
Tadashi G. Takaoka 331d256f21 Fix an issue on the transition between the setup and the settings
Bug: 8853220

Change-Id: I99b6c46d900e9391f77986d1ae6e3edeaeff01e5
2013-05-08 15:18:45 +09:00
Satoshi Kataoka f59c4f6840 Fix labels in the personal dictionary settings
Bug: 8855738
Bug: 8853764
Change-Id: I03383bb5d6d72645f511cc6175dec747eb13a840
2013-05-08 14:58:43 +09:00
Satoshi Kataoka 244a24e368 Consolidate dummy proximity info to the spell checker info
Bug: 8783170

Change-Id: I067486e5ec1ae7cdef8e2121392464ba71ee8add
2013-05-08 11:49:12 +09:00
Kurt Partridge 8064c669fe Fix looping logic bugs.
shiftOut() is getting called once too often through these for loops.

Change-Id: I9a68b49e6cc1469bcddd673ab1567e238cf192b8
2013-05-07 08:33:31 -07:00
Tadashi G. Takaoka 104bb70c65 Merge "Avoid drawing too long gesture preview trails" 2013-05-07 11:58:09 +00:00
Jean Chalard 2afe88b8d7 Merge "Unify space-adding on gestures." 2013-05-07 11:51:01 +00:00
Tadashi G. Takaoka 80e396d83c Avoid drawing too long gesture preview trails
Bug: 7167303
Change-Id: I63c2e8fb60f76e80346b67fd44399fa91930f2f0
2013-05-07 20:48:46 +09:00
Jean Chalard e8b9b35471 Unify space-adding on gestures.
This is much simpler, and more correct.

Bug: 8808497
Change-Id: I7a56bf9d6d9fb481f898b7a9f5898a86c11b34c0
2013-05-07 20:38:09 +09:00
Satoshi Kataoka a9dd74cf3f refactor spell checker
Change-Id: Ie7bea23f2ac54f03572e77c31ba7cb3d5e8f8d2f
2013-05-07 20:21:11 +09:00
Tadashi G. Takaoka 9d71a6c968 Remove unused device form factor values
Change-Id: I1ed88b842a3d45e5460dd387bfad4276c844096a
2013-05-07 18:52:22 +09:00
Tadashi G. Takaoka 84ac8f31fb Move empty listner to KeyboardActionListener.Adapter
Change-Id: Ic7bad73c089de015746c667bbfb2c09bd429a9fc
2013-05-07 16:40:15 +09:00
Tadashi G. Takaoka 61b6fc7d7b Clean up unused static variable
Change-Id: I51c5903b7716d3927d2ff09a5054725215a626b5
2013-05-07 16:36:32 +09:00
Tadashi G. Takaoka ce67b41661 Record down point as gesture preview trail for sure
Change-Id: Ic712a6af8229a9a1aa4a5419d779927f1ef8be67
2013-05-07 15:51:23 +09:00
Tadashi G. Takaoka 4ddf1e47a7 Remove unused gesture preview trail code
Change-Id: I2aa77675628a4b1655b30852c950f5daae6f0a92
2013-05-07 14:27:34 +09:00
Baligh Uddin 71778d2551 am 34a0dc5a: Import translations. DO NOT MERGE
* commit '34a0dc5abe47b28b7ef681b30aa5c94349b57e0d':
  Import translations. DO NOT MERGE
2013-05-06 14:03:12 -07:00
Baligh Uddin 580d4e9950 Import translations. DO NOT MERGE
Change-Id: I066a2af59e34e18a530af0f3977c4aecab350ef8
Auto-generated-cl: translation import
2013-05-06 13:47:37 -07:00
Baligh Uddin 34a0dc5abe Import translations. DO NOT MERGE
Change-Id: I2e89e3da74724731dc26f081c9d468200e90b31e
Auto-generated-cl: translation import
2013-05-06 13:39:54 -07:00
Baligh Uddin a8478986d4 am b55b15c3: Import translations. DO NOT MERGE
* commit 'b55b15c3bd920842720dd97ffa33bb45f5e6e0cd':
  Import translations. DO NOT MERGE
2013-05-06 11:11:37 -07:00
Baligh Uddin dd8197bcb2 Import translations. DO NOT MERGE
Change-Id: I838674303010d6bff9e3a6f747fd265d1c82baac
Auto-generated-cl: translation import
2013-05-03 16:52:20 -07:00
Baligh Uddin b55b15c3bd Import translations. DO NOT MERGE
Change-Id: I5c8c885e2971d73ffa5a8ac45dd39dd836c935c8
Auto-generated-cl: translation import
2013-05-03 16:44:22 -07:00
Tadashi G. Takaoka a36266dd58 am a5be033d: Preserve setup wizard step while orientation change
* commit 'a5be033d4a7a141615e7d784f9218a476a10e018':
  Preserve setup wizard step while orientation change
2013-05-02 03:23:59 -07:00
Tadashi G. Takaoka a5be033d4a Preserve setup wizard step while orientation change
Bug: 8159728
Change-Id: I596f59749443b8878b5613285f0fe793d449cdbd
2013-05-02 18:42:10 +09:00
Tadashi G. Takaoka 9bb189f613 am 7d19ab5c: Using int instead of booleans to save keyboard shift state
* commit '7d19ab5c9d20cb71f9892a147a854809eb20ca49':
  Using int instead of booleans to save keyboard shift state
2013-05-02 00:38:44 -07:00
Tadashi G. Takaoka 7d19ab5c9d Using int instead of booleans to save keyboard shift state
This is a follow up of Ib2bc262aac.

Bug: 8734294
Change-Id: I0b56797ffc4f16e18da72352777fe0f000d173aa
2013-05-02 16:21:39 +09:00
Tadashi G. Takaoka 3c1a18c6a6 am 7f8dd50b: Save automatic shift state while orientation changing
* commit '7f8dd50b8fe38738e52511e1d0bf082172b8932d':
  Save automatic shift state while orientation changing
2013-05-02 00:18:51 -07:00
Tadashi G. Takaoka 7f8dd50b8f Save automatic shift state while orientation changing
Bug: 8734294
Change-Id: Ib2bc262aacedf786a318c2fe1bd4420a21e7d847
2013-05-02 15:48:56 +09:00
Baligh Uddin f9a4732e3b am f7e4057f: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev
* commit 'f7e4057f22c5226c0a11b0aec2e30c387ab9f285':
  Import translations. DO NOT MERGE
2013-05-01 20:45:38 -07:00
Baligh Uddin f7e4057f22 Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-05-02 03:43:55 +00:00
Baligh Uddin 5c3c9ca6e6 Import translations. DO NOT MERGE
Change-Id: Ie0357e3c5e84878d7ae8f57fcf02220fb22badda
Auto-generated-cl: translation import
2013-05-01 20:43:38 -07:00
Satoshi Kataoka e5daf6608a am 6845427e: DO NOT MERGE: Return possible suggestions in Google Spell Checker
* commit '6845427e5d48fe48f837cd96a52c209be5f40357':
  DO NOT MERGE: Return possible suggestions in Google Spell Checker
2013-05-01 18:37:23 -07:00
Baligh Uddin 3985e632ad Import translations. DO NOT MERGE
Change-Id: I3f66d23846516560e3a1e316cf56dc7a17dfe9e2
Auto-generated-cl: translation import
2013-05-01 14:35:47 -07:00
Baligh Uddin cd6806d2d9 Import translations. DO NOT MERGE
Change-Id: I840f5e7a7f140fbf5ccf27371077b2d8c86506c2
Auto-generated-cl: translation import
2013-05-01 14:28:20 -07:00
Jean Chalard d8e5527701 am 83757d43: Merge "Pass blockOffensiveWords as a parameter"
* commit '83757d439ea15c5304a048868edb16d5ef7fd5cb':
  Pass blockOffensiveWords as a parameter
2013-05-01 04:59:07 -07:00
Jean Chalard 83757d439e Merge "Pass blockOffensiveWords as a parameter" 2013-05-01 11:57:36 +00:00
Jean Chalard 2dbb5957e3 Pass blockOffensiveWords as a parameter
Bug: 8773353
Change-Id: Ic1019742ce7ff6e4f7fff4d2729f8ab52d841488
2013-05-01 20:47:35 +09:00
Ken Wakasa 56550ee5c3 am 1490b534: Cleanup -- follow up to Ief04a4abb6dc1f79660a2e419c9c5e271802b5a1
* commit '1490b534162cc5f99e2a1ed93c63a1fa4045e5ca':
  Cleanup -- follow up to Ief04a4abb6dc1f79660a2e419c9c5e271802b5a1
2013-05-01 04:25:44 -07:00
Ken Wakasa 1490b53416 Cleanup -- follow up to Ief04a4abb6dc1f79660a2e419c9c5e271802b5a1
Change-Id: Icb89c5119a67edaa019d5f7645b734cfcfc29041
2013-05-01 20:19:05 +09:00
Satoshi Kataoka 6845427e5d DO NOT MERGE: Return possible suggestions in Google Spell Checker
Bug: 8772531

By the change in the suggestion algorithm, the pruning of the suggestions is not required anymore. This has been fixed in master branch properly.

Change-Id: I6ab9da953d69ff726d2bc328c09064e6ade0dcea
2013-05-01 20:18:55 +09:00
Jean Chalard 3eee5cd24b am 53b37dc0: Merge "Fix a layout problem for pre-MR2"
* commit '53b37dc098daf99151bf1b38d04bd202f8a3ba03':
  Fix a layout problem for pre-MR2
2013-05-01 02:57:26 -07:00
Jean Chalard 53b37dc098 Merge "Fix a layout problem for pre-MR2" 2013-05-01 09:56:00 +00:00
Jean Chalard b15e822234 Fix a layout problem for pre-MR2
...where marginStart is not supported yet.

Change-Id: Id4f642333c17d091b1ab36549ca580f4572d3bf4
2013-05-01 18:45:24 +09:00
Satoshi Kataoka 3ac40c6ae4 am 1641a4a4: Merge "Fix Google spell checker tests"
* commit '1641a4a4576e73bbf0218178c885f448d669b472':
  Fix Google spell checker tests
2013-05-01 02:33:29 -07:00
Satoshi Kataoka 1641a4a457 Merge "Fix Google spell checker tests" 2013-05-01 09:31:52 +00:00
Satoshi Kataoka d5781eef62 Fix Google spell checker tests
Bug: 8613307

Change-Id: Ief04a4abb6dc1f79660a2e419c9c5e271802b5a1
2013-05-01 18:21:56 +09:00
Tadashi G. Takaoka 6191026ce4 am 0caf3f6a: Merge "Introduce MoreSuggestionsListener class"
* commit '0caf3f6a04a706be6f69309b7d0869bf93accd56':
  Introduce MoreSuggestionsListener class
2013-05-01 02:16:51 -07:00
Tadashi G. Takaoka 0caf3f6a04 Merge "Introduce MoreSuggestionsListener class" 2013-05-01 09:15:26 +00:00
Tadashi G. Takaoka 6f7905ae75 Introduce MoreSuggestionsListener class
Bug: 8694255
Change-Id: I9420a7cb1983c6211f58d13b3b11db4347c3f99b
2013-05-01 18:03:37 +09:00
Satoshi Kataoka fcfa2cb24f am 6314b845: Merge "Add permissions for personalization"
* commit '6314b845f4df3ae66caeef16dd1ac399116eac35':
  Add permissions for personalization
2013-05-01 01:15:37 -07:00
Satoshi Kataoka 6314b845f4 Merge "Add permissions for personalization" 2013-05-01 08:13:40 +00:00
Satoshi Kataoka 492557e4f7 Add permissions for personalization
Bug: 8683365

Change-Id: Ia74d730a6b778c0e647794efc8c3a810c715902c
2013-05-01 17:10:20 +09:00
Tadashi G. Takaoka f405dc87a8 am 17a35383: Merge "Override View.drawableStateChanged to detect state_pressed"
* commit '17a353831ae81ba6155a87693289ca9afd7f89cb':
  Override View.drawableStateChanged to detect state_pressed
2013-04-30 22:06:17 -07:00
Tadashi G. Takaoka 47a66b12ec Override View.drawableStateChanged to detect state_pressed
Unlike on JB, View.setPressed(boolean) is never called when the view
is pressed on ICS. To detect a pressed state of the view, we need to
override View.drawableStateChanged() and check the drawable state
contains state_pressed.

Bug: 8159728
Change-Id: I481051364d6f3d1370742723c3ce19d898ea5463
2013-05-01 14:02:18 +09:00
Tadashi G. Takaoka 3b8921646f am 7b2114a4: Display still image when device can\'t play welcome video
* commit '7b2114a4283ccd90a937b14145c11125824cd1bd':
  Display still image when device can't play welcome video
2013-04-30 20:38:07 -07:00
Tadashi G. Takaoka 7b2114a428 Display still image when device can't play welcome video
Note that the still image in this change is a placeholder and must be
replaced by final asset.

Bug: 8159728
Change-Id: I4f5a28e0af711edacbc87c2ee64508f34f67f0da
2013-05-01 12:24:36 +09:00
Jean Chalard 4aa48aedda am 019c3806: am ace3f3c5: am 25c90e6d: Merge "Don\'t do recorrection when suggestions are off." into jb-mr2-dev
* commit '019c38060d8479e26895f94e00fa53586ce28a70':
  Don't do recorrection when suggestions are off.
2013-04-30 19:23:31 -07:00
Jean Chalard 019c38060d am ace3f3c5: am 25c90e6d: Merge "Don\'t do recorrection when suggestions are off." into jb-mr2-dev
* commit 'ace3f3c5d56f5b4a58e8dc400fec1bb8c7b17a63':
  Don't do recorrection when suggestions are off.
2013-04-30 19:22:13 -07:00
Jean Chalard ace3f3c5d5 am 25c90e6d: Merge "Don\'t do recorrection when suggestions are off." into jb-mr2-dev
* commit '25c90e6d51aeca5dce05b5adb691876b55a142d5':
  Don't do recorrection when suggestions are off.
2013-04-30 19:19:04 -07:00
Jean Chalard 25c90e6d51 Merge "Don't do recorrection when suggestions are off." into jb-mr2-dev 2013-05-01 02:16:20 +00:00
Jean Chalard aa3a96f3a1 Don't do recorrection when suggestions are off.
Bug: 8767981
Change-Id: If5c775e488b91ae03ecce2673c99918ac8134928
2013-05-01 10:17:28 +09:00
Baligh Uddin b4251873b0 am e5ae0bd3: Import translations. DO NOT MERGE
* commit 'e5ae0bd36aaaa3396ed09e23c7a19acab63eed7f':
  Import translations. DO NOT MERGE
2013-04-30 16:42:49 -07:00
Baligh Uddin 8daffca047 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-04-30 16:53:14 +00:00
Ken Wakasa 761b5586a7 am a0b62ece: Merge "Cleanup an unused return value"
* commit 'a0b62ece8383d8fae96287cc333e2165e29d21e0':
  Cleanup an unused return value
2013-04-30 04:25:56 -07:00
Ken Wakasa a0b62ece83 Merge "Cleanup an unused return value" 2013-04-30 11:16:28 +00:00
Baligh Uddin 8805c305c4 Import translations. DO NOT MERGE
Change-Id: Ica24d3aa4d4e8ffbcc17f9b206f2683fcfc4daf5
Auto-generated-cl: translation import
2013-04-30 03:57:08 -07:00
Baligh Uddin e5ae0bd36a Import translations. DO NOT MERGE
Change-Id: I90d5918cc37eaa6d3e19822e149a8a16b9d76744
Auto-generated-cl: translation import
2013-04-30 03:55:36 -07:00
Tadashi G. Takaoka f4a03ddcf8 am 1187ef9a: Merge "Catch error while playing welcome video"
* commit '1187ef9a9747ff2ed71101156f3f560eaa32772c':
  Catch error while playing welcome video
2013-04-30 02:33:52 -07:00
Tadashi G. Takaoka 1187ef9a97 Merge "Catch error while playing welcome video" 2013-04-30 09:31:20 +00:00
Jean Chalard d618419d16 am 37bbaea8: Merge "[PB14] Cosmetic fixes to the progress bar"
* commit '37bbaea8a15038406214fa8c9098cfcf4b2e2d9b':
  [PB14] Cosmetic fixes to the progress bar
2013-04-30 02:22:20 -07:00
Jean Chalard 37bbaea8a1 Merge "[PB14] Cosmetic fixes to the progress bar" 2013-04-30 09:20:41 +00:00
Tadashi G. Takaoka ad46c9e0e0 Catch error while playing welcome video
Bug: 8159728
Change-Id: Ic8eea7993f12395d6eca6db8d5529803251a9fee
2013-04-30 18:18:32 +09:00
Jean Chalard 7eff677c29 [PB14] Cosmetic fixes to the progress bar
Bug: 7600384
Change-Id: I33ea155c0c97c7ead07686c4d2a9e0d98be9929c
2013-04-30 17:54:09 +09:00
Ken Wakasa 0d6c87d113 Cleanup an unused return value
Change-Id: I974964aa3cc24b5480e57bd38c197fe7a49acaa4
2013-04-30 16:53:18 +09:00
Satoshi Kataoka f4d7c99cda am 71c1e50f: Merge "Fix the title of the fragment of the personal dictionary"
* commit '71c1e50fdb47c78b3180cc6b04d4cababe3f3fe2':
  Fix the title of the fragment of the personal dictionary
2013-04-30 00:13:02 -07:00
Satoshi Kataoka 71c1e50fdb Merge "Fix the title of the fragment of the personal dictionary" 2013-04-30 07:11:13 +00:00
Jean Chalard 69e1e45c01 am 01170ffe: [PB13] Actually update the progress bar
* commit '01170ffebeb4a604667abb84310ed4e910f97bf7':
  [PB13] Actually update the progress bar
2013-04-30 00:09:52 -07:00
Jean Chalard 01170ffebe [PB13] Actually update the progress bar
Bug: 7600384
Change-Id: Iaa8f3a59243a15d2a01aaf6017ed85c52b6482a6
2013-04-30 15:48:26 +09:00
Tadashi G. Takaoka 3bcc75456f am 965329c1: Fix missing string reference of spellchecker.xml
* commit '965329c192ee385c83ccf9b054063f9a68cca34b':
  Fix missing string reference of spellchecker.xml
2013-04-29 23:35:50 -07:00
Tadashi G. Takaoka 965329c192 Fix missing string reference of spellchecker.xml
This is a followup of I8dea5393ad.

Change-Id: I311c50cf8205298f20694e068bb9a4b661df8a8b
2013-04-30 15:31:58 +09:00
Jean Chalard 27c9166272 am 5f2efe0f: Merge "[PB12] Implement the progress bar update lifecycle"
* commit '5f2efe0f911f4f547765d260f76412717d232599':
  [PB12] Implement the progress bar update lifecycle
2013-04-29 23:03:47 -07:00
Satoshi Kataoka 5aa14c2636 Fix the title of the fragment of the personal dictionary
This change is corresponding to I9b8bab21b144385bc2386e7fcb

Bug: 8600958
Change-Id: I0a0cf37d0a11c14a51dc63b2e4371facb34514d0
2013-04-30 15:01:51 +09:00
Jean Chalard d282ebfb71 [PB12] Implement the progress bar update lifecycle
This ensures the thread does not run uselessly (it is even terminated when
the progress bar exits the screen).

Bug: 7600384
Change-Id: I09117a6f763b574b9b3266f36ba3da4720dc9224
2013-04-30 14:55:10 +09:00
Jeff Sharkey 238748d57c am 7a800e79: Merge "Avoid leaking AssetFileDescriptor."
* commit '7a800e7982ff607aa339f44742de935033f38cfe':
  Avoid leaking AssetFileDescriptor.
2013-04-29 22:33:22 -07:00
Jeff Sharkey 7a800e7982 Merge "Avoid leaking AssetFileDescriptor." 2013-04-30 01:11:02 +00:00
Jeff Sharkey c5ebc792d6 Avoid leaking AssetFileDescriptor.
Change-Id: Iac388c8aefc684980cb4c7131fb47319f6073eb3
2013-04-29 12:26:44 -07:00
Baligh Uddin ed9ef5a778 am af77854a: am 31a70de6: Import translations. DO NOT MERGE
* commit 'af77854afce13fa54826cbe2c55745030621cb5a':
  Import translations. DO NOT MERGE
2013-04-29 11:22:26 -07:00
Baligh Uddin 88a78cd0c6 Revert "Import translations. DO NOT MERGE"
This reverts commit c641478352

Change-Id: Ibfdb00914e74239ed18982f7e264392e27ebccc4
2013-04-27 02:50:44 +00:00
Baligh Uddin af77854afc am 31a70de6: Import translations. DO NOT MERGE
* commit '31a70de6d22c9fd763d0e6dcc46e24be33838066':
  Import translations. DO NOT MERGE
2013-04-26 16:43:47 -07:00
Baligh Uddin c641478352 Import translations. DO NOT MERGE
Change-Id: If02e4938fef4c4b30e61ae967aed197873b2dc61
Auto-generated-cl: translation import
2013-04-26 13:44:20 -07:00
Baligh Uddin 96b284afe1 Import translations. DO NOT MERGE
Change-Id: I65a16c04a3e63881180231d8c04c6cea847269d3
Auto-generated-cl: translation import
2013-04-26 13:39:42 -07:00
Baligh Uddin 31a70de6d2 Import translations. DO NOT MERGE
Change-Id: Id6eb0824603681ad04462fc08c0dcf071efa1d72
Auto-generated-cl: translation import
2013-04-26 13:38:16 -07:00
Jean Chalard fc26033c37 [PB11] Add a skeleton class for a self-updating progress bar
Bug: 7600384
Change-Id: I55b51152dd9968a359af091bf309f0d406f63ec4
2013-04-26 20:51:42 +09:00
Jean Chalard ab0c66b9d1 [PB10] Add a progress bar to display file download progress
The progress bar is showing but doesn't show progress yet.

Bug: 7600384
Change-Id: I80debd3f4368e82e4184a6c638bdcc8e48ed2305
2013-04-26 20:34:56 +09:00
Jean Chalard ae577ac1db Merge "Update dictionaries" 2013-04-26 11:28:08 +00:00
Jean Chalard d57a7748c1 Update dictionaries
>>> dictionaries/ru_wordlist.combined.gz
Header :
  date : 1366957492 <=> 1366974711
Body :
Added: ложись 100
Added: под 100
Added: посмотрю 100
Added: угу 100
Added: ух 100

>>> java/res/raw/main_ru.dict
Header :
  date : 1366957492 <=> 1366974711
Body :
Added: ложись 100
Added: под 100
Added: посмотрю 100
Added: угу 100
Added: ух 100

Change-Id: Ida39ea2cf25cd291554f3b2f3ce31f57dca24113
2013-04-26 20:15:14 +09:00
Jean Chalard 739406bf46 Merge "[PB9] Make buttons that animate-out unclickable" 2013-04-26 10:29:43 +00:00
Jean Chalard d4fc13d261 [PB9] Make buttons that animate-out unclickable
Clicking on a button that is animating-out is only done by
mistake. Better make them unclickable.
Also, interrupt an out-in animation if it has been preempted.

Bug: 7600384
Change-Id: Ic4700cda46a894ea580bc67ee7bef885ecf1d3bc
2013-04-26 19:06:29 +09:00
Tadashi G. Takaoka be06bce18b Merge "Get rid of janky black box before the movie starts" 2013-04-26 09:38:54 +00:00
Tadashi G. Takaoka d477755287 Merge "Fix graying animation of alt-code keys when space/enter is typed" 2013-04-26 09:33:07 +00:00
Tadashi G. Takaoka 732c93815a Get rid of janky black box before the movie starts
Bug: 8159728
Change-Id: I1d0a01a05b3b694d21fdfdc246d1329ab829908d
2013-04-26 18:26:12 +09:00
Jean Chalard e8ed5d8876 Delete obsolete dictionaries
Bug: 7980985
Change-Id: I4c9165e6102cb12fa1249074297e94013439ea3b
2013-04-26 17:31:55 +09:00
Jean Chalard 9a98ef6968 Merge "[ZF3] Add the option to block potentially offensive words" 2013-04-26 08:25:10 +00:00
Jean Chalard c03aaa1bde Merge "[ZF2] Read settings for profanity filtering." 2013-04-26 08:23:56 +00:00
Jean Chalard 1ff8b1ce3a Merge "Update dictionaries" 2013-04-26 07:50:07 +00:00
Tadashi G. Takaoka 5141f04ef3 Fix graying animation of alt-code keys when space/enter is typed
Change-Id: Iac508f37afa916ca52c62c2369cb7ff91bde0a64
2013-04-26 16:14:18 +09:00
Jean Chalard 7ec72b80ed Update dictionaries
Full diff too long: truncated

Summary diff
>>> dictionaries/ru_wordlist.combined.gz
Header :
  date : 1366277083 <=> 1366957492
  version : 31 <=> 32
Contents :
  - Reinstate 2- and 3- letter words that were demoted to avoid
    bad space insertion (343 entries)
  - Add missing words as per b/6341908 and b/5674314
    (98 entries)

This has zero effect on the regression tests

Bug: 6341908
Bug: 5674314
Change-Id: Ifce268a7eab5edd264d963489187e975017f8b72
2013-04-26 15:56:54 +09:00
Satoshi Kataoka adbafa1a9b Merge "Support ICS on the user dictionary settings" 2013-04-26 06:50:42 +00:00
Satoshi Kataoka dcef94165b Support ICS on the user dictionary settings
Bug: 8600958
Change-Id: I50e9228afc7b04147eb7c4734d3145abe8859a30
2013-04-26 15:48:08 +09:00
Tadashi G. Takaoka 4bb312c7f3 Merge "Add strings-appname.xml to AOSP Android Keyboard project" 2013-04-26 06:46:07 +00:00
Tadashi G. Takaoka dca46b5015 Merge "Keep task stack when invoking settings from setup wizard" 2013-04-26 06:45:52 +00:00
Tadashi G. Takaoka 57372fd3da Remove graying animation of alt-code keys while typing
Bug: 8727807
Change-Id: Idcc76dade3ceba5649666d795b6e4f94a161d748
2013-04-26 14:55:46 +09:00
Tadashi G. Takaoka 842e245e6f Add strings-appname.xml to AOSP Android Keyboard project
Change-Id: I8dea5393ad3b12c2398bbeb7f1040b66d82c9c35
2013-04-26 14:01:41 +09:00
Tadashi G. Takaoka 82e476b188 Keep task stack when invoking settings from setup wizard
Bug: 8336068
Change-Id: If1df32595f72285b2dad16e28b4429b7b6059839
2013-04-26 13:03:37 +09:00
Jean Chalard df3ca0420b Fix deleting a dictionary
When the user presses the "delete" button in the Add-on dictionary
interface, we send an empty dictionary to Latin IME as a dummy for
it to use instead of the pre-installed one.
The old "empty" placeholder was rejected by initial verification.
This one is still empty, but passes the check.

Bug: 7980985
Change-Id: I751bbf67d8078dd5fbdce1dd2f0db72a8207816d
2013-04-25 22:39:22 +09:00
Jean Chalard 1919072cfc Merge "[ZF1] Check profanity in Java rather than in native" 2013-04-25 11:33:05 +00:00
Jean Chalard d361dc841c [ZF3] Add the option to block potentially offensive words
Bug: 7226877
Change-Id: I2171c946258468b0a39d6590c7af994ef25ba552
2013-04-25 20:29:14 +09:00
Jean Chalard bb61293675 [ZF2] Read settings for profanity filtering.
Bug: 7226877
Change-Id: Ie0c713e1eba1529c0b288a1e5011023a79bedd6b
2013-04-25 20:29:14 +09:00
Jean Chalard 99e998286d [ZF1] Check profanity in Java rather than in native
Bug: 7226877
Change-Id: Ib6c32bfee9977c27dbf7e1e590b2b00d9ceb7301
2013-04-25 20:29:11 +09:00
Jean Chalard fb34869f5a Merge "[PB8] Add an animation upon status change." 2013-04-25 11:04:58 +00:00
Tadashi G. Takaoka b1b03cfc2b Merge "Fix missing initialization of PreviewPlacerView" 2013-04-25 10:00:34 +00:00
Jean Chalard 43590149a5 Work around a bug in older DownloadManager versions.
This adds a number to the extension.

Note that for DownloadManager to keep this, the server
needs to send it a mime type it does not recognize. Right
now, it does not recognize application/json so it's okay,
but we'd do well to remove the content/type header from
the server to prevent problems.

Bug: 8467516
Change-Id: Ic484f66ac3f67c36f59f2c0bcb8c7fdeb6e8590d
2013-04-25 18:52:39 +09:00
Jean Chalard 4dc77dcf4c Merge "[PB7] Export animation code out of the preference" 2013-04-25 09:49:12 +00:00
Jean Chalard 513c63e877 [PB8] Add an animation upon status change.
Bug: 7600384
Change-Id: If5efb9357075193d10255187008e870e2933bdb8
2013-04-25 18:37:03 +09:00
Jean Chalard 2d72590ced [PB7] Export animation code out of the preference
Bug: 7600384
Change-Id: I8009b31d96646acd667db410b94e969daea91d52
2013-04-25 18:37:01 +09:00
Tadashi G. Takaoka 1b6eea8903 Fix missing initialization of PreviewPlacerView
Bug: 8716050
Change-Id: I234f1134274b9f72c8abbd729783f9ffe8f20f64
2013-04-25 18:26:24 +09:00
Jean Chalard a995bf4031 Put temp files within app files
Bug: 8715614
Change-Id: I307d83923070994525cf0d27aad403e881a89314
2013-04-25 18:14:40 +09:00
Satoshi Kataoka 30f0f3a92a Merge "Implement a functionality to add an entry to the user dictionary" 2013-04-25 06:04:08 +00:00
Satoshi Kataoka a79ba8a3d6 Implement a functionality to add an entry to the user dictionary
Bug: 8600958

Change-Id: Ic472500406b9d54ec4052c490ee7cef62fc4e52a
2013-04-25 14:55:07 +09:00
Jean Chalard 2cf450f482 [PB6] Encapsulate the buttons into a view
Handling buttons directly in the preference causes large
problems of code readability and interface.  It's better to
have a class to manage the buttons and their animations
separately. This is feature-equivalent, and mostly
delegates stuff for now.

Bug: 7600384
Change-Id: Ia8da0ec68ffac84fc1d65e1760539a87a73fa776
2013-04-25 12:25:25 +09:00
Jean Chalard e91387e281 Merge "[PB5] Store state in a more convenient manner" 2013-04-25 02:44:47 +00:00
Baligh Uddin 8f4cad6f85 am 78e92b5c: Import translations. DO NOT MERGE
* commit '78e92b5cd94f2fa582b43190002ac6e51a163032':
  Import translations. DO NOT MERGE
2013-04-24 14:28:50 -07:00
Baligh Uddin 348e062a63 Import translations. DO NOT MERGE
Change-Id: Iefa9cf774c772bc113d481199a0a9c564a0aba27
Auto-generated-cl: translation import
2013-04-24 13:22:43 -07:00
Baligh Uddin 78e92b5cd9 Import translations. DO NOT MERGE
Change-Id: Ic979ab299132925396513d01ece53a6dc02cfa80
Auto-generated-cl: translation import
2013-04-24 13:17:41 -07:00
Jean Chalard cadea5d2fc [PB5] Store state in a more convenient manner
This is more readable and will help with animations going forward.

Bug: 7600384
Change-Id: I255598d860d1e451fef106b00da63c282fe95f95
2013-04-24 22:49:50 +09:00
Jean Chalard e91c001da9 Merge "[PB4] Make a memory non-static" 2013-04-24 11:51:10 +00:00
Jean Chalard 80790d78f6 Merge "[PB3] Simplify storage" 2013-04-24 11:49:43 +00:00
Jean Chalard 776edcfe46 Merge "[PB2] Small bugfix" 2013-04-24 11:49:33 +00:00
Jean Chalard c017f18a59 [PB4] Make a memory non-static
The life span of this object is actually the life span of the interface.
It should not be static.
Also, we'll have a few other things to store in there soon.

Bug: 7600384
Change-Id: I708019e9ee53653e83a1e52c8e76326c3e39bcf3
2013-04-24 20:46:28 +09:00
Jean Chalard 43e8639e4e [PB3] Simplify storage
By looping through children, there is no need to remember the
last index.

Bug: 7600384
Change-Id: I8b42b0aa38874ee494c6c4ecc09194a1d3c16922
2013-04-24 20:46:26 +09:00
Jean Chalard d98f406dd3 [PB2] Small bugfix
The button would not display after it got hidden once.

Bug: 7600384
Change-Id: I57f9f1191be3b8fff55dde7a2781dbef68a2df62
2013-04-24 20:45:53 +09:00
Tadashi G. Takaoka 46913aedb4 Merge "Add next axction to setup wizard" 2013-04-24 10:30:56 +00:00
Tadashi G. Takaoka b5d33059e0 Add next axction to setup wizard
Bug: 8159728
Change-Id: Ia37ab32b63e4eda29bf1411719d00846525c278f
2013-04-24 19:22:41 +09:00
Tadashi G. Takaoka b40a8c060f Merge "Tune setup wizard layout for landscape and tablet" 2013-04-24 09:30:59 +00:00
Tadashi G. Takaoka 5cd7211ce6 Tune setup wizard layout for landscape and tablet
Bug: 8159728
Change-Id: Ic2206d50562d62578f8e5e50bbd3c36625dbafb7
2013-04-24 18:22:47 +09:00
Satoshi Kataoka b35aa487fd Merge "Make aggressive threshold really aggressive" 2013-04-24 09:14:30 +00:00
Satoshi Kataoka 70f2762e28 Make aggressive threshold really aggressive
Bug: 8701480
Change-Id: If8242cfe61f3e56712fd6e25e36858cff7f0d177
2013-04-24 17:49:56 +09:00
Tadashi G. Takaoka 0e96003e0f Merge "Refactor SetupStepGroup" 2013-04-24 05:53:33 +00:00
Tadashi G. Takaoka e918bf07a0 Refactor SetupStepGroup
Bug: 8159728
Change-Id: I1ab846d0910aacbd2f979289d72bafea8a8e0378
2013-04-24 14:15:59 +09:00
Tadashi G. Takaoka 3ee39be1bd Merge "Add setup wizard indicator size resource" 2013-04-24 04:01:04 +00:00
Tadashi G. Takaoka 81b4661f96 Add setup wizard indicator size resource
This is a follow up of Ie8e058bc3c.

Bug: 8159728
Change-Id: I171fc99374789e69c15506c37970e6fcafbcb1e2
2013-04-24 12:56:39 +09:00
Jean Chalard 197a2d32e1 Merge "[PB1] Cleanup" 2013-04-24 02:17:23 +00:00
Tadashi G. Takaoka e55ae3424a am 0e5b6384: Disable shadow of gesture trail (DO NOT MERGE)
* commit '0e5b6384f3f6daf9c05a25e60a900da4d24e3913':
  Disable shadow of gesture trail (DO NOT MERGE)
2013-04-23 16:51:47 -07:00
Jean Chalard 41f505dc3e [PB1] Cleanup
This preference is not a DialogPreference any more, as it doesn't
ever display a Dialog.

Bug: 7600384
Change-Id: Ia5965617c83d3cb964010f9b40d833065dccef60
2013-04-23 20:41:41 +09:00
Baligh Uddin 6b87e270f7 am fc036454: Import translations. DO NOT MERGE
* commit 'fc0364548979c2f881ce2fa0629205b8378a3a28':
  Import translations. DO NOT MERGE
2013-04-23 03:51:31 -07:00
Tadashi G. Takaoka 9a289c08f2 Merge "Use resources for dimensions of setup wizard" 2013-04-23 08:22:28 +00:00
Tadashi G. Takaoka 586578b730 Merge "Disable shadow of gesture trail" 2013-04-23 08:21:53 +00:00
Tadashi G. Takaoka 0e5b6384f3 Disable shadow of gesture trail (DO NOT MERGE)
Bug: 8689880
Change-Id: I908c22d362f2f6f07e5e04be14d3aaa749a8ac8e
2013-04-23 17:21:22 +09:00
Tadashi G. Takaoka 2deb898582 Disable shadow of gesture trail
Cherry-picked from JB-MR2 I908c22d362.

Bug: 8689880
Change-Id: Ie759c5d63056509e3ca61d9fb6823ab04ddf41ed
2013-04-23 17:20:21 +09:00
Tadashi G. Takaoka 0bff16155a Use resources for dimensions of setup wizard
This is a ground work to fit the setup wizard to smaller phones and
larger tablets.

Bug: 8159728
Change-Id: Ie8e058bc3cba30cac3b31eb5a3ce975f2ee311d9
2013-04-23 17:18:34 +09:00
Tadashi G. Takaoka 4b7e0c5ac2 Merge "Remove wording "wizard" from setup application" 2013-04-23 07:57:18 +00:00
Tadashi G. Takaoka 864aeb1f50 Remove wording "wizard" from setup application
Bug: 8676811
Bug: 8662102
Change-Id: Ie234d8871651344b6815ae68c8b1f0663a9f6c79
2013-04-23 16:44:42 +09:00
Tadashi G. Takaoka 480284e28a Merge "Add edit personal dictionary settings menu" 2013-04-23 06:01:45 +00:00
Jean Chalard c3f4783649 Add an additional ID to the client info.
Bug: 8651863
Change-Id: I748f35726d72ede926d5b06ed87ff029317f1ac3
2013-04-23 14:37:15 +09:00
Baligh Uddin f595a0626d Import translations. DO NOT MERGE
Change-Id: Ib14aef97ea78806e1560fbd3d3e1f40f01bf8c0a
Auto-generated-cl: translation import
2013-04-22 14:13:10 -07:00
Baligh Uddin fc03645489 Import translations. DO NOT MERGE
Change-Id: I58c4fff8e92f66f7e85446d6fd05e61e3f081aca
Auto-generated-cl: translation import
2013-04-22 14:07:22 -07:00
Satoshi Kataoka 434abe450c am 9b4e3db1: Legal notice
* commit '9b4e3db1afb9cfb089aa81e87075cdc8e2740a87':
  Legal notice
2013-04-22 07:26:11 -07:00
Satoshi Kataoka 9b4e3db1af Legal notice
Bug: 8533258
Change-Id: I00e4916f86f29dd476c51a65e8fa5a6c136fd179
2013-04-22 21:55:53 +09:00
Tadashi G. Takaoka 4f2535398a Add edit personal dictionary settings menu
Bug: 8600958
Change-Id: I303adfbe25a56cc9b5ee9f3b5169a5bca0ad6c4a
2013-04-22 19:59:12 +09:00
Tadashi G. Takaoka 34b0087038 am 1a9bf159: Merge "Don\'t triger onPress and startLongPressTimer when gesture is canceled"
* commit '1a9bf159a49c975b9e8da1c691676d6d23b01a3b':
  Don't triger onPress and startLongPressTimer when gesture is canceled
2013-04-22 03:55:33 -07:00
Tadashi G. Takaoka 1a9bf159a4 Merge "Don't triger onPress and startLongPressTimer when gesture is canceled" 2013-04-22 10:53:39 +00:00
Tadashi G. Takaoka 80a98ee5c2 am 508ab248: Merge "Implement IMM.switchToNextInputMethod() for ICS"
* commit '508ab248758c167400c2a868d6d6a2e24ddb717b':
  Implement IMM.switchToNextInputMethod() for ICS
2013-04-22 03:38:42 -07:00
Tadashi G. Takaoka 508ab24875 Merge "Implement IMM.switchToNextInputMethod() for ICS" 2013-04-22 10:37:11 +00:00
Tadashi G. Takaoka 13d5da8b88 Don't triger onPress and startLongPressTimer when gesture is canceled
Bug: 8650846
Change-Id: Ice5ef07d6833422906b0b756206e097f75d1f2db
2013-04-22 19:36:08 +09:00
Tadashi G. Takaoka 85629debaa Implement IMM.switchToNextInputMethod() for ICS
Bug: 8633367
Change-Id: Ifc0f97b1fdf5e5cc3601c24a503058c4822478dc
2013-04-22 19:30:56 +09:00
Jean Chalard 72e8d94288 am 6d25be9a: Merge "Don\'t kill suggestions with native score < 1"
* commit '6d25be9ac5e30c956fb7ee3ad43fc67ccbfcb92b':
  Don't kill suggestions with native score < 1
2013-04-22 01:14:58 -07:00
Jean Chalard 6d25be9ac5 Merge "Don't kill suggestions with native score < 1" 2013-04-22 08:13:13 +00:00
Tadashi G. Takaoka 6bbe685893 am 0f07935e: Centering setup wizard welcome video
* commit '0f07935e5165b33d512d7d594e5fec7a2f210013':
  Centering setup wizard welcome video
2013-04-22 00:31:24 -07:00
Jean Chalard f0e579a171 Don't kill suggestions with native score < 1
Change-Id: I954856b7fec0b91e19a467f2a87978d49caa639d
2013-04-22 14:21:43 +09:00
Tadashi G. Takaoka 0f07935e51 Centering setup wizard welcome video
Bug: 8159728
Change-Id: Ia016c41dc39b87740ff57efe0e2fadd61f0da129
2013-04-22 12:23:32 +09:00
Ken Wakasa 727975009f am 2a9b5447: am a56c7020: am d4ab58a0: Add translatable="false" for appropriate entries
* commit '2a9b5447fa87daa70c45ecf0f038271ed7a92813':
  Add translatable="false" for appropriate entries
2013-04-19 10:13:47 -07:00
Ken Wakasa 2a9b5447fa am a56c7020: am d4ab58a0: Add translatable="false" for appropriate entries
* commit 'a56c702088055823bd755d2aafe13965b12785ed':
  Add translatable="false" for appropriate entries
2013-04-19 10:11:40 -07:00
Ken Wakasa a56c702088 am d4ab58a0: Add translatable="false" for appropriate entries
* commit 'd4ab58a0f7bdf5aee51947607e1b17998912285c':
  Add translatable="false" for appropriate entries
2013-04-19 10:09:50 -07:00
Kurt Partridge bd99e8dc24 am 41b34cf2: Merge "Allow LogUnits to hold >1 word"
* commit '41b34cf2aeca063d99e47b6da2a9dab68fba0608':
  Allow LogUnits to hold >1 word
2013-04-19 09:07:11 -07:00
Kurt Partridge 41b34cf2ae Merge "Allow LogUnits to hold >1 word" 2013-04-19 16:04:13 +00:00
Kurt Partridge e92b5e145f Allow LogUnits to hold >1 word
LogUnits have been annotated with the autocorrected words, but
until now this was assumed to be a single word without spaces.
But spaceless typing can result in spaces in the LogUnit label.  With this
change, the LogUnit inspects the autocorrected text to determine how many
words were inserted, and counts them accurately.

This change corrects a privacy problem, which was that if the word sampling
algorithm chose a LogUnit that actually contained multiple words, then more
than two successive words would be included in the log.

Change-Id: I7c01c3dd3ac33d7e96c00836256bae9c14b124ed
2013-04-19 08:55:39 -07:00
Jean Chalard 6f6974e6e9 am 825da76c: Redisplay a hidden button after it entered the screen again.
* commit '825da76c72d420e8c43c7334cf273ba9e5da59fe':
  Redisplay a hidden button after it entered the screen again.
2013-04-19 07:06:36 -07:00
Jean Chalard 6dc9933d83 am f8014eea: Hide the correct button when pressing a new button.
* commit 'f8014eea341040f8d155e071e4e0c915a7ebd61d':
  Hide the correct button when pressing a new button.
2013-04-19 06:56:11 -07:00
Jean Chalard 825da76c72 Redisplay a hidden button after it entered the screen again.
Bug: 7600384
Change-Id: I6cd18fd7584b6e98260cb432956f08ba9886580b
2013-04-19 22:50:48 +09:00
Jean Chalard f8014eea34 Hide the correct button when pressing a new button.
Bug: 7600384
Change-Id: Ic5dbbbbcf19d778dde1316ebb417f1a8ede2d25d
2013-04-19 22:50:45 +09:00
Tadashi G. Takaoka ab11dbe8f3 am b8ff89c8: Remove translatable="false" from setup wizard strings
* commit 'b8ff89c809dabc46df9ee683c6064f67ee432213':
  Remove translatable="false" from setup wizard strings
2013-04-19 05:11:30 -07:00
Tadashi G. Takaoka b8ff89c809 Remove translatable="false" from setup wizard strings
Change-Id: Ie2f53910ce91f8c288e83c4ea15dc51aafd4c6a2
2013-04-19 21:07:17 +09:00
Tadashi G. Takaoka c35e0e6a4b am 42afa82d: Support landscape orientation for setup wizard
* commit '42afa82d54f10d7faf8c4ba50516dd450606f98b':
  Support landscape orientation for setup wizard
2013-04-19 04:55:55 -07:00
Tadashi G. Takaoka b3663df582 am 68e4de1e: Add welcome screen to setup wizard
* commit '68e4de1e78c62802fb18be120d58646ca35fe320':
  Add welcome screen to setup wizard
2013-04-19 04:55:53 -07:00
Tadashi G. Takaoka 42afa82d54 Support landscape orientation for setup wizard
Bug: 8159728
Change-Id: Ic0f73a7ebfea6e5e98aa320eb1ebc2a677271665
2013-04-19 20:53:40 +09:00
Tadashi G. Takaoka 68e4de1e78 Add welcome screen to setup wizard
This is a preliminary implementation because the welcome screen video
is just a placeholder.

Bug: 8159728
Change-Id: I6a2459a266babec2f078fc393b18c77b0b7992a8
2013-04-19 20:49:49 +09:00
Tadashi G. Takaoka baa1e14da1 am fcefabf9: Groundwork to implement landscape and welcome screen
* commit 'fcefabf9abafc867ae858160169bb1cd19981e07':
  Groundwork to implement landscape and welcome screen
2013-04-19 04:24:48 -07:00
Tadashi G. Takaoka fcefabf9ab Groundwork to implement landscape and welcome screen
Bug: 8159728
Change-Id: I05ff6578980ec2e210ebb482ea51b1600e74a4f4
2013-04-19 20:10:59 +09:00
Tadashi G. Takaoka 82a7b185bb am 16ec2e11: Merge "Add finish action to setup wizard"
* commit '16ec2e1155a0152c6ded42bc8941b90b7cd08d35':
  Add finish action to setup wizard
2013-04-19 04:01:19 -07:00
Tadashi G. Takaoka 16ec2e1155 Merge "Add finish action to setup wizard" 2013-04-19 10:58:55 +00:00
Tadashi G. Takaoka 192743a6ae Add finish action to setup wizard
Bug: 8159728
Change-Id: I1578fc31875a1edbfea213fb5e1a1b464d02e941
2013-04-19 19:44:54 +09:00
Ken Wakasa d4ab58a0f7 Add translatable="false" for appropriate entries
bug: 8662567
Change-Id: I1ac9b4b8834f3b0ea537ad3142fa533dea10f23e
2013-04-19 19:37:59 +09:00
Jean Chalard 1a835efc22 am ff078041: am f1dde6a1: am 758c74fe: Merge "Fix an NPE in recorrection" into jb-mr2-dev
* commit 'ff078041e7829e1a0d4537c395dad0cf9c4d7f51':
  Fix an NPE in recorrection
2013-04-19 00:13:08 -07:00
Jean Chalard ff078041e7 am f1dde6a1: am 758c74fe: Merge "Fix an NPE in recorrection" into jb-mr2-dev
* commit 'f1dde6a1bf659d182db5a2645515cc1efe74459c':
  Fix an NPE in recorrection
2013-04-19 00:10:22 -07:00
Jean Chalard b7abaafec0 am e5cbdfe1: am 3629605b: am 77226ed0: Merge "Fix an NPE in recapitalize" into jb-mr2-dev
* commit 'e5cbdfe1b83032c6ea212dd95c3968c522baa1d1':
  Fix an NPE in recapitalize
2013-04-19 00:08:56 -07:00
Jean Chalard f1dde6a1bf am 758c74fe: Merge "Fix an NPE in recorrection" into jb-mr2-dev
* commit '758c74fe82683aef08d93a935433c027a7bc21a7':
  Fix an NPE in recorrection
2013-04-19 00:07:37 -07:00
Jean Chalard e5cbdfe1b8 am 3629605b: am 77226ed0: Merge "Fix an NPE in recapitalize" into jb-mr2-dev
* commit '3629605b7c14b5eea498ef9588f4fef788ef454c':
  Fix an NPE in recapitalize
2013-04-19 00:06:58 -07:00
Jean Chalard 3629605b7c am 77226ed0: Merge "Fix an NPE in recapitalize" into jb-mr2-dev
* commit '77226ed006ba32228cd5db19031e04d13d87b27e':
  Fix an NPE in recapitalize
2013-04-19 00:04:13 -07:00
Jean Chalard 758c74fe82 Merge "Fix an NPE in recorrection" into jb-mr2-dev 2013-04-19 07:03:19 +00:00
Jean Chalard 77226ed006 Merge "Fix an NPE in recapitalize" into jb-mr2-dev 2013-04-19 07:01:10 +00:00
Jean Chalard ae7d1530b4 Fix an NPE in recorrection
Also, theoretically, we don't want to retrieve older suggestions if
there are no results for a recorrection - that would look random.
This bug addresses this too.

Bug: 8657919
Change-Id: I44f36d34a708a968ab71fa0592da57f4c97d4b7f
2013-04-19 15:53:33 +09:00
Jean Chalard 3bdf341ea0 Fix an NPE in recapitalize
Bug: 8657736
Change-Id: I459d1c200826c1c394f8207475ecf60a4f356793
2013-04-19 15:44:20 +09:00
Tadashi G. Takaoka fc2ca29d71 am f10046bd: Remove ScrollView from setup wizard
* commit 'f10046bddc78c939c53236fb94ebaf413d108b11':
  Remove ScrollView from setup wizard
2013-04-18 22:51:15 -07:00
Tadashi G. Takaoka ed0d1156f7 am 30f102e2: Move some attributes of setup wizard layouts to style files
* commit '30f102e297d4e4afc28b3aad688fe72e814452e7':
  Move some attributes of setup wizard layouts to style files
2013-04-18 20:49:01 -07:00
Tadashi G. Takaoka f10046bddc Remove ScrollView from setup wizard
Change-Id: I85f089301d1be8ed789a20049d21e2c371cad1c5
2013-04-19 12:45:47 +09:00
Tadashi G. Takaoka 30f102e297 Move some attributes of setup wizard layouts to style files
Change-Id: I7b5999253c959531212ee27ac1ddfe39de280e2c
2013-04-19 12:43:40 +09:00
Tadashi G. Takaoka ae19f170ba am 1f6e06cf: Merge "Make setup wizard step number highlighted when activated"
* commit '1f6e06cf9244cdd8803ee653f948e169c190b067':
  Make setup wizard step number highlighted when activated
2013-04-18 20:24:11 -07:00
Tadashi G. Takaoka 1f6e06cf92 Merge "Make setup wizard step number highlighted when activated" 2013-04-19 03:21:04 +00:00
Tadashi G. Takaoka 7158438a64 am 88ee052c: Merge "Update strings of setup wizard"
* commit '88ee052c10a08bc48f40074583b64e5ebc43fdee':
  Update strings of setup wizard
2013-04-18 20:18:54 -07:00
Tadashi G. Takaoka 88ee052c10 Merge "Update strings of setup wizard" 2013-04-19 03:16:46 +00:00
Tadashi G. Takaoka 411fd9bd02 Update strings of setup wizard
Bug: 8159728
Change-Id: I34ef461410f4ebd4a3869c3614318581d48fdef5
2013-04-19 11:16:06 +09:00
Tadashi G. Takaoka b84c0468e4 Make setup wizard step number highlighted when activated
Bug: 8159728
Change-Id: I62ccbebaae0a0c4a93ad7c155fc3020a7f357f3c
2013-04-19 11:14:21 +09:00
Baligh Uddin 04211b9112 am dcc59297: am 1844bec2: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev
* commit 'dcc59297ac97c2ae7791ab09c535927c93c607fb':
  Import translations. DO NOT MERGE
2013-04-18 09:46:34 -07:00
Baligh Uddin dcc59297ac am 1844bec2: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev
* commit '1844bec2024859f1c8dbc331893a74d5af9152d8':
  Import translations. DO NOT MERGE
2013-04-18 09:42:23 -07:00
Baligh Uddin 3f4d2105db Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-04-18 16:39:51 +00:00
Baligh Uddin 1844bec202 Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-04-18 16:39:35 +00:00
Ken Wakasa 4f1a832dd0 am f02e2693: am 55b306c9: am 64eda4f4: Merge "Fix an infinite loop" into jb-mr2-dev
* commit 'f02e2693120f84b7d08f059dd9b30eacf838e405':
  Fix an infinite loop
2013-04-18 09:34:55 -07:00
Ken Wakasa f02e269312 am 55b306c9: am 64eda4f4: Merge "Fix an infinite loop" into jb-mr2-dev
* commit '55b306c9e0ea29a10dfd79d5478344fcc98ca184':
  Fix an infinite loop
2013-04-18 09:32:04 -07:00
Jean Chalard 936fc9abe5 am 3a18ae70: am a5d2da82: am d91268ad: Initialize dictionaries at onStartInputView
* commit '3a18ae70ccdce702478bcb7c7d238373b460b014':
  Initialize dictionaries at onStartInputView
2013-04-18 09:29:41 -07:00
Ken Wakasa 55b306c9e0 am 64eda4f4: Merge "Fix an infinite loop" into jb-mr2-dev
* commit '64eda4f4fa30fc60daeb5a8af462e688d4573700':
  Fix an infinite loop
2013-04-18 09:28:10 -07:00
Jean Chalard 3a18ae70cc am a5d2da82: am d91268ad: Initialize dictionaries at onStartInputView
* commit 'a5d2da82a6a4486a4ef74e51ddd1c875f4c2d935':
  Initialize dictionaries at onStartInputView
2013-04-18 09:27:35 -07:00
Jean Chalard a5d2da82a6 am d91268ad: Initialize dictionaries at onStartInputView
* commit 'd91268ad9fb69b4733044b4e466e1d33f6c4725f':
  Initialize dictionaries at onStartInputView
2013-04-18 09:24:45 -07:00
Ken Wakasa 64eda4f4fa Merge "Fix an infinite loop" into jb-mr2-dev 2013-04-18 16:24:01 +00:00
Jean Chalard 77e26e1c29 Fix an infinite loop
What do you mean "Can't happen"?
It happens all the time - the empty string is the default ID, and it
needs to be updated like everyone else.

Bug: 8651858
Change-Id: I5a2f2ebb5b2ef08b27f26be8fb2c3d2f231ebcfc
2013-04-18 23:14:13 +09:00
Jean Chalard 0e64fbbcac am 9cf46864: Update dictionaries
* commit '9cf468646fe3c0ce1ed1b360068dc128f7d9518b':
  Update dictionaries
2013-04-18 04:52:04 -07:00
Jean Chalard 9cf468646f Update dictionaries
>>> dictionaries/en_GB_wordlist.combined.gz
Header :
  date : 1366021966 <=> 1366272052
Body :
Added: yt 0

>>> dictionaries/en_US_wordlist.combined.gz
Header :
  date : 1366021978 <=> 1366272093
Body :
Added: yt 0

>>> dictionaries/en_wordlist.combined.gz
Header :
  date : 1366021987 <=> 1366272977
Body :
Added: yt 0

>>> dictionaries/fr_wordlist.combined.gz
Header :
  date : 1366003217 <=> 1366272255
Body :
Freq changed: cash 80 -> 20

>>> dictionaries/ru_wordlist.combined.gz
Header :
  date : 1366003693 <=> 1366277083
Body :
Deleted: толщ 76

>>> java/res/raw/main_en.dict
Header :
  date : 1366021987 <=> 1366272977
Body :
Added: yt 0

>>> java/res/raw/main_fr.dict
Header :
  date : 1366003217 <=> 1366272255
Body :
Freq changed: cash 80 -> 20

>>> java/res/raw/main_ru.dict
Header :
  date : 1366003693 <=> 1366277083
Body :
Deleted: толщ 76

Bug: 8635822
Change-Id: I44dc73bd010b125c994387894847a008276d69f7
2013-04-18 18:41:19 +09:00
Tadashi G. Takaoka 64e87b3e66 am 0b2d184a: Merge "Update setup wizard icons"
* commit '0b2d184a426f49c115ea55098ae6073ccd7d6a94':
  Update setup wizard icons
2013-04-17 23:59:41 -07:00
Tadashi G. Takaoka 0b2d184a42 Merge "Update setup wizard icons" 2013-04-18 06:56:24 +00:00
Jean Chalard d91268ad9f Initialize dictionaries at onStartInputView
Bug: 8344402
Change-Id: I41b8440f0d72a66fde3f6feb0db8239c9bb10ea3
2013-04-18 14:48:42 +09:00
Kurt Partridge 8acab80a86 am 56f35a10: Merge "Fix bug in counting words between samples"
* commit '56f35a10cde1beeea51d99427992d832fa2de2bb':
  Fix bug in counting words between samples
2013-04-17 21:25:27 -07:00
Kurt Partridge 56f35a10cd Merge "Fix bug in counting words between samples" 2013-04-18 04:23:29 +00:00
Tadashi G. Takaoka d794f5ae2a Update setup wizard icons
Bug: 8159728
Change-Id: Ia5a14a35292b43dc1eaa2d4edd65134040355149
2013-04-18 13:15:53 +09:00
Baligh Uddin c2e36a8fc2 am 97aa9c40: am a5506b53: am bfedad23: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '97aa9c4059c41395b6ad550a3e8dfb4a7b66a83b':
2013-04-17 19:50:51 -07:00
Tadashi G. Takaoka 93c31e176f am 530fd15e: Fix bug to update last interpolated index of GestureStroke
* commit '530fd15eff8bd8df1c4c87cfeab379b5328748c1':
  Fix bug to update last interpolated index of GestureStroke
2013-04-17 19:47:39 -07:00
Jean Chalard 38d52c0aca am a694c9ba: am ff766f8c: Merge "Don\'t insert automatic spaces when text looks like a URL"
* commit 'a694c9ba08895dbfadd703acb731a383edad8c9f':
  Don't insert automatic spaces when text looks like a URL
2013-04-17 19:47:35 -07:00
Tadashi G. Takaoka 38046a0a4e am 7abeccfa: am 1711f986: Merge "Add shadow to gesture preview trail"
* commit '7abeccfa2753806086c083b3ba7b5b96c40b387a':
  Add shadow to gesture preview trail
2013-04-17 19:47:34 -07:00
Jean Chalard 7f8e55ec80 am c6c17b93: am 962c9f05: Merge "Small cleanup"
* commit 'c6c17b933270d994caa127ba9ca96ecf35898a88':
  Small cleanup
2013-04-17 19:47:31 -07:00
Jean Chalard ca796e2d45 am aa6924e9: am 78d65873: Merge "Don\'t recapitalize on shift while on symbol layout"
* commit 'aa6924e9b2094ae64c8cecf6b5b5c14c0f6fb54a':
  Don't recapitalize on shift while on symbol layout
2013-04-17 19:47:30 -07:00
Jean Chalard 074fee655b am cca43825: am 8094bf45: Match the keyboard state to the recapitalize state.
* commit 'cca43825157d869b22c7d501d793dd5ed3d61562':
  Match the keyboard state to the recapitalize state.
2013-04-17 19:47:28 -07:00
Jean Chalard fe48f31e56 am ced547f7: am e259b9f5: Merge "Clean up RecapitalizeStatus"
* commit 'ced547f74156a3482698037bdfaa82ac78b01a91':
  Clean up RecapitalizeStatus
2013-04-17 19:47:27 -07:00
Jean Chalard 57ac9afcc8 am 8e5c6d70: am fd15686a: Merge "Fix an NPE"
* commit '8e5c6d709052ba13a4c1ebc08def8d563e7b149c':
  Fix an NPE
2013-04-17 19:47:26 -07:00
Jean Chalard 5557bf5ba7 am 10800d4b: am a024ac6b: Merge "Fix an NPE"
* commit '10800d4bce94b5735b94b056c60f9e61a7d57471':
  Fix an NPE
2013-04-17 19:47:25 -07:00
Jean Chalard 892f1b46d5 am 63e442cf: am 5fca38c5: Merge "Small performance improvement / minor bugfix"
* commit '63e442cf6b50f4a60c07a24f45a1db978d9f63f9':
  Small performance improvement / minor bugfix
2013-04-17 19:47:20 -07:00
Ken Wakasa 441fbbaf1d am 9a0e877c: am e3aa7f10: Adjust CHAR_LIMITs
* commit '9a0e877cfbdeabee64949b28db274093d0d5a9de':
  Adjust CHAR_LIMITs
2013-04-17 19:47:18 -07:00
Jean Chalard 203af810b1 am 8e643e32: am b76ce125: Merge "Remove a useless function"
* commit '8e643e32e6f07a218323d9a67091c3beed2f88a2':
  Remove a useless function
2013-04-17 19:47:17 -07:00
Jean Chalard 0376d9a0d6 am 647f629a: am a5a2f3e3: Remove gesture suggestions with an INT_MIN score
* commit '647f629a5a22f9d09c17b5667cc83e9c138edc0f':
  Remove gesture suggestions with an INT_MIN score
2013-04-17 19:47:16 -07:00
Jean Chalard 5e5bd3b6e6 am dea5e6a3: am 03395833: Merge "Have Latin IME re-capitalize a selected string"
* commit 'dea5e6a3011a68aa2c101480b0521498eea7da87':
  Have Latin IME re-capitalize a selected string
2013-04-17 19:47:15 -07:00
Jean Chalard d69892fc82 am 12bf5a05: am e99daea0: Update dictionaries
* commit '12bf5a0546e64e4265e1271b6c78b51e67a990f5':
  Update dictionaries
2013-04-17 19:47:14 -07:00
Jean Chalard 2532265d6a am 34676d92: am a022c538: Merge "If there are no suggestion span, recompute suggestions."
* commit '34676d92cc08c5575995a36cef1df9c50c1facca':
  If there are no suggestion span, recompute suggestions.
2013-04-17 19:47:12 -07:00
Jean Chalard ae73133188 am be0e013b: am 059e084e: Merge "Reject a previously user-refused suggestion."
* commit 'be0e013be879aec19197a9e1b0a1d2631a8d4c79':
  Reject a previously user-refused suggestion.
2013-04-17 19:47:10 -07:00
Tadashi G. Takaoka 577dc18906 am 1a42236a: am 4b6756db: Merge "Remove unnecessary harmful finish() from SettingsActivity"
* commit '1a42236a8b22e0d3ca6f26704f052b8f83c991c5':
  Remove unnecessary harmful finish() from SettingsActivity
2013-04-17 19:47:08 -07:00
Jean Chalard 18c362d700 am 5f6492c5: am 673ebb4e: Merge "Update dictionaries"
* commit '5f6492c584699fea5c5793f11b71df4b394c31c9':
  Update dictionaries
2013-04-17 19:47:07 -07:00
Tadashi G. Takaoka 9797dd2edc am 2fd4a00b: am 1ec4c07a: Merge "Ignore modifier key while sliding key input"
* commit '2fd4a00bea92a6b54cc21999c8f147e1baed1393':
  Ignore modifier key while sliding key input
2013-04-17 19:47:05 -07:00
Tadashi G. Takaoka 333bb7dbbd am eabb710b: am f224941c: Merge "Suppress calling onPressKey and onReleaseKey while detecting gesture"
* commit 'eabb710b60c50b58a105bf9cbb6c7987ccdae6ee':
  Suppress calling onPressKey and onReleaseKey while detecting gesture
2013-04-17 19:47:04 -07:00
Tadashi G. Takaoka ed497d2423 am 089f1ce9: am bfb07ed7: Merge "Add preference dependency to gesture input related options"
* commit '089f1ce95467e279c1d0b9f53de603af6a685bc4':
  Add preference dependency to gesture input related options
2013-04-17 19:47:03 -07:00
Tadashi G. Takaoka b8540f8ee5 am 18414333: am e2af9b7e: Merge "Reset vertical correction when more suggestions are in modal mode"
* commit '18414333d41ce877fb4a7aba76804cea2a8c89e3':
  Reset vertical correction when more suggestions are in modal mode
2013-04-17 19:47:00 -07:00
Jean Chalard ba5e450e40 am 69ffa8b0: am 03d1dff3: Merge "Fix Binary dict tests"
* commit '69ffa8b0ff646591edcc1eb3a6dc28572cf8e033':
  Fix Binary dict tests
2013-04-17 19:46:57 -07:00
Kurt Partridge de51abf1cf am bfe5c07f: am ededdc6a: Merge "Avoid NPE"
* commit 'bfe5c07fda3d24589b1ad16d41c0dafd6651d0ee':
  Avoid NPE
2013-04-17 19:41:24 -07:00
Jean Chalard 38011d295c am 41e59b62: am 2cd1136b: Merge "Remove the dialog to insert words to the dictionary."
* commit '41e59b6202555ab3f778e1a251147ce943b7e864':
  Remove the dialog to insert words to the dictionary.
2013-04-17 19:41:21 -07:00
Jean Chalard 7b81296f81 am cb633e37: am 91bcf5eb: Merge "Restart suggestions when the cursor moves."
* commit 'cb633e37794adf59dd6ce1df97e3d5db02da6784':
  Restart suggestions when the cursor moves.
2013-04-17 19:41:20 -07:00
Jean Chalard fda69c4439 am 991b1ef8: am 02ce3dc2: Fix a bug with bad application completions
* commit '991b1ef83e8f92c29ddec6685d91c24f1875eeba':
  Fix a bug with bad application completions
2013-04-17 19:41:18 -07:00
Jean Chalard 5351510dea am 68b392cc: am d24f9397: Merge "Make shortcut-only user dict entry non-words."
* commit '68b392cc1208036df06ca2c94176b2bc3b5a690d':
  Make shortcut-only user dict entry non-words.
2013-04-17 19:41:17 -07:00
Jean Chalard 9129081070 am 907a95c2: am fb5869e9: Merge "Add a class to encapsulate getting the metadata URI"
* commit '907a95c2f1f24b73736118ada0900228ad356734':
  Add a class to encapsulate getting the metadata URI
2013-04-17 19:41:16 -07:00
Jean Chalard 5875362b70 am 9613be01: am d0623ad7: Merge "Move some values to a place where they are easier to override"
* commit '9613be01de32ca276104c8c69b44c764d9e66a45':
  Move some values to a place where they are easier to override
2013-04-17 19:41:12 -07:00
Kurt Partridge a5613e634a am bdce031e: am 2927223e: Merge "Better isolate ResearchLogging data"
* commit 'bdce031e00876df72e10b5c4e9c0ae9ff03153d1':
  Better isolate ResearchLogging data
2013-04-17 19:41:10 -07:00
Tadashi G. Takaoka dfc8135941 am 3d6b7431: am cd692be1: Merge "Change the default vibration duration to 20msec"
* commit '3d6b7431893aa6aa6d0086e44b85f35057c5b87d':
  Change the default vibration duration to 20msec
2013-04-17 19:41:09 -07:00
Jean Chalard 27dede24a6 am 2e4352c5: am b5d5190d: Merge "Add some utility functions."
* commit '2e4352c53b48366c40d43b32e8acdc28acac2e6f':
  Add some utility functions.
2013-04-17 19:41:08 -07:00
Tadashi G. Takaoka 3be1c7485b am 05314bf0: am 4f5f81d5: Reorder advanced settings menu
* commit '05314bf0054148ec85df8620afcc9189ebca383c':
  Reorder advanced settings menu
2013-04-17 19:41:06 -07:00
Tadashi G. Takaoka 46762bf521 am 206ce637: am bd8e92d8: Add debug message to detect unusual zero width condition
* commit '206ce6374bb4dfcb93d059ec6795853f36cd4979':
  Add debug message to detect unusual zero width condition
2013-04-17 19:41:05 -07:00
Tadashi G. Takaoka 1ba1c411ef am 93fe83a1: am f67a3881: Merge "Add TypefaceUtils"
* commit '93fe83a1c29e8d8671c007a7a4781c791b9864b6':
  Add TypefaceUtils
2013-04-17 19:41:04 -07:00
Tadashi G. Takaoka 24b39f16b2 am 18819688: am 6d0027a4: Merge "Use SparseIntArray instead of TreeMap<Integer, Integer>"
* commit '188196883c9ac2a877dba27e7beabe4f55208bab':
  Use SparseIntArray instead of TreeMap<Integer, Integer>
2013-04-17 19:41:02 -07:00
Tadashi G. Takaoka dabcd969c5 am 1dc7fd3f: am cee512b6: Merge "More precise geometry checking for more keys keyboard"
* commit '1dc7fd3f8085c5a729061a7b35f71a2024a5ce0b':
  More precise geometry checking for more keys keyboard
2013-04-17 19:41:00 -07:00
Jean Chalard e910a9c94a am b7917ee3: am 3722f087: Merge "Fix two bugs in dicttool"
* commit 'b7917ee347898d5dc9b1698ec7818b3a4cc8a035':
  Fix two bugs in dicttool
2013-04-17 19:40:59 -07:00
Kurt Partridge 9cf3937281 am 94c441a4: am cdaee868: Merge "Preserve a class for testing"
* commit '94c441a424875f815d7e84d02da5c8943ad6f7a6':
  Preserve a class for testing
2013-04-17 19:39:00 -07:00
Kurt Partridge 6267ec688e am 3e1f652c: am 099dd3f2: Merge "Better release build reporting"
* commit '3e1f652c2c39351d306b3a930340948a46104de0':
  Better release build reporting
2013-04-17 19:38:57 -07:00
Jean Chalard 7503ef330c am cd51b80a: am fb3e8057: Merge "Fix a bug where a space would not be inserted before a gesture"
* commit 'cd51b80a0b31493ef9dce9b5283264399b305ba0':
  Fix a bug where a space would not be inserted before a gesture
2013-04-17 19:38:51 -07:00
Tadashi G. Takaoka c627f64274 am 9a6ff5dc: am c7d41589: Merge "Use private object as a lock instead of synchronized method"
* commit '9a6ff5dcef1a593260032b5e10eb801de297c0b2':
  Use private object as a lock instead of synchronized method
2013-04-17 19:38:49 -07:00
Tadashi G. Takaoka 4516304436 am 1502d977: am 12e77de2: Merge "Use private lock object instead of synchronized method"
* commit '1502d9779555958b0ca147fda1cab1e6302c9035':
  Use private lock object instead of synchronized method
2013-04-17 19:38:48 -07:00
Tadashi G. Takaoka 8ea774ebf2 am 14950497: am 1e256f58: Merge "Protect simultaneously modifying gesture preview data"
* commit '14950497280f15b6d1de9e6c5d159ce46e27180b':
  Protect simultaneously modifying gesture preview data
2013-04-17 19:38:46 -07:00
Jean Chalard 99e91fc8ec am 2dd2e2d7: am 99b93d17: Fix a bug where autocorrection status would be wrong.
* commit '2dd2e2d7dff8c4446d536bd23fc94a5538c24ddf':
  Fix a bug where autocorrection status would be wrong.
2013-04-17 19:38:43 -07:00
Tadashi G. Takaoka 9a0f6ef847 am c35bca68: am 262d5bd9: Don\'t override EXTRA_SHOW_FRAGMENT if exists
* commit 'c35bca685689ff6430e7a9393af64c74112bf677':
  Don't override EXTRA_SHOW_FRAGMENT if exists
2013-04-17 19:38:41 -07:00
Tadashi G. Takaoka f0a4508ad5 am f5aa2fd5: am 10af4b6e: Merge "Separate StringUtils.capitalizeFirstCharacter"
* commit 'f5aa2fd5c868cae6e879858738a5eef4445aaca8':
  Separate StringUtils.capitalizeFirstCharacter
2013-04-17 19:38:40 -07:00
Keisuke Kuroynagi 5c7c36e31f am e81c1678: am 87fdde6e: Typing double letters via a \'circle\' on the key.
* commit 'e81c16788712590fd6cf9e14420d50acf029ad48':
  Typing double letters via a 'circle' on the key.
2013-04-17 19:38:38 -07:00
Tadashi G. Takaoka 0d9164ecd8 am 0d7499bc: am 4fdfce6d: Merge "Refactor SpellCheckerProximityInfo as extending ProximityInfo"
* commit '0d7499bccfb37bad2364202657a4feebab137aeb':
  Refactor SpellCheckerProximityInfo as extending ProximityInfo
2013-04-17 19:38:35 -07:00
Kurt Partridge d34979381d am ab8f166e: am 09ab6495: Merge "[FileEncap18] Clean up uploading scheduling"
* commit 'ab8f166e6793e214dcb92454b10dbe5cc74daf9b':
  [FileEncap18] Clean up uploading scheduling
2013-04-17 19:33:02 -07:00
Kurt Partridge 7a1721753b Merge "Fix user recording dialog" 2013-04-18 02:07:16 +00:00
Kurt Partridge 0833b3cbae Merge "Fix alarm bug" 2013-04-18 01:01:48 +00:00
Kurt Partridge a19133011a Merge "Avoid duplicate MotionEvents" 2013-04-17 22:57:20 +00:00
Kurt Partridge b903f10393 Merge "Label logUnits after LatinImeOnEndBatchInput" 2013-04-17 21:30:47 +00:00
Baligh Uddin 8fb5734af1 Import translations. DO NOT MERGE
Change-Id: Ie233160cd947ed29aca47db50b67ebb7dfd92337
Auto-generated-cl: translation import
2013-04-17 13:41:06 -07:00
Baligh Uddin 285ea403e1 Import translations. DO NOT MERGE
Change-Id: I923a171d7af715859605f79c35ea37239dcf0a3e
Auto-generated-cl: translation import
2013-04-17 13:39:46 -07:00
Kurt Partridge a5bfac5bec Merge "Fix NPE" 2013-04-17 20:33:26 +00:00
Kurt Partridge 7da87f97b0 Merge "Clean up unnecessary log messages" 2013-04-17 20:18:19 +00:00
Kurt Partridge e9e4fe5227 Merge "Fix logic error" 2013-04-17 18:57:18 +00:00
Kurt Partridge 1f99e04bba Merge "Fix JsonWriter bug" 2013-04-17 18:20:34 +00:00
Kurt Partridge dac3ee49ae Merge "Small dot in corner was not visible" 2013-04-17 17:18:35 +00:00
Kurt Partridge bf62dc9460 Fix bug in counting words between samples
Previously MainLogBuffer#shiftOutWords() assumed it wouldn't be called if
mNumWordsUntilSafeToSample was 0.  This relaxes this assumption (which is in fact
false in the current code).

Change-Id: I8723248095e84a0d9d6f4639b4742cc7dda9716b
2013-04-17 08:44:06 -07:00
Kurt Partridge fdc90d4a58 Fix user recording dialog
Clicking the "include recording" checkbox in the user feedback dialog did nothing.
The code was relying on the state of the checkbox, rather than keeping its own state.
Fixing this addresses the bug.

Change-Id: I559d57a4e11f869f6e6f5e5de7878f765531a203
2013-04-17 08:42:20 -07:00
Kurt Partridge 9d3bbc82a0 Fix alarm bug
The AlarmManager takes absolute times as an argument, not durations.

Change-Id: I419434ba5908c5f4070608070bbecf753088ecc8
2013-04-17 08:39:49 -07:00
Kurt Partridge dd8c87a39d Merge "Include nanoTime in filename" 2013-04-17 15:31:20 +00:00
Tadashi G. Takaoka 530fd15eff Fix bug to update last interpolated index of GestureStroke
Bug: 8556775
Change-Id: Ie12e0dc9bfeae45f6883580801e07d44be1d1d33
2013-04-17 06:36:12 -07:00
Tadashi G. Takaoka 464202047d Add user feedback to setup action labels and icons
Bug: 8159728
Change-Id: I46c77c31973ae492c2a12291f2e0b154f64d26c9
2013-04-17 19:57:46 +09:00
Tadashi G. Takaoka 47a78aeb4d Merge "Finalize setup wizard strings and mark as translatable" 2013-04-17 10:55:41 +00:00
Tadashi G. Takaoka 8712ac7945 Finalize setup wizard strings and mark as translatable
Bug: 8159728
Change-Id: I9f6f04b09b2cefdb7ece76a4f3c39ab56d0c8fab
2013-04-17 19:52:50 +09:00
Kurt Partridge cd831fa285 Fix JsonWriter bug
JsonWriter requires that data be written to it, else close() will throw
an exception.

Change-Id: I596c5363e063cc75bcda55e0a506eefb3f17bd67
2013-04-17 01:26:52 -07:00
Kurt Partridge fe0529714e Label logUnits after LatinImeOnEndBatchInput
Previously only a commitText would cause a LogUnit to be
labeled with the word that the data generates.  In the case
of gestured text, this information is available when
LatinIME#onEndBatchInput is called. Labeling the LogUnit
at this time means that the Log will have labeled words even
if stop() is called before commit.

Change-Id: Idb2f99a9c159a1b1aa00448a2ecddeca6c351c3e
2013-04-17 01:14:36 -07:00
Kurt Partridge 1bf47582a0 Avoid duplicate MotionEvents
Change-Id: I9c3b352b738698f262f254e581bde34b060e258f
2013-04-17 00:30:54 -07:00
Tadashi G. Takaoka bb5deb82b5 Fix singleton/utility classes initialization in SettingsFragment
This is a follow up of Ide3cd3acba.

Bug: 8632344
Change-Id: Iafe51798a1a74eff5d8fcd6f0117d16b419d447d
2013-04-17 16:16:10 +09:00
Tadashi G. Takaoka 888a194cf1 Fix missing AudioAndHapticFeedbackManager initialization
Bug: 8632344
Change-Id: Ide3cd3acba3987317cff709fa591eadaa71834e8
2013-04-17 15:32:01 +09:00
Kurt Partridge 4ac28ded28 Fix NPE
Change-Id: I8a091fb63dab12a0d2ba69e2fe393249bc68d103
2013-04-16 20:39:47 -07:00
Kurt Partridge 2edb4f22cb Clean up unnecessary log messages
Change-Id: I6c3252f3b31c5874ea2f909f636f58b579c06b8d
2013-04-16 20:39:47 -07:00
Kurt Partridge cd39368c21 Fix logic error
Change-Id: Ia36660c66504ba2fbb7f125704926a08726df87a
2013-04-16 20:39:47 -07:00
Kurt Partridge 2d9d4390fd Small dot in corner was not visible
Framework change perhaps?  Even if not, this makes it more visible

Change-Id: Ib6d36b5a30136c4516adac666bdff36d1cd9b337
2013-04-16 20:39:47 -07:00
Kurt Partridge 125f22dc58 Include nanoTime in filename
System is fast enough that sometimes SystemClock.currentTimeMillis() is duplicated
when used to make a unique filename.

Change-Id: I9454fbb5e10265d36b8e17cba183a1591d52cc7b
2013-04-16 20:29:42 -07:00
Tadashi G. Takaoka edc49d38e6 Fix bug to update last interpolated index of GestureStroke
Bug: 8556775
Change-Id: Ie12e0dc9bfeae45f6883580801e07d44be1d1d33
2013-04-17 11:58:09 +09:00
Jean Chalard ff766f8c4b Merge "Don't insert automatic spaces when text looks like a URL" 2013-04-16 10:07:36 +00:00
Jean Chalard 73ec85b8ad Don't insert automatic spaces when text looks like a URL
This is about as ad-hoc as it gets, but then again, what we want
is probably as ad-hoc as it gets.
All URL boxes I know of double as search bars, and not adding
automatic spaces there sucks (e.g. in Chrome URL bar).
And in other boxes actually you don't want to add a space if
it looks like a URL. QSB isn't even a search box, and it behaves
like this.

So I think this is actually the right answer to the problem.

Bug: 7062925
Change-Id: Ib09472b34644fd5bf2dc84bb97cedeeba28bcd02
2013-04-16 18:03:49 +09:00
Tadashi G. Takaoka 1711f986d4 Merge "Add shadow to gesture preview trail" 2013-04-16 07:57:29 +00:00
Tadashi G. Takaoka c71dde9cb5 Add shadow to gesture preview trail
Bug: 7167303
Change-Id: I8f76fe0aec6cb32388e7c85d04516d1dd7d28c29
2013-04-16 16:50:59 +09:00
Jean Chalard 962c9f059a Merge "Small cleanup" 2013-04-16 06:38:17 +00:00
Jean Chalard 30225f3897 Small cleanup
Change-Id: Iafdbe305712c8a571f0f5abc2032df086d7ac015
2013-04-16 15:30:48 +09:00
Jean Chalard 78d658734d Merge "Don't recapitalize on shift while on symbol layout" 2013-04-16 05:31:43 +00:00
Jean Chalard 1f52364630 Don't recapitalize on shift while on symbol layout
Change-Id: Ibf2cdedf510c296561bb5eeb6ff18c3414d6d6f4
2013-04-16 14:29:02 +09:00
Jean Chalard 8094bf45d7 Match the keyboard state to the recapitalize state.
Bug: 7657025
Change-Id: I2f8fe7fc4596a498322ba5ccabbd0c18a2bc36cf
2013-04-16 14:25:03 +09:00
Jean Chalard e259b9f57d Merge "Clean up RecapitalizeStatus" 2013-04-16 04:57:35 +00:00
Jean Chalard fd15686ae9 Merge "Fix an NPE" 2013-04-16 04:12:18 +00:00
Jean Chalard b794e904a3 Clean up RecapitalizeStatus
Change-Id: Ib4d002f90cd3a0e9ad4c04b883b0c1f05ada3ccf
2013-04-16 13:11:18 +09:00
Jean Chalard a024ac6b20 Merge "Fix an NPE" 2013-04-16 03:43:06 +00:00
Jean Chalard 2b42ad0eaa Fix an NPE
Bug: 8620678
Change-Id: Ia91761f33518a010b2844d34523cadece261c67e
2013-04-16 12:20:10 +09:00
Jean Chalard 7be3ca2ccf Fix an NPE
Bug: 8620758
Change-Id: I39f07939ebb6148a48aae5b915ee807002a5b02d
2013-04-16 12:17:22 +09:00
Baligh Uddin 5eb28c1928 am a130057b: Import translations. DO NOT MERGE
* commit 'a130057bcf1b3daa8c8823743b1190f460bbdc45':
  Import translations. DO NOT MERGE
2013-04-15 14:27:38 -07:00
Baligh Uddin fd2b08c74f Import translations. DO NOT MERGE
Change-Id: I865e5c110e5a31e209fad2e909deb8589347657d
Auto-generated-cl: translation import
2013-04-15 13:44:48 -07:00
Baligh Uddin a130057bcf Import translations. DO NOT MERGE
Change-Id: I5f6f7233c46f7a5faaac5f959c93329ace4c70f4
Auto-generated-cl: translation import
2013-04-15 13:38:18 -07:00
Jean Chalard 5fca38c538 Merge "Small performance improvement / minor bugfix" 2013-04-15 14:28:16 +00:00
Ken Wakasa e3aa7f10d0 Adjust CHAR_LIMITs
bug: 8589156
bug: 8588538
bug: 8588746

Change-Id: I14050dc3542946c1bae2e1dc8b63b99758d5f9aa
2013-04-15 22:47:08 +09:00
Jean Chalard b76ce1251e Merge "Remove a useless function" 2013-04-15 13:06:33 +00:00
Jean Chalard bc501647fd Remove a useless function
Bug: 8583091
Change-Id: I9195d68e44e9a282e25ccd2978d7b4088f600170
2013-04-15 22:01:37 +09:00
Jean Chalard 1e5bbe4ce8 Small performance improvement / minor bugfix
The only place where it's used is checked for nullity.
Also, it's possible, also difficult, to match a different
recapitalize with the old code, triggering a bug that
this fixes.

Change-Id: I717d6df489025c75d1caca290a9086c3b39a9306
2013-04-15 21:18:50 +09:00
Jean Chalard a5a2f3e3c7 Remove gesture suggestions with an INT_MIN score
Bug: 7980115
Change-Id: I8de31068992aec712eaad132857d9dc61f28e30a
2013-04-15 20:55:49 +09:00
Jean Chalard 033958330d Merge "Have Latin IME re-capitalize a selected string" 2013-04-15 11:29:28 +00:00
Jean Chalard e99daea083 Update dictionaries
>>> dictionaries/en_GB_wordlist.combined.gz
Header :
  date : 1366003032 <=> 1366021966
Body :
Deleted: FTP 88
Deleted: HTTPS 66
Added: www 72

>>> dictionaries/en_US_wordlist.combined.gz
Header :
  date : 1366003070 <=> 1366021978
Body :
Deleted: FTP 88
Deleted: HTTPS 66
Added: http 95
Added: www 71

>>> dictionaries/en_wordlist.combined.gz
Header :
  date : 1366003861 <=> 1366021987
Body :
Deleted: FTP 88
Deleted: HTTPS 66
Freq changed: http 120 -> 95
Added: www 71

>>> java/res/raw/main_en.dict
Header :
  date : 1366003861 <=> 1366021987
Body :
Deleted: FTP 88
Deleted: HTTPS 66
Freq changed: http 120 -> 95
Added: www 71

Bug: 8233807
Change-Id: Id55f6e0dcc9ddff26902c0857edcbb9b10d42328
2013-04-15 20:25:48 +09:00
Jean Chalard 2995abe7aa Have Latin IME re-capitalize a selected string
Upon pressing Shift, if there is currently a selected string, have
Latin IME change its capitalization.
This does not yet have the keyboard mode follow the mode - the change
is complicated enough as is.

Bug: 7657025
Change-Id: I54fe8485f44e04efd72c71ac9feee5ce21ba06f2
2013-04-15 20:23:01 +09:00
Jean Chalard 0e9ee4d3bf If there are no suggestion span, recompute suggestions.
Bug: 8084810
Change-Id: I1743c09c43ca6835bb2f607684b037bf17d36335
2013-04-15 19:33:23 +09:00
Jean Chalard 059e084e98 Merge "Reject a previously user-refused suggestion." 2013-04-15 07:45:34 +00:00
Jean Chalard d40f3f6bc1 Reject a previously user-refused suggestion.
If the user gestures a word, then hits backspace in
disapproval, and gestures about the same thing again,
make sure that we don't suggest the same thing again.

Bug: 7549311
Change-Id: I793bc4df7c3841fa8f2f4146707c26e873f374c1
2013-04-15 16:36:44 +09:00
Tadashi G. Takaoka 4b6756db3c Merge "Remove unnecessary harmful finish() from SettingsActivity" 2013-04-15 07:32:05 +00:00
Tadashi G. Takaoka 216fb6a042 Remove unnecessary harmful finish() from SettingsActivity
Bug: 8560722
Change-Id: I825b135bd13aca17e712330660978b834648dbc3
2013-04-15 16:26:40 +09:00
Jean Chalard 673ebb4ede Merge "Update dictionaries" 2013-04-15 07:23:00 +00:00
Tadashi G. Takaoka 1ec4c07a13 Merge "Ignore modifier key while sliding key input" 2013-04-15 06:19:10 +00:00
Tadashi G. Takaoka f224941c37 Merge "Suppress calling onPressKey and onReleaseKey while detecting gesture" 2013-04-15 06:18:48 +00:00
Tadashi G. Takaoka 29105a725d Add preference dependency to gesture input related options
Bug: 8613600
Change-Id: I279d3264080aede59203205c45763c7f8ff08ae6
2013-04-15 15:07:49 +09:00
Jean Chalard da175bdcb1 Update dictionaries
>>> dictionaries/en_GB_wordlist.combined.gz
Header :
  date : 1355802832 <=> 1366003032
  version : 29 <=> 31
Body :
Deleted: HTTP 95
Deleted: WWW 72
Added: mm 135

>>> dictionaries/en_US_wordlist.combined.gz
Header :
  date : 1355112451 <=> 1366003070
  version : 28 <=> 31
Body :
Deleted: HTTP 95
Deleted: WWW 71
Added: mm 135

>>> dictionaries/en_wordlist.combined.gz
Header :
  date : 1355802851 <=> 1366003861
  version : 29 <=> 31
Body :
Deleted: HTTP 95
Deleted: WWW 71
Added: mm 135

>>> dictionaries/fr_wordlist.combined.gz
Header :
  date : 1357617878 <=> 1366003217
  version : 29 <=> 31
Body :
Not a word: re false -> true
Shortcut added: re le 15

>>> dictionaries/nb_wordlist.combined.gz
Header :
  date : 1355802836 <=> 1366003450
  version : 29 <=> 31
Body :
Freq changed: iPhone 91 -> 30
Added: app 30

>>> dictionaries/ru_wordlist.combined.gz
Header :
  date : 1358763720 <=> 1366003693
  version : 30 <=> 31
Body :
Freq changed: за 140 -> 181
Freq changed: не 140 -> 191
Freq changed: про 131 -> 151
Freq changed: эры 125 -> 140

>>> dictionaries/sv_wordlist.combined.gz
Header :
  date : 1355802856 <=> 1366003804
  version : 29 <=> 31
Body :
Added: vi 180

>>> java/res/raw/main_en.dict
Header :
  date : 1355802851 <=> 1366003861
  version : 29 <=> 31
Body :
Deleted: HTTP 95
Deleted: WWW 71
Added: mm 135

>>> java/res/raw/main_fr.dict
Header :
  date : 1357617878 <=> 1366003217
  version : 29 <=> 31
Body :
Not a word: re false -> true
Shortcut added: re le 15

>>> java/res/raw/main_ru.dict
Header :
  date : 1358763720 <=> 1366003693
  version : 30 <=> 31
Body :
Freq changed: за 140 -> 181
Freq changed: не 140 -> 191
Freq changed: про 131 -> 151
Freq changed: эры 125 -> 140

Bug: 8560415
Bug: 7556679
Change-Id: If1c628edcb1cc5efd67e1715acf94f19c0eb4643
2013-04-15 14:51:02 +09:00
Tadashi G. Takaoka 8dfbb740e1 Ignore modifier key while sliding key input
Bug: 8284624
Change-Id: I839d7a769d98f29be647dbe511ba3f73ca44446d
2013-04-15 14:39:02 +09:00
Tadashi G. Takaoka e2af9b7eb5 Merge "Reset vertical correction when more suggestions are in modal mode" 2013-04-15 04:57:33 +00:00
Tadashi G. Takaoka 51c38a441a Reset vertical correction when more suggestions are in modal mode
Bug: 8605150
Change-Id: Iadbebfb80e765c97e58e8524eb87419f2a9e41d4
2013-04-15 13:56:03 +09:00
Jean Chalard 03d1dff38d Merge "Fix Binary dict tests" 2013-04-15 03:53:54 +00:00
Jean Chalard c2e9c511cb Fix Binary dict tests
There are two problems here. The first one is the tests would send
an invalid unicode character. Although we could want dicttool to
handle this more gracefully, it's fine for now.

The second problem is much more serious. If a node has more than
128 children, then the java code will crash trying to read the
dictionary back because of a bug that this change fixes. In
theory, it's possible that happens when we try to load the user
history dictionary back from the disk - native code is not affected
so there is no other point that may cause a problem.
In the practice, that means you'd need to have 129 words with a
common prefix (including empty string) but all different after
this. It's almost impossible with Google Keyboard since there are
only so many keys on the keyboard that you can make a word out
of, and then again you'd have to do it repeatedly until it
actually enters the user history dictionary, wait for it to get
saved on the disk.
The bad news is, if you manage to get this far, the keyboard will
crash every time and won't be able to get up until you clear
data for the package.
The good news is, the dictionary itself is not corrupted and only
the reading code is wrong. So updating to a newer version would
actually even recover from this situation.

All in all, considering how almost-impossible this is to trigger,
I don't think even a single user actually did hit this bug.

Bug: 8583091
Change-Id: Iabb2a7f47cbd9ed3193d2a3487318d280753e071
2013-04-15 12:48:16 +09:00
Tadashi G. Takaoka a91da76683 Suppress calling onPressKey and onReleaseKey while detecting gesture
Bug: 8284624
Change-Id: I14470bb2373965aefa921b2c94948450bfa438e3
2013-04-15 10:59:54 +09:00
Baligh Uddin 0dbc8c3509 am f2ab0adc: Import translations. DO NOT MERGE
* commit 'f2ab0adc5e3bd8f436aafcea1b396e288c69f7d4':
  Import translations. DO NOT MERGE
2013-04-12 16:59:36 -07:00
Baligh Uddin bfedad238f Merge "Import translations. DO NOT MERGE" 2013-04-12 23:56:49 +00:00
Baligh Uddin 8515649312 Import translations. DO NOT MERGE
Change-Id: I2cb68d3f0804a0c9990916a89e079510b465253f
Auto-generated-cl: translation import
2013-04-12 13:26:13 -07:00
Baligh Uddin f2ab0adc5e Import translations. DO NOT MERGE
Change-Id: Ie74fdb8041ac5d7eb5d15a49f9aac834751cc9c2
Auto-generated-cl: translation import
2013-04-12 13:19:32 -07:00
Kurt Partridge ededdc6a8b Merge "Avoid NPE" 2013-04-12 18:10:49 +00:00
Jean Chalard 2cd1136b8e Merge "Remove the dialog to insert words to the dictionary." 2013-04-12 12:33:24 +00:00
Jean Chalard 91bcf5eb5d Merge "Restart suggestions when the cursor moves." 2013-04-12 12:27:50 +00:00
Jean Chalard 02ce3dc2d1 Fix a bug with bad application completions
Bug: 8561056
Change-Id: I91fb0ac76dabfc841bafc0e2c0ea9f63e6f604f9
2013-04-12 20:53:06 +09:00
Jean Chalard 6a114fa700 Restart suggestions when the cursor moves.
This uses the old suggestions. It does not try to recompute
new suggestions if there are no old suggestions yet: this is
coming in a later change.
If there are no suggestions, this shows the word itself
as a suggestion.

Bug: 8084810
Change-Id: I4c2e25df0ff3673be1825f57a0c19a9d23d47a48
2013-04-12 20:49:03 +09:00
Jean Chalard d24f939712 Merge "Make shortcut-only user dict entry non-words." 2013-04-12 11:02:00 +00:00
Jean Chalard fb5869e9ff Merge "Add a class to encapsulate getting the metadata URI" 2013-04-12 11:01:36 +00:00
Jean Chalard 6a2a4b8e4d Make shortcut-only user dict entry non-words.
Bug: 7369456
Change-Id: Iecd6f6d617f31bd2aa6749516711aeb1f0549622
2013-04-12 16:17:09 +09:00
Jean Chalard 1a51833828 Remove the dialog to insert words to the dictionary.
Bug: 8562529
Change-Id: Ibd853f0cb995e7fb35f8730eafcef73ead58c869
2013-04-12 15:58:50 +09:00
Jean Chalard d0623ad7f3 Merge "Move some values to a place where they are easier to override" 2013-04-12 02:53:41 +00:00
Kurt Partridge 2927223edd Merge "Better isolate ResearchLogging data" 2013-04-11 21:56:01 +00:00
Jean Chalard 8987cccf89 Add a class to encapsulate getting the metadata URI
Bug: 8376173
Change-Id: Icaac8ad412e0180c44e6a955943e3b208981b2ea
2013-04-11 17:52:16 +09:00
Jean Chalard 7ad078e89c Move some values to a place where they are easier to override
Bug: 8418765
Change-Id: Iff0edd4ed8da9d0d1a6fb9545224b232ba374469
2013-04-11 17:35:23 +09:00
Tadashi G. Takaoka cd692be1e1 Merge "Change the default vibration duration to 20msec" 2013-04-11 08:15:29 +00:00
Jean Chalard b5d5190deb Merge "Add some utility functions." 2013-04-11 07:35:22 +00:00
Tadashi G. Takaoka e1416b4399 Change the default vibration duration to 20msec
Bug: 8556975
Change-Id: Ia6a0fe230585c9826199a0696fb0c1367e917134
2013-04-11 16:30:32 +09:00
Jean Chalard 1cbb0b8f2a Add some utility functions.
Bug: 7657025
Change-Id: I4889721b5348c77ed56c5157557e9988dea48a02
2013-04-11 16:16:19 +09:00
Tadashi G. Takaoka 4f5f81d5f7 Reorder advanced settings menu
Bug: 8247224
Change-Id: I339f285304824b778635f435d8587893fc241c4e
2013-04-11 15:54:38 +09:00
Tadashi G. Takaoka bd8e92d843 Add debug message to detect unusual zero width condition
Bug: 8452013
Change-Id: I0169dc6b0d08d1b4d9e01a5fa2ad01e9db292bda
2013-04-11 15:08:36 +09:00
Tadashi G. Takaoka f67a388197 Merge "Add TypefaceUtils" 2013-04-11 05:32:58 +00:00
Tadashi G. Takaoka 08ae0d5ca0 Add TypefaceUtils
Change-Id: I2d939bc1e3279253902b28ff12bbf7861716b64d
2013-04-11 14:27:42 +09:00
Tadashi G. Takaoka 6d0027a46a Merge "Use SparseIntArray instead of TreeMap<Integer, Integer>" 2013-04-11 05:06:35 +00:00
Tadashi G. Takaoka cee512b63e Merge "More precise geometry checking for more keys keyboard" 2013-04-11 03:51:42 +00:00
Jean Chalard 3722f0877e Merge "Fix two bugs in dicttool" 2013-04-11 03:07:30 +00:00
Baligh Uddin cfdc91b99a am 58df3cfa: Import translations. DO NOT MERGE
* commit '58df3cfaeee020b6703f90feda89a3bc95a3a116':
  Import translations. DO NOT MERGE
2013-04-10 19:35:52 -07:00
Tadashi G. Takaoka 9620943cc8 am d9a22235: Hide Setup Wizard icon for stock keyboard
* commit 'd9a2223570759d622c690b007369cf32f437f7e5':
  Hide Setup Wizard icon for stock keyboard
2013-04-10 19:35:51 -07:00
Jean Chalard 1aaaa64da8 am 75618c33: am 19dcd154: Merge "Offer to add any OOV typed word to the dictionary."
* commit '75618c3321b8eae559886ba5f71e967591da7065':
  Offer to add any OOV typed word to the dictionary.
2013-04-10 19:35:50 -07:00
Jean Chalard 0d72a23054 am 04bb419c: am ddafcf82: Merge "Fix bugs and add tests"
* commit '04bb419c3290d059c5ccd5e1eda8600d44a0a69d':
  Fix bugs and add tests
2013-04-10 19:35:48 -07:00
Kurt Partridge bea42fc5bd am 5bd24642: am 1f70a4d6: Merge "Allow logging while replaying"
* commit '5bd2464297db3035b93410c5359accbda74e9f50':
  Allow logging while replaying
2013-04-10 19:35:47 -07:00
Kurt Partridge 41a049a410 am ae144fe9: am d117c1a1: Merge "Do not record log split time when handling separator"
* commit 'ae144fe9c3a6c80150c11d96da84f5868f44ab8a':
  Do not record log split time when handling separator
2013-04-10 19:35:45 -07:00
Ken Wakasa 4c896a2fe8 am f71b9640: am d17c8bd9: Update comments
* commit 'f71b96406391fc00c1d3dc45e6b3e827f3595842':
  Update comments
2013-04-10 19:35:44 -07:00
Ken Wakasa 34cff46a9c am ed8fd94e: am 370461ef: Clean up a few option strings under the Advanced settings
* commit 'ed8fd94e3c4fd16c0c767c1a45f46461313bdcb8':
  Clean up a few option strings under the Advanced settings
2013-04-10 19:35:37 -07:00
Jean Chalard 024d0e4abf am f10e7cbe: am e9f69e16: Merge "Move a generic string utility to StringUtils"
* commit 'f10e7cbe96596971be5de6592c9cab0aba9ad764':
  Move a generic string utility to StringUtils
2013-04-10 19:35:36 -07:00
Tadashi G. Takaoka a4463d7a9a More precise geometry checking for more keys keyboard
Bug: 8484528
Change-Id: I0dd09530a5262fee9c19bb0f11d5830b00306944
2013-04-11 10:44:54 +09:00
Kurt Partridge cdaee868a3 Merge "Preserve a class for testing" 2013-04-10 23:45:33 +00:00
Kurt Partridge 3684036eed Preserve a class for testing
Addresses b/8583091

Change-Id: I89605223784312d9572dfc7c8aaa7e5eba44c4f6
2013-04-10 16:40:17 -07:00