Commit Graph

5616 Commits

Author SHA1 Message Date
Bill Yi
8ec130dcfd Import translations. DO NOT MERGE
Change-Id: I434734cca2145f095b82b1978997f03225fcacc9
Auto-generated-cl: translation import
2016-11-15 15:17:47 -08:00
TreeHugger Robot
ceb9ec6dbf Merge "2D recents: full screen view and semi-transparent dark background" 2016-11-14 19:35:09 +00:00
Manu Cornet
d71ec6347a 2D recents: full screen view and semi-transparent dark background
This matches the newest mocks better than the previous version.

Bug: 32101881
Test: Locally on local Ryu device
Change-Id: I85769215a48b7a4f1e7b52bd7572eb48ca333471
2016-11-14 09:49:20 -08:00
Bill Yi
86bd9692ce Import translations. DO NOT MERGE
Change-Id: I058edcc8c60b22fb11f0d37c9434f98be62c22a1
Auto-generated-cl: translation import
2016-11-11 18:59:36 -08:00
Jason Monk
3713151425 Merge changes I52007c69,I6503947e,Icf677f4a,I2ae7ed61
* changes:
  Unit testing for fragments.
  Plugin fragment support
  Move QS to a fragment
  Fragments in SysUI!
2016-11-11 16:38:57 +00:00
Jason Monk
0ceef21187 Move QS to a fragment
There is now a bit too much of the view/layout logic touching the
fragment, but sort out that later and get something over to fragments
for now.

Bug: 32609190
Test: Manual
Change-Id: Icf677f4a70e6b92892a0fc27a0e673940ebc7a73
2016-11-11 11:19:16 -05:00
Jason Monk
97a06a12ed Add switchable theme to tuner
Allows option in tuner to switch between system theme overlays
if multiple exist. Requires a restart to take effect.

Test: Settings -> Tuner -> Other -> Theme
Change-Id: Iea43b9cbb67fd91c6008be594ad4cfd19c3f57ec
2016-11-11 09:01:20 -05:00
TreeHugger Robot
a4438c4977 Merge "Adding experiment for minimized pinned stack." 2016-11-11 00:54:13 +00:00
TreeHugger Robot
1c47a0bea6 Merge "Customize camera gesture vibrator pattern" 2016-11-11 00:43:54 +00:00
Oleksiy Avramchenko
f9fc128d7f Customize camera gesture vibrator pattern
Value for camera gesture vibrator pattern changes between versions, e.g.
it was changed from 1000 to 750 in 7.0, which seems arbitrary and OEMs do
not stick with this value, but change it according to their requirements.

This change allows the value to be customized using overlays.

Bug: 32789246
Change-Id: I19e59d1fa191657a8575c486008db3991b347fc5
2016-11-10 15:09:45 -08:00
Winson Chung
fa7053789f Adding experiment for minimized pinned stack.
- Also refactoring the PIP touch handling to be independent gestures

Test: Enable the setting in SystemUI tuner, then drag the PIP slightly
      offscreen. This is only experimental behaviour, and
      android.server.cts.ActivityManagerPinnedStackTests will be updated
      accordingly if we keep this behavior.

Change-Id: I5834971fcbbb127526339e764e7d76b5d22d4707
2016-11-10 23:09:17 +00:00
Bill Yi
294618f66d Import translations. DO NOT MERGE
Change-Id: If0da996cf52bec08bb2b154664908c76bee507bd
Auto-generated-cl: translation import
2016-11-09 14:35:41 -08:00
TreeHugger Robot
3ca4e5624f Merge "Import translations. DO NOT MERGE" 2016-11-08 12:20:52 +00:00
Bill Yi
02c7a1af9c Import translations. DO NOT MERGE
Change-Id: I37b763c8bfa540ce974acd95f5a631753dd46482
Auto-generated-cl: translation import
2016-11-08 01:45:27 -08:00
Manu Cornet
1afcea499d 2-dimensional Recents activity.
This is a simple first version in the spirit of small, incremental CLs.
It is fully functional but the following will come in later changes:

* Split screen support
* Potential animations
* Alt-tab behavior
* Relayout on orientation changes

The new activity is only started when a specific system property is set.

Test: Locally on Ryu device. Added tests for layout logic.
Bug: 32101881
Change-Id: I550f6e7ea0de3937dbf80e5f0294676cfe567d47
2016-11-07 10:01:36 -08:00
Winson Chung
dff5c08bfd Experiment for snapping PIP to closest edge.
Test: Enable in SysUI tuner, drag PIP.  This is only experimental to help
      figure out what UX we want to keep.

Change-Id: I0d6f2f0c5909d6a76aae4a8fb84c5076f6996fdd
2016-11-02 18:25:29 -07:00
Winson Chung
15504af3f7 Experiment with allowing tap to break through to interact with the PIP.
Test: Enable SysUI tuner, tap once on PIP to interact with the activity.
      This is only experimental behaviour, and
      android.server.cts.ActivityManagerPinnedStackTests will be updated
      accordingly if we keep this behavior.

Change-Id: I278ab8c360c44718cfcac0fd761f476a875f9b15
2016-11-02 18:11:36 -07:00
Adrian Roos
ebea7a7e56 AmbientDisplay: Add always on prototype
Test: adb shell settings put secure doze_always_on 1
Change-Id: I3f293b3ef43847b7848af416b44f212fc40514d4
2016-10-31 14:49:52 -07:00
TreeHugger Robot
ef2f13f25a Merge "Import translations. DO NOT MERGE" 2016-10-27 04:57:46 +00:00
TreeHugger Robot
60544d58fe Merge "Adding option to swipe to dismiss." 2016-10-27 02:48:10 +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
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
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
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
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
Bill Yi
e486a8f4b6 Import translations. DO NOT MERGE
Change-Id: Iea19370bd97ac3bfaf398bd773b8f706461a6921
Auto-generated-cl: translation import
2016-10-22 00:39:33 -07:00
Bill Yi
84426a4b51 Import translations. DO NOT MERGE
Change-Id: I052b16afd6659f22eea36ffb41a8f1b234bd4e4e
Auto-generated-cl: translation import
2016-10-20 03:35:09 -07:00
Adrian Roos
3d374af378 Separate ambient display triggers am: b7e4e10618 am: 59116440e7
am: 102aa8b6f1

Change-Id: I39cb0337ed295e370ea7ba4cc298ba3fdf1339c8
2016-10-18 22:27:20 +00:00
Adrian Roos
102aa8b6f1 Separate ambient display triggers am: b7e4e10618
am: 59116440e7

Change-Id: I588f5541c73ae356b255ffa6b1e23c1fbcd1693e
2016-10-18 22:19:43 +00:00
Adrian Roos
59116440e7 Separate ambient display triggers
am: b7e4e10618

Change-Id: I575f96338cffa0f6e8adb1b9ff300dbd322398dc
2016-10-18 22:07:03 +00:00
Adrian Roos
b7e4e10618 Separate ambient display triggers
Allows configuring notification and sensor triggers
separately. Introduces a helper class that hosts the
logic for determining what kinds of triggers a device
supports.

Bug: 32073185
Change-Id: Ie7e8eb6b895dcc54e6f972e70642c7248b9e223a
Test: disable "ambient display", sensor triggers should still work
2016-10-18 10:43:44 -07:00
Bill Yi
ad231bd2f8 Import translations. DO NOT MERGE
Change-Id: I551e9cc3ac74b6a488f0bcc32da9905b7d313f5f
Auto-generated-cl: translation import
2016-10-17 21:19:36 -07:00
Bill Yi
71681756e1 Import translations. DO NOT MERGE
Change-Id: Ia5764eea4534ed61b361308ccea95898a33edb14
Auto-generated-cl: translation import
2016-10-17 20:56:00 -07:00
Bill Yi
5a05ce6409 Import translations. DO NOT MERGE
Change-Id: I7bd27211cd2cb24cae8bb2bc31404f66e2301f26
Auto-generated-cl: translation import
2016-10-17 14:13:52 -07:00
TreeHugger Robot
6c6cb168c3 Merge "Correct the keyboard shortcut for SMS" 2016-10-17 13:18:31 +00:00
Peeyush Agarwal
d86c106568 Correct the keyboard shortcut for SMS
Earlier, there was a keyboard shortcut for IM. Replace it with SMS +
Meta_S.

Bug: 32137976
Change-Id: Id8978126d16dcbea4eb993cd067a92257895b5da
Fixes: 32137976
Test: manual
2016-10-17 12:42:42 +01:00
Bill Yi
cda884446e Import translations. DO NOT MERGE
Change-Id: I76af7719d843ed75ebd7952186ea2a38e58195b9
Auto-generated-cl: translation import
2016-10-13 23:17:12 -07:00
Bill Yi
02838802aa Import translations. DO NOT MERGE
Change-Id: If0c076d258cfab4c743338c5d930400d2a7a659d
Auto-generated-cl: translation import
2016-10-13 22:50:16 -07:00
Bill Yi
f32982dad6 Import translations. DO NOT MERGE
Change-Id: I689e8eaf2bc621bc2a15faca830ff052e76c29e1
Auto-generated-cl: translation import
2016-10-13 17:51:03 -07:00
Dan Sandler
15994be698 Essential packages' notifications can no longer be silenced. am: 028a60f003
am: b50c46a64e

Change-Id: I12e95285baabe5356c3f04e17587afecd3caf292
2016-10-12 13:55:17 +00:00
Dan Sandler
b50c46a64e Essential packages' notifications can no longer be silenced.
am: 028a60f003

Change-Id: Ic3e80d30c99e448c7719d5d40c9e957df94a6af6
2016-10-12 13:49:11 +00:00
Dan Sandler
028a60f003 Essential packages' notifications can no longer be silenced.
Particularly useful for Dialer, whose incoming call
notifications are basically useless if you accidentally mute
them.

Test: manual. With config_nonBlockableNotificationPackages
      set to include com.android.dialer, receive or miss a
      call and longpress the notification. No radio buttons
      should be available.
Bug: 31360343
Change-Id: I6b8fa374fb8e811ec6922acbf222f23f18775a61
2016-10-11 22:21:18 +00:00
Justin Klaassen
8cbf1fb125 Fix contentDescription for NightDisplayTile
Fixes: 32092641
Test: Manually verified TalkBack description for "Night Light" tile.
Change-Id: Id950e3e8111ec21e71c2761ee2874baa769c9474
2016-10-11 21:49:17 +00:00
Bill Yi
c8864998c8 Import translations. DO NOT MERGE
Change-Id: Iece12c05142abba693f3be0c218d45ceeadceabe
Auto-generated-cl: translation import
2016-10-10 21:46:14 -07:00
Bill Yi
620e9e7e75 Import translations. DO NOT MERGE
Change-Id: Idd2ee4e37091b721e6a5dc1558340d90fe6a0a37
Auto-generated-cl: translation import
2016-10-10 21:16:00 -07:00
Bill Yi
fe3c094b2a Import translations. DO NOT MERGE
Change-Id: Id340e2af0dc4c8471eb3dae943168dd2f4ea4fd6
Auto-generated-cl: translation import
2016-10-10 16:13:52 -07:00