Commit Graph

1683 Commits

Author SHA1 Message Date
TreeHugger Robot
03ddb28cda Merge "Color and text changes" into pi-dev 2018-04-18 14:01:01 +00:00
TreeHugger Robot
c859806315 Merge "Redo VolumeDialog with SeekbarListItem" into pi-dev 2018-04-18 13:24:37 +00:00
Julia Reynolds
6013e5cc96 Color and text changes
Change-Id: I2b1837ffd16911be20b5d5f9a7007ff3071265ab
Fixes: 78191129
Fixes: 77810424
Fixes: 78196346
Test: manual inspection
2018-04-18 08:45:12 -04:00
TreeHugger Robot
f55385b595 Merge "Use locale text direction in keyguard carrier text" into pi-dev 2018-04-17 21:42:32 +00:00
Evan Laird
aca8c6352b Use locale text direction in keyguard carrier text
Test: visual in RTL
Change-Id: I5209c863e784a2720a338b03aa1ecafe2c9250d6
Fixes: 66995981
2018-04-17 16:22:50 -04:00
TreeHugger Robot
575fc02edf Merge "Refactored the UserRecyclerGridView to use PagedListView from the car support library. This also surfaced a scrollbar. Additionally, added a touch ripple when you touch a user's picture and disabled the user buttons once a profile is selected" into pi-dev 2018-04-17 15:31:08 +00:00
Lin Guo
aea00237c7 Redo VolumeDialog with SeekbarListItem
Bug: 73134851
Test: manual
Change-Id: I08039eb18782f2e04359d1dc500376d1694ff0ac
2018-04-16 23:06:39 -07:00
TreeHugger Robot
84745ebe11 Merge "[QS] Add PageIndicator to footer" into pi-dev 2018-04-17 01:28:06 +00:00
Aarthi Balachander
608b6e3b07 Refactored the UserRecyclerGridView to use PagedListView from the
car support library.  This also surfaced a scrollbar.
Additionally, added a touch ripple when you touch a
user's picture and disabled the user buttons once a profile is
selected

Test: tested on Mojave
bug: 77870748, 77869522, 77870549
Change-Id: I3706f1089c7c91e8db8d9126a269fd984e2b5dc9
2018-04-16 18:25:26 -07:00
Amin Shaikh
bc1a4e864b Allow left-right swiping from edges in QS.
Apply notification side margins to all children in QSPanel except for
the tile layout. Update TileLayout to respect padding.

Change-Id: Ic6f8f2859d3a130fd4640ae915c9614240fd1c19
Fixes: 78108576
Test: visual
2018-04-16 13:17:41 -04:00
Milo Sredkov
a5bacea405 Address visual inconsistency in smart replies
Address the major style differences and make the smart reply buttons
fit better with the other notification UI elements.

This CL does not yet address all the isues but removes the most
obvious inconsistencies.

Screenshot before: https://screenshot.googleplex.com/90QVvxJmUJ3.png
Screenshot after: https://screenshot.googleplex.com/2C8cMQgTVBG.png

Bug: 73605520
Test: In Notify post a Messaging notification with Large chices

Change-Id: Ide285c21c7bf83e9f06ade6912fd13cb3e4b9024
2018-04-14 19:39:08 +00:00
Rohan Shah
3090e79948 [QS] Add PageIndicator to footer
Allow the footer to provide a new PageIndicator to the QSPanel.
Wrapped the cellular text/info in a LinearLayout such that it
fills the space available and updated params for the action
container depending on what orientation we're in.

Since we're swapping the page indicator, it's important not to
lose num pages/location, so additionally storing & resetting
those values when swapping.

Test: Visually
Change-Id: Iffa8a47601a20d3386abd6f77ed120ece552b726
Fixes: 77152480
2018-04-13 11:34:47 -04:00
TreeHugger Robot
f2b624c140 Merge "Have UserController use a CarUserSwitchingDialog instead of a UserSwitchingDialog if the FEATURE_AUTOMOTIVE flag is present so Android Auto can customize the look of the dialog." into pi-dev 2018-04-13 00:24:50 +00:00
Julia Reynolds
c72d0f605a Fix volume panel shadows
Test: manual
Change-Id: I540ca9e1b0bc8359b562a1279e66a4c8fc05f4a0
Fixes: 77538456
Fixes: 77640244
2018-04-12 19:44:06 +00:00
TreeHugger Robot
909086509c Merge "Limit status icons and show etc dots" into pi-dev 2018-04-12 19:33:29 +00:00
Aarthi Balachander
cf6ca0c15e Have UserController use a CarUserSwitchingDialog instead of a
UserSwitchingDialog if the FEATURE_AUTOMOTIVE flag is present
so Android Auto can customize the look of the dialog.

+ minor changes to fix colors and sizes

Test: tested on Mojave
bug: 75023449
Change-Id: Icf8b63acf257505a3e58fa368be0dd57a60960b4
2018-04-12 11:54:15 -07:00
Evan Laird
20b87bf0ae Limit status icons and show etc dots
When <= 5 status icons exist, try to show them all (space permitting).
If > 5 exist, show 4 and etc dots.

Test: visual
Change-Id: I4c09344bee75b3cab6256dd69f11337b9b667b0f
Fixes: 73778753
Fixes: 77660387
Bug: 77822905
2018-04-12 14:02:33 -04:00
TreeHugger Robot
ef85bbfe4d Merge changes I6358cfe3,I00b20bd7 into pi-dev
* changes:
  Fix status icon tint in QQS.
  Fix QQS side padding for icons and tiles.
2018-04-12 14:55:55 +00:00
Amin Shaikh
9cac338ac2 Fix status icon tint in QQS.
- Update the right margin for these icons
- Update the padding for the status bar and QQS status bar to match.

Change-Id: I6358cfe35430d981d813f2cb21a942fa82211d40
Fixes: 77532713
Test: visual
2018-04-11 17:47:19 -04:00
TreeHugger Robot
68e4c45eed Merge "Update the recents onboarding UI to the latest mock." into pi-dev 2018-04-11 21:36:31 +00:00
Amin Shaikh
ecd986463d Fix QQS side padding for icons and tiles.
Change-Id: I00b20bd705a1bbe3ee619188cee5e6cbd9f43eed
Fixes: 77123524
Test: visual
2018-04-11 16:15:18 -04:00
Tracy Zhou
559d97c39c Update the recents onboarding UI to the latest mock.
Screenshot: https://screenshot.googleplex.com/ks6kWo0R2gd

Bug: 70180942
Test: manual test
Change-Id: Iabe6431db59e0539db5a1952cbb07f95ed6fa7ed
2018-04-11 11:22:28 -07:00
TreeHugger Robot
782ee5a7e0 Merge "Fix spacing between signal and text on qs footer." into pi-dev 2018-04-11 13:39:47 +00:00
Amin Shaikh
06c2e8f245 Fix spacing between signal and text on qs footer.
Also ensure signal icon and text are vertically centered in the footer.

Change-Id: I831ad17db1510ae5cb846ce7bc2458208b45f942
Fixes: 77810797
Test: visual
2018-04-10 13:59:14 -04:00
TreeHugger Robot
d450c4bcdd Merge "Fixed the touch targets when replying" into pi-dev 2018-04-09 22:05:45 +00:00
Selim Cinek
a77d2c58e7 Fixed the touch targets when replying
Because part of the reply field was outside the notification,
clicks on the remote input or the send button could be discarded
and go to the view instead.
We're not manually dispatching those touches to the remoteInput.
Additionally are we now closing the input field first and only
then opening the app.

Change-Id: Iaea3fb78347dfc3a3e22b0d7155e6d2e50c82285
Fixes: 74161213
Fixes: 77482496
Test: open inline reply, click on very bottom below text, observe that app isn't opened
2018-04-09 11:32:05 -07:00
Brad Stenning
6f7ad91eb5 Missed setting default values
Bug:77802818
Test: Manual
Change-Id: I1776b8c197e9f91148748568c1529517d6437161
2018-04-09 10:59:05 -07:00
TreeHugger Robot
fd76ec539e Merge "UI modifications for user picker Test: tested on Mojave bug: 75023449" into pi-dev 2018-04-07 00:40:28 +00:00
TreeHugger Robot
bdaf85ebe6 Merge "Remove clip to padding on the home button parent parent layout" into pi-dev 2018-04-06 21:13:44 +00:00
Aarthi Balachander
d8bf249a5d UI modifications for user picker
Test: tested on Mojave
bug: 75023449

Change-Id: Ia991ca9ed9424d0008ca2328f28c0900e8d5653a
2018-04-06 19:39:54 +00:00
Amin Shaikh
ef06dc26d6 Move the alarm status icon to the first position.
Change-Id: I0330af8ae721421454c9e02216344d4841868d63
Bug: 74985733
Fixes: 77689775
Test: visual
2018-04-06 10:51:17 -04:00
Matthew Ng
c26bbd076a Remove clip to padding on the home button parent parent layout
Home button was being clipped from quick scrub by change ag/3841589.

Test: quickscrub
Change-Id: I70e670df77bc9a4abc319bdaa9732d839f104f2a
Fixes: 77635745
2018-04-05 13:58:49 -07:00
TreeHugger Robot
044a5e17da Merge "[QS] Update landscape UI" into pi-dev 2018-04-05 15:29:27 +00:00
TreeHugger Robot
1d513fc5d0 Merge "Puts back res id to correct view for the pinning tutorial" into pi-dev 2018-04-05 00:11:21 +00:00
Matthew Ng
bb69bd8c4d Puts back res id to correct view for the pinning tutorial
Put the wrong back button id for pinning tutorial in landscape
and now corrected it.

Test: manual - use 3 button nav bar, rotate to landscape and pin
Change-Id: I7cb2d61356226b11e7aa9b777e86badbf83a1f63
Fixes: 74174603
2018-04-04 14:37:42 -07:00
TreeHugger Robot
232efa8ce7 Merge "Center layout of nav inflator to wrap content to tap other buttons" into pi-dev 2018-04-04 19:22:00 +00:00
Rohan Shah
cc3d1d8b96 [QS] Update landscape UI
Rolling forward the landscape UI changes (To not break taimen with a
notch this time!). OG CL: ag/3717677

Shorten status bar height in landscape and update colors to use
wallpaperTextColor when in landscape mode.

Additionally modified scrim opacity for the QS panel to provide more
contrast/focus on content.

Test: Visually
Bug: 73808887
Change-Id: I249579d2898b9915868bb584661864d10ed88de2
2018-04-04 09:36:49 -07:00
Matthew Ng
7e6cb4e4cf Center layout of nav inflator to wrap content to tap other buttons
When you hold home button (that is within the center group) you cannot
tap any other nav button because home button and its parent consumes it.
Make it wrap the content so that the back and recents button can be
pressed while holding home. This is used to unpin better for quick step
enabled.

Test: manual - hold home and tap back/recents, easier when pinned
Change-Id: I73b326235885e5e29c07b9540b4311a0c820ff78
Fixes: 77522636
Fixes: 73175803
2018-04-03 17:11:24 -07:00
TreeHugger Robot
02327e4080 Merge "Add DISABLE_CLOCK flags to status bar, fix transitions" into pi-dev 2018-04-03 19:46:29 +00:00
TreeHugger Robot
47721fa59d Merge "Avoids vibration over deadzone in navigationbar" into pi-dev 2018-04-03 19:09:22 +00:00
Evan Laird
4b68e2f785 Add DISABLE_CLOCK flags to status bar, fix transitions
- CollapsedStatusBarFragment now listens to DISABLE_CLOCK so that it can
be requested to hide with disable flags (fixes SUW)
- PhoneStatusBarTransitions cares about the entire left side as a unit
instead of just notifications.

Test: atest frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/CollapsedStatusBarFragmentTest.java
Test: go through SUW, also change users from guest -> owner from lock
screen.

Change-Id: Ia693386b9ef0438a4fe341d056731e2ba6e973a0
Fixes: 71512617
Fixes: 71360226
2018-04-03 14:00:23 -04:00
TreeHugger Robot
bb5b42eee7 Merge "Fix strings for QS header status." into pi-dev 2018-04-03 14:27:32 +00:00
Sanry Huang
85d4aeb5c5 Merge "Fix wrong linear navigation order when TalkBack is on" into pi-dev 2018-04-03 05:31:10 +00:00
Matthew Ng
603b3298ff Avoids vibration over deadzone in navigationbar
Removed the deadzone as a view and converted to a class that is attached
to NavigationBarView to determine if the incoming touch events should be
consumed by the deadzone.

Change-Id: I5bf6a9e48ba9fa2305ec98acfc537d14cb8cf725
Fixes: 77235132
Test: tap just above the home button in portrait
2018-04-02 11:48:21 -07:00
shawnlin
6c965f6afe Fix wrong linear navigation order when TalkBack is on
Set correct accessibility traversal order on QSPanel.

Test: runtest systemui
Test: manual - 1.Turn on Talk back 2.Open Quick settings 3.Swipe right
to navigate
Bug: 72956034

Change-Id: I8e790160ebb5ea6c34557c293d68232e414bf497
2018-03-31 03:26:44 +00:00
TreeHugger Robot
6a8ea4fe24 Merge "Update QS edit layout." into pi-dev 2018-03-30 21:00:06 +00:00
Amin Shaikh
e4d25a955f Fix strings for QS header status.
Rearrange alarm/mute text to maintain the same ordering as the status
bar. Update mute/vibrate strings to make it clear that the status
corresponds to the phone volume.

Change-Id: I66f35f681e15a91e6238aeaaa086856872d3876a
Fixes: 76208830
Test: visual
2018-03-30 15:56:50 -04:00
Amin Shaikh
9a6fa0868d Update QS edit layout.
- Update TileLayout to lay out tiles rows in a similar fashion to
LinearLayout.
- Update edit screen layout to show rounded corners, margins, and
ensure that QS tiles line up with the tiles in QS.
- Show QS status bar header above the edit screen.

Change-Id: I6c8d644787bf1875ad0d7ad056e9909dc4919ce4
Fixes: 36076720
Test: visual
2018-03-30 15:08:02 -04:00
Evan Laird
e1d13c9884 Remove SignalClusterView in favor of IconManager
Refactors SignalClusterView into StatusBarSignalPolicy so that it can be
used in a StatusBarIconContainer and solve all of our status bar
problems.

- Remove all uses of SignalClusterView and references to
  R.id.signal_cluster. The class still exists it's just unused now

- Add StatusBarIconHolder, which can point to StatusBarIcon,
  WifiIconState, or PhoneIconState

- StatusBarIconList.Slot. Allows for easier indexing of icons now that
  there can be multiple icons per slot

- Add StatusBarWifiView to be inflated inside of the
  StatusBarIconController when needed

- StatusBarMobile view. similar to above

- Upgrade StatusBarIconControllerImpl and StatusBarIconList to
  understand the holders and added 2 new methods to specifically handle
  wifi / phone state changes

- Create IStatusBarIconView (todo: rename). Abstracts the properties we
  want away from StatusBarIconView so that we can use an arbitrary view
  type

- NeutralGoodDrawable. Draws a light and a dark icon when needed.

- Fixes a few demo mode bugs: multi sim was broken and also turning off
  demo mode was a little broken

TODO: More tests are needed for StatusBarSignalPolicy and maybe the
IconManagers

Test: runtest systemui; visual
Bug: 63772836
Bug: 73778753
Bug: 74985733
Fixes: 74427768
Fixes: 74338687
Fixes: 74388467

Change-Id: I5621b3013cdc9638b61552bd4d7211f211eddf1b
2018-03-30 14:49:08 -04:00
TreeHugger Robot
a23047e434 Merge "Show ripples in QQS." into pi-dev 2018-03-30 03:12:33 +00:00