24024 Commits

Author SHA1 Message Date
Daniel Sandler
60ee25643e The fullest of fullscreen modes.
View.setSystemUiVisibility() now properly accepts a
bitfield, including:

  * SYSTEM_UI_FLAG_LOW_PROFILE: "lights out mode"
    (previously known, erroneously, as STATUS_BAR_HIDDEN)

  * SYSTEM_UI_FLAG_HIDE_NAVIGATION: for when you need every
    single pixel on a device that also has a navigation bar

These flags are painstakingly aggregated across the entire
view hierarchy and carefully delivered to the status bar
service, which in turn gently passes them along to the bar
implementation.

To really get access to the whole screen, you need to use
HIDE_NAVIGATION in conjunction with FLAG_FULLSCREEN and
FLAG_LAYOUT_IN_SCREEN. See development/samples/Overscan for
an example of how to do this.

Change-Id: I5fbfe009d9ceebbbf71db73f14a7008ea7c1d4da
2011-07-28 15:18:32 -04:00
Adam Powell
7c8d19d53c Merge "Fix bug 5087752 - Maintain correct contrast against action bars in inverse-bar themes" 2011-07-28 11:58:21 -07:00
Adam Powell
88ab69780f Fix bug 5087752 - Maintain correct contrast against action bars in
inverse-bar themes

Add the actionBarWidgetTheme theme attribute. This lets a theme
specify a wrapper theme that can be used to create views that will
end up in the action bar so that the rest of the code can ignore
differences in contrast. (e.g. the inverse action bar themes.)

Apps can use ActionBar#getThemedContext() to obtain a Context with a
proper theme for views that will end up in the action
bar. MenuInflaters generated by Activities will automatically use this
to properly theme inflated action views.

Change-Id: Ib28c82bf47c25d446cca2a63f617b8a4a0afa6b2
2011-07-28 11:44:41 -07:00
Jeff Sharkey
5c848ce793 Keep original DialogTitle color when resizing.
Change-Id: Id9d3bf565cc5660ab37037e74be63221cd638ba6
2011-07-28 11:35:04 -07:00
Svetoslav Ganov
a28a16d1c2 Updating the data base upgrade/creation code for the new touch exploraion setting.
1. Update the database creation/upgrade code to take care of the new setting
   to enable touch exploration.

2. Made the tocuh exploration settings persistent to the cloud.

Change-Id: Ie24e9184b4a21869432d11d207cb6464fadbac3b
2011-07-28 11:26:02 -07:00
Svetoslav Ganov
a7ffaee298 Merge "AccessibilityNodeInfo reports no children for the topmost view in the tree." 2011-07-28 11:09:43 -07:00
Justin Ho
3c469975b0 Merge "Updated expander assets" 2011-07-28 10:39:36 -07:00
Martijn Coenen
9b3c83fbad Add constant for NFC sharing settings screen.
Change-Id: Ibeea153442110542f05d1ece57a7dc6388a91fbf
2011-07-28 12:37:18 -05:00
Adam Powell
b03c4af05e Merge "Fix bug 5087980 - MenuItem#expandActionView should work from within onCreateOptionsMenu" 2011-07-28 10:02:14 -07:00
Justin Ho
4e6d28cfdc Updated expander assets
Bug: 5088810
Change-Id: I57cb86eb3a977a6bc4d4a9de0d8a266c23dba24e
2011-07-28 10:00:11 -07:00
Kristian Monsen
77d739006a Merge "Part of fix for bug 4997380: Some error types unknown to SslError" 2011-07-28 06:50:40 -07:00
Jean Chalard
f40216f98a Fix a bug where a provider could be never released.
Bug: 5034192
Change-Id: I5d4adf27ea933687d4a0bc5ee76d57b74e708eec
2011-07-28 21:45:50 +09:00
Jeff Sharkey
2043b01b20 Merge "Maintain separate "restrict background data" flag." 2011-07-27 22:08:02 -07:00
Jeff Sharkey
4664500de0 Maintain separate "restrict background data" flag.
Since "restrict background" depends on active networks, separate its
definition from setBackgroundDataSetting().

Bug: 4979025
Change-Id: I12bfe3a2e606375b39c67706270caa7a1bb0214e
2011-07-27 21:11:32 -07:00
Adam Powell
ccdd4ee44f Fix bug 5087980 - MenuItem#expandActionView should work from within
onCreateOptionsMenu

Initialize menu presenters early enough to respond to expanding an
action view within onCreateOptionsMenu.

Have SearchView show the IME as an async post to handle attempts to
show it while the UI is still in initial setup.

Change-Id: I77f3a94ed4397737edb5a7a15bf54993b6723f5e
2011-07-27 21:08:28 -07:00
Romain Guy
b6f7a27c59 Merge "Reclaim more memory, more often." 2011-07-27 18:53:32 -07:00
Romain Guy
65b345fa22 Reclaim more memory, more often.
Yay.

Change-Id: I04557ad575c307a55088549f48f0e9ad994b7275
2011-07-27 18:51:50 -07:00
Chia-chi Yeh
fcbb492486 Merge "Unhide APIs for user space VPN." 2011-07-27 18:35:51 -07:00
Jeff Sharkey
06a2895b58 Merge "Grant AID_NET_BW_STATS to system service." 2011-07-27 18:09:42 -07:00
Dave Santoro
1d55c3343d Added ACCOUNT_TYPE_AND_DATA_SET pseudo-column.
This was added to simplify some logic in the provider and app, as
there are places that can simply compare the concatenation of the
account type and data set.

Also added a DATA_SET extra for contact creation, to allow for this
value to be passed around via intents.

Bug 5077096

Change-Id: Ia0634cfcf4590fd90ccb5cb99360c38c86f08d25
2011-07-27 17:16:12 -07:00
Gilles Debunne
041eb4bddb Merge "Bug 4571327: error popup empty when displayed on top" 2011-07-27 16:47:26 -07:00
Romain Guy
c8ec222cd8 Merge "Destroy layers and flush layers cache when a window is destroyed." 2011-07-27 16:31:19 -07:00
Jeff Sharkey
e516893097 Grant AID_NET_BW_STATS to system service.
NetworkManagementService is reading stats /proc/ files, which are now
being protected by GID.

Bug: 5087530
Change-Id: I29b35a97ab621999544b6acc8ad4cf72ee053b79
2011-07-27 16:30:00 -07:00
Romain Guy
6d7475d666 Destroy layers and flush layers cache when a window is destroyed.
Change-Id: I3fa1bc3ff50fb99e3d2e490925bd6b0a0f809fff
2011-07-27 16:29:39 -07:00
Svetoslav Ganov
93b2182a2e AccessibilityNodeInfo reports no children for the topmost view in the tree.
1. My previous change to restrain AccessibilityNodeInfo to report children
   if it is root namespace did not take into account that the tompost view
   i.e. the decor view actually is a root namespace. Adding check to allow
   the info to report children of rthe topmost view but do not do so if a
   descendant is flagged as root namespace.

bug:5086988

Change-Id: Ib82b8ebe5a2c287ab1c5333d130ec50eb9ced78c
2011-07-27 16:02:55 -07:00
Kenny Root
4f35092af5 Merge "Move extract native libraries to JNI code" 2011-07-27 15:54:51 -07:00
Jeff Brown
3d5a703db8 Merge "Report the external display size to the input reader." 2011-07-27 15:54:50 -07:00
Jeff Brown
be922d6006 Merge "Handle stylus buttons and tool types." 2011-07-27 15:54:41 -07:00
Jeff Sharkey
d02fa35e8c Merge "Revise data limit notifs, watch kernel alerts." 2011-07-27 15:52:24 -07:00
Adam Powell
257466d4e2 Merge "Bug 5076788 - Optimize the building and invalidation of menus" 2011-07-27 15:47:04 -07:00
Chris Craik
24f2936d35 Merge "Use WebTextView overlay to render text fields/areas much faster" 2011-07-27 15:46:44 -07:00
Adam Powell
89b09da7b3 Bug 5076788 - Optimize the building and invalidation of menus
Fix cases that weren't batching menu presenter changes correctly.

Have FragmentManager invalidate the options menu less often.

Change-Id: Ia66fcd09ada8b0a084ad6b08d4340a8fa0c8fc5d
2011-07-27 15:37:58 -07:00
Svetoslav Ganov
e1b9259190 Merge "Not user generated accessibility events can change the interrogation allowing window." 2011-07-27 15:24:10 -07:00
Scott Main
812634c236 cherrypick Change-Id: I213711f4b5d867ba91c961a2f098b6cc415cfcb3
docs: clarify framelayout class summary, issue 5055437

Conflicts:

	core/java/android/view/View.java
	core/java/android/widget/FrameLayout.java

Change-Id: Ia446d2d4cc798757d7aea104cfaf75fc2315dc50
2011-07-27 13:22:35 -07:00
Dianne Hackborn
f2fa907e1f Merge "Fix issue #4466531: onServiceConnected() not called after..." 2011-07-27 12:19:40 -07:00
Amith Yamasani
6a7421ba94 Don't submit a query if it's whitespace only.
Just to maintain backward compatibility. It's not documented that a space
is not a valid query, but it does make sense to expect that.
Bug: 5079755

Also avoid showing an x by an empty query, by having the SearchDialog simulate an ActionBar.

Change-Id: I3a9332286a439b659e179a249587c491ef29e5c1
2011-07-27 11:55:53 -07:00
Scott Main
36193d09a8 cherrypick Change-Id: I4713d3977a0a1514ff9c4217e7f3723c0346d0d8
docs: revise ActionBar class summary and add a few links to dev guide docs

Change-Id: I14df84b16d7bdab85aa74d8b8211e988b0519115
2011-07-27 11:21:33 -07:00
Chris Craik
e3e7a88b4d Use WebTextView overlay to render text fields/areas much faster
bug:5008210

Still has the following issues:

* colors are always black & white

* ignores centering, word wrap from text area

* gray background text (such as with instant search) and other textfield effects
  aren't shown

The DebugFlags.DRAW_WEBTEXTVIEW can still be used to overlay red text over the
input box.

Change-Id: I7f22321c31b9edbc5351cac13f2e17b0ee19d563
2011-07-27 11:19:14 -07:00
Amith Yamasani
84935dc2c0 Merge "Make sure that suggestions are queried on focus or tapping." 2011-07-27 10:54:15 -07:00
Amith Yamasani
377fe39329 Merge "Handle callbacks to CollapsibleActionViews that are in an actionLayout." 2011-07-27 10:53:25 -07:00
Jeff Sharkey
693d0427b7 Merge "Avoid sync when UID network is disconnected." 2011-07-27 09:41:39 -07:00
Jeff Sharkey
41ff7ec824 Revise data limit notifs, watch kernel alerts.
Teach NetworkPolicy limits to "snooze" when requested by user, and
notify with both dialog and notification.  Register for network alerts
through NMS to trigger updates immediately instead of waiting for
next stats update.

Enforce that all NetworkPolicy are unique on a template basis, and
move SCREEN_ON/OFF broadcasts to background thread.  Launch SystemUI
and Settings directly instead of using actions, and include full
NetworkTemplate in extras.

Tests to verify notification and snooze behavior.

Bug: 5057979, 5023579, 4723336, 5045721
Change-Id: I03724beff94a7c0547cb5220431ba8d4cd44d077
2011-07-27 09:31:39 -07:00
Gilles Debunne
a94b9ad23a Merge "Bug 4987014: a tap outside dismisses the text suggestion popup" 2011-07-27 09:31:02 -07:00
Robert Greenwalt
af75fdb165 resolved conflicts for merge of 41394a36 to honeycomb-plus-aosp
Change-Id: Ic839eb7bd8081b94802dbbf9140b9d1fa0cf7df3
2011-07-27 09:27:00 -07:00
Eric Laurent
d8d3276a29 Merge "Fix issue 4604090: notification sound interrupted." 2011-07-27 09:02:47 -07:00
Narayan Kamath
3ebdb48921 Merge "Reduce the priority of the TTS thread." 2011-07-27 08:15:48 -07:00
Daniel Sandler
73fc6d521a Merge "Smaller, darker notification icons." 2011-07-27 06:17:33 -07:00
Narayan Kamath
84deb60cf1 Reduce the priority of the TTS thread.
It's at a very high priority currently - and will trump
foreground processes (and UI threads) which it shouldnt.

bug:5076001
Change-Id: I0d71c2941950782491ae31526a47ea6f97c38ffb
2011-07-27 13:22:09 +01:00
Dianne Hackborn
130b0d2b26 Fix issue #4466531: onServiceConnected() not called after...
...apk reinstall; affects user privacy

Disconnecting a ServiceConnection after an app is torn down could
impact the bookkeeping of the same service if it has been started
for the app.

Also address issue #5073927: GSF process can't be killed

A new flag allows the systems location manager service to tell
the activity manager to not pull bound services up forever into
the visible adj level.

Change-Id: I2557eca0e4bd48f3b10007c40ec878e769fd96a8
2011-07-26 22:07:48 -07:00
Daniel Sandler
26c84b139f Smaller, darker notification icons.
(Still need to attempt to mipmap them but this will do for
now.)

Bug: 4691635
Change-Id: I8793d6a453fcbe0c2ce30b6349e4e5ef3f1a6e56
2011-07-27 00:09:40 -04:00