96359 Commits

Author SHA1 Message Date
Chris Craik
1fc3c5f22f am 29fd706a: am d5f2a8d9: am 89ac38bf: Merge "Add missing variable copies in Path copy constructor" into jb-mr1.1-dev
* commit '29fd706aa1a59d542b30672a3a5d6d9cf6c34980':
  Add missing variable copies in Path copy constructor
2012-11-20 11:48:08 -08:00
Chris Craik
29fd706aa1 am d5f2a8d9: am 89ac38bf: Merge "Add missing variable copies in Path copy constructor" into jb-mr1.1-dev
* commit 'd5f2a8d9ee4e5ef3eeece3376ed414d83919fccf':
  Add missing variable copies in Path copy constructor
2012-11-20 11:44:49 -08:00
Chris Craik
d5f2a8d9ee am 89ac38bf: Merge "Add missing variable copies in Path copy constructor" into jb-mr1.1-dev
* commit '89ac38bf70bb21e34c8c29b96e6316343ee46e87':
  Add missing variable copies in Path copy constructor
2012-11-20 11:41:50 -08:00
Chris Craik
89ac38bf70 Merge "Add missing variable copies in Path copy constructor" into jb-mr1.1-dev 2012-11-20 11:38:05 -08:00
kmccormick@google.com
cb047efda4 am 83611818: am 0e2c9ee7: am a711d1ee: am 55340e51: am 7112cd46: am 2f9947e9: am ddf10d44: Merge "Doc Update: Removed "no guaranteed delivery" line." into jb-dev-docs
* commit '836118184caa0884bf79c5980c71a5f2f1381d30':
  Doc Update: Removed "no guaranteed delivery" line.
2012-11-20 08:45:48 -08:00
Svetoslav Ganov
7d0604149b am 0b64976f: am 0ee79040: am 15861683: am e9812bae: Merge "Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)" into jb-mr1-dev
* commit '0b64976f19a3f03f80dfcd80b8894299d4dc71d7':
  Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)
2012-11-20 08:45:44 -08:00
Daniel Sandler
db10fcab45 am 4e79b3fd: (-s ours) am 924c0690: am 272247aa: am aaec7269: (-s ours) Notification vibration improvements: [DO NOT MERGE]
* commit '4e79b3fda87241fd9ab1629d3c78ad57fdd6f7c6':
  Notification vibration improvements: [DO NOT MERGE]
2012-11-20 08:45:40 -08:00
kmccormick@google.com
836118184c am 0e2c9ee7: am a711d1ee: am 55340e51: am 7112cd46: am 2f9947e9: am ddf10d44: Merge "Doc Update: Removed "no guaranteed delivery" line." into jb-dev-docs
* commit '0e2c9ee7df465a529fce81cb5016b43bb6423167':
  Doc Update: Removed "no guaranteed delivery" line.
2012-11-20 08:43:43 -08:00
Svetoslav Ganov
0b64976f19 am 0ee79040: am 15861683: am e9812bae: Merge "Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)" into jb-mr1-dev
* commit '0ee790408e19a2a820a080a8b4ad3af63d3a5eca':
  Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)
2012-11-20 08:43:40 -08:00
Daniel Sandler
4e79b3fda8 am 924c0690: am 272247aa: am aaec7269: (-s ours) Notification vibration improvements: [DO NOT MERGE]
* commit '924c0690f40ab103465d32accb3b04be6733deef':
  Notification vibration improvements: [DO NOT MERGE]
2012-11-20 08:43:36 -08:00
kmccormick@google.com
0e2c9ee7df am a711d1ee: am 55340e51: am 7112cd46: am 2f9947e9: am ddf10d44: Merge "Doc Update: Removed "no guaranteed delivery" line." into jb-dev-docs
* commit 'a711d1ee76cf2e731d28a011c81d7f772cefa6c2':
  Doc Update: Removed "no guaranteed delivery" line.
2012-11-20 08:40:30 -08:00
Svetoslav Ganov
0ee790408e am 15861683: am e9812bae: Merge "Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)" into jb-mr1-dev
* commit '1586168302f79d10e85a5aeed7b486c4244cc98e':
  Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)
2012-11-20 08:40:26 -08:00
Daniel Sandler
924c0690f4 am 272247aa: am aaec7269: (-s ours) Notification vibration improvements: [DO NOT MERGE]
* commit '272247aa1f540f7c9b7fafa35bb59e507131d3f5':
  Notification vibration improvements: [DO NOT MERGE]
2012-11-20 08:40:23 -08:00
kmccormick@google.com
a711d1ee76 am 55340e51: am 7112cd46: am 2f9947e9: am ddf10d44: Merge "Doc Update: Removed "no guaranteed delivery" line." into jb-dev-docs
* commit '55340e51343a248260f89e953476b1c6e731842a':
  Doc Update: Removed "no guaranteed delivery" line.
2012-11-20 08:38:19 -08:00
Svetoslav Ganov
1586168302 am e9812bae: Merge "Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)" into jb-mr1-dev
* commit 'e9812bae0e0ce08bd232dc2371fdb959e4f7a318':
  Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)
2012-11-20 08:38:16 -08:00
Daniel Sandler
272247aa1f am aaec7269: (-s ours) Notification vibration improvements: [DO NOT MERGE]
* commit 'aaec726948078dad0bcc5cbbb41bb2ee6a5a085b':
  Notification vibration improvements: [DO NOT MERGE]
2012-11-20 08:38:11 -08:00
Przemyslaw Szczepaniak
13896b7419 woExecute onLoadLanguage in synthesis thread.
Previously, onLoadLanguage was executed without minding synthesis queue.
Now onLoadLanguage is queued item, so it won't be executed before the items
on the queue (previously TTS could receivecall to onLoadLanguage
while synthesizing in completly different language).

I've divided SpeechItem into ControlSpeechItem and UtteranceSpeechItem.
Utterance one dispatches callbacks about synthesis progress.

Bug: 7510063
Bug: 5351864
Change-Id: Ibd156b3cecb190e5c07c4451e61121127b54d51e
2012-11-20 05:08:49 -08:00
Przemyslaw Szczepaniak
228323e759 Make getLanguage return client-set language
Previously, getLanguage returned language set on the TTS service side.
In most cases client wants to receive value that was set on the Client side
(value that was set by last call to the setLanguage). That's true, for
example, for android settings app.

This is not an issue if there's only one client, or when all clients use the same
language. In that cases, service and client languages are in sync.

But if there are multiple clients using different languages, getLanguage might
return values that were not set by the client - and that's not what most of clients expect
to happen.

Change-Id: I5fd8313725e677c20fb2a84a087fc7555897bd30
2012-11-20 04:14:39 -08:00
Przemyslaw Szczepaniak
8f3957cb91 TTS onServiceConnection moved to async task
ITextToSpeechService.setCallback (service rpc call) is no longer
executed on UI thread.

I kept OnInitListener.onInit being called on the UI thread. It's
not specified explicitly, but I don't want to introduce subtle
bugs.

+bonus import fix.

Bug: 6540404
Change-Id: I0136e7efeb374b605ed29ee8b3f550ec2bd2c356
2012-11-20 04:01:09 -08:00
kmccormick@google.com
55340e5134 am 7112cd46: am 2f9947e9: am ddf10d44: Merge "Doc Update: Removed "no guaranteed delivery" line." into jb-dev-docs
* commit '7112cd4687687203b35013f197089cb66508a14e':
  Doc Update: Removed "no guaranteed delivery" line.
2012-11-19 16:58:10 -08:00
kmccormick@google.com
7112cd4687 am 2f9947e9: am ddf10d44: Merge "Doc Update: Removed "no guaranteed delivery" line." into jb-dev-docs
* commit '2f9947e9aa2b795dbc7db282a99a09410f1fadf2':
  Doc Update: Removed "no guaranteed delivery" line.
2012-11-19 16:54:48 -08:00
kmccormick@google.com
2f9947e9aa am ddf10d44: Merge "Doc Update: Removed "no guaranteed delivery" line." into jb-dev-docs
* commit 'ddf10d44c12fbd8ffb115c847913296b455f412d':
  Doc Update: Removed "no guaranteed delivery" line.
2012-11-19 16:53:11 -08:00
&& repo sync -j8
ddf10d44c1 Merge "Doc Update: Removed "no guaranteed delivery" line." into jb-dev-docs 2012-11-19 16:51:09 -08:00
Svetoslav Ganov
e9812bae0e Merge "Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)" into jb-mr1-dev 2012-11-19 15:50:19 -08:00
Svetoslav Ganov
7018cfdc05 Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)
This reverted change was adjusting the min and max values for the NumberPicker
which is not desirable since it changes behavior and it will be possible for
an app that works on the current platform to crash on an older one. Also the
adjustment was not implemented correctly.

Updated the documentation to clarify the reltionship between the min value,
max value, and the displayed values array.

Bug:7518172

This reverts commit a1410e6789ce72bc423793315a51aea8b6bad6c7

Change-Id: I109f1b1f54c1e609941243cabab9241871b6b12b
2012-11-19 15:20:27 -08:00
Fabrice Di Meglio
b920b40510 am e784ae8e: am d689e8c3: am b0f895b3: Merge "Fix Javadoc for View layoutDirection / textDirection / textAlignment" into jb-mr1.1-dev
* commit 'e784ae8e6a0eab3d29afc9b19f65714e7b268b97':
  Fix Javadoc for View layoutDirection / textDirection / textAlignment
2012-11-19 15:17:30 -08:00
Fabrice Di Meglio
e784ae8e6a am d689e8c3: am b0f895b3: Merge "Fix Javadoc for View layoutDirection / textDirection / textAlignment" into jb-mr1.1-dev
* commit 'd689e8c3a05f3b200d19879bdc169e6ad6e0436b':
  Fix Javadoc for View layoutDirection / textDirection / textAlignment
2012-11-19 15:14:02 -08:00
Daniel Sandler
aaec726948 Notification vibration improvements: [DO NOT MERGE]
- When notifications vibrate as a fallback (that is,
   because they want to play a sound but the device is in
   vibrate mode), this no longer requires the VIBRATE
   permission.
 - As a bonus, if your notifications use DEFAULT_VIBRATE,
   you don't need the VIBRATE permission either.
 - If you specify a custom vibration pattern, you'll still
   need the VIBRATE permission for that.
 - Notifications vibrating in fallback mode use same
   vibration pattern but can be changed easily in future.
 - The DEFAULT_VIBRATE and fallback vibrate patterns are now
   specified in config.xml.

Bug: 7531442
Change-Id: I7a2d8413d1becc53b9d31f0d1abbc2acc3f650c6
2012-11-19 15:12:24 -08:00
Fabrice Di Meglio
d689e8c3a0 am b0f895b3: Merge "Fix Javadoc for View layoutDirection / textDirection / textAlignment" into jb-mr1.1-dev
* commit 'b0f895b330d0d2b6725e7deee158ff20ed9155f8':
  Fix Javadoc for View layoutDirection / textDirection / textAlignment
2012-11-19 14:31:02 -08:00
Fabrice Di Meglio
b0f895b330 Merge "Fix Javadoc for View layoutDirection / textDirection / textAlignment" into jb-mr1.1-dev 2012-11-19 14:27:45 -08:00
Jesse Hall
5b5011b8af Merge "Process all display events in order" 2012-11-19 14:25:30 -08:00
Daniel Sandler
98409d9d73 am ecd7d73c: am 2d8d6856: am 02053d1c: Merge "Show mobile data RSSI for devices that support it." into jb-mr1.1-dev
* commit 'ecd7d73c002561409f6aa291c62dd64df2f6d290':
  Show mobile data RSSI for devices that support it.
2012-11-19 12:04:20 -08:00
Daniel Sandler
ecd7d73c00 am 2d8d6856: am 02053d1c: Merge "Show mobile data RSSI for devices that support it." into jb-mr1.1-dev
* commit '2d8d68566c3798f074148352b22e81f6f7aa4382':
  Show mobile data RSSI for devices that support it.
2012-11-19 12:02:19 -08:00
Daniel Sandler
2d8d68566c am 02053d1c: Merge "Show mobile data RSSI for devices that support it." into jb-mr1.1-dev
* commit '02053d1cce52f11ef1bc3b562279940208f9c54e':
  Show mobile data RSSI for devices that support it.
2012-11-19 11:59:48 -08:00
Daniel Sandler
02053d1cce Merge "Show mobile data RSSI for devices that support it." into jb-mr1.1-dev 2012-11-19 11:56:35 -08:00
Scott Main
092c29c733 am 14120b9c: am 68395a61: am 0d3eb5f1: am 721b370c: Merge "cherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be1a8 Fix typo" into jb-mr1-dev
* commit '14120b9ce30d8d3f807a7439c7348bed116b66ff':
  cherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be1a8 Fix typo
2012-11-19 11:56:28 -08:00
Scott Main
14120b9ce3 am 68395a61: am 0d3eb5f1: am 721b370c: Merge "cherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be1a8 Fix typo" into jb-mr1-dev
* commit '68395a61489c560e68a9f8321df96ccdf776d1b6':
  cherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be1a8 Fix typo
2012-11-19 11:54:29 -08:00
Scott Main
68395a6148 am 0d3eb5f1: am 721b370c: Merge "cherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be1a8 Fix typo" into jb-mr1-dev
* commit '0d3eb5f111571f40c1c25dab229a6b8a98e61eeb':
  cherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be1a8 Fix typo
2012-11-19 11:50:58 -08:00
Scott Main
0d3eb5f111 am 721b370c: Merge "cherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be1a8 Fix typo" into jb-mr1-dev
* commit '721b370c5a2d787795257ac42317d389445e51f9':
  cherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be1a8 Fix typo
2012-11-19 11:48:28 -08:00
Scott Main
721b370c5a Merge "cherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be1a8 Fix typo" into jb-mr1-dev 2012-11-19 11:44:58 -08:00
Jaewan Kim
ff5941399e cherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be1a8
Fix typo

Change-Id: Idd09f7fea890dbc290589b1ebe4a1a139f98c740
2012-11-19 11:43:56 -08:00
Jesse Hall
16823bd611 Process all display events in order
Display events in each batch received from IPC were being processed in
reverse order, and stopped after the first vsync event (latest
chronologically) was handled. This makes perfect sense for vsync
events, but is broken for hotplug events.

Now we process them all in order, handling all except vsync as we see
them. For vsync events, only the last is reported.

Bug: 7491120
Change-Id: I04528fea8f38c1013734d4aa92fb1955ac24d7cc
2012-11-19 10:53:26 -08:00
Daniel Sandler
5052805cc0 Show mobile data RSSI for devices that support it.
The new test is more general, allowing mobile RSSI to be
shown on devices without voice telephony.

Bug: 7490266
Change-Id: Ib5b243c0d92e74fe4385989c3a6c16edd00a9ec9
2012-11-19 13:33:44 -05:00
Scott Main
6dbfed2f8a Merge "Fix typo" 2012-11-19 10:26:42 -08:00
Satoshi Kataoka
1ee199a4c6 am 9371747e: am 0e1c092a: am 2656abe0: Merge "Fix an inconsistent state with IMMS and Settings when the hard keyboard is connected" into jb-mr1.1-dev
* commit '9371747e752236727be58149a8d04248860c134f':
  Fix an inconsistent state with IMMS and Settings when the hard keyboard is connected
2012-11-17 22:01:57 -08:00
Satoshi Kataoka
9371747e75 am 0e1c092a: am 2656abe0: Merge "Fix an inconsistent state with IMMS and Settings when the hard keyboard is connected" into jb-mr1.1-dev
* commit '0e1c092ab0ee0f2f499dba2bc51223e106f51964':
  Fix an inconsistent state with IMMS and Settings when the hard keyboard is connected
2012-11-17 21:59:18 -08:00
Satoshi Kataoka
0e1c092ab0 am 2656abe0: Merge "Fix an inconsistent state with IMMS and Settings when the hard keyboard is connected" into jb-mr1.1-dev
* commit '2656abe09895088eca25caafc3e92869217d1447':
  Fix an inconsistent state with IMMS and Settings when the hard keyboard is connected
2012-11-17 21:56:09 -08:00
Satoshi Kataoka
2656abe098 Merge "Fix an inconsistent state with IMMS and Settings when the hard keyboard is connected" into jb-mr1.1-dev 2012-11-17 21:53:10 -08:00
Baligh Uddin
ee16821464 am 3e932c45: (-s ours) am 0c78d9ef: am e007c0e8: am bd7ff05e: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit '3e932c45c6ed698a44b73bc1b06a1bca07205e14':
  Import translations. DO NOT MERGE
2012-11-16 17:59:25 -08:00
Baligh Uddin
3e932c45c6 am 0c78d9ef: am e007c0e8: am bd7ff05e: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit '0c78d9eff8d4f1398759024f9e3c56fa28111fc8':
  Import translations. DO NOT MERGE
2012-11-16 17:56:30 -08:00