1. Views may setSystemUiVisibility() to recommend that
the system chrome (status bar or other UI) show or hide
itself. (This functionality was previously available only
via the FLAG_FULLSCREEN window flag for some SystemUI
implementations.)
2. Views may register a OnSystemUiVisibilityChangedListener
on a view, and find out when the system UI actually
appears or disappears, allowing apps to coordinate the
appearance of their own UI if desired.
Bug: 3241144
Change-Id: Ia1758d94099182d49a1e3688ea2738ae4995b829
We're still not stretching the panel smoothly yet; this just
fades the panels in and out at the right times.
Bug: 3323063
Change-Id: I6eb87c44726f48f39fab77710b1ffe5d0783d588
Similarly, touches in the glow area surrounding the panel
title no longer switch into settings mode.
Bug: 3339023
Change-Id: I142e500a55ecfca24082c28e75e5e71c1524ad56
This might fix the bug where tapping outside the notification panel doesn't close it.
I'm not 100% sure because I can't reproduce this on-demand, but I think it's possible for
onSizeChanged to race with the animations and we end up with a bad rectangle. The time
I did see it happen was tapping above the title area right after canceling a notification,
so that could explain it I think.
Bug: 3339023
Change-Id: Ic3a7f4c059e7bf6f30b864a371a0912a6414edb7
3362464 API REVIEW: android.content potpourri
3362445 API REVIEW: Fragment transaction stuff
3362428 API REVIEW: Fragment stuff
3362418 API REVIEW: Loader stuff
3362414 API REVIEW: android.content.pm.ActivityInfo
Change-Id: I6475421a4735759b458acb67df4380cc6234f147
This updates the animation and fixes a few bugs with showing
and hiding recents as well as tweaks from UX in animation
timing, effects and the background protector.
Change-Id: I1c57e566408c7b732a0c902e27125951d0277322
I think what was happening is that it was using a different layout but we were trying to reapply the
RemoveViews because of some bad boolean logic. This fixes that, and adds some better debugging that
might show us what else is happening.
Bug: 3298062
Change-Id: I0984f24cb2960166c79b9f2cc7c6a98bd75e17ba
There will be, in the future, a flag (View.DRAG_FLAG_GLOBAL) that means
for the drag to be cross-application. For now that flag constant is @hide
and furthermore the server-side implementation strips it, enforcing
local-only drags.
Change-Id: I8db840480ab90e18a5b8ecf29d62b4e6eafd405e
Added light/dark versions of holo dialog icons. Apps using
AlertDialogs that wish to use the system dialog icon should use
setIconAttribute(android.R.attr.alertDialogIcon) instead of
setIcon(android.R.drawable.ic_alert_dialog).
Change-Id: I40793a3164478be5ffa045ededfcab8210753a4b
Reversing the animations isn't working well, but re-creating
them in the correct direction is, so we'll use that for now.
Bug: 3326529
Change-Id: I40fdbd1d02bb8028d4d1f1bceb15f2c335366063
The connectivity services does not seem to return meaningful network types. That's ok because we
get good ones from the telephony service anyway.
Also adds a ton of stuff for adb shell dumpsys activity service SystemUI TabletStatusBar
Bug: 3255953
Change-Id: If4bf413a628a8ffc338c83a9c33bfd367d6d2796
This fixes a bug where Recents would crash when the
thumbnail for the given app isn't available. The
defined behavior for this situation should be just
the app icon on top of the default glow background.
Change-Id: Ie5a3a7878381a6b8fc640319fccfc16387e3d4cc
This centers the thumbnail in the given glow background and
reduces compositing by one window per recent item.
Change-Id: I228648022e12214fb3d8b66067e214cef5aaf8e9
This fixes a bug where all recent apps disappear because the
binder transaction fails due to size constraints.
Change-Id: I173e552e820314b4c539aaf356cef4042a0822e9