18096 Commits

Author SHA1 Message Date
Scott Main
b0f1cfffd9 Merge "docs: SearchView is iconified by default" into honeycomb 2011-02-07 09:33:32 -08:00
Scott Main
cccdbe9acb docs: SearchView is iconified by default
Change-Id: Iabe0fdc0b28847f0c401e3692932a73b7d595c88
2011-02-06 16:28:05 -08:00
Paul Eastham
be46d1456b Revert "Fix for StaticLayout bug with ellipsized text"
This reverts commit bbc910f229dec45fa7481a62fbf051f7ff3130e7.
2011-02-04 19:17:54 -08:00
Mike Cleron
2d47fd3c35 Merge "Fix crash when Paths are GCd in hw accelerated apps" into honeycomb 2011-02-04 15:29:28 -08:00
Eric Laurent
2e96f15d8c Merge "Fix issues 3425035 and 3423785." into honeycomb 2011-02-04 14:06:40 -08:00
Gilles Debunne
a324a5810c Merge "Fix for StaticLayout bug with ellipsized text" into honeycomb 2011-02-04 13:59:29 -08:00
Chet Haase
5a7e828842 Fix crash when Paths are GCd in hw accelerated apps
A recent change to optimize path rendering didn't account for
the destruction of native objects by the VM finalizer. We may be
done with the Java level version before we're done with the native
structure that's used by the display list. For example, a drawing
method on a View that creates a temporary path to render into the
canvas will implicitly create a native structure that is put onto
the GL display list. That temporary path may go away, but the native
version should stick around as long as the display list does.

The fix is to refcount the original native version of the path
and only delete it when the refcoutn reaches zero (which means that
it is no longer needed by any display list). This is a similar mechanism
used for bitmaps and shaders.

Change-Id: I4de1047415066d425d1c689aa60827f97729b470
2011-02-04 12:50:55 -08:00
Eric Laurent
402f7f2963 Fix issues 3425035 and 3423785.
- Make sure that STREAM_MUSIC is affected by ringer mode on non voice capable
devices whatever the saved settings say.

- Added a hidden method to AudioManager for VolumePanel to override
the stream selection logic while the panel is showing.

Change-Id: Ib2ff2a7af63decb4e29c45700c41e5058f79d877
2011-02-04 12:39:14 -08:00
Mike Cleron
b857874110 Merge "Fix issue #3424823: 4-corner trick causes runtime restart" into honeycomb 2011-02-04 11:53:58 -08:00
Dianne Hackborn
912d9d1369 Fix issue #3424823: 4-corner trick causes runtime restart
Change-Id: Ibd3fc63d0ab975a2b74765a00023c7f783b24216
2011-02-04 10:35:36 -08:00
Patrick Scott
b88e52c760 Need a public way to wait for cookie operations.
Hidden for now as we are past the public api deadline.

Bug: 3421214
Change-Id: I8a65ae479d0b8b020af2600d7d29d5d358414add
2011-02-04 12:52:46 -05:00
Romain Guy
43703325d8 Merge "New default wallpaper" into honeycomb 2011-02-03 23:04:50 -08:00
Romain Guy
43a1da0807 New default wallpaper
Change-Id: Iddb593e0b1775725b1bfaa2c74fb2f53fb7a4561
2011-02-03 22:36:03 -08:00
Mike Cleron
f6141980c8 Merge changes I46acd27a,I70b322e1 into honeycomb
* changes:
  aa is better than cc
  Prevent ProgressBar from slowing down everything. bug #3422568
2011-02-03 21:17:09 -08:00
Daniel Sandler
4ad2547fe0 Merge "Ongoing notification for GPS use." into honeycomb 2011-02-03 20:49:10 -08:00
Eric Laurent
e6955f8e38 Merge "Issue 3371080: fix VolumePanel in mute state" into honeycomb 2011-02-03 19:35:57 -08:00
Eric Laurent
d72d51c77a Issue 3371080: fix VolumePanel in mute state
VolumePanel must take stream mute state into account before displaying
the update stream volume.

Change-Id: I03a1697c25fca3fa56f892e3d426d00906abeb79
2011-02-03 18:47:47 -08:00
Jim Miller
0d47ac1176 Merge "Fix 3419077: Allow subclasses to change SeekBarPreference action buttons." into honeycomb 2011-02-03 18:39:39 -08:00
Jim Miller
4ce0cad1b3 Merge "Issue 3371080: fix volume update in mute state." into honeycomb 2011-02-03 18:29:36 -08:00
Daniel Sandler
e40451a89d Ongoing notification for GPS use.
This change improves upon the notification priority API
introduced in change I9e738cc4, allowing privileged clients
to set the priority of a notification when posting it
directly to INotificationManager. StatusBarTest is updated
to test this new feature.

The new LocationController in SystemUI uses this facility to
post a high-priority ongoing notification whenever GPS is in
use (replacing the functionality of the legacy GPS status
bar icon).

Also happens to fix http://b/3325472 (adding a log message
when notifications are dropped because of a missing icon).

Bug: 3412807

Change-Id: I523016ffa53bf979be98ddc4a2deb55a6270c68a
2011-02-03 21:11:46 -05:00
Romain Guy
2f57ba56b3 Prevent ProgressBar from slowing down everything.
bug #3422568

Change-Id: I70b322e140a8fdbe504c6984c54a22bcb7b753e7
2011-02-03 18:03:29 -08:00
Dianne Hackborn
1b1962f383 Merge "Fix issue #3420898: More wallpaper issues" into honeycomb 2011-02-03 17:48:51 -08:00
Gilles Debunne
bbc910f229 Fix for StaticLayout bug with ellipsized text
This fixes the test, but I believe this class still needs a lot of fixing.

Change-Id: Ib6386196908ea8432b175d6994f9299778a322d2
2011-02-03 17:42:18 -08:00
Eric Laurent
0f31fe0968 Issue 3371080: fix volume update in mute state.
VolumePreference should take the stream mute state into account
when updating the progress bar if a change is received by
the content observer

Change-Id: Ia1a8af9d4cc349d2d57753d865e8d2e58daf04f1
2011-02-03 17:34:39 -08:00
Adam Powell
c1be7ac912 Merge "Asset updates for dialog frames and seek bar thumbs" into honeycomb 2011-02-03 16:57:21 -08:00
Dianne Hackborn
ac1471a4ff Fix issue #3420898: More wallpaper issues
- The ImageWallpaper wasn't watching for the desired dimensions to
  change, at which point it needs to resize its surface.
- The system process has been running with the small dalvik heap
  limit, which is too tight with these huge wallpapers; this would
  cause switching wallpapers to eventually stop working as it
  couldn't get the memory it needed to load the new one.
- The compatibility mode background surface had a bunch of issues,
  such as moving its windows to the right by the window size to
  make them disappear.  This of course doesn't play well with the
  now super-sized wallpaper surface.  This code is re-worked to
  not require such shenanigans.

Change-Id: I64fde4059645d8507f1c4761ba6c17b89877a5c0
2011-02-03 16:54:24 -08:00
Justin Ho
40523b1b27 Merge "Updating default wallpaper" into honeycomb 2011-02-03 16:53:40 -08:00
Justin Ho
6e396c0d5c Updating default wallpaper
Change-Id: I176840dc2c08653827038246f187296029b22af4
2011-02-03 16:50:19 -08:00
Adam Powell
d650b51139 Asset updates for dialog frames and seek bar thumbs
Change-Id: I3214fe9a2f1e2404d29f0a2ea22ac2fdf4ddbf31
2011-02-03 16:47:11 -08:00
Jim Miller
4c8aafe300 Fix 3419077: Allow subclasses to change SeekBarPreference action buttons.
Change-Id: I2c624c3693fe06d9d3db3c203c7d4fc7a80b79d9
2011-02-03 16:17:41 -08:00
Amith Yamasani
823fbbbab5 Merge "Expanded volume panel with sliders and mute buttons." into honeycomb 2011-02-03 16:11:32 -08:00
Amith Yamasani
2bbdd77ab2 Expanded volume panel with sliders and mute buttons.
Bug: 3395734

Volume panel that can be expanded and can be used
to control different streams' volume and toggle
silent mode.

Shows the active stream's slider on top and the
remaining below. Touching outside dismisses the
dialog as well as a 3 second timeout.

Dialog fades out after timeout.

Change-Id: Ief258cc904bfd3d62f1291adba4a9cf442bcb006
2011-02-03 15:49:12 -08:00
Justin Ho
60a008ed83 Updated volume dialog assets
Change-Id: I520cb3286d29241ccd846f29f682b6582f5abce1
2011-02-03 14:47:42 -08:00
Justin Ho
cc84ea1768 Merge "Updated default wallpaper" into honeycomb 2011-02-03 14:13:08 -08:00
Justin Ho
39f377e9fc Updated default wallpaper
Change-Id: Ic0312b9216fe40232ec237591fc0a5506c5a5d6c
2011-02-03 14:11:40 -08:00
Justin Ho
97e1dbab57 Merge "Adding remaining volume dialog assets" into honeycomb 2011-02-03 13:50:09 -08:00
Justin Ho
9b95d35221 Updated Talk notification icon
Bug: 3362749

Change-Id: I4896a283ba4a552ee23cd69c76a397c31cddfb8d
2011-02-03 13:41:15 -08:00
Justin Ho
f451a46cc2 Adding remaining volume dialog assets
Change-Id: If3e58507dd0af454a3dbcdb4cb826c60503d72cc
2011-02-03 13:40:04 -08:00
Vasu Nori
e1cbd0a85f Revert "Merge "bug:3414192 new API to designate a download to be OTA update" into honeycomb"
This reverts commit 6bc710f769618e87b98d51cd02241e6b1a2fb653, reversing
changes made to 7ba35f5ab3c838c7f1b3ab957be685ac1f506b2a.
2011-02-03 12:20:31 -08:00
Michael Jurka
8275c60878 Merge "adding fast setters for translationx/y" into honeycomb 2011-02-03 12:00:37 -08:00
Romain Guy
3b66e43e8c Merge "Refresh display lists when turning off layers rendering. Bug #3420565" into honeycomb 2011-02-03 11:43:17 -08:00
Romain Guy
9d18f2d189 Refresh display lists when turning off layers rendering.
Bug #3420565

Change-Id: I2139540e591a97cd487e3d7cce6b70d6b23df9de
2011-02-03 11:32:38 -08:00
Eric Laurent
9c0a1003bd Merge "Fix issue 3371080" into honeycomb 2011-02-03 10:26:05 -08:00
Eric Laurent
25101b0b9a Fix issue 3371080
Modified default volume control logic in AudioService:
1 IN_CALL volume if in video/audio chat
2 NOTIFICATION if notification is playing or was playing less than 5s ago.
3 MUSIC

Modified silent mode:
- now also affect MUSIC stream type
- entering silent mode when VOL- hard key is pressed once while selected
stream volume is already at 0 (except for VOICE_CALL stream).
- exiting silent mode when pressing VOL+ hard key while in silent mode

Play sound FX (audible selections, keyboard clicks) at a fixed volume.

Modified audio framework:
- isStreamActive() method now implemented in AudioPolicyManagerBase (previously AudioFlinger)
- iStreamActive() now specifies a time window during which the stream is considered
active after it actually stopped.

Change-Id: I7e5a0724099450b9fc90825224180ac97322785f
2011-02-03 09:26:24 -08:00
Cary Clark
aa7dc92838 Merge "stop GL drawing thread before killing WebCore" into honeycomb 2011-02-03 08:48:24 -08:00
Justin Ho
b732e6d205 Merge "Changing Honeycomb default wallpaper" into honeycomb 2011-02-03 07:25:18 -08:00
Justin Ho
6baf391cac Changing Honeycomb default wallpaper
Change-Id: I5f3b0d8608d1712c3c96d1f9882706fd08c12588
2011-02-03 07:23:43 -08:00
Cary Clark
d9fd857ca9 stop GL drawing thread before killing WebCore
The TexturesGenerator thread references pictures owned by the
WebCore thread, so must be stopped before the WebCore thread
is deleted.

Requires a companion change in external/webkit

bug:3406185
Change-Id: I5b2f8b3b52367b05301c76e5bd22a95fcd0338d5
2011-02-03 05:37:04 -05:00
Michael Jurka
dece29ffd3 adding fast setters for translationx/y 2011-02-03 01:41:49 -08:00
Romain Guy
ac14db72ca Merge "Fast transform properties setters. Bug #3413510" into honeycomb 2011-02-03 01:11:39 -08:00