Commit Graph

7846 Commits (6b48c8ba0c25a7600e94710b10e8123e77f43c23)

Author SHA1 Message Date
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