97586 Commits

Author SHA1 Message Date
Scott Main
c0512832f4 am 231719fa: am fff0fb87: am 82e1d979: update building first app class with some changes to eclipse workflow and account for small differences when using an IDE other than eclipse
* commit '231719fa9c22df02408c17444503b790c9f0d1b9':
  update building first app class with some changes to eclipse workflow and account for small differences when using an IDE other than eclipse
2012-12-04 16:47:32 -08:00
Scott Main
231719fa9c am fff0fb87: am 82e1d979: update building first app class with some changes to eclipse workflow and account for small differences when using an IDE other than eclipse
* commit 'fff0fb87271faf8f19d9fd062c5ebfb720204223':
  update building first app class with some changes to eclipse workflow and account for small differences when using an IDE other than eclipse
2012-12-04 16:45:25 -08:00
Scott Main
7550a393e0 docs: fix AI download links
Change-Id: I2773f0edf1dc73bee9b8ea1ca0e09a9fd85086ef
2012-12-04 16:44:27 -08:00
Scott Main
fff0fb8727 am 82e1d979: update building first app class with some changes to eclipse workflow and account for small differences when using an IDE other than eclipse
* commit '82e1d979ff7d6571f124b00d4354d40aa8757664':
  update building first app class with some changes to eclipse workflow and account for small differences when using an IDE other than eclipse
2012-12-04 16:42:23 -08:00
Jeff Sharkey
ce8e7eec8d Fix baseline alignment of notification times.
Bug: 7668052
Change-Id: Ifc868ac5988e00c3d63aa1e1e91544d433c858a5
2012-12-04 16:40:16 -08:00
Scott Main
82e1d979ff update building first app class with some changes to eclipse workflow
and account for small differences when using an IDE other than eclipse

Change-Id: I1ea8a00cd3d03623a43d6b5f75234095130c0aa3
2012-12-04 16:38:18 -08:00
Glenn Kasten
8a18043436 Merge "new can't fail on Android" 2012-12-04 16:37:49 -08:00
Victoria Lease
6861e258f0 am 1d20e05e: am 82a76800: Merge "DO NOT MERGE Notify provider when disposing last UpdateRecord" into jb-mr1.1-dev
* commit '1d20e05e487faa02acca2dcb2ae9d527d097ce7d':
  DO NOT MERGE Notify provider when disposing last UpdateRecord
2012-12-04 16:35:23 -08:00
Scott Main
5931fa81bd am a8a19ac5: am 3b08bb9d: am f9861221: docs: delete gps overview page
* commit 'a8a19ac5ab6c0612fe0d5bcc10b84d585fcaf509':
  docs: delete gps overview page
2012-12-04 16:35:20 -08:00
Raph Levien
8a3def6ef9 am 0da0d337: am a7acb4b9: Merge "Fix for bug 7467609 Bad rendering of Telugu text" into jb-mr1.1-dev
* commit '0da0d337752ea153fb0e9f5d73512060ff007f6d':
  Fix for bug 7467609 Bad rendering of Telugu text
2012-12-04 16:35:16 -08:00
Sascha Prueter
98c958097b am 8f7eddbe: am 652d8fc9: Merge "PRIORITY_MIN notifications should be truly ambient." into jb-mr1.1-dev
* commit '8f7eddbef33f97e7d4439707ac0039be4c81ef0e':
  PRIORITY_MIN notifications should be truly ambient.
2012-12-04 16:35:12 -08:00
Guang Zhu
32ec47c1b1 am 63cc22a5: am 4eab3d88: Merge "more app launch test tweaks" into jb-mr1.1-dev
* commit '63cc22a5c393fec725d271f5a7d82fb2fe05647f':
  more app launch test tweaks
2012-12-04 16:35:09 -08:00
Scott Main
f54d82c810 am 639116f1: am 22ab700f: am beb08896: docs: add backup service to gp docs
* commit '639116f10550383be233cc8c00d96bb9bbfbc046':
  docs: add backup service to gp docs
2012-12-04 16:35:06 -08:00
Winson Chung
46a1a4b2fe am 8f90249d: am ca83e1d5: Merge "Saving and restoring current page when rotating in lockscreen. (Bug 7568412)" into jb-mr1.1-dev
* commit '8f90249de422b10f5661ac437dd57fc034ee6933':
  Saving and restoring current page when rotating in lockscreen. (Bug 7568412)
2012-12-04 16:35:02 -08:00
Raph Levien
4cd6cef3af am 70463dca: am 49ed5da3: Merge "Reorder tone mark and nikhahit in DroidSansThai.ttf" into jb-mr1.1-dev
* commit '70463dca7de2843908523348d6f97f075efe9632':
  Reorder tone mark and nikhahit in DroidSansThai.ttf
2012-12-04 16:34:59 -08:00
John Spurlock
d201bf77be am 9c902ca4: am 33669f35: Merge "Kill dreams that do not create a timely service connection." into jb-mr1.1-dev
* commit '9c902ca4732f8c2a5afda4047415d1de6d3db493':
  Kill dreams that do not create a timely service connection.
2012-12-04 16:34:55 -08:00
Glenn Kasten
1e821372be Merge "Replace hard-coded sample rate values by constants" 2012-12-04 16:32:41 -08:00
Victoria Lease
1d20e05e48 am 82a76800: Merge "DO NOT MERGE Notify provider when disposing last UpdateRecord" into jb-mr1.1-dev
* commit '82a76800ad78b7aa6e2bde2f6512e4ffbe21873f':
  DO NOT MERGE Notify provider when disposing last UpdateRecord
2012-12-04 16:32:18 -08:00
Scott Main
a8a19ac5ab am 3b08bb9d: am f9861221: docs: delete gps overview page
* commit '3b08bb9d0886f0f6e258dcd8013ae6079063c31a':
  docs: delete gps overview page
2012-12-04 16:32:14 -08:00
Raph Levien
0da0d33775 am a7acb4b9: Merge "Fix for bug 7467609 Bad rendering of Telugu text" into jb-mr1.1-dev
* commit 'a7acb4b9cdbf39b3456bd45ef82681716e1ab2f8':
  Fix for bug 7467609 Bad rendering of Telugu text
2012-12-04 16:32:09 -08:00
Sascha Prueter
8f7eddbef3 am 652d8fc9: Merge "PRIORITY_MIN notifications should be truly ambient." into jb-mr1.1-dev
* commit '652d8fc944c011eb15202f678588723aa9f38a84':
  PRIORITY_MIN notifications should be truly ambient.
2012-12-04 16:32:05 -08:00
Guang Zhu
63cc22a5c3 am 4eab3d88: Merge "more app launch test tweaks" into jb-mr1.1-dev
* commit '4eab3d88a21b07d029a1b22271d7d1537a245266':
  more app launch test tweaks
2012-12-04 16:31:58 -08:00
Scott Main
639116f105 am 22ab700f: am beb08896: docs: add backup service to gp docs
* commit '22ab700f3eb190e2599bb54bed5a7cfdb057f5ee':
  docs: add backup service to gp docs
2012-12-04 16:31:54 -08:00
Winson Chung
8f90249de4 am ca83e1d5: Merge "Saving and restoring current page when rotating in lockscreen. (Bug 7568412)" into jb-mr1.1-dev
* commit 'ca83e1d5410d12220d48b8c52ed06cfb52fb9868':
  Saving and restoring current page when rotating in lockscreen. (Bug 7568412)
2012-12-04 16:31:49 -08:00
Raph Levien
70463dca7d am 49ed5da3: Merge "Reorder tone mark and nikhahit in DroidSansThai.ttf" into jb-mr1.1-dev
* commit '49ed5da31d4f2d7c9f94bdace9f46c8514bcfad7':
  Reorder tone mark and nikhahit in DroidSansThai.ttf
2012-12-04 16:31:36 -08:00
John Spurlock
9c902ca473 am 33669f35: Merge "Kill dreams that do not create a timely service connection." into jb-mr1.1-dev
* commit '33669f35e4b63bec10bb7202b94340ebd41fbb10':
  Kill dreams that do not create a timely service connection.
2012-12-04 16:31:33 -08:00
Amith Yamasani
94022e8997 Make 3rd party lockscreen widgets work on secondary users
If you install a lockscreen widget app on a secondary user, lockscreen fails to find it.
There were several places where the correct context and userId were required under the
covers - AppWidgetHost, AppWidgetHostView and RemoteViewsAdapter.

Set the user id in the required places and use it to query the package information.

Bug: 7662835
Change-Id: Ife482c8ab2a2e601650b7cfe2660e88d3b8f2050
2012-12-04 16:25:38 -08:00
Scott Main
cc91d6b7c8 docs: update webview guide with javascript interface info
Change-Id: I328d36bf54261ac7d10121424102308159d79f6f
2012-12-04 16:17:18 -08:00
Craig Mautner
83323f427d Merge "Further decouple layout and animation." 2012-12-04 16:15:31 -08:00
Laurent Tu
e886adbda5 DO NOT MERGE Protect against NPE in FusionEngine.java.
Cherry-pick of Ic49a069eef47a62fb1e0c6f284a705a62c6ae232

Bug: 7629406
Change-Id: Ia04dba9496b02755678b43e12834e992f63ee45b
2012-12-04 16:15:24 -08:00
Craig Mautner
9339c401cf Further decouple layout and animation.
Load animation parameters dynamically and synchronously rather than
asynchronously. Eliminates storing parameters and cross-barrier method
calls.

Change-Id: Ia9162f0cb3fe60da35fd9fb5f24f31f88891b950
2012-12-04 16:13:45 -08:00
Victoria Lease
82a76800ad Merge "DO NOT MERGE Notify provider when disposing last UpdateRecord" into jb-mr1.1-dev 2012-12-04 15:59:56 -08:00
Scott Main
3b08bb9d08 am f9861221: docs: delete gps overview page
* commit 'f98612213ce70fbb34062db2b5d27d9622d9d3f3':
  docs: delete gps overview page
2012-12-04 15:46:03 -08:00
Chris Craik
9efa222b34 Defer process mode upon draw
Process mode functor execution can be expensive, and cause dropped frames if it
runs between two expensive frames (when there isn't cpu time to spare). Avoid
this by delaying the process mode by an additional 4 ms every time we hit a draw

bug:7670326
Change-Id: I27f42458d4a815183a4b24c7748e05bc361fb943
2012-12-04 15:45:41 -08:00
Ying Wang
4791ce9d22 Merge "Move numeric api files from frameworks/base to prebuilts/sdk" 2012-12-04 15:45:13 -08:00
Scott Main
f98612213c docs: delete gps overview page
Change-Id: Ie2dbc4755ba0b16c730ee86646babcdc8edd3dc2
2012-12-04 15:43:16 -08:00
Victoria Lease
e0fa1b387f DO NOT MERGE Notify provider when disposing last UpdateRecord
Cherry-pick of Id48151eb7de40164258cde7da220a4d6bb34b89a

Location providers were not being notified of the change in status
when the last UpdateRecord was removed due to numUpdates exhaustion
or request expiry. Oops! Enjoy some free battery life!

Bug: 7611837
Change-Id: I66303b355be4e4a56a81efb5406c9353b2588595
2012-12-04 15:42:22 -08:00
Victoria Lease
7544c48292 Merge "Notify provider when disposing last UpdateRecord" 2012-12-04 15:30:51 -08:00
Raph Levien
a7acb4b9cd Merge "Fix for bug 7467609 Bad rendering of Telugu text" into jb-mr1.1-dev 2012-12-04 15:21:08 -08:00
Sascha Prueter
652d8fc944 Merge "PRIORITY_MIN notifications should be truly ambient." into jb-mr1.1-dev 2012-12-04 15:13:17 -08:00
Ying Wang
f74f0deb29 Move numeric api files from frameworks/base to prebuilts/sdk
So they can be used in unbundled builds.

Bug: 7296240

Change-Id: Ib0ba88387cb45ff795a4e8e3a836cf670d5016b7
2012-12-04 15:12:49 -08:00
Laurent Tu
e0f1a099e9 Merge "Protect against NPE in FusionEngine.java." 2012-12-04 15:12:37 -08:00
Victoria Lease
8b38b29b52 Notify provider when disposing last UpdateRecord
Location providers were not being notified of the change in status
when the last UpdateRecord was removed due to numUpdates exhaustion
or request expiry. Oops! Enjoy some free battery life!

Bug: 7611837
Change-Id: Id48151eb7de40164258cde7da220a4d6bb34b89a
2012-12-04 15:04:43 -08:00
Guang Zhu
4eab3d88a2 Merge "more app launch test tweaks" into jb-mr1.1-dev 2012-12-04 14:55:35 -08:00
Scott Main
22ab700f3e am beb08896: docs: add backup service to gp docs
* commit 'beb0889671697d5b5e5c57629bbdd7829883960a':
  docs: add backup service to gp docs
2012-12-04 14:45:25 -08:00
Guang Zhu
13f7734977 more app launch test tweaks
to get closer to the previous harness:
* sleep 750ms after launch then press HOME
* force close app after launch
* sleep 2s then move to next app

Change-Id: I70fefa7f3e87c637ed8b4cb2981c26d665c94319
2012-12-04 14:40:30 -08:00
Jeff Brown
7f3994ec2a Pin electron beam surface to natural orientation.
If a rotation occurred while the electron beam surface was showing,
the surface may have appeared in the wrong orientation.  We fix this
problem by adjusting the transformation matrix of the electron beam
surface according to the display orientation whenever a display
transaction occurs.

The rotation itself is allowed to proceed but it is not visible
to the user.  We must let this happen so that the lock screen
is correctly oriented when the screen is turned back on.

Note that the electron beam surface serves two purposes.

First, it is used to play the screen off animation.
When the animation is finished, the surface remains visible but is
solid black.  Then we turn the screen off.

Second, when we turn the screen back on we leave the electron beam
surface showing until the window manager is ready to show the
new content.  This prevents the user from seeing a flash of the
old content while the screen is being turned on.  When everything is
ready, we dismiss the electron beam.

It's important for the electron beam to remain visible for
the entire duration from just before the screen is turned off until
after the screen is turned on and is ready to be seen.  This is
why we cannot fix the bug by deferring rotation or otherwise
getting in the way of the window manager doing what it needs
to do to get the screen ready when the screen is turned on again.

Bug: 7479740
Change-Id: I2fcf35114ad9b2e00fdfc67793be6df62c8dc4c3
2012-12-04 14:40:23 -08:00
Winson Chung
ca83e1d541 Merge "Saving and restoring current page when rotating in lockscreen. (Bug 7568412)" into jb-mr1.1-dev 2012-12-04 14:38:54 -08:00
Raph Levien
ab815a701e Fix for bug 7467609 Bad rendering of Telugu text
This change moves Telugu back before the fallback font. Previously it
had been moved to after it because it contained incorrect mappings of a
number of characters, including U+2212 and U+FFFD. These fonts have now
been fixed. When placed after the Droid Sans Fallback font, the glyph
count for complex script shaping exceeded the 2^16 limit, causing
incorrect rendering.

This patch depends on the fix for the Lohit-Telugu font.

Change-Id: Ib1bc665a246c4ad65a0dea1c261df5696b440344
2012-12-04 14:33:45 -08:00
Eric Laurent
3ef7549876 Allow mute when playing over fixed volume device
Modified AudioService to add the possibility to mute/unmute music
with volume keys while playing over fixed volume devices (HDMI, digital dock).
VOL- forces volume to 0 and VOL+ forces volume to maximum.

Bug 7377764.

Change-Id: Ibaf805d76c30e3c0e395547cd3ce0087dbfb9f30
2012-12-04 14:29:24 -08:00