Commit Graph

7938 Commits (df6ca9c9fe34ff4969d49680f7479ad6d09b07fe)

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