98466 Commits

Author SHA1 Message Date
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
Jason Sams
b109cc7861 Add YUV allocation creation.
Change-Id: I0d1ff72f60481eb9c28cf058eab72e689494d14b
2013-01-08 15:29:41 -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
Scott Main
ccb2a74f36 am 2b8603c2: am 8429f43b: am 7bcea4ae: am d149242a: docs: correct the url path to badge images and updated pr-br badge
* commit '2b8603c200843bc50768e2281fb1e2a953316e0c':
  docs: correct the url path to badge images and updated pr-br badge
2013-01-08 14:40:50 -08:00
Scott Main
2b8603c200 am 8429f43b: am 7bcea4ae: am d149242a: docs: correct the url path to badge images and updated pr-br badge
* commit '8429f43b5f87c244511e3c76107f830ee16998a3':
  docs: correct the url path to badge images and updated pr-br badge
2013-01-08 14:32:49 -08:00
Scott Main
8429f43b5f am 7bcea4ae: am d149242a: docs: correct the url path to badge images and updated pr-br badge
* commit '7bcea4ae6b69907a2d12522416be168781645e0f':
  docs: correct the url path to badge images and updated pr-br badge
2013-01-08 14:30:29 -08:00
Scott Main
7bcea4ae6b am d149242a: docs: correct the url path to badge images and updated pr-br badge
* commit 'd149242afc5aab745b5bbde0b67d6c333a5d685f':
  docs: correct the url path to badge images and updated pr-br badge
2013-01-08 14:27:34 -08:00
Scott Main
d149242afc docs: correct the url path to badge images
and updated pr-br badge

Change-Id: I23369b5f306f584714742dc4b58a47d7071805be
2013-01-08 14:08:51 -08:00
Chris Wren
f41c61bc15 split active user animation across switch.
Bug: 7626087
Change-Id: If743a4be498c624d2c4ec91989648e8be754ee4b
2013-01-08 16:35:13 -05:00
Scott Main
8a05d13ef6 am 5b56d432: am 9107fa5d: am 66adf0d0: am 70af3cdb: Merge "docs: resolve bugs from external tracker" into jb-mr1-dev
* commit '5b56d43237d959403bb8a32de25376deee2dab22':
  docs: resolve bugs from external tracker
2013-01-08 12:52:38 -08:00
Scott Main
5b56d43237 am 9107fa5d: am 66adf0d0: am 70af3cdb: Merge "docs: resolve bugs from external tracker" into jb-mr1-dev
* commit '9107fa5d7ca1b928e10ffc9395b2f2eb38db7a14':
  docs: resolve bugs from external tracker
2013-01-08 12:45:36 -08:00
Scott Main
9107fa5d7c am 66adf0d0: am 70af3cdb: Merge "docs: resolve bugs from external tracker" into jb-mr1-dev
* commit '66adf0d04d92257e60a583617fb97f136fefd192':
  docs: resolve bugs from external tracker
2013-01-08 12:44:06 -08:00
Scott Main
3ccb33d5e0 am 4f8a160a: am f344e3c7: am 7ed49126: am 13ef4e43: docs: update GP badges with localized badges. includes AI files for all badges in available languages
* commit '4f8a160ae36229d0661027f10c27fda900605cf6':
  docs: update GP badges with localized badges. includes AI files for all badges in available languages
2013-01-08 12:43:43 -08:00
Scott Main
66adf0d04d am 70af3cdb: Merge "docs: resolve bugs from external tracker" into jb-mr1-dev
* commit '70af3cdb90bafc081ffa693a350b95ced48b6cfd':
  docs: resolve bugs from external tracker
2013-01-08 12:42:10 -08:00
Martijn Coenen
4cef9969f5 Merge "Don't IPC for every onPause() in NfcActivityManager." 2013-01-08 12:40:37 -08:00
Scott Main
4f8a160ae3 am f344e3c7: am 7ed49126: am 13ef4e43: docs: update GP badges with localized badges. includes AI files for all badges in available languages
* commit 'f344e3c7e7eaa8b2ec61435312e649fe35b56d7b':
  docs: update GP badges with localized badges. includes AI files for all badges in available languages
2013-01-08 12:40:09 -08:00
Scott Main
f344e3c7e7 am 7ed49126: am 13ef4e43: docs: update GP badges with localized badges. includes AI files for all badges in available languages
* commit '7ed491262736b96ebe643200cf385e38537ac967':
  docs: update GP badges with localized badges. includes AI files for all badges in available languages
2013-01-08 12:37:32 -08:00
Scott Main
7ed4912627 am 13ef4e43: docs: update GP badges with localized badges. includes AI files for all badges in available languages
* commit '13ef4e43ef3790cafd269b19e751f78504d7ac8c':
  docs: update GP badges with localized badges. includes AI files for all badges in available languages
2013-01-08 12:34:26 -08:00
Scott Main
70af3cdb90 Merge "docs: resolve bugs from external tracker" into jb-mr1-dev 2013-01-08 12:33:48 -08:00
Scott Main
13ef4e43ef docs: update GP badges with localized badges.
includes AI files for all badges in available languages

Change-Id: Iff31696068fa2969f685f2bdab74eb737a22488c
2013-01-08 12:24:27 -08:00
Scott Main
6aad995042 docs: resolve bugs from external tracker
Change-Id: I680970ec63701197103f6c5ab55c25c736aa0519
2013-01-08 12:02:38 -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
Jason Noguchi
68ba8b919f am e71bb772: am f9719d11: am daf9b7d1: am 3f72bf32: Merge "Refactoring the media recorder stress test. Added test cases for: - record & playback @ 1080p - record & playback @ 720p - record & playback @ 480p - record & playback @ custom Plus extending the record durati
* commit 'e71bb7722b26ba2ada948ce3dbd626f14aabeb68':
  Refactoring the media recorder stress test. Added test cases for: - record & playback @ 1080p - record & playback @ 720p - record & playback @ 480p - record & playback @ custom Plus extending the record duration to a full minute.
2013-01-07 19:22:03 -08:00
Jason Noguchi
e71bb7722b am f9719d11: am daf9b7d1: am 3f72bf32: Merge "Refactoring the media recorder stress test. Added test cases for: - record & playback @ 1080p - record & playback @ 720p - record & playback @ 480p - record & playback @ custom Plus extending the record duration to a full
* commit 'f9719d116d560b74b4643a50e9f0c9cb6878daea':
  Refactoring the media recorder stress test. Added test cases for: - record & playback @ 1080p - record & playback @ 720p - record & playback @ 480p - record & playback @ custom Plus extending the record duration to a full minute.
2013-01-07 19:19:02 -08:00
Jason Noguchi
f9719d116d am daf9b7d1: am 3f72bf32: Merge "Refactoring the media recorder stress test. Added test cases for: - record & playback @ 1080p - record & playback @ 720p - record & playback @ 480p - record & playback @ custom Plus extending the record duration to a full minute." into
* commit 'daf9b7d1387d0bf4623f54827fef69b923645b42':
  Refactoring the media recorder stress test. Added test cases for: - record & playback @ 1080p - record & playback @ 720p - record & playback @ 480p - record & playback @ custom Plus extending the record duration to a full minute.
2013-01-07 19:17:13 -08:00
Jason Noguchi
daf9b7d138 am 3f72bf32: Merge "Refactoring the media recorder stress test. Added test cases for: - record & playback @ 1080p - record & playback @ 720p - record & playback @ 480p - record & playback @ custom Plus extending the record duration to a full minute." into jb-mr1-dev
* commit '3f72bf323f977b367ceaee5ace321098cb7b74f4':
  Refactoring the media recorder stress test. Added test cases for: - record & playback @ 1080p - record & playback @ 720p - record & playback @ 480p - record & playback @ custom Plus extending the record duration to a full minute.
2013-01-07 19:15:16 -08:00
Jason Noguchi
3f72bf323f Merge "Refactoring the media recorder stress test. Added test cases for: - record & playback @ 1080p - record & playback @ 720p - record & playback @ 480p - record & playback @ custom Plus extending the record duration to a full minute." into jb-mr1-dev 2013-01-07 19:12:11 -08:00
Jason Noguchi
8d73c043c8 am be6ff0b8: am 66480258: am ba5fd35e: am 7b4e597f: Merge "Adding camera scene mode stress test." into jb-mr1-dev
* commit 'be6ff0b83659dffa0c7c290c520474eda70bee07':
  Adding camera scene mode stress test.
2013-01-07 18:48:46 -08:00
Jason Noguchi
be6ff0b836 am 66480258: am ba5fd35e: am 7b4e597f: Merge "Adding camera scene mode stress test." into jb-mr1-dev
* commit '664802589d4c8953f8b9213135b482719345d7d7':
  Adding camera scene mode stress test.
2013-01-07 18:47:01 -08:00
Jason Noguchi
664802589d am ba5fd35e: am 7b4e597f: Merge "Adding camera scene mode stress test." into jb-mr1-dev
* commit 'ba5fd35e24778c29ad0786d865c2cbdf3a5ab27d':
  Adding camera scene mode stress test.
2013-01-07 18:45:30 -08:00
Jason Noguchi
ba5fd35e24 am 7b4e597f: Merge "Adding camera scene mode stress test." into jb-mr1-dev
* commit '7b4e597faff3c469bdd5e7837155a5fc5ea036bc':
  Adding camera scene mode stress test.
2013-01-07 18:43:18 -08:00
Jason Noguchi
7b4e597faf Merge "Adding camera scene mode stress test." into jb-mr1-dev 2013-01-07 18:40:28 -08:00
Romain Guy
ecba50e528 Merge "Add more tests for libhwui" 2013-01-07 18:14:36 -08:00
Dake Gu
05d485044b am af6dd103: Merge "fix ImageView.getImageMatrix()" into jb-mr1-aah-dev
* commit 'af6dd103bd2bb0783b9364c703c2623260496d5c':
  fix ImageView.getImageMatrix()
2013-01-07 18:13:30 -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
Dake Gu
af6dd103bd Merge "fix ImageView.getImageMatrix()" into jb-mr1-aah-dev 2013-01-07 18:10:21 -08:00