Commit Graph

14648 Commits

Author SHA1 Message Date
Sid Soundararajan
436da616c8 Merge "Alternate method for adding dismiss in talkback" into nyc-dev 2016-05-25 22:23:05 +00:00
Mady Mellor
b6f640607b Merge "Fix clipping not being activated on children in groups" into nyc-dev 2016-05-25 20:22:42 +00:00
Sid Soundararajan
17d29b6d70 Alternate method for adding dismiss in talkback
This is an alternate solution. Not sure if this is better than
the current solution.

BUG: 28594452
Change-Id: I08b4ca8741ceb3491950ba779510b08775bd0ee7
2016-05-25 11:18:22 -07:00
Selim Cinek
6088cf67e8 Merge "Fixed a bug where the expand button was invisible" into nyc-dev 2016-05-25 18:14:57 +00:00
Jason Monk
c4b6e2a184 Merge "QS Edit: Fix up accessibility" into nyc-dev 2016-05-25 17:11:31 +00:00
Jason Monk
630436c9ed Merge "QS Edit: Hide black bar in landscape" into nyc-dev 2016-05-25 17:11:23 +00:00
Jason Monk
7e10e630b4 Merge "QS API: Handle return value from bindServiceAsUser" into nyc-dev 2016-05-25 17:11:15 +00:00
Jason Monk
d075b21a85 QS: Fix QS touch breaking
Seems not all of the QS container logic was inside the inflate
callback.

Change-Id: I78a8b40d1c181f5dac7127a5b5d20d45ae0f333e
Fixes: 28177371
2016-05-25 12:30:51 -04:00
Jason Monk
6d21e0d8d2 QS API: Handle return value from bindServiceAsUser
To avoid crashes better.

Change-Id: I72e74729fbc0b1400c21e1ebc165b565ecd13fba
Fixes: 28721139
2016-05-25 11:37:47 -04:00
Jason Monk
931f5464f5 QS Edit: Hide black bar in landscape
Change-Id: I954e5571c01945b697c6254c168c1830467ff7db
Fixes: 28924803
2016-05-25 11:19:04 -04:00
Jason Monk
ad5db2979b QS Edit: Fix up accessibility
Change-Id: I13d426d4ae447c7db074bc7165067870bd8cae5d
Fixes: 28913622
2016-05-25 10:54:43 -04:00
Selim Cinek
8fba3b395f Merge "Fixed a few battery issues in SystemUI" into nyc-dev 2016-05-25 00:30:46 +00:00
Selim Cinek
5f56d85552 Fixed a bug where the expand button was invisible
Since the view wasn't layouted yet it was layouting it wrongly

Change-Id: I62fcdde1eda457bab74765a290865b1749b08dac
Fixes: 28869354
2016-05-24 16:55:13 -07:00
Sid Soundararajan
a3cb77a9b4 Merge "Add support for dismissing in Talkback Mode" into nyc-dev 2016-05-24 22:46:27 +00:00
Mady Mellor
f229d406d0 Fix clipping not being activated on children in groups
Some views were not getting the call to reactivate clipping
this is because only the when the view was made visible
was it reset, views made invisible would be missed.

Fixes: 27364129
Change-Id: Ie6944569f432cd657f7f741c95c4067b346ea98b
2016-05-24 15:01:22 -07:00
Selim Cinek
ea66ca0225 Fixed a few battery issues in SystemUI
Fixed a bug where animators could run forever because of
a negative start delay.
Also fixed a bug where the shadow would continuously update
when it shouldn't.

Change-Id: Id115d179d99fecf72c5f2b3be1a4c8590361469e
Fixes: 28930837
2016-05-24 14:22:21 -07:00
Adrian Roos
0444314f8b Merge "Keep notifications with active remote inputs" into nyc-dev 2016-05-24 21:13:30 +00:00
Adrian Roos
a9c0d3ff19 Merge "Fix janky swiping with RemoteInputViews" into nyc-dev 2016-05-24 21:13:21 +00:00
Mady Mellor
31e49b0964 Merge "Children should have backgrounds" into nyc-dev 2016-05-24 20:59:50 +00:00
Sid Soundararajan
a95568b846 Merge "Add Content Description for Focusable Elements in TV Recents UI" into nyc-dev 2016-05-24 20:21:35 +00:00
Selim Cinek
c178f519b9 Merge changes I7773ed3a,I73d97d9a into nyc-dev
* changes:
  Added accessibility action for scrolling the notifications
  Fixed a bug where the text directionality was inconsistent
2016-05-24 20:01:24 +00:00
Sid Soundararajan
0a02df5310 Add Content Description for Focusable Elements in TV Recents UI
Reusing strings from phone version. Will need new strings in MR1.

BUG: 28594452
Change-Id: I49dda83bb1d0d032a22d5171541123525fee929e
2016-05-24 11:49:46 -07:00
Mady Mellor
b0a824687f Children should have backgrounds
To add a background to children of a group, a couple of things
are changed when a group is in the expanded state:
- The parent's shadow + background is removed
- The group header is given a background and elevation
- The children are elevated to cast a shadow and have backgrounds
- When it's fully expanded the dividers won't be shown
- There's extra height added to the parent so that the child
  may cast the bottom shadow of the group
- As the children move into the bottom stack the last visible
  one alters its height and the ones below it are hidden
  to achieve the clipping effect

Fixes: 27591195
Fixes: 28655641
Change-Id: I0484308843e9b8bc10391387e54de07973a48f7d
2016-05-24 11:39:12 -07:00
Sid Soundararajan
1103bfca8d Add support for dismissing in Talkback Mode
This should let the user be able to access dismiss in talkback
mode. However, because talkback relies on focus changes to work,
the focus change animator is disabled. This means some visuals
will not work the same as when talkback is turned off.

BUG: 28594452
Change-Id: Idb443fe559bd7a636ff381e6727f81d41d0bd325
2016-05-24 11:33:01 -07:00
Jason Monk
8a1561a772 Merge "QS: Don't cause click noise when opening from QQS" into nyc-dev 2016-05-24 13:35:03 +00:00
Jaewan Kim
75822138ad Merge "PIP: Handle configuration changes" into nyc-dev 2016-05-24 00:05:27 +00:00
Selim Cinek
c22fff6cf6 Added accessibility action for scrolling the notifications
Also made the stackscroller focusable if and only if it is
scrollable. This will allow it to be important for accessibility
again.

Change-Id: I7773ed3a19d23f6bc62a1b9a23464cfbecd0ec03
Fixes: 25673942
2016-05-23 16:51:16 -07:00
Sid Soundararajan
0513125c92 Merge "Add a check to adjust thumbnail scaling for full screen shots on TV" into nyc-dev 2016-05-23 19:56:43 +00:00
Selim Cinek
a56e732c01 Merge "Fixed a flashing when the affordances were launched" into nyc-dev 2016-05-23 19:26:23 +00:00
Selim Cinek
7fc88ac214 Merge "Fixed a bug where the scrim could flash black when snoozing huns" into nyc-dev 2016-05-23 19:25:56 +00:00
TreeHugger Robot
4a4b76f6e8 Merge "Fixed a crash with the autocancelling" into nyc-dev 2016-05-23 19:21:57 +00:00
Jason Monk
c33f328a74 QS: Don't cause click noise when opening from QQS
Bug: 28770315
Change-Id: I972ae81b07db38699c4d88dbf1c556ea17258782
2016-05-23 14:40:27 -04:00
Winson
7660bca509 Removing extra haptic feedback.
- ag/923796 changed the logic to always return true, so these extra 
  calls are no longer needed.

Bug: 28867314
Change-Id: I07a4f6ac772a1444bba1950b2f27aa4be58a8419
2016-05-23 18:24:49 +00:00
Selim Cinek
53c4d3d23e Fixed a crash with the autocancelling
Change-Id: If9cb9cc89bafbc9e7e053b4758382239bac97adc
Fixes: 28878632
Fixes: 28898623
2016-05-23 10:56:34 -07:00
Sid Soundararajan
4332dda9a7 Add a check to adjust thumbnail scaling for full screen shots on TV
This should let us get away with taking smaller bitmaps for TV.

BUG: 28371792
Change-Id: Ia5d43dd48c57c4dd519b46f0c0d0ec94df5f42a9
2016-05-23 10:39:00 -07:00
Winson
f60a4af047 Catching all exceptions when docking.
- Catch all exceptions thrown when docking an activity (similar to when
  we start an activity) to allow us to gracefully handle the failure and
  animate the task back into the stack.

Bug: 28867188
Change-Id: I3f80d261343c0161c5cbfd08a05a1fc6157f653e
2016-05-23 17:12:33 +00:00
Bill Yi
88a2eff6cb Import translations. DO NOT MERGE
Change-Id: I23d94944484c50e6fae32f95b34406055078299e
Auto-generated-cl: translation import
2016-05-23 01:53:03 -07:00
Jaewan Kim
2d4d07c663 PIP: Handle configuration changes
Bug: 28727532
Change-Id: I2a566082fa88984ef56d6ed8515c9bcd6a6ea868
2016-05-23 10:30:36 +09:00
Baligh Uddin
263bf1f4b9 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 28857042
Change-Id: Ic64c474ffea820c8d329796bc6f84bb7b2704c2d
2016-05-21 19:10:02 -07:00
Adrian Roos
d009ab1e2a Fix janky swiping with RemoteInputViews
Change-Id: Ie0f525b886c41fdd0f3ef7cc7efb525ed08f3560
Fixes: 28885122
2016-05-20 17:59:01 -07:00
Adrian Roos
18d099a8fb Keep notifications with active remote inputs
Fixes a bad interaction when the app cancels the notification
into which the user is typing. This happens for example when
the user initiates direct reply from the lock screen and the
app is currently open underneath the lockscreen.

Also cleans up the code that clears notification effects by
moving it into the appropriate place (without functional changes).

Fixes: 28745456
Change-Id: I69e076642e93930d41cfb06f2a48836aea34d92d
2016-05-20 14:02:20 -07:00
Jason Monk
d1df86dbb8 Merge "QS: Fix RTL animation" into nyc-dev 2016-05-20 19:42:40 +00:00
Jason Monk
61d118d650 QS: Fix RTL animation
Change-Id: I9de6e0891fa98ec2212abe28fa942779aa224056
Fixes: 28674500
2016-05-20 14:44:16 -04:00
TreeHugger Robot
6c2bc3db95 Merge "Nav bar: fix tablet density change issues" into nyc-dev 2016-05-20 16:52:20 +00:00
Jason Monk
9a6552d71f Nav bar: fix tablet density change issues
- Re-inflate the contents of the NavigationBarInflaterView
 - Call up to parent to notify the contents has been reinflated
 - Fix how default tunable is handled, so that the resource is
   reloaded on density change

Change-Id: If25f68d01eedd3319b0c270e1cf80ac382eea637
Fixes: 27227522
2016-05-20 11:21:59 -04:00
Jason Monk
b8fe7e8bff Merge "QS Edit: Better handling if drags" into nyc-dev 2016-05-20 13:42:57 +00:00
Selim Cinek
07304f5224 Fixed a flashing when the affordances were launched
Because we can't draw it as source in that case.

Change-Id: I14039959a5fedbc57358e2e343a3d0d185dcec17
Fixes: 28735933
2016-05-19 18:31:36 -07:00
Selim Cinek
b5d6687c56 Fixed a bug where the scrim could flash black when snoozing huns
Because of an underflow the alpha could actually become 0xff instead
off 0 which would be visible as a black scrim. This was because of
our local updating of animators.

Change-Id: I4201a4bbfbc7cbf32819f4814c165d0e11adaadb
Fixes: 28840532
2016-05-19 14:38:10 -07:00
TreeHugger Robot
2486cb2c89 Merge "Fixed a bug where the chronometer was invisible" into nyc-dev 2016-05-19 20:40:26 +00:00
Jason Monk
dd03659cb4 QS Edit: Better handling if drags
- don't add/remove divider, hide/show it
 - don't break drag sequence by returning false
 - clean up some logic

Change-Id: I3236b1bc8a1a810e6e696c21af747bd6369c5050
Fixes: 28067638
2016-05-19 13:59:41 -04:00