Commit Graph

31164 Commits

Author SHA1 Message Date
TreeHugger Robot
3bd340f8e3 Merge "Import translations. DO NOT MERGE" 2016-10-27 04:59:01 +00:00
TreeHugger Robot
ef2f13f25a Merge "Import translations. DO NOT MERGE" 2016-10-27 04:57:46 +00:00
TreeHugger Robot
abdb26ae6a Merge "Import translations. DO NOT MERGE" 2016-10-27 04:50:41 +00:00
Bill Yi
9c5ccf4b97 Import translations. DO NOT MERGE
Change-Id: I0f32e71b1e47beacb5e11d77bb7939fd2b2f5eb7
Auto-generated-cl: translation import
2016-10-26 19:59:45 -07:00
TreeHugger Robot
60544d58fe Merge "Adding option to swipe to dismiss." 2016-10-27 02:48:10 +00:00
TreeHugger Robot
eb7af8b3cc Merge "No recents items can be dismissed by tap or swipe" 2016-10-26 23:45:22 +00:00
Bill Yi
4085c05414 Import translations. DO NOT MERGE
Change-Id: Id8fd7be4130e852b023392635da7fecc39ebfd74
Auto-generated-cl: translation import
2016-10-26 16:07:06 -07:00
Winson Chung
5cd26ff4d9 Adding option to swipe to dismiss.
- Adding tuner settings for PIP

Test: Manual, open PIP and swipe offscreen to dismiss

Change-Id: I62f8e4c4b96984b9f266dde5efc3c511cf37f7dd
2016-10-26 15:33:00 -07:00
Bill Yi
8afc2033a3 Import translations. DO NOT MERGE
Change-Id: I70b27a620d3a173b02b0fa67242e0ac6fd894466
Auto-generated-cl: translation import
2016-10-26 15:32:51 -07:00
TreeHugger Robot
199e3683d1 Merge changes I2d9f1a2d,I01fd8ba6
* changes:
  Ensure PIP retains bounds on device rotation.
  Fix wrong bounds being used in landscape.
2016-10-26 21:48:09 +00:00
Matthew Ng
3975de5f83 No recents items can be dismissed by tap or swipe
When there are no recents items shown, any tap or swipe will dismiss it
and go back to the launcher.

Bug: 31464845
Fixes: 31464845
Test: manual - overview with no recents and tap the screen to dismiss
Change-Id: I98987daf4d064e3f65141f790e68018fcf445c26
2016-10-26 14:25:23 -07:00
Winson Chung
cd1ff64683 Ensure PIP retains bounds on device rotation.
- When device rotates, ensure that the PIP continues to show in the
  same aspect ratio, snapped to the same logical snap point.
- Move common snapping code to policy so that it can be shared between
  SystemUI and the framework.

Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testPinnedStackInBoundsAfterRotation

Change-Id: I2d9f1a2dc077a55c39acc1ccba982c255e2ff3a4
2016-10-26 12:53:01 -07:00
Winson Chung
303c6b78b6 Fix wrong bounds being used in landscape.
- Ensure we use the right display size when calculating PIP bounds.
- Also update interface to take the display id.

Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testPinnedStackDefaultBounds
Test: #testPinnedStackMovementBounds

Change-Id: I01fd8ba6dee212c29a9a092673ee8f7843e41af6
2016-10-26 12:49:40 -07:00
TreeHugger Robot
d5dc2d720d Merge "Show up button in select printer activity" 2016-10-26 19:40:10 +00:00
TreeHugger Robot
8977c2dcd6 Merge "A little more padding in PrintActivity." 2016-10-26 18:03:55 +00:00
TreeHugger Robot
6556aa93f2 Merge "Removed old stack member variable in RecentsView" 2016-10-26 17:38:39 +00:00
Philip P. Moltmann
de497bf6c3 A little more padding in PrintActivity.
Test: Looked at rendering
Change-Id: If5778ca433f4b7e87bfa8ab2f2b0256042ce1a50
2016-10-26 09:26:47 -07:00
Philip P. Moltmann
3af7f8277f Show up button in select printer activity
Test: Selected a printer via select printer activity
      Pressed up button in select printer activity (no printer get
      selected)

Change-Id: Ifcd133eb0ceb973464cbd35b6ee87c9f09221af4
2016-10-26 09:15:26 -07:00
Victor Chan
ea277edcec Make car nav bar center it's children.
The linear layout that represents the buttons in the nav bar are added
programatically. Its xml layout values are overwritten, so set the
gravity to to center in its parent to ensure the buttons are always
centered.

Change-Id: Id4d380e8010e316907bc31f0ee6bc8d4624c6667
(cherry picked from commit 288c1c41d5784ba0f5912709b3101abcd8cd7e2a)
2016-10-26 00:29:20 +00:00
Rakesh Iyer
31d66b9849 Merge "Remove media art from car lock screen." 2016-10-26 00:28:29 +00:00
Rakesh Iyer
451089d939 Merge "Center navigation icons for car nav bar." 2016-10-26 00:27:53 +00:00
Matthew Ng
b7164cd0d1 Removed old stack member variable in RecentsView
Since mTaskStackView contains and correctly maintains a task stack,
there is no need for mStack in RecentsView as it does not maintain
any task removal states.

Bug: 32414287
Test: manual - ran through multiple overview scenarios
Change-Id: I1b744fbc4cd7bb5ed382f55157fa7b5446e20301
2016-10-25 17:10:06 -07:00
TreeHugger Robot
170830f361 Merge "[SettingsLib] Add missing AccessPoint listener" 2016-10-25 22:59:23 +00:00
Victor Chan
c87554c841 Remove media art from car lock screen.
Overriding updateMediaMetaData() in CarStatusBar to ignore updates from
media metadata.

Bug: 31065803
Change-Id: I2078186581f5d66d4d27ebf63451e39a52030a8b
(cherry picked from commit 05e19d01c99bec2b406bbe1e1f0800c1805dcaf4)
2016-10-25 21:40:51 +00:00
Victor Chan
7993c6a47b Center navigation icons for car nav bar.
The new HVAC design calls for the temperature buttons to be on the
side of the nav bar, at the same position as the nav icons. Decreasing
the width of the button container to 760dp as per go/aae-ncar-por.

Change-Id: Ic2878be0d42cf37ba09bb3aeec68813ad3d1fb8a
(cherry picked from commit 3431cdac24758e7d29cd0e1878f4b6349d2a7950)
2016-10-25 21:39:09 +00:00
Ajay Nadathur
7d176bcc48 [SettingsLib] Add missing AccessPoint listener
- AccessPointListener was not set on AccessPoint in one of the code
  paths and as a result, the UI wasn't notified of changes to the
  AccessPoint.

Test: Manually tested and verified that notification changes were
delivered to the UI. Also added unit test.
bug:31945554

Change-Id: I89affada5dead4edc4218f424eec6b7f4a4e26a7
2016-10-25 14:08:11 -07:00
Adrian Roos
69741a2eb8 Ambient: If user turned off ambient, keep it off after split
The split ambient settings default to on - which is a bad experience
if the user explicitly turned it off before the split.

Change-Id: I986d35a1a28e97f4c8d7d3d47ed5658e1836a44f
Fixes: 32332195
Test: Flash angler to NYC, disable ambient, upgrade to NYC-MR1, check if "Lift to check phone" is still off.
2016-10-25 12:39:14 -07:00
TreeHugger Robot
94284c4daf Merge "Import translations. DO NOT MERGE" 2016-10-25 06:20:43 +00:00
Bill Yi
9152037510 Import translations. DO NOT MERGE
Change-Id: Icc78b4d1c0a3f0188dd413514f760495eb9194f2
Auto-generated-cl: translation import
2016-10-24 20:52:15 -07:00
Winson Chung
ba157d9192 Merge changes I4ca1f68d,I5272a045
* changes:
  Moving TV PIP logic to the PIP sub package.
  Adding PIP logic for phones.
2016-10-24 22:20:13 +00:00
Yoshinori Hirano
817695589c Merge "Allow operator/manufacturer setting to use priority" am: aef1a557aa am: 4244d53c3e am: 0be36ac0d1
am: 80ac3f0a4b

Change-Id: I5bc6a440d7a906caed9cdfe63464f692e7f0ecef
2016-10-24 18:50:17 +00:00
Yoshinori Hirano
0be36ac0d1 Merge "Allow operator/manufacturer setting to use priority" am: aef1a557aa
am: 4244d53c3e

Change-Id: Ia6fcaa0550f2e1bb74f61d547fcd39de3b95fe90
2016-10-24 18:39:22 +00:00
Yoshinori Hirano
4244d53c3e Merge "Allow operator/manufacturer setting to use priority"
am: aef1a557aa

Change-Id: I81ccdc0910ab5298d5b54f3b8e390262d02225ea
2016-10-24 18:32:14 +00:00
Winson
bf8c2c0f99 Moving TV PIP logic to the PIP sub package.
Test: Existing tests pass.
Change-Id: I4ca1f68d01206cb2fc7de27f3d445d6ac13d644a
2016-10-24 11:32:07 -07:00
Winson
73bc159dcc Adding PIP logic for phones.
- Adding basic behavior to move PIP window and launch back into
  fullscreen, as well as drag it to dismiss.

Test: Deferring CTS tests as this interaction is only temporary and not
      final

Change-Id: I5272a045090c20c45b345813d10dc385c3f83221
2016-10-24 11:31:07 -07:00
Treehugger Robot
aef1a557aa Merge "Allow operator/manufacturer setting to use priority" 2016-10-24 18:21:07 +00:00
Lorenzo Colitti
d2b90fb119 CaptivePortalLogin: set mixed content policy to compatibility. am: 625166377b am: c9f79b3d1e
am: b9dc4cf958

Change-Id: Id3bc3a25d75e0a11fefaf55b027dbe6336873459
2016-10-24 02:25:50 +00:00
Lorenzo Colitti
b9dc4cf958 CaptivePortalLogin: set mixed content policy to compatibility. am: 625166377b
am: c9f79b3d1e

Change-Id: I8430e6190e2c6170a00c6b8106416ca5801671db
2016-10-24 02:19:19 +00:00
Lorenzo Colitti
c9f79b3d1e CaptivePortalLogin: set mixed content policy to compatibility.
am: 625166377b

Change-Id: I536b2f5a80d3ceaed0ffa86501f6d60e2a407641
2016-10-24 02:13:15 +00:00
TreeHugger Robot
0cb41b80af Merge "Import translations. DO NOT MERGE" into cw-f-dev 2016-10-22 11:35:36 +00:00
TreeHugger Robot
a1be134b24 Merge "Import translations. DO NOT MERGE" 2016-10-22 11:33:40 +00:00
Bill Yi
e486a8f4b6 Import translations. DO NOT MERGE
Change-Id: Iea19370bd97ac3bfaf398bd773b8f706461a6921
Auto-generated-cl: translation import
2016-10-22 00:39:33 -07:00
TreeHugger Robot
ff356a5661 Merge "Add one more CategoryKey." 2016-10-22 06:28:46 +00:00
Bill Yi
c27fdce39f Import translations. DO NOT MERGE
Change-Id: I7564aa066446c6332e6cca5868905a8f05850fcc
Auto-generated-cl: translation import
2016-10-21 19:45:18 -07:00
Jason Monk
c96dda5f16 Fix vpn branded string usage am: 59474a40af am: ec421cd433
am: 7eef409c52

Change-Id: If1cefaf23db55037b421e5629a44ebf4c742cf4b
2016-10-22 02:41:21 +00:00
Jason Monk
7eef409c52 Fix vpn branded string usage am: 59474a40af
am: ec421cd433

Change-Id: I2dade8df4b700b244308e66d2d546b6d866a7260
2016-10-22 02:36:16 +00:00
Jason Monk
ec421cd433 Fix vpn branded string usage
am: 59474a40af

Change-Id: Ie6945d5978394024ae2f06edb29c38a18459e504
2016-10-22 02:30:51 +00:00
Fan Zhang
e6bcfb0158 Add one more CategoryKey.
This is used in secondary setting page: App & Notification > AppDefaults

Bug: 31799948
Test: manual
Change-Id: Icc8fa15352006034743c17d2ee943c05a21f612f
2016-10-21 16:35:39 -07:00
Jason Monk
59474a40af Fix vpn branded string usage
Change-Id: I42fdca60536425c757759414ac812b20e0b42823
Fixes: 32071681
2016-10-21 19:27:34 -04:00
Vinod Krishnan
909bbd3117 Fwk: Only chime when docked and accessbility is on am: cf11ceab65
am: ccf3baf6c5

Change-Id: I685dc2ef179087600e4d3c5776448ece338901b7
2016-10-21 21:21:18 +00:00