4107 Commits

Author SHA1 Message Date
Baligh Uddin
ce5ff4b193 Import translations. DO NOT MERGE
Change-Id: I3ac485cae338d17582e3570775d6121f368ecb8a
Auto-generated-cl: translation import
2014-03-24 10:32:44 -07:00
Winson Chung
e9c77aee60 Merge "Fixing crash with multiple touch pointers" 2014-03-21 23:03:16 +00:00
Winson Chung
4c71aefcbd Fixing crash with multiple touch pointers
- Adding support for force-reloading certain thumbnails (in prep for fix to Bug. 13587139)
- Use withLayer and withEndAction on ViewPropertyAnimator animations
- Ensuring that we close the notifications panel when we toggle recents

Change-Id: Ied2d841de42046fcb09fffb615156b07b4a67136
2014-03-21 16:00:18 -07:00
John Spurlock
3daafcd7ba Merge "Annotate framework vibrate calls with stream hints." 2014-03-21 19:51:44 +00:00
Chris Wren
5d9b153db3 lower the heads up threshold to exactly PRIORITY_HIGH
Bug: 13452562
Change-Id: I945ce22fa7253ff84fcc3d72f4cb732921ba3489
2014-03-21 15:08:42 -04:00
John Spurlock
824ad0e6f9 Merge "Unhide notification category." 2014-03-21 14:26:55 +00:00
John Spurlock
fd7f1e0039 Unhide notification category.
Rename @hidden Notification.kind -> category, and flesh out
shared values.  Now a single value.

Update framework references, remove unused SystemUpdateService
magic value unused since 2012.

Change-Id: If06d19ff3a8c3125fca1457f5d3c665e2939c66c
2014-03-21 09:25:00 -04:00
John Spurlock
f9e1a0b369 Annotate framework vibrate calls with stream hints.
Migrate existing framework usages of Vibrator.vibrate to use
the new overload with an explicit stream hint.  This prevents
them from being blocked by rules targeting the unspecified stream.

For calls that pass the existing appops check in VibrateService,
pass streamHint down to the input device vibrator so we don't lose
the signal, but leave it up to InputManager to decide what to do
with it - currently unused.

Change-Id: I65c944e4010edea29a412bf57d8d7d3b8098b746
2014-03-21 08:57:53 -04:00
Winson Chung
dd1b145158 Merge "Catching case where the activity we are launching from Recents no longer exists." 2014-03-21 01:14:07 +00:00
Winson Chung
c620bafde8 Catching case where the activity we are launching from Recents no longer exists.
- Also bounding the launch task rect to prevent transitions from far far away when launching a task
2014-03-20 18:12:37 -07:00
Baligh Uddin
f1bf634804 Import translations. DO NOT MERGE
Change-Id: Iecc45fe69925b925ccae978a5848b082896db62c
Auto-generated-cl: translation import
2014-03-19 10:29:37 -07:00
Jeff Brown
beb2fc9b71 am f9c69fc8: am 322dc212: am 1eac8391: am c9a7eeba: am 4cb1bc28: Merge "Refresh cast icon assets to improve visual contrast." into klp-dev
* commit 'f9c69fc8b809b295540ea737d194b061159a500b':
  Refresh cast icon assets to improve visual contrast.
2014-03-19 01:11:02 +00:00
Jeff Brown
1eac839165 am c9a7eeba: am 4cb1bc28: Merge "Refresh cast icon assets to improve visual contrast." into klp-dev
* commit 'c9a7eeba15641da5a5bc8499e813e6c2211506ff':
  Refresh cast icon assets to improve visual contrast.
2014-03-19 00:55:39 +00:00
Jeff Brown
c9a7eeba15 am 4cb1bc28: Merge "Refresh cast icon assets to improve visual contrast." into klp-dev
* commit '4cb1bc2877f8562e6d349a6c737a3055ef4eaa29':
  Refresh cast icon assets to improve visual contrast.
2014-03-19 00:25:41 +00:00
Winson Chung
bd91297e89 Fixing issue where launching a task was delayed due to a previous start delay being set on a ViewPropertyAnimator.
- adding logging for timing certain paths (including startup and task launch)
2014-03-18 14:44:24 -07:00
Winson Chung
7048fea75c Moving alternate recents component logic into its own file.
- Adding min delay between toggles of recents
- Merging changes to show related recents

Change-Id: I2201a9f98417e26cdfb1c16cb0a2ef095d2cd5fc
2014-03-18 14:44:24 -07:00
Jeff Brown
f1e8d36327 Refresh cast icon assets to improve visual contrast.
Bug: 13473719
Change-Id: Ia82b2bc487a612f24bbe47f7d6e9182e862bcefa
2014-03-18 14:40:43 -07:00
Kenny Guy
ecc9f9b6f3 Merge "Add flag to allow fetching related users recent tasks." 2014-03-18 11:43:46 +00:00
Winson Chung
93bb3969c1 Merge "Fixing issue with cards being rendered under the nav bar after a configuration change due to improperly setting the system insets." 2014-03-18 02:09:37 +00:00
Winson Chung
bb5278b663 Fixing issue with cards being rendered under the nav bar after a configuration change due to improperly setting the system insets. 2014-03-17 19:07:56 -07:00
Winson Chung
7b5d857efa Merge "Using the RecentsService connection to toggle recents" 2014-03-18 01:23:23 +00:00
Winson Chung
47c4c69575 Using the RecentsService connection to toggle recents
- Adding over scroll snap back when flinging stack

Change-Id: Ife9692ece95e0a40649d0b4b72ec4ea99ffabc16
2014-03-17 18:10:24 -07:00
Kenny Guy
82326a98a4 Add flag to allow fetching related users recent tasks.
Fetch related users recent tasks along with requested users
tasks when flag is set
Set flag in requests coming from systemui/recents.

Change-Id: I985e2d9d6b9728603685fc6126e8193af119e172
2014-03-17 19:45:17 +00:00
Geoff Mendal
19a1dcf04f Import translations. DO NOT MERGE
Change-Id: Ic610f196330c190df9bf2dfcceb0dd2437250b7d
Auto-generated-cl: translation import
2014-03-17 10:18:49 -07:00
Winson Chung
a1e4bf9b6c Merge "Fixing crash when ActivityManager does not have a proper thumbnail" 2014-03-17 01:54:26 +00:00
Winson Chung
0662038bcb Merge "Simplifying memory management, use Task Keys as resource cache keys." 2014-03-17 01:54:04 +00:00
Winson Chung
7124390f9d Fixing crash when ActivityManager does not have a proper thumbnail
- Fixing issue with hw layers ref count not properly being incremented and decremented
- Preventing message handler from keeping a strong ref to the RecentsService
2014-03-14 17:52:47 -07:00
Winson Chung
04dfe0d26b Simplifying memory management, use Task Keys as resource cache keys.
- Attempts to load non-topmost task thumbnails from cache
- Ensuring that we release all references to the activity from the bg loader
- Removes background loading debug flag
- Moving callbacks into their respective classes
- cleaning up some callbacks when data is loaded in the bg

Change-Id: Ibb968349d08084922d5b28e432b76a165bf20d6b
2014-03-14 16:53:45 -07:00
Winson Chung
050b39bd5f Merge "Fixing memory leaks related to Tasks holding onto their callbacks." 2014-03-14 20:34:27 +00:00
Winson Chung
4d7b092a86 Fixing memory leaks related to Tasks holding onto their callbacks.
- Switching to SwipeHelper
2014-03-13 17:14:17 -07:00
Baligh Uddin
df385f2b4c Merge "Import translations. DO NOT MERGE" 2014-03-13 16:22:45 +00:00
Kenny Guy
4979ff9f28 Merge "Show notifications from related users." 2014-03-13 11:57:55 +00:00
John Spurlock
3424c41e4e Merge "Move zen-mode systemui affordance to quick settings." 2014-03-12 23:06:00 +00:00
John Spurlock
d389ff7d89 Move zen-mode systemui affordance to quick settings.
Remove the gesture-based invocation from the notifcation
panel, create a new QS tile to display current state.

Clicking the tile reveals an interstitial dialog for
confirmation of mode changes.

Change-Id: I6760ce3f097d5dcfd0af5177287dbf4ff632b47e
2014-03-12 17:26:09 -04:00
Kenny Guy
3a7c4a5669 Show notifications from related users.
When filtering notifications for user include those for users that
are related to the current user.
Pipe through user id so we know which user the notification is for.

Change-Id: I4e2657c23bd7b611d450be5a1f9457824bc062cb
2014-03-12 19:51:03 +00:00
Dan Sandler
a07605fcd7 Merge "Insulate SystemUI from IDs in inflated notification views." 2014-03-12 17:18:43 +00:00
Baligh Uddin
8c68173234 Import translations. DO NOT MERGE
Change-Id: I3d7d91a2d618011ef9c0b7f746e76f9f4de16afc
Auto-generated-cl: translation import
2014-03-12 09:48:44 -07:00
Dan Sandler
6d94aa7a4e Insulate SystemUI from IDs in inflated notification views.
We use the hidden View.setIsRootNamespace() in the same way
that AppWidgetHostView does: to block recursive ID search
traversals from traveling into notification views, which
might have children with IDs that collide with SystemUI's
own views. (Views inside notifications can still be located
by ID, but you need to start your search inside the
inflated notification row.)

Bug: 13421971
Change-Id: If8b81b9d0ed4b0eb6fa1e028275caa0b932f5759
2014-03-12 00:53:21 -04:00
Winson Chung
303e1ff1fe Initial changes for recents.
Change-Id: Ide2c202b4a5b25410f0f32bd0a81ccf817ede38f
2014-03-11 12:03:08 -07:00
Baligh Uddin
7026d47ac7 Import translations. DO NOT MERGE
Change-Id: I80c4b6560d759272c7f605df5ff8fbef8b36486d
Auto-generated-cl: translation import
2014-03-10 13:14:43 -07:00
John Spurlock
668fd22690 Merge "Tweaks to zen mode shade UI." 2014-03-07 18:54:06 +00:00
John Spurlock
679fca5504 Tweaks to zen mode shade UI.
Haptic feedback when shade is unlatched, and don't commit to expansion
until gesture up.

Bug:13359710
Change-Id: I128afc15c01478f643400da8b96679fcf1c89bf2
2014-03-07 13:38:09 -05:00
Jorim Jaggi
2d171a5bce Merge "Change appearance of notifications to light theme." 2014-03-07 14:07:07 +00:00
Jorim Jaggi
39fa59fc49 Change appearance of notifications to light theme.
Change-Id: Ic15e96582d6b46b4dc195b1c7c0cef38f25f0d38
2014-03-07 14:34:17 +01:00
John Spurlock
6dd48a4e54 Merge "Separate power warnings UI from state calculation." 2014-03-07 13:28:58 +00:00
Alan Viverette
858a0405ec Add icons for display adjustment quick settings
BUG: 13028934
Change-Id: I437abc48ad34364995b37c504019f7a4871c8031
2014-03-06 18:36:43 -08:00
John Spurlock
ed452c5f84 Separate power warnings UI from state calculation.
Move the existing dialog-based implementation into another class.

Bug:13329308
Change-Id: I87beac1593fd4eea2ea8a498381f7fcc289e0bc0
2014-03-06 17:18:30 -05:00
Baligh Uddin
c61f089c2d Import translations. DO NOT MERGE
Change-Id: I2f2a00a4ac7687920c35b86f1e26a3848c489e60
Auto-generated-cl: translation import
2014-03-05 10:38:50 -08:00
John Spurlock
0a3bc3c4d2 am 2cc271eb: am d36ede39: Merge "Allow lights-out + bar icon dimming on low-end devices." into klp-dev
* commit '2cc271ebbccc251ef96edee16b79a22fcf856244':
  Allow lights-out + bar icon dimming on low-end devices.
2014-03-04 19:15:49 +00:00
John Spurlock
2cc271ebbc am d36ede39: Merge "Allow lights-out + bar icon dimming on low-end devices." into klp-dev
* commit 'd36ede391619e6fc8a1553f5b2f4b33b3603cd65':
  Allow lights-out + bar icon dimming on low-end devices.
2014-03-04 19:12:33 +00:00