Commit Graph

1047 Commits

Author SHA1 Message Date
Akira Oshimi
f157511744 Fix clipping for edit screen of Quick Settings
The width of the edit screen is fixed when the display size is updated
in landscape mode. So when the device is rotated to portrait mode, the
width is not updated and the edit screen is truncated.
To fix this issue, "match_parent" should be used to match to the width
of Notification Panel always.

Bug: 34206618
Test: manual - go to Settings, rotate device to landscape mode, change
               display size (Default > Large > Default), rotate device
               to portrait mode and show QS edit screen

Change-Id: I35ac623812908a61cd34357e6bda567cab55ace1
2017-01-11 02:58:34 +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
TreeHugger Robot
c3fddb984c Merge "Show PLMN on CryptKeeper" into nyc-mr1-dev 2016-09-24 01:58:55 +00:00
Adrian Roos
316bf54484 Show PLMN on CryptKeeper
Also shows the state only once radio is enabled.

Fixes: 30301831
Change-Id: Iaf3b96c3622e20d8ada6e1f6391d6065101fb281
2016-09-23 17:28:38 -07:00
Winson
96f78f5046 Fixing RTL issues with transition and screen pinning.
Bug: 31367531
Change-Id: Id790293cc5246535d6fb829ec57e4ee640fea1a2
2016-09-22 19:47:31 +00:00
Yohei Yukawa
c2166b87b0 Also Set IME_FLAG_NO_FULLSCREEN to RemoteEditText
This is a follow up CL to the previous CL [1], which specified
IME_FLAG_NO_EXTRACT_UI to RemoteEditText.

As discussed in Bug 7412307, specifying IME_FLAG_NO_EXTRACT_UI without
IME_FLAG_NO_FULLSCREEN has been known to cause some unexpected behaviors
across multiple components since at least ICS release.

Until Bug 7412307 is fixed, it would be safer to specify both flags when
we want to disable full-screen extracted UI mode.

 [1]: Ibb759a50ade279ad96598b25f99b169bc27a5b72
      0558bc5d6a

Bug: 30424228
Change-Id: I6dc80f8506df66d8f3f3f822c7823f53f7c56d1c
2016-08-25 16:41:34 -07:00
TreeHugger Robot
094b8b3321 Merge "Fix bug where RemoteInputView didn't reopen the IME" into nyc-mr1-dev 2016-08-15 23:45:05 +00:00
Adrian Roos
0356865dad Fix bug where RemoteInputView didn't reopen the IME
Editable TextViews are implicitly selectable. Setting the selectable
property to true however causes a bug where the onTouch logic thinks
the view is not editable and thus doesn't show the IME when clicking
that view.

Change-Id: I9dd6139195bd98b26293e330290650d4e5549a6d
Fixes: 30595718
2016-08-15 15:02:57 -07:00
Julia Reynolds
2af6932ae8 Merge "Don't run expand/collapse animations when dismissing." into nyc-mr1-dev 2016-08-11 14:28:48 +00:00
Jaewan Kim
25796925d9 Merge "PIP: Hide play/pause button by default" into nyc-mr1-dev 2016-08-10 23:22:21 +00:00
Julia Reynolds
48242f0ac6 Don't run expand/collapse animations when dismissing.
Also restore some padding.

Change-Id: Iada58be574c52651931ea733aaa4022c71e136b5
Fixes: 30764259
Fixes: 30781039
2016-08-10 20:36:33 +00:00
Julia Reynolds
eded2fcf7a Restore padding.
Change-Id: I532e5007c2a9152554b8f5130196a2f0cb3c8f1e
Fixes: 30738806
2016-08-08 19:48:48 +00:00
TreeHugger Robot
ba8f3d03ac Merge "Switch volume animation to Scene." into nyc-mr1-dev 2016-08-05 20:50:48 +00:00
Julia Reynolds
568585b47c Switch volume animation to Scene.
animateLayoutChanges is too janky.

Bug: 30070005
Change-Id: I88bb94c2de18a8ebc14f0f0aed48877a8b328d8a
2016-08-05 15:27:14 -04:00
Jaewan Kim
7000519695 PIP: Hide play/pause button by default
Bug: 30594655
Change-Id: I8e1a6c2b17140a2116a02d642199d4b4985f2cc5
2016-08-03 14:18:58 +09:00
Adrian Roos
7bb38a941b HIC: Add report facility for overzealous anti-falsing
Bug: 27405075
Change-Id: I15e5d601af3c7cc067371bbe51c873d2ce15ec83
2016-07-28 12:17:57 -07:00
Tenghui Zhu
b8292a6401 Merge "Use a round rect background drawable for "clear all"" into nyc-mr1-dev 2016-07-19 22:56:59 +00:00
Teng-Hui Zhu
b34b7deb1e Use a round rect background drawable for "clear all"
Such that we can remove the outline clip, which is triggering a new shader
compilation when "clear all" show up the first time.

b/28795315

Change-Id: Ib3c4283e46c932090ec97233a5551da7b359c8c8
2016-07-19 15:25:40 -07:00
Fan Zhang
3bfda445f7 Align empty views for quicksetting center in detail panel.
Change-Id: I6d0f1eaeee1ea59890cf0589381332a3f3a8fb4e
Fixes: 29981651
2016-07-15 10:45:22 -07:00
Jason Monk
cc6e8c4611 Merge "QS Detail: Remove up arrow" into nyc-mr1-dev 2016-07-14 13:08:46 +00:00
Jason Monk
784252590b QS Detail: Remove up arrow
Change-Id: I5fb17dae78618f1d0fe520744d3b7cecce019568
Fixes: 27930924
2016-07-13 15:55:43 -04:00
Jason Monk
f25e6a1bea QS: Fix emergency calls only layout
Change-Id: Ic66412b0c46f4436d63168a5e167d4adcad74283
Fixes: 29524397
2016-07-13 14:45:52 -04:00
Julia Reynolds
bda516549c Improve jank on header change.
Also fix expand icon ripple.

Bug: 30070005
Change-Id: I0a139778f14d5ba4ebee6e27a321af3827ecbe96
2016-07-12 12:42:54 -04:00
Justin Klaassen
e81fa85782 Remove "Night mode" from tuner
Bug: 28887927
Change-Id: Ic1c217152e56db63a87a1f1e772696d97b4b58b3
2016-07-08 11:46:27 -07:00
Jason Monk
8d947520c3 Merge "QS: Fix clipping for some font sizes" into nyc-mr1-dev 2016-07-01 13:25:10 +00:00
TreeHugger Robot
d3ed87b222 Merge "Quick settings icons have focus" into nyc-mr1-dev 2016-07-01 13:24:30 +00:00
Min Yun
f07f1700e2 Quick settings icons have focus
To have focus in quick setting icons,
add focusable

Fixes: 29769508
Change-Id: I1b10203d60614a7b94274da046dac69a7ed5b80a
Signed-off-by: Sungyoung An <sungyong.an@lge.com>
Signed-off-by: Min Yun <min.yun@lge.com>
2016-06-30 15:19:25 -04:00
Jason Monk
c9cef3cf1d QS: Fix clipping for some font sizes
Change-Id: I44b68f0104341a6b772fd2d61d7c7baeb019d151
Fixes: 29262822
2016-06-30 14:46:12 -04:00
Jason Monk
b46059a1d4 QS: Layout and animation refinement
Bug: 29315917
Fixes: 29879993
Change-Id: I0153e81ff9cd81022958a1baf3531ac5ca6b4144
2016-06-30 14:27:44 -04:00
TreeHugger Robot
459f594bb1 Merge "Show volume row headers by default." into nyc-mr1-dev 2016-06-24 14:52:40 +00:00
Julia Reynolds
5f83c85182 Show volume row headers by default.
Bug: 28269951
Change-Id: I26acfb26064e7f44e4b1897d940228247b45d7b1
2016-06-24 09:17:55 -04:00
Andrew Sapperstein
c11df2521e Add colorSecondary theme attribute.
Value is defined only for .Settings themes.

Uses new attribute in SystemUI to set the switch bar background in
System UI Tuner and the edit UI background in Quick Settings.

BUG: 28625050
Change-Id: I840597670fb8826c7e2172c933ff618e52fc9ac1
FIXES: 28625105
FIXES: 29003223
2016-06-21 13:41:02 -07:00
Andrew Sapperstein
cac2dd8ce8 Merge "Update System UI to use theme colors." into nyc-mr1-dev 2016-06-21 20:15:41 +00:00
Andrew Sapperstein
5c3734456e Update System UI to use theme colors.
Instead of using hardcoded values, use colorPrimary, colorAccent, etc
to style system UI. Required setting a theme on several views to
get the proper accent color in the right place.

Deletes a lot of hard-coded colors from the app.
Deletes an unused view: StatusBarHeaderView

BUG: 28625050
BUG: 29003410
BUG: 28625105
Change-Id: I46cd8eba7cf5afdab53c7882aa4aac5af46772a9
2016-06-21 11:15:19 -07:00
Andrei Stingaceanu
b5eb497d11 Keyboard shortcuts: A11Y fixes cherry pick
* Letters are no more announced as capitals
* Focus now moves into the function key buttons (images)
* The keyboard shortcuts are not being verbalized individually
but instead the whole group is now verbalized in one go.

Bug: 29267887
Bug: 29259734
Bug: 29260915
Change-Id: If9370fa9a6eef0e412285ca73794c6d72cdadd15
2016-06-20 18:20:06 +01:00
Robert Carr
ee651e63e0 Merge \"Ensure pinned animation scaling is consistently applied.\" into nyc-dev
am: 3207d8f8a1

Change-Id: Id17634723fd1fce94cd62f29322a23c5f67dda89
2016-06-08 20:28:17 +00:00
Adrian Roos
3207d8f8a1 Merge "Direct Reply: Add back emoji button" into nyc-dev 2016-06-08 20:25:01 +00:00
Jason Monk
5aa661d7c0 resolve merge conflicts of fbf366d to nyc-mr1-dev
Change-Id: If2c3d07d680c36b206fe49a8e8e7dc20619a5c42
2016-06-08 16:24:16 -04:00
Adrian Roos
713fed9226 Direct Reply: Add back emoji button
Bug: 29077108
Change-Id: Ibd1423465c5ec9aced4c4b77575a469f5e85f20d
2016-06-08 13:22:25 -07:00
Jason Monk
487e1f8500 QS: Show date even on small screens
People don't like to lose their date, so instead take away their
detailed alarm information.

Change-Id: Ia6a1c7b1ecdb73eeeadd45fc3708531eac588eee
Fixes: 28773347
2016-06-07 15:59:51 -04:00
Selim Cinek
4f2264ed9d Merge "Fixes a few bugs on the keyguard with font density changes" into nyc-dev
am: 42621023cf

* commit '42621023cfac084b8c74fd4d362bc2c64d61674e':
  Fixes a few bugs on the keyguard with font density changes

Change-Id: Ia5ab8a7269eb3bfcb88bdfc98926bdbd0bff0af8
2016-06-01 19:15:29 +00:00
Selim Cinek
42621023cf Merge "Fixes a few bugs on the keyguard with font density changes" into nyc-dev 2016-06-01 19:03:43 +00:00
Julia Reynolds
88470b5ba2 Merge "Radio buttons belong in a radio group." into nyc-dev
am: d05a7b5972

* commit 'd05a7b5972cb06f711cc8cfa66efa9f0f6d901a5':
  Radio buttons belong in a radio group.

Change-Id: If12173e67797ba105ea40475e3ad9e3061d592f9
2016-06-01 18:07:18 +00:00
Selim Cinek
6ebba59aad Fixes a few bugs on the keyguard with font density changes
The reinflation of the system icons was not working correctly
and all the paddings were of.
Also the affordance icons were outdated and had to be reloaded.

Change-Id: I3cf338d33a82c8be94d01561d7b7d9a37a563ad9
Fixes: 28968657
Fixes: 28672410
2016-06-01 09:41:44 -07:00
Julia Reynolds
656f98681e Radio buttons belong in a radio group.
Fix for 'multiple buttons selected at once' issue.

Change-Id: Iec54eac699886ed1c7b8afd91382ff9b5750c696
Fixes: 27698976
2016-06-01 12:37:13 -04:00
Jason Monk
cb9446453c Merge "QS: Update layout to show gear all the time" into nyc-mr1-dev 2016-05-31 14:39:06 +00:00
Jason Monk
4bb7b1a3e3 QS: Update layout to show gear all the time
Because evidently, when you've gotta change something, you've really
gotta change something.

Bug: 28673919
Change-Id: I085a0424c134a7f80316397b04a6b120440d32c8
2016-05-31 10:37:06 -04:00
Jae Seo
f8c504db7f Merge "PIP: Improve PIP control row's focus change animation in Recents" into nyc-dev 2016-05-27 17:23:58 +00:00
Jason Monk
0215802097 QS: Handle detail scroll properly
Add custom scrollview that ensures the touches can cause a scroll.

Change-Id: Ib18ac24ded11d06f59f582248964bd697652c192
Fixes: 28671167
2016-05-27 10:47:51 -04:00
Jaewan Kim
a9e0621f33 PIP: Improve PIP control row's focus change animation in Recents
This includes following changes for performance
1. Passes the key events directly between the windows instead of using
   dummy Views and OnFocusChangeListener to prevent main thread from
   handling unnecessary focus changes.
2. Limits the window size for PIP controls to reduce unnecessary draw.

Here's the test result. Test is performed with paused PIP video
1. 5 visible recents task
  Focus down: 48.14 fps -> 85.396 fps (+77.39%)
  Focus up: 24.67 fps -> 45.33 fps (+83.77%)
2. 3 visible recents task
  Focus down: 51.98 fps -> 132.72 fps (+155.34%)
  Focus up: 30.91 fps -> 53.38 fps (+72.69%)

Bug: 28042495
Change-Id: I363232176975b160e122748c9997ef4b46b73a28
2016-05-27 08:41:48 +00:00