22073 Commits

Author SHA1 Message Date
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
Aga Wronska
f9b78bb69d Merge "Fix focus issues in directory fragment * Empty directory view gets focus when shown * Skip opening drawer when showing empty search results * Fix typo" into nyc-dev 2016-02-16 18:29:50 +00:00
Aga Wronska
d4b1753170 Fix focus issues in directory fragment
* Empty directory view gets focus when shown
    * Skip opening drawer when showing empty search results
    * Fix typo

Bug: 27109140
Change-Id: Ie62d48e1c3f78e5244d88067587b3e5986f99a03
2016-02-16 10:15:24 -08: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
Tomasz Mikolajewski
cc0a0a39f8 Merge "Display correct icons in grid view." into nyc-dev 2016-02-16 08:04:36 +00:00
Tomasz Mikolajewski
4e708cb205 Display correct icons in grid view.
Bug: 27183062
Change-Id: I4c0fafc7bc6f0e2dc3d1cbdf3debf6312bb85d82
2016-02-16 17:03:16 +09: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
ae8f843a4a Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-15 16:45:22 +00:00
Geoff Mendal
5933341910 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-15 16:44:46 +00: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
Geoff Mendal
e24d5eff43 Import translations. DO NOT MERGE
Change-Id: I2e17b7941eeca02834d88b47e3283b9b74066439
Auto-generated-cl: translation import
2016-02-15 07:24:27 -08:00
Geoff Mendal
13b99f9dbd Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-15 15:20:20 +00:00
Geoff Mendal
68e221ec0c Import translations. DO NOT MERGE
Change-Id: I5450d165959f42088148bf3aa9789d73137475bc
Auto-generated-cl: translation import
2016-02-15 07:19:37 -08:00
Geoff Mendal
72e09aef9b Import translations. DO NOT MERGE
Change-Id: Icea0738fea2c10d4f4c55d4a5e1febd362dcbd3f
Auto-generated-cl: translation import
2016-02-15 07:16:11 -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
a3798d7a92 Merge "Fix missing observer reply callbacks" into mnc-dr-dev
am: d1811e07d5

* commit 'd1811e07d5ee751cbdc37a3ff84e2e010ead7adf':
  Fix missing observer reply callbacks
2016-02-14 22:30:47 +00:00
Dan Sandler
4baa901205 DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm.
am: e79c73d626

* commit 'e79c73d6267681dbbc8bd4eccf9a79e3017f6fe9':
  DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm.
2016-02-14 22:25:09 +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
Winson
1bcf3c4742 Moving dim calculation into the stack layout.
- This simplifies code and also prepares the code for dimming certain
  tasks when focused.
- Ensuring that cancelling transitions will completely remove all 
  listeners in a given animation.

Change-Id: I77050d94097f9af404250c287522d83c146cfb25
2016-02-12 17:07:14 -08:00
Aga Wronska
c4524a97c4 Merge "Fix Rename Document tests" into nyc-dev 2016-02-13 00:57:24 +00:00
Aga Wronska
5784996fdc Fix Rename Document tests
Bug:27109148
Change-Id: I489b2bd25f92ebc2b9b84d9cefe1f785a89c89ff
2016-02-12 16:53:52 -08:00
Julia Reynolds
597c6d8c5d Merge "Show topic settings inline if user has configured topics." into nyc-dev 2016-02-12 20:31:55 +00:00