Commit graph

13292 commits

Author SHA1 Message Date
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
03a3214645 am 7d72ca0b: Avoid JsonWriter multi-write error
* commit '7d72ca0b20334aba077e3a01d7b12f6f34618076':
  Avoid JsonWriter multi-write error
2013-05-10 19:21:16 -07: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
697f6abb5d am 260df841: Merge "Remove unused code"
* commit '260df8419739f92d4c64abfedec448a7f447b3a1':
  Remove unused code
2013-05-10 15:14:11 -07:00
Kurt Partridge
260df84197 Merge "Remove unused code" 2013-05-10 22:12:11 +00:00
Kurt Partridge
026b2645c8 am bb17034f: Merge "Remove ref to LatinImeLogger preference."
* commit 'bb17034f6403261681b63a2f789566a27c49af07':
  Remove ref to LatinImeLogger preference.
2013-05-10 13:43:35 -07:00
Kurt Partridge
bb17034f64 Merge "Remove ref to LatinImeLogger preference." 2013-05-10 20:41:52 +00:00
Kurt Partridge
1f8b354c9e am 4135c2db: Merge "Avoid NPE by fixing ResearchLogger initialization"
* commit '4135c2db7b4c9722db8fd86dedde3319c51fd482':
  Avoid NPE by fixing ResearchLogger initialization
2013-05-10 08:49:43 -07:00
Kurt Partridge
4135c2db7b Merge "Avoid NPE by fixing ResearchLogger initialization" 2013-05-10 15:48:04 +00:00
Tadashi G. Takaoka
a01ab9ea35 am 565ced45: Merge "Refactor StringUtils.findPrefixedString to findValueOfKey"
* commit '565ced4546420e9e17c7747f9e207ca6773598e3':
  Refactor StringUtils.findPrefixedString to findValueOfKey
2013-05-10 02:50:12 -07: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
afc40e74fe am 4705c0fa: Fix screen flash when launching settings activity
* commit '4705c0fa7ca9527f6a3d7cb47542de734a56337d':
  Fix screen flash when launching settings activity
2013-05-10 01:00:11 -07:00
Tadashi G. Takaoka
4800280955 am 2b5c9726: Introduce another activity to launch setup wizard
* commit '2b5c9726f4a7d24497fc1df17c6ce57188c99cab':
  Introduce another activity to launch setup wizard
2013-05-10 01:00:09 -07: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
e7de0ce741 am 5ffa5bf3: Merge "Keep SetupActivity alive to check re-launching from launcher"
* commit '5ffa5bf3ba7d169912d163790e461ab8d5aca30a':
  Keep SetupActivity alive to check re-launching from launcher
2013-05-09 23:26:24 -07: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
07905b6a0a am 2564bd09: Merge "Reuse old preferences if possible."
* commit '2564bd09375c24bbd7fef0fd30cb3ba8a606a274':
  Reuse old preferences if possible.
2013-05-09 22:58:06 -07: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
81662dd41e am ba35426f: Merge "Tweak a label in the personal dictionary settings"
* commit 'ba35426f01ed9243ff6a03be589a0f098353e1b2':
  Tweak a label in the personal dictionary settings
2013-05-09 20:29:19 -07:00
Tadashi G. Takaoka
384d4e5b5d am 2ad7023c: Fix detecting out of keyboard area
* commit '2ad7023c548afe829eb87f0ea1be48b533a2ac2b':
  Fix detecting out of keyboard area
2013-05-09 20:29:17 -07: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
dfc0adfe5e am b0aabbfb: (-s ours) am 8dafc8e8: (-s ours) am 22e6a5c5: Import translations. DO NOT MERGE
* commit 'b0aabbfbe0144272df816160e7b0b569bbba55cd':
  Import translations. DO NOT MERGE
2013-05-09 08:56:04 -07:00
Baligh Uddin
b0aabbfbe0 am 8dafc8e8: (-s ours) am 22e6a5c5: Import translations. DO NOT MERGE
* commit '8dafc8e834036ffded3644ba06ad4164ee7e755f':
  Import translations. DO NOT MERGE
2013-05-09 08:53:59 -07:00
Baligh Uddin
0e2f68c952 am 42dc0c25: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '42dc0c256220496743a2532b7d51823d1d4d65d9':
  Import translations. DO NOT MERGE
2013-05-09 08:52:54 -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
Baligh Uddin
a45821e64b Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-05-09 15:51:31 +00:00
Satoshi Kataoka
2a383bfebd am 341f1b23: Tweak gesture debug
* commit '341f1b237b1153ddc8e8ce2e6a787382a40c1e56':
  Tweak gesture debug
2013-05-09 04:12:46 -07:00
Satoshi Kataoka
341f1b237b Tweak gesture debug
Change-Id: Iea11a095adb15fbf4be38f34542119f8bc7bcbff
2013-05-09 20:08:50 +09:00
Satoshi Kataoka
45c925a9be am 52cb409a: Don\'t resize debug array if production
* commit '52cb409ac20fb75547ffbee0b84da2c80e290ee6':
  Don't resize debug array if production
2013-05-09 03:25:56 -07:00
Satoshi Kataoka
7f9b3e6286 am b2c4c730: Add debug facilities for gesture
* commit 'b2c4c73064943577496e3177413a0550d67e553f':
  Add debug facilities for gesture
2013-05-09 03:22:44 -07: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
a8254f73c2 am b9021090: Fix usages of getEnabledInputMethodSubtypeList
* commit 'b902109000bcef184e69daac7dc3906fc969791e':
  Fix usages of getEnabledInputMethodSubtypeList
2013-05-09 01:23:44 -07:00
Satoshi Kataoka
b902109000 Fix usages of getEnabledInputMethodSubtypeList
Bug: 8450279
Change-Id: Ib8433442ae6ca6c28da2652bff687cdeaf7c196e
2013-05-09 17:07:19 +09:00
Tadashi G. Takaoka
14c0e4e782 am 499cea94: Use revised Google Keyboard icon
* commit '499cea949d57def583950a427631c4c4e3803134':
  Use revised Google Keyboard icon
2013-05-08 21:15:03 -07:00
Tadashi G. Takaoka
e868922edc am 3e375863: Launch setup wizard as single top activity
* commit '3e3758631689bb03ae4fa74f8307338abae29929':
  Launch setup wizard as single top activity
2013-05-08 20:51:09 -07: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