98287 Commits

Author SHA1 Message Date
Przemyslaw Szczepaniak
8a3d9f0319 Deprecate unused and implementation-specific parts of TTS API
TTS Voice-data related API was originally written with
one engine in mind (pico sVox TTS). It exposes some implementation
details that should be private to the engine implementation.

- Deprecating fields of ACTION_CHECK_TTS_DATA results that were
used by sVox language packs to find out location of voice data.
Those fields are TTS engine implementation details and should be
private:
EXTRA_VOICE_DATA_ROOT_DIRECTORY
EXTRA_VOICE_DATA_FILES
EXTRA_VOICE_DATA_FILES_INFO

- Deprecating fields of ACTION_CHECK_TTS_DATA request that are
providing unnescesary functionality (it can be easily done on client
side):
EXTRA_CHECK_VOICE_DATA_FOR

- Deprecating some of the return codes of ACTION_CHECK_TTS_DATA - they
are specific to sVox pico voice data and in all cases can be replaced
by CHECK_VOICE_DATA_FAIL result code.
CHECK_VOICE_DATA_BAD_DATA
CHECK_VOICE_DATA_MISSING_DATA
CHECK_VOICE_DATA_MISSING_VOLUME

- Changing semantics of ACTION_TTS_DATA_INSTALLED intent. It's now
more generic and covers any change of available voice data set (so, not only
adding languages, but also removing them should trigger broadcast. Adding and
removing features to existing locale (like embedded synthesis) should be marked
by broadcast as well).

- Deprecating its EXTRA_TTS_DATA_INSTALLED result field - client should discover
the change by running ACTION_CHECK_TTS_DATA intent.

- Making GetSampleText intent public again - it's used by most TTS engines to
provide unique demonstation data.

- Deprecating TextToSpeech.OnUtteranceCompletedListener - it was replaced
by UtteranceProgressListener in API level 15, but no one put deprecation tag
on it.

Change-Id: I6609cde5c50236457f14955e2e7c0481b2b217ec
2013-01-09 03:08:29 -08:00
Jason Sams
16ad17705e Merge "Add 3D LUT intrinsic java class" 2013-01-08 17:57:25 -08:00
Fabrice Di Meglio
fdc6e4a603 Merge "Make SystemUI RTL aware" 2013-01-08 16:16:42 -08:00
Jeff Brown
ece0206d12 Merge "Fix cursor window leak when query execution fails." 2013-01-08 15:57:37 -08:00
Jeff Brown
c21b5a019c Fix cursor window leak when query execution fails.
Ensure that the Cursor object is closed if a query on a
content provider fails due to an error or is canceled during
execution.  There are several places in the code where
similar problems can occur.

To further reduce the likelihood of leaks, close the cursor
window immediately when a query fails.

Bug: 7278577
Change-Id: I8c686c259de80a162b9086628a817d57f09fdd13
2013-01-08 15:32:50 -08:00
Romain Guy
c88c60bed1 Merge "Add plumbing for better text scaling" 2013-01-08 15:26:45 -08:00
Romain Guy
e3a9b24b5e Add plumbing for better text scaling
Fonts are now described by a transform matrix. This lead to switching
from a vector to a hashmap. This change therefore adds new comparators
and hash computations to Font.

Change-Id: I2daffa7d6287c18554c606b8bfa06640d28b4530
2013-01-08 15:21:42 -08:00
Fabrice Di Meglio
cda096ebf3 Make SystemUI RTL aware
- mirror network signal icons
- force icons refresh

See bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: I8e5c729c20c5b526c370ad142632bebeefb64198
2013-01-08 15:02:26 -08:00
Craig Mautner
c34bc1178b Turn off debug logging.
Change-Id: I8dcfbb1f91d63e9126822a0c45b34cb21c09fa2a
2013-01-08 15:02:13 -08:00
Jim Miller
995c25bbcb Merge "split active user animation across switch." 2013-01-08 14:45:11 -08:00
Chris Wren
f41c61bc15 split active user animation across switch.
Bug: 7626087
Change-Id: If743a4be498c624d2c4ec91989648e8be754ee4b
2013-01-08 16:35:13 -05:00
Martijn Coenen
4cef9969f5 Merge "Don't IPC for every onPause() in NfcActivityManager." 2013-01-08 12:40:37 -08:00
Jason Sams
40f1fa6ed6 Add 3D LUT intrinsic java class
Add test for 3D LUT

Change-Id: I52bc20fd5458afda6de0a6015e9c8bc6a4970055
2013-01-08 11:52:56 -08:00
Scott Main
3d5161049a am aa516b10: am 76c28e54: am 7fc128fe: am b2039756: am e30d31c4: docs: misc bugs from external tracker
* commit 'aa516b10ddbca4097102a068206df17bcfb7f322':
  docs: misc bugs from external tracker
2013-01-08 10:27:32 -08:00
Dianne Hackborn
7c208410d7 am 609d79a0: am c02bbfb3: am 9fae2ecc: Merge "Handle nested folder case"
* commit '609d79a0ddf7efadf62d6836f6b03dbfbfa7b41d':
  Handle nested folder case
2013-01-08 10:27:27 -08:00
Dianne Hackborn
c1b3d21306 am 53d99836: am 26c00dec: am b2d3904b: Merge "Setting the default value for dock audio"
* commit '53d998368c6c6107c6d18de945f4dfee482e6f91':
  Setting the default value for dock audio
2013-01-08 10:27:08 -08:00
Mikhail Naganov
2ede422695 Merge "Update JavaDoc for WebSettings.{get|set}UseWideViewPort" 2013-01-08 01:51:02 -08:00
Craig Mautner
ef6550195f Release Session earlier, release Session later.
For finishDrawingWindow queue the performLayoutAndPlaceSurfaces call
and return immediately.

For setTransparentRegionHint call the WindowStateAnimator method
immediately, removing the previous queueing of it.

Fixes bug 7174665.

Change-Id: Ia52f9a6685842220e4ffca6e214ee366470ff666
2013-01-08 00:36:16 -08:00
Craig Mautner
73164dc7bc Merge "Combine DimAnimator and DimSurface into DimLayer" 2013-01-08 00:23:46 -08:00
Craig Mautner
1420b93fa5 Combine DimAnimator and DimSurface into DimLayer
Replace two classes that did similar things in a complicated manner
with one class that does it more simply.

Bug 7064755 fixed.

Change-Id: I8c415671f60d1d2ece9da5916421f4d24aed2d65
2013-01-08 00:22:22 -08:00
Craig Mautner
581068131c Remove some TODOs.
Change-Id: I52f5a8a76593dde177c2e931f656b13134a3bd2b
2013-01-07 23:39:11 -08:00
Craig Mautner
9a29a5d679 Convert three booleans into single state variable.
Make app transition states easier to understand.
Remove unnecessary dependence on ActivityOptions.

Change-Id: If3942133e919a4121340f8ef5ca1c50df22f370d
2013-01-07 23:39:10 -08:00
Craig Mautner
4b71aa1f8a Move app transition constants
Move app transition constants from WindowManagerPolicy to
AppTransition.

Change-Id: I8ae6c4d0da1db826c44eb4ea0c6b85016b50b1a3
2013-01-07 23:38:57 -08:00
Romain Guy
ecba50e528 Merge "Add more tests for libhwui" 2013-01-07 18:14:36 -08:00
Romain Guy
5b4628aeea Add more tests for libhwui
These tests verify the behavior when scaling paths and text

Change-Id: I0f3259175bcee93186e30296759996e0447cba99
2013-01-07 18:11:52 -08:00
Martijn Coenen
1360c555a4 Don't IPC for every onPause() in NfcActivityManager.
The NfcService now contains additional code to make sure
that the registered NDEF callback corresponds to the package
running in the foreground. This allows us to stop calling
the NfcService on every onPause() to register the NDEF callback,
as NfcService itself will now detect that the app is no longer
in the foreground, and won't call the callback.

Bug: 5199662
Change-Id: Ibd0d21f8c7b76346238305a6684967263cb7d7e0
2013-01-07 16:41:15 -08:00
Scott Main
aa516b10dd am 76c28e54: am 7fc128fe: am b2039756: am e30d31c4: docs: misc bugs from external tracker
* commit '76c28e54b876207d468309aecb2ff2f4708a6ca4':
  docs: misc bugs from external tracker
2013-01-07 16:06:40 -08:00
Scott Main
76c28e54b8 am 7fc128fe: am b2039756: am e30d31c4: docs: misc bugs from external tracker
* commit '7fc128fef94273b82c66bd636ff7f9fced9a68db':
  docs: misc bugs from external tracker
2013-01-07 16:04:04 -08:00
Scott Main
7fc128fef9 am b2039756: am e30d31c4: docs: misc bugs from external tracker
* commit 'b203975610a8ebac9345aa381b008466389dfa33':
  docs: misc bugs from external tracker
2013-01-07 16:01:17 -08:00
Dianne Hackborn
609d79a0dd am c02bbfb3: am 9fae2ecc: Merge "Handle nested folder case"
* commit 'c02bbfb3ea64ec9f4f3e6eff796b0bfe571bda9b':
  Handle nested folder case
2013-01-07 15:58:43 -08:00
Scott Main
b203975610 am e30d31c4: docs: misc bugs from external tracker
* commit 'e30d31c4e8439f8fa8647744cee93f1fd8b67407':
  docs: misc bugs from external tracker
2013-01-07 15:58:19 -08:00
Dianne Hackborn
c02bbfb3ea am 9fae2ecc: Merge "Handle nested folder case"
* commit '9fae2ecc5fb777230bde74e4a099fb4e98bf34b4':
  Handle nested folder case
2013-01-07 15:56:20 -08:00
Scott Main
e30d31c4e8 docs: misc bugs from external tracker
Change-Id: I928659b23d1ff3a5d017d4fb50acb8ac0e3b251b
2013-01-07 15:54:30 -08:00
Dianne Hackborn
9fae2ecc5f Merge "Handle nested folder case" 2013-01-07 15:20:45 -08:00
Baligh Uddin
f6f00b14fb Merge "Import translations. DO NOT MERGE" 2013-01-07 14:10:14 -08:00
Dianne Hackborn
53d998368c am 26c00dec: am b2d3904b: Merge "Setting the default value for dock audio"
* commit '26c00decb4c0352913396851c2b42a8705976614':
  Setting the default value for dock audio
2013-01-07 13:53:12 -08:00
Dianne Hackborn
26c00decb4 am b2d3904b: Merge "Setting the default value for dock audio"
* commit 'b2d3904b0d0f02b3eddef1d228724b99962cba56':
  Setting the default value for dock audio
2013-01-07 13:26:38 -08:00
Chris Wren
aff5a6126d Merge "add logging to debug panel touches." 2013-01-07 12:57:50 -08:00
Dianne Hackborn
017129481b am 449f006f: am 2a8de804: am 350d5168: Merge "Correcting typo in doc of MEDIA_XXX intents"
* commit '449f006f9391b8c42d6d95ba06970216e8ef9f84':
  Correcting typo in doc of MEDIA_XXX intents
2013-01-07 12:24:09 -08:00
Dianne Hackborn
dff561f42b am 9b59509c: am 138a3d3f: am d5d6f04f: Merge "Hopefully fix PendingIntent.getActivities() documentation wtf."
* commit '9b59509c6a94f1943ce64d3b5e9b4de2aa846d4d':
  Hopefully fix PendingIntent.getActivities() documentation wtf.
2013-01-07 12:23:59 -08:00
Dianne Hackborn
449f006f93 am 2a8de804: am 350d5168: Merge "Correcting typo in doc of MEDIA_XXX intents"
* commit '2a8de804a2a8313fc4571a73c625d8213237b825':
  Correcting typo in doc of MEDIA_XXX intents
2013-01-07 12:20:16 -08:00
Dianne Hackborn
9b59509c6a am 138a3d3f: am d5d6f04f: Merge "Hopefully fix PendingIntent.getActivities() documentation wtf."
* commit '138a3d3f1a7990606c5aa0cb92019dac8568f3ec':
  Hopefully fix PendingIntent.getActivities() documentation wtf.
2013-01-07 12:19:58 -08:00
Dianne Hackborn
b2d3904b0d Merge "Setting the default value for dock audio" 2013-01-07 12:17:25 -08:00
Dianne Hackborn
2a8de804a2 am 350d5168: Merge "Correcting typo in doc of MEDIA_XXX intents"
* commit '350d5168e495c642873ee511d4e8dc27ac5377ce':
  Correcting typo in doc of MEDIA_XXX intents
2013-01-07 12:16:40 -08:00
Dianne Hackborn
138a3d3f1a am d5d6f04f: Merge "Hopefully fix PendingIntent.getActivities() documentation wtf."
* commit 'd5d6f04f2ab0db0aea03e3ab1cdd378fcc952bad':
  Hopefully fix PendingIntent.getActivities() documentation wtf.
2013-01-07 12:16:23 -08:00
Romain Guy
7d1c4fa322 Remove out-of-date comment and rename constant
Change-Id: I0c60d349505776cff0d7e5360e87ac5584dc5876
2013-01-07 11:55:27 -08:00
Romain Guy
4a62374544 Merge "Fix issue when toggling profiling from visual to off to visual" 2013-01-07 11:31:49 -08:00
Romain Guy
666d5daab2 Fix issue when toggling profiling from visual to off to visual
Change-Id: I4a623020a9bf0079029d184c13e58d92e692faf8
2013-01-07 11:29:14 -08:00
Chris Wren
64161ccb2f add logging to debug panel touches.
Turn on gesture recorder.
Add events to the Event Log.

Bug:7686690
Change-Id: I53b7d43f5bdc002360e305182597765f3c430b11
2013-01-07 14:25:58 -05:00
Dianne Hackborn
350d5168e4 Merge "Correcting typo in doc of MEDIA_XXX intents" 2013-01-07 11:21:54 -08:00