Commit Graph

22308 Commits

Author SHA1 Message Date
Selim Cinek
4e0b58be83 Merge "Fixed a clicking bug on the lockscreen" into nyc-dev
am: e961f32b0f

* commit 'e961f32b0f96902276c69f25a35e89aa8cc34ea0':
  Fixed a clicking bug on the lockscreen
2016-02-19 23:20:46 +00:00
Selim Cinek
9867f9ae34 Merge "Cleaned up the logic for the picture end margin" into nyc-dev
am: 54c857cda6

* commit '54c857cda62fbd3a86f5a74924fcea23b89bb1f5':
  Cleaned up the logic for the picture end margin
2016-02-19 23:17:45 +00:00
Selim Cinek
10a16df62d Merge "Adapted the measuring of notification content view" into nyc-dev
am: 79fa406933

* commit '79fa406933c5ec65e2d48279dc9e0011809512b3':
  Adapted the measuring of notification content view
2016-02-19 23:11:28 +00:00
Selim Cinek
e961f32b0f Merge "Fixed a clicking bug on the lockscreen" into nyc-dev 2016-02-19 23:04:55 +00:00
Selim Cinek
54c857cda6 Merge "Cleaned up the logic for the picture end margin" into nyc-dev 2016-02-19 23:04:26 +00:00
Selim Cinek
79fa406933 Merge "Adapted the measuring of notification content view" into nyc-dev 2016-02-19 23:03:59 +00:00
Mady Mellor
8205e5bd5e Merge "Improve touch target for the gear beneath a notification" into nyc-dev
am: ed8f6cff50

* commit 'ed8f6cff50e495329f33535e5302c70e3439e838':
  Improve touch target for the gear beneath a notification
2016-02-19 22:24:53 +00:00
Jorim Jaggi
7e17f73b69 Merge "New behavior for docked stack when going home" into nyc-dev
am: 0bea7ebf56

* commit '0bea7ebf56d00513411378d6b287878ccaa028e1':
  New behavior for docked stack when going home
2016-02-19 22:19:02 +00:00
Mady Mellor
ed8f6cff50 Merge "Improve touch target for the gear beneath a notification" into nyc-dev 2016-02-19 22:15:55 +00:00
Jorim Jaggi
0bea7ebf56 Merge "New behavior for docked stack when going home" into nyc-dev 2016-02-19 22:14:46 +00:00
Mady Mellor
f7acbef6a9 Merge "Initial implementation of dismiss gesture + inline settings icon" into nyc-dev
am: 15d6eafec5

* commit '15d6eafec54f8631c908b8a81c997fef8dd4cd8a':
  Initial implementation of dismiss gesture + inline settings icon
2016-02-19 22:12:53 +00:00
Mady Mellor
15d6eafec5 Merge "Initial implementation of dismiss gesture + inline settings icon" into nyc-dev 2016-02-19 22:06:33 +00:00
Jason Monk
b134b53f38 Merge changes Iaf1ee1e6,I861cb65d into nyc-dev
am: d2308771f0

* commit 'd2308771f011c6277fc2e5e2e5f78e35d2cf22e6':
  Add TileService settings API
  Add QS long-press -> Settings
2016-02-19 22:01:22 +00:00
Jason Monk
724214a878 Add TileService settings API
It will be used for long-clicks on TileServices when available.
Otherwise will default back to app info for the app providing the
tile.

Bug: 27269699
Change-Id: Iaf1ee1e6fe6e1357cda32c74bfdc0c26af0f5901
2016-02-19 16:43:00 -05:00
Jason Monk
76c67aa361 Add QS long-press -> Settings
Bug: 27269699
Change-Id: I861cb65dbb6609d9c95d5341f5f5aebc3cc519f3
2016-02-19 16:42:50 -05:00
Jorim Jaggi
42625d1bc7 New behavior for docked stack when going home
- We keep the docked stack visible when home task is visible even
though it's not resizable.
- We introduce the a new concept called "minimizing" the docked stack,
which happens when going home. In this state, the docked stack is
clipped of almost completely.
- To achieve that, we introduce TaskStackBoundsAdjustController,
which adjusts the bounds of the docked stack when minimized. Also,
migrate the IME handling to this new class.
- We also need to inform SysUI that it is now minimized so it can
remove the drag affordance on the divider, and also make it a bit
smaller.
- When we detect an app transition, we check whether the home stack
gets visible/invisible. We then start an animation which runs in
sync with the normal app transition. For that we introduce
DockedStackDividerController.animate(), which performs the animation.

Bug: 27137961
Change-Id: I8623bc73cc6872bf28c5b1b8d5795974576811b2
2016-02-19 12:11:11 -08:00
Adrian Roos
ed101b4eb5 Merge "Use actual lockscreen wallpaper" into nyc-dev
am: 6e99febd18

* commit '6e99febd180a72536a08cf4c0456d852a47e9b2f':
  Use actual lockscreen wallpaper
2016-02-19 19:59:53 +00:00
Selim Cinek
34eda5ed70 Fixed a clicking bug on the lockscreen
Parts of custom notficications were not singeclickable

Bug: 27247884
Change-Id: I7c52500a77929059b24e8119f50492e0f1399401
2016-02-19 11:54:43 -08:00
Selim Cinek
247fa01931 Cleaned up the logic for the picture end margin
This allows decorated custom remote views to be properly
showing with a large image.

Bug: 24866646
Change-Id: Ie355e503437f19ace2503d42f44bee4bd22f03c8
2016-02-19 11:54:41 -08:00
Selim Cinek
f619ffccd7 Adapted the measuring of notification content view
We are now measuring all notifications content views
with AT_MOST but with an upperboundary. This allows us
to put custom views inside our normal views and still not
blow up the small size. Also adapted the dimens not to
clamp the templates

Bug: 24866646
Change-Id: If9053d84a9d91e6bc9964f64b170e3c3260a807d
2016-02-19 11:54:15 -08:00
Adrian Roos
6e99febd18 Merge "Use actual lockscreen wallpaper" into nyc-dev 2016-02-19 19:53:20 +00:00
Sudheer Shanka
bea4c54f73 Merge "Part1 - Don\'t add padlock if the restriction is not set by admin." into nyc-dev
am: f498c8ddc1

* commit 'f498c8ddc15a709402cf97c4451806f2e6720f52':
  Part1 - Don't add padlock if the restriction is not set by admin.
2016-02-19 19:38:09 +00:00
Sudheer Shanka
f498c8ddc1 Merge "Part1 - Don't add padlock if the restriction is not set by admin." into nyc-dev 2016-02-19 19:31:47 +00:00
Adrian Roos
e381c169fc Use actual lockscreen wallpaper
Bug: 25454162
Change-Id: I30ff02420bc4b72d7e4bf9105f2fd4c8017f5756
2016-02-19 11:29:16 -08:00
Steve McKay
ac806ff14e Merge "Undo generalization isDownloads > supportsChildren." into nyc-dev
am: fdfd5b60fc

* commit 'fdfd5b60fc7b62d2a3af97af39abde8c5067eada':
  Undo generalization isDownloads > supportsChildren.
2016-02-19 19:26:19 +00:00
Julia Reynolds
f7f055e407 Merge "Remove Notification Topics." into nyc-dev
am: 73d96fb4bb

* commit '73d96fb4bbe1e3796e655314619bf9897d07c929':
  Remove Notification Topics.
2016-02-19 19:25:04 +00:00
Sudheer Shanka
a8fbbb30ea Part1 - Don't add padlock if the restriction is not set by admin.
Bug: 26687435
Change-Id: I2fd740b1fa0d76eceedc4dde73e41d779820bbcf
2016-02-19 19:21:57 +00:00
Steve McKay
fdfd5b60fc Merge "Undo generalization isDownloads > supportsChildren." into nyc-dev 2016-02-19 19:17:59 +00:00
Julia Reynolds
73d96fb4bb Merge "Remove Notification Topics." into nyc-dev 2016-02-19 19:17:25 +00:00
Jason Monk
0aecf08207 Merge changes Ie427a2d8,I213f1f76 into nyc-dev
am: ea168d229d

* commit 'ea168d229d316c84652e88ad0f19adbaa884d731':
  SysUI Tuner: UI cleanup and grouping
  SysUI Tuner: Night mode v3
2016-02-19 18:59:47 +00:00
Mady Mellor
f062580d39 Improve touch target for the gear beneath a notification
This CL increases the touch target size of the gear beneath
a notification.

It also adds the logic:
- If the gear is displayed and the notification is touched
then the notification slides back over the gear
- If the grey background is touched rather than the gear
  nothing happens

Bug: 22451710
Change-Id: I7c1d8943e066fdd821446c2f90807891d6b74e5c
2016-02-19 10:52:06 -08:00
Jason Monk
ea168d229d Merge changes Ie427a2d8,I213f1f76 into nyc-dev
* changes:
  SysUI Tuner: UI cleanup and grouping
  SysUI Tuner: Night mode v3
2016-02-19 18:50:05 +00:00
Sudheer Shanka
297b2164a7 Merge "Update string used as summary when an option is disabled by policy." into nyc-dev
am: 82f927bd28

* commit '82f927bd28a1c57bce663771ccef77a7d515c9f7':
  Update string used as summary when an option is disabled by policy.
2016-02-19 18:25:57 +00:00
Sudheer Shanka
82f927bd28 Merge "Update string used as summary when an option is disabled by policy." into nyc-dev 2016-02-19 18:15:33 +00:00
Mady Mellor
4b80b1025f Initial implementation of dismiss gesture + inline settings icon
- Added a view to display / control the gear behind the noti
- Updated SwipeHelper to hide / show the gear based on the gesture
- Only one notification or notification group can show the gear
  at a time

Couple of things left to do that will come in a follow up CL:
- Animation (to / from inline controls, fading gear based on movement)
- For children in a group there needs to be a grey background

Bug: 22451710
Change-Id: I2f93edf48109a82bab0839c73cbaba1535caee9a
2016-02-19 10:04:27 -08:00
Geoff Mendal
2b2332b47c Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 27213136
Bug: 27262078
Change-Id: If76097a0645fbc162dd35af9d74e1ac42a21c9f5
2016-02-19 15:33:26 +00:00
Toby Sargeant
9381d8c44b Merge "add developer setting for multiprocess webview" into nyc-dev
am: a7000fa864

* commit 'a7000fa8648af2457ab07cc736e2314bbc7eba22':
  add developer setting for multiprocess webview
2016-02-19 09:19:02 +00:00
Toby Sargeant
a7000fa864 Merge "add developer setting for multiprocess webview" into nyc-dev 2016-02-19 09:14:56 +00:00
Steve McKay
92c44fc846 Merge "Escape title of Operationdialog." into nyc-dev
am: 04003d8936

* commit '04003d8936684d5bdb9ccbdca4149e113c62eb38':
  Escape title of Operationdialog.
2016-02-19 02:50:57 +00:00
Steve McKay
04003d8936 Merge "Escape title of Operationdialog." into nyc-dev 2016-02-19 02:36:23 +00:00
Ben Kwa
96ef2831b1 Merge "Renumber UMA constants." into nyc-dev
am: 1374412d89

* commit '1374412d8948cbcb7b2a1069220eeffd6d3a1b98':
  Renumber UMA constants.
2016-02-19 01:01:16 +00:00
Ben Kwa
1374412d89 Merge "Renumber UMA constants." into nyc-dev 2016-02-19 00:52:25 +00:00
Ben Kwa
a87e9f94d0 Renumber UMA constants.
Clearcut does not like negative or zero values for its histograms.

Also, consolidate all metrics constants in the Metrics.java file. In
cases where values are being obtained from elsewhere (e.g. State.action
constants), map those constants to constants defined in Metrics.java.
This will reduce occurrences of constants changes accidentally screwing
up metrics data.

BUG=26737132

Change-Id: Ia9fb88a49c3102afc2464d20653e2ee21cfc591f
2016-02-18 16:48:45 -08:00
Ben Kwa
b78500093f Merge "Implement type-to-focus in the DirectoryFragment." into nyc-dev
am: 7b300ff369

* commit '7b300ff36932a4815f1f85b9ea73ec9a373dee10':
  Implement type-to-focus in the DirectoryFragment.
2016-02-19 00:47:04 +00:00
Ben Kwa
7b300ff369 Merge "Implement type-to-focus in the DirectoryFragment." into nyc-dev 2016-02-19 00:39:27 +00:00
Steve McKay
a3471af5f9 Escape title of Operationdialog.
Security review feedback.

Bug: 27121721
Change-Id: Ibafa07aea7b2f77ca476e4f62bd5e4e556ba49c7
2016-02-18 16:09:48 -08:00
Steve McKay
008e948c3e Undo generalization isDownloads > supportsChildren.
Move root comparison logic into RootInfo.
Move shared string comparison code to Shared.

Change-Id: I3267b496a165ad3cae773783db0e79df2eb118e8
2016-02-18 15:59:52 -08:00
Steve McKay
854694225c Merge "UX cleanups." into nyc-dev
am: 7295bcbe42

* commit '7295bcbe42a15742550fc8abcfb983a6274b86a6':
  UX cleanups.
2016-02-18 23:18:02 +00:00
Steve McKay
7295bcbe42 Merge "UX cleanups." into nyc-dev 2016-02-18 23:08:27 +00:00
Ben Kwa
9caedd8ed7 Merge "Implement backspace support." into nyc-dev
am: b4cbd54ea9

* commit 'b4cbd54ea94f3e2673cf7054cabc2247ca3a6ebf':
  Implement backspace support.
2016-02-18 23:02:50 +00:00