13377 Commits

Author SHA1 Message Date
Jorim Jaggi
185fa234a2 Fix some strings
Bug: 26411749
Bug: 27022727
Change-Id: I405ba61a46011365bfa2aebfdb0797738237e86b
2016-02-18 00:35:28 +00:00
Jason Monk
f269fd7fd5 Merge "Work on QS header redlines and animations" into nyc-dev 2016-02-17 21:39:00 +00:00
Jason Monk
dbd8817d24 Work on QS header redlines and animations
Bug: 27201532
Change-Id: I791454dda3a42b588e506f6bcd174a69a0fd29f8
2016-02-17 15:20:29 -05:00
Xiaohui Chen
ac83d19665 Merge "sysui: refactor in notification panel view" into nyc-dev 2016-02-17 19:21:41 +00:00
Winson
a00a785ec8 Adding event log tags for tracking secondary user connections.
Bug: 27175589
Change-Id: I6025eb6b0cef0057fd006cc044a638c48b481ed7
2016-02-17 10:58:50 -08:00
Winson
5b4e0d2b11 Fixing issue with double tap sometimes launching the same task.
- When double tapping, the next preload call can come in before activity
  start, which then resets the instance load plan (which is not 
  preloaded since Recents is “on top”), thus having no launch task, 
  which then falls back to launching the front-most task.  The preload
  call should never create a new plan unless it will preload it.

Change-Id: I001bfc901856c4e6b4e4b9b6a2125085b53c808b
2016-02-17 10:58:08 -08:00
Winson
91b225d41f Disabling history
- Fixing regression in scrolling from the back of the stack to the front
  where bindVisibleTaskViews() would be called early causing jank and
  task views to be returned to the view pool before the animation was
  complete.

Change-Id: Ib68495a2e3b34f92a4971dd6b32b7bc6c616ac23
2016-02-17 10:57:45 -08:00
Jason Monk
0a6495dc60 Merge "Protect against monkey crash" into nyc-dev 2016-02-17 15:46:58 +00:00
Jason Monk
8556328bdf Merge "Move detail panel to its own thing" into nyc-dev 2016-02-17 15:45:53 +00:00
Jason Monk
377e7ad8dc Move detail panel to its own thing
Move pieces of the detail panel from the header and QSPanel to be
in a single container to make the enter/exit be handled better
and code cleaner.

Change-Id: Id1e79b96830ee50051e340fb09ecde537a64e516
2016-02-17 10:42:41 -05:00
Jason Monk
8c7e47f95d Protect against monkey crash
Bug: 27164002
Change-Id: Ic1b68a55a136106010b6df07766a96533683eece
2016-02-17 10:39:31 -05:00
Geoff Mendal
319524a51b Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-17 15:31:09 +00:00
Jason Monk
300ec46741 Merge "Fixes and changes to support settings using UsageView" into nyc-dev 2016-02-17 15:30:52 +00:00
Geoff Mendal
120be92692 Import translations. DO NOT MERGE
Change-Id: I18d91b33eaa2d759744cdf7c44f41143de0e109f
Auto-generated-cl: translation import
2016-02-17 07:30:29 -08:00
Jason Monk
a5d7dd9cd5 Fixes and changes to support settings using UsageView
Bug: 27213136
Change-Id: I1796d710379fc92cf21b196459f34dda4570355f
2016-02-17 10:16:31 -05:00
Julia Reynolds
1998ee5628 Alarm can end time-based rule.
Bug: 21069008
Change-Id: I857d85a32eb44ca873da4a9f19323c48a922ab9f
2016-02-17 08:44:26 -05:00
Jorim Jaggi
8a5c64062f Fix recents transitions
- Also animate when there is no thumbnail, which can frequently
happen after exiting multi-window.
- Also animate when the target stack id is INVALID, because we
currently don't persist stack id's in the tasks.

Change-Id: I280c85e62f55d712408a3e77c43f665acb19bc4c
2016-02-17 06:17:48 +00:00
Wale Ogunwale
5a21494d6e Merge changes from topic 'flaky-test' into nyc-dev
* changes:
  Fixed issue with losing window name when copying WindowManager.LayoutParams
  Added AM API to remove a stack
  Don't resume activity on start if there are activities pausing.
2016-02-16 22:32:23 +00:00
Jason Monk
c18766d065 Merge "Battery graph in QS Detail" into nyc-dev 2016-02-16 21:26:25 +00:00
Jason Monk
96ab63640f Battery graph in QS Detail
Add new usage graph view to SettingsLib that shows usage with
same labels and whatnot.

Use that graph in the battery detail panel to show more stuffs.

Change-Id: I397b1314f65f668df566e93bdbc15420e1b3a280
2016-02-16 16:25:44 -05:00
Adam Lesinski
e4735a9959 Merge "Fix up some small resource issues" into nyc-dev 2016-02-16 18:34:28 +00:00
Wale Ogunwale
06e8ee0c8a Added AM API to remove a stack
Use the new API when closing Pip.

Bug: 26982752
Change-Id: I074d23b5535a4534626183ab77142d3932a803f0
2016-02-16 10:09:51 -08:00
Winson Chung
bc56ca34aa Merge "Adding null check for invalid activity" into nyc-dev 2016-02-16 17:32:36 +00:00
Winson
59e18729f0 Adding null check for invalid activity
Bug: 24569398

Change-Id: I509bacaab810407a3d4b44781f698b5c76a6af8a
2016-02-16 09:29:48 -08:00
Rubin Xu
5db2f16f15 Merge "Initialize mTiles before constructing AutoTileManager" into nyc-dev 2016-02-16 16:12:45 +00:00
Jason Monk
d6b6e9c2ef Merge "Add missing cast tile" into nyc-dev 2016-02-16 15:40:48 +00:00
Jason Monk
4c4f3ee4f5 Add missing cast tile
Bug: 27061481
Change-Id: Icf037b199c382096d2145a7b3a169be2f6079e54
2016-02-16 10:39:04 -05:00
Neil Fuller
5393a6605f Merge "Fix a compilation error due to 1.8 type inference differences" into nyc-dev 2016-02-16 15:01:44 +00:00
Jason Monk
087ba40044 Merge "Fix RTL in Nav Bar" into nyc-dev 2016-02-16 15:01:33 +00:00
Winson Chung
a4b27566bd Merge "Better focus handling after dismissing task/scrolling." into nyc-dev 2016-02-16 01:46:09 +00:00
Winson
23b0d3f66e Better focus handling after dismissing task/scrolling.
- When there is no focused task, focus the next task closest to the 
  stack scroll in the focus direction.
- Fixing small regression where no task would focus when alt-tabbing
  because the index was out of bounds.

Change-Id: I2555c9340f40affc371f52d51d88af0eeda53b2e
2016-02-15 17:43:01 -08:00
Winson Chung
61ce27d3e9 Merge "Fixing issue with front task dimming when scrolled back." into nyc-dev 2016-02-16 00:54:17 +00:00
Winson
be8f35747c Fixing issue with front task dimming when scrolled back.
Change-Id: I30d88796e7af13734c9a33def05b62bed4fb2e96
2016-02-15 16:52:27 -08:00
Jeff Sharkey
9c6d9753a0 Merge "Add feature versions for devices and apps." into nyc-dev 2016-02-16 00:47:49 +00:00
Winson Chung
9c345eceb6 Merge "Tweaking stack shadows and layout." into nyc-dev 2016-02-16 00:46:01 +00:00
Jeff Sharkey
115d2c189a Add feature versions for devices and apps.
We're starting to see more instances of device features that will
increment separately from the SDK API level, such as camera HAL,
GPU capabilities, Bluetooth, and other hardware standards.

This change adds the ability for device features to specify a
version, which is defined to be backwards compatible.  That is, apps
requesting an older version of a feature must continue working on
devices with a newer version of that same feature.

When a version is undefined, we assume the default version "0".

Bug: 27162500
Change-Id: If890bf3f3dbb715e8feb80e7059a0d65618482ea
2016-02-15 17:45:42 -07:00
Winson
1499150478 Tweaking stack shadows and layout.
- Properly setting view outline alpha
- Ensuring that dismissing while in focused state will return to
  non-focused state
- Fixing mis-calculation with bottom stack area

Change-Id: I281b7707421ffde4225180c63c7d40bf325f7f72
2016-02-15 16:42:19 -08:00
Jaewan Kim
ebc8f8f1ad PIP: Prevent onboarding activity from launching on pinned stack
Bug: 27153338
Change-Id: I7a3b5c5306e0760495b43b0deb612b3e711ad56e
2016-02-15 22:17:52 +00:00
Neil Fuller
3f351a4fa0 Fix a compilation error due to 1.8 type inference differences
The code does not compile when the Jack compiler is set to
-D jack.java.source.version=1.8.

The change has no functional impact.

Bug: 26753820
Change-Id: I19d3ffd65e31648d95bb7701d89710015cfaf552
2016-02-15 21:03:41 +00:00
Jason Monk
4da1b4edf6 Fix RTL in Nav Bar
Change-Id: I0cd34c15d3985db787268ba89708758048fe0980
2016-02-15 14:56:45 -05:00
Geoff Mendal
62e150ea41 Import translations. DO NOT MERGE
Change-Id: Ib7501b8ad45b96229429a116525cca998dc55082
Auto-generated-cl: translation import
2016-02-15 07:34:56 -08:00
Rubin Xu
cedcd28103 Initialize mTiles before constructing AutoTileManager
Bug: 22682394
Change-Id: Ida41d3757b0732a01e9ede92ec8c5d2f8426c6b0
2016-02-15 14:45:42 +00:00
Ian Pedowitz
e4c1ccec72 Revert "Fix missing observer reply callbacks"
This should not have merged from mnc-dr-dev, the underlying implementation has changed

This reverts commit dbb75248b19366d76cfdd7d4536d68467e7322c1.
2016-02-14 15:36:48 -08:00
Akshay Thakker
b9f686968c Merge "Fix missing observer reply callbacks" into mnc-dr-dev am: d1811e07d5 am: a3798d7a92
am: d6de840957

* commit 'd6de84095735a32e160f5ae9ce93489b0b19eeed':
  Fix missing observer reply callbacks
2016-02-14 22:48:31 +00:00
Akshay Thakker
d6de840957 Merge "Fix missing observer reply callbacks" into mnc-dr-dev am: d1811e07d5
am: a3798d7a92

* commit 'a3798d7a92ecefe1117b99a2e0f5edce1644f1d0':
  Fix missing observer reply callbacks
2016-02-14 22:37:55 +00:00
Akshay Thakker
d1811e07d5 Merge "Fix missing observer reply callbacks" into mnc-dr-dev 2016-02-14 22:23:54 +00:00
Adam Lesinski
4c44359d91 Fix up some small resource issues
- the "save" string is a duplicate, and is overriden by the next definition below it.
  Due to the way AAPT handles overlays, this was accepted.
- the style attribute should not start with '@'.
- the 'raw' type is reserved for file references. Values should not be 'raw'.

Change-Id: Id611d5915207ce624d7a743b5d79bbb1258d3d51
2016-02-12 23:51:28 -08:00
Amith Yamasani
dbb75248b1 Fix missing observer reply callbacks
This was causing upto 2 seconds in user switching delay.

Bug: 25813588
Change-Id: Icf23b021f134a8ccfa2dae470af02b2da7454acc
2016-02-12 18:13:00 -08:00
Winson
680888123d Minor tweaks
- Initializing to focused state when going into Recents
- Dimming the front-most tasks to highlight the focused task
- Fixing wrong call to resize in the LruCache

Change-Id: I41833a9dc59a9bdf4a94b698e4800c1019bceb01
2016-02-12 17:07:14 -08:00
Winson
14e15b2ca1 Adjusting the tuner flags to allow disabling fast toggle.
Change-Id: I0da29479c075a41ddb49e9852eb912604efa9aa8
2016-02-12 17:07:14 -08:00