12533 Commits

Author SHA1 Message Date
Jason Monk
c34befb319 Quick prototype of new header
- Has first 4 quick tiles shown in collapsed mode
 - Shows date + settings gear in expanded mode
 - Still has a few gaps (alarms probably don't work)
 - Fix issue with placement of cell data type indicator

Change-Id: I629798b96f4f088fde47c7b67feea304dcc8450c
2015-10-12 16:15:26 -04:00
Winson Chung
3f669082aa Merge "Allowing multiple preferred drag regions for tablets." 2015-10-12 18:38:59 +00:00
Winson
882072baac Allowing multiple preferred drag regions for tablets.
Change-Id: I514e501d185f4139ce21798fc92bc931626c8239
2015-10-12 11:26:33 -07:00
Michael Wright
9209c9cd9a Add SystemUI component to watch for keyboard attachment.
Add a new SystemUI component to watch for keyboard attachment /
detachment. If the config specifies the name of a keyboard that is
packaged with the device, then SystemUI will ask the user if they
would like to enable BT (if disabled) and then attempt to pair to the
device.

Bug: 22876536
Change-Id: I786db35524d49706d5e61d8b8bc71194d50113f3
2015-10-12 15:21:37 +01:00
Geoff Mendal
ac3b53a734 Import translations. DO NOT MERGE
Change-Id: I24c1dbc83857fa0af6a57d0a834fcda1394fd313
Auto-generated-cl: translation import
2015-10-12 07:03:29 -07:00
Geoff Mendal
5f619ac7ad Import translations. DO NOT MERGE
Change-Id: I968bf0b2a23bb1b1d15fb7a56880941c85c5a78b
Auto-generated-cl: translation import
2015-10-12 05:55:27 -07:00
Winson Chung
69b90e942d Merge "Fixing merge issue with last CL." 2015-10-10 21:52:30 +00:00
Winson
09d8a184c6 Fixing merge issue with last CL.
Change-Id: I71444dafd11427e47387b0652664be21af0c5651
2015-10-10 14:50:23 -07:00
Winson Chung
caed947267 Merge "Fixing crash when dragging tasks to docked state." 2015-10-10 21:46:09 +00:00
Winson
4165d336b6 Fixing crash when dragging tasks to docked state.
- Also tweaking animation when a task is first picked up.

Change-Id: Idf99c88fdb216823637e2436e54b392b661b9849
2015-10-10 14:44:33 -07:00
Winson Chung
b53abe7484 Merge "Tweaking animation after dismissing task." 2015-10-10 19:09:10 +00:00
Winson
42be431c3d Tweaking animation after dismissing task.
Change-Id: Ia85e876ec08f4103ff5c3799309cf4731922624f
2015-10-10 11:51:08 -07:00
Winson Chung
6b538cc223 Merge "Cleaning up stack layout." 2015-10-09 22:37:25 +00:00
Winson
88f00ab1df Cleaning up stack layout.
- Refactoring the layout to remove unused (and confusing) variables, 
  reducing the number of calculations when updating min/max bounds, and
  allow more accurate tracking of stack positions (for attached views).
- Tweaking the transform for single-task stacks so that they behave 
  better.
- Removing old, unused dismiss-all ui.

Change-Id: I8ec3bf062b0451543bd8a297aa810405f68c84cb
2015-10-09 15:29:23 -07:00
Jason Monk
b2fae9bf2a am 4e33c1c3: am 3a409081: am 29433f70: Merge "Actually apply after no sims change." into mnc-dr-dev
* commit '4e33c1c312be549ca155b35b24938076ef30f414':
  Actually apply after no sims change.
2015-10-08 20:38:03 +00:00
Jason Monk
4e33c1c312 am 3a409081: am 29433f70: Merge "Actually apply after no sims change." into mnc-dr-dev
* commit '3a40908185f7db6488f773fe2060a10c00db74db':
  Actually apply after no sims change.
2015-10-08 20:31:51 +00:00
Jason Monk
3a40908185 am 29433f70: Merge "Actually apply after no sims change." into mnc-dr-dev
* commit '29433f701f6722e1f175dd3b735ed025309907b0':
  Actually apply after no sims change.
2015-10-08 20:28:10 +00:00
Adrian Roos
bb71e81377 Merge "Continue inline reply prototype" 2015-10-08 19:09:04 +00:00
Adrian Roos
1c0ca508b9 Continue inline reply prototype
Adds IME focus management, prevents HUNs with active
RemoteInput from disappearing and fixes a few issues
with adding RemoteInputs from WearableExtenders.

Bug: 22452379
Change-Id: Ie3bd8e5d4635bd1e967afe2b894ad617dbc4ed10
2015-10-08 18:00:54 +00:00
Jason Monk
ea174f7c7c Actually apply after no sims change.
Bug: 24244260
Change-Id: I922d45e6dcc4eb85fc7d93824e7d01645a90266e
2015-10-08 14:16:10 +00:00
Jason Monk
64f4f9887a Actually apply after no sims change.
Bug: 24244260
Change-Id: I922d45e6dcc4eb85fc7d93824e7d01645a90266e
2015-10-08 10:09:21 -04:00
Toni Barzic
26003d2606 Merge "Don't have NavigationBarApps::AppHoverListener mark events as consumed" 2015-10-07 23:56:06 +00:00
Toni Barzic
06a951c941 Don't have NavigationBarApps::AppHoverListener mark events as consumed
This is to allow default hover event handling on ImageViews associated
with apps (which includes sending appropriate accessibility events)

BUG=24747532

Change-Id: I890b58249998b11f813dc5c31274f7ae231d369c
2015-10-07 15:10:40 -07:00
Jason Monk
0e1101d58f Extract out interface for StatusBarHeader
This will allow side by side experimentation with new headers without
breaking everything accidentally.

Change-Id: I9eb4d310f8927c997b83e65dad301f4ab08f618a
2015-10-07 13:30:12 -04:00
Jason Monk
b9c0019702 QS: Add open/close animation for customization prototype
Also fix layout issue for first row of tiles being too large

Change-Id: Icc5c3c6edc8091449bfaa62b44bb6f79d4c6d74b
2015-10-07 13:30:03 -04:00
Jason Monk
ca4b536069 QS: Don't expand header in paging prototype
Change-Id: I5f17c6152b6f76033c5d6653e5fa4f3d20eb5a7b
2015-10-07 10:43:29 -04:00
Robin Lee
80d505367a Hide VPN "settings" button when VPN is restricted
Opening Settings will just launch an empty, grayed-out page in this
case.

Bug: 24674409
Change-Id: I382f1add965c104d7d93443678c0e4b67fd55ad8
2015-10-06 15:58:30 +01:00
Selim Cinek
978deb2e90 am 05f88187: am ab8616cf: am 235a6911: am 714a61cd: Merge "Ambient display now comes up immediately when a notification comes in" into mnc-dr-dev
* commit '05f88187463119d59955a77c463075e4b12adbc2':
  Ambient display now comes up immediately when a notification comes in
2015-10-06 02:22:53 +00:00
Selim Cinek
05f8818746 am ab8616cf: am 235a6911: am 714a61cd: Merge "Ambient display now comes up immediately when a notification comes in" into mnc-dr-dev
* commit 'ab8616cf183cd408039be394fee709f4e0ee1303':
  Ambient display now comes up immediately when a notification comes in
2015-10-06 02:17:58 +00:00
Selim Cinek
ab8616cf18 am 235a6911: am 714a61cd: Merge "Ambient display now comes up immediately when a notification comes in" into mnc-dr-dev
* commit '235a6911b0939adc598e4135e1f1c6fcda9ff169':
  Ambient display now comes up immediately when a notification comes in
2015-10-06 02:11:51 +00:00
Selim Cinek
235a6911b0 am 714a61cd: Merge "Ambient display now comes up immediately when a notification comes in" into mnc-dr-dev
* commit '714a61cd586c789b18acfd0567cfea2b4ea170dd':
  Ambient display now comes up immediately when a notification comes in
2015-10-06 02:06:20 +00:00
Selim Cinek
714a61cd58 Merge "Ambient display now comes up immediately when a notification comes in" into mnc-dr-dev 2015-10-06 01:59:50 +00:00
Wale Ogunwale
77680ddc1e Merge "Support for specifying stack to launch an activity from recents in." 2015-10-05 23:09:44 +00:00
Winson Chung
01334b6466 Merge "Removing multiwindow debug flag." 2015-10-05 22:51:41 +00:00
Winson
2b9c1d38e6 Removing multiwindow debug flag.
- Also removing unused code for dismissing recents.

Change-Id: I6dcfbdb43cd08f4adfa362d4bf2247c0172fb92a
2015-10-05 15:44:23 -07:00
Chet Haase
4164e6a8da Merge "Enable activity rendering during window animations" 2015-10-05 22:27:02 +00:00
Wale Ogunwale
7e8184b0ab Support for specifying stack to launch an activity from recents in.
Bug: 24668831
Change-Id: Iebd019d3a566a6d068253d8f566c1df88e9e64dd
2015-10-05 15:11:53 -07:00
Chet Haase
9c45041105 Enable activity rendering during window animations
A change was made back in ICS that prevents the view hierarchy from rendering
during window animations. Specifically, it allows the hierarchy to render once (to draw
the results of its first layout), but further drawing is suppressed at the
ViewRoot/performTraversals level until the window animation is complete.

This change was introduced to avoid jank problems that were resulting from
thrashing the GPU by issuing drawing commands from multiple processes simultaneously,
and limited the number of rendering processes to mainly the system server (and
possibly the System UI), which allowed window animations to be much smoother.

This fix contributed to another source of jank, however, in which applications
which attempt to animate when they first appear will not render any frames of
animations until the window animation is done, resulting is a snapping to the resulting
state once the window animations are complete.

Meanwhile, hardware has gotten faster and GPUs have gotten better, and it is time to
revisit this logic. This change disables the earlier fix and allows view hierarchies
to draw normally, regardless of whether window animations are taking place.

Issue #22232939 Remove flag that prevents drawing during window animations

Change-Id: I4c960180771ff09a7088abd77b437586e835a991
2015-10-05 14:58:17 -07:00
Winson
be7607af88 Initial changes to drag and drop to docked task.
Change-Id: I5e7a435a4061d902e5de0a54cc386388bc2b565e
2015-10-05 11:18:52 -07:00
Geoff Mendal
faebbe82fa Import translations. DO NOT MERGE
Change-Id: I21cc5a0ce2710498f3aa76c904e653b90a14ecda
Auto-generated-cl: translation import
2015-10-05 06:58:33 -07:00
Geoff Mendal
39cd533d01 Import translations. DO NOT MERGE
Change-Id: I58d47753d7065f43a959a2f7bec59cbf533615d4
Auto-generated-cl: translation import
2015-10-05 05:53:37 -07:00
Winson Chung
289747cedb Merge "Refactoring several TaskView callbacks." 2015-10-02 22:41:35 +00:00
Blazej Magnowski
52af6b646b Fixes in FalsingManager Classifiers and Evaluators and in
DragDownHelper

Fixed couple nits, fixed a bug in DragDownHelper and in
EndPoinRatioClassifier, improved evaluation.

Change-Id: I27e9c5584f7bf0a834ac39791ee124ccc11ba0cf
2015-10-02 12:57:39 -07:00
Winson Chung
e81b323af1 Merge "Using EventBus for AppWidgetProviderChanges." 2015-10-01 23:34:25 +00:00
Winson
2536c7ed44 Refactoring several TaskView callbacks.
- Moving header bar event handling to TaskViewHeader
- Removing several proxy callbacks from RecentsView

Change-Id: I7dc99a7b580c1beaa93216d2b29c94246b35ec5d
2015-10-01 15:49:31 -07:00
Winson
b78bb4fbb3 Using EventBus for AppWidgetProviderChanges.
Change-Id: Ifa3bf1527eb733d614374f27fd8afbf5b49faaa6
2015-10-01 14:29:01 -07:00
Winson Chung
9cdf4565dd Merge "Incorporating event bus to proxy recents events." 2015-10-01 21:00:26 +00:00
Winson
e6c9073d81 Incorporating event bus to proxy recents events.
- Initial change to use the event bus by dispatching
  package events directly to the TaskStackViews instead
  of passing them down the view hierarchy manually.

Change-Id: Ic68df9eeefb79eab8ded84b74264a93719b40643
2015-10-01 13:33:59 -07:00
Jun Mukai
de750b4499 Fix the logic for mouse event handling.
The code checked if the tool type for the event is TOOL_TYPE_MOUSE.
However this is not true in some cases, touchpads are using
TOOL_TYPE_FINGER. InputDevice.getSources() are better in this
situation.

Bug: 22304981
Change-Id: Ic2ad1a472a422682617dbe25f9d81a5e5d2c020a
2015-10-01 18:45:36 +09:00
Fyodor Kupolov
85f3402d31 Merge "Check multi-user support in isUserSwitcherEnabled" 2015-09-30 21:58:19 +00:00