Commit Graph

15441 Commits (9bc2beaf7e31e289436e09b6416eb2906429ec52)

Author SHA1 Message Date
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 b7f6260195 Merge "Move non-distinct multitouch support to a separate class" 2013-08-01 09:22:50 +00: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
Keisuke Kuroynagi 52977770f5 am 18d64559: Merge "DynamicPatriciaTrieReadingUtils for version 3 dictionary."
* commit '18d64559a68d17fed2f91483cf1933da3ede5489':
  DynamicPatriciaTrieReadingUtils for version 3 dictionary.
2013-08-01 01:35:30 -07:00
Keisuke Kuroynagi 15072b4e5c am 80c9b829: Merge "Give PatriciaTrieReadingUtils methods for reading nodes."
* commit '80c9b829bd390fd7e9b88dde68b509292cae9b07':
  Give PatriciaTrieReadingUtils methods for reading nodes.
2013-08-01 01:35:29 -07:00
Keisuke Kuroynagi 18d64559a6 Merge "DynamicPatriciaTrieReadingUtils for version 3 dictionary." 2013-08-01 08:31:14 +00:00
Keisuke Kuroynagi 80c9b829bd Merge "Give PatriciaTrieReadingUtils methods for reading nodes." 2013-08-01 08:01:37 +00: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
Keisuke Kuroynagi cf1f7675ea DynamicPatriciaTrieReadingUtils for version 3 dictionary.
Bug: 6669677
Change-Id: I7105258a00159a5ddda7ff520c490c4ac9fa7902
2013-08-01 16:15:49 +09:00
Keisuke Kuroynagi 647c000707 Give PatriciaTrieReadingUtils methods for reading nodes.
The remaining methods in BinaryFormat will be removed.

Bug: 6669677
Change-Id: I866f828d69a600c0ac03b68d71b1f6ee2ce4dd36
2013-08-01 16:15:35 +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 c83da06939 Merge "Move key repeat function to PointerTracker" 2013-08-01 07:06:45 +00:00
Tadashi G. Takaoka 8126e79e08 Move key repeat function to PointerTracker
Change-Id: I26e553692faf48e30e9c43c71fac6980b8432111
2013-08-01 15:45:58 +09:00
Keisuke Kuroynagi 2419989054 am f0a7f70c: Fix: Include wrong file in dynamic_patricia_trie_policy.cpp.
* commit 'f0a7f70cf6aa874a4e8a12941c15e5794529bf46':
  Fix: Include wrong file in dynamic_patricia_trie_policy.cpp.
2013-07-31 22:52:39 -07:00
Keisuke Kuroynagi f0a7f70cf6 Fix: Include wrong file in dynamic_patricia_trie_policy.cpp.
Change-Id: If994f17e41c7d07e979fa6b0aa4661da0523eb0a
2013-08-01 14:48:20 +09:00
Keisuke Kuroynagi e20e0b231c am 8045b7cd: Merge "Introduce DynamicPatriciaTriePolicy for ver 3 dictionary."
* commit '8045b7cd243bd4bb00723fb45d98fda3ac133e3e':
  Introduce DynamicPatriciaTriePolicy for ver 3 dictionary.
2013-07-31 22:42:07 -07:00
Keisuke Kuroynagi 8045b7cd24 Merge "Introduce DynamicPatriciaTriePolicy for ver 3 dictionary." 2013-08-01 05:39:07 +00:00
Keisuke Kuroynagi 8f1f7dfd0b am 932aeb9d: Merge "Move binary_format.h to policyimpl."
* commit '932aeb9d22a9e612dbeff7e45629bcdd6b99486c':
  Move binary_format.h to policyimpl.
2013-07-31 20:42:54 -07:00
Keisuke Kuroynagi 932aeb9d22 Merge "Move binary_format.h to policyimpl." 2013-08-01 03:40:47 +00:00
Tadashi G. Takaoka e1d3efe52b Fix Catalan keyboard layout
- Place "ç" (U+00E7) insteand of "ñ" (U+00F1).
- Place "L·L" (L/U+00B7/L) instead of "Ŀ" (U+013F) in more keys of
  "L".
- Add "·" (U+00B7) to more keys of "." in main keyboard and "-" in
  symbols keyboard.

Change-Id: I60e4aa6716f8166ca60ab5687b0faf2d84cd846b
2013-08-01 11:50:22 +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
Keisuke Kuroynagi 2401f7c62d Move binary_format.h to policyimpl.
Bug: 6669677
Change-Id: I3712f60528c7fcf364746f792cec6e180ab2dbef
2013-07-31 21:07:32 +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