15634 Commits

Author SHA1 Message Date
John Spurlock
fbc1fdf88a Zen QS: Tweak segmented button + introduction styling.
- Add a rounded rect background to the segmented buttons.
 - Remove the spacing between the segmented buttons.
 - Increase the minheight + font weight of the button text.
 - Remove the embedded divider line.
 - Add a rounded rect background to the intro messages.
 - Tweak margins, mostly 8dp -> 16dp in a few places.

Bug: 20949290
Bug: 20947407
Change-Id: Ic497c772aa7228423c8884d6ec7b9ccbfdda365a
2015-05-08 18:19:44 -04:00
Selim Cinek
03fdca1b29 Merge "Fixed a bug where the heads-up would not show when full screen" into mnc-dev 2015-05-08 02:04:52 +00:00
Siva Velusamy
1f86199748 Merge "Use new hierarchy viewer protocol in all View subclasses" into mnc-dev 2015-05-08 01:51:19 +00:00
Siva Velusamy
94a6d15ede Use new hierarchy viewer protocol in all View subclasses
A previous CL introduced a new way of encoding view properties for
use by heirarchy viewer. This CL updates all views using the old
@ExportedProperty annotation to use this new method. The older
mechanism will be removed in a subsequent CL.

Change-Id: I6cc23b90cd9da1c6ce89b4caffe54874db203452
2015-05-07 18:44:21 -07:00
Paul Jensen
3199980812 Merge "Add URL bar to captive portal login app." into mnc-dev 2015-05-08 01:08:53 +00:00
Selim Cinek
4a4a2bddc4 Fixed a bug where the heads-up would not show when full screen
Bug: 20728541
Change-Id: I74bc74c4936b003a4c0c37b7c7da2d1fa138c077
2015-05-07 16:54:05 -07:00
Chris Wren
d11ad51d11 Merge "add logging to quick settings tiles" into mnc-dev 2015-05-07 19:23:34 +00:00
Chris Wren
457a21cdea add logging to quick settings tiles
QS Grid visibility
  Tiles that are visibile in the grid
  Taps on tiles
  Detail visibility for DND, Users, and Data

Bug: 20264417
Change-Id: I95e65484a9be0a53a071bc12ce8195120582621e
2015-05-07 15:14:28 -04:00
Seigo Nonaka
14e139179b Retry "Always show auxiliary subtypes from NavBar keyboard icon."
This CL relands I1e50ee42838a1bf64a612da4904aa93458d44ea4, which was
reverted by I3decaf37198e5864a1763a059df4a36ebc70c5a7 due to the build
breakage in 'layoutlib' target, with a proper fix.

Hereafter the original CL description is repeated.

The auxiliary subtypes should be listed if the input method picker is
opened from NavBar keyboard icon.  However there is only
IMM#showInputMethodPicker() API to open input method picker and this is
also used from LockScreen or Settings UI.  Auxiliary subtypes should not
be listed there(Id7cf5d122).  Thus framework shows auxiliary subtypes
based on IMMS#mInputShown and LockScreen state, but it is not a perfect
solution.  If a physical keyboard is connected, the soft input may be
gone.  As the result, auxiliary subtypes won't be listed even if it is
opened from NavBar keyboard icon.

To fix this issue, this CL introduces IMM#showInputMethodPicker(boolean)
to be able to decide showing auxiliary subtypes by caller.
Note that IMM#showInputMethodPicker(boolean) is still hidden with @hide.
There is no public API change in this CL.

Bug: 20763994
Change-Id: Id156c85535a221235737ea6dcc15a67f1c4b9f71
2015-05-06 21:34:07 -07:00
Bart Sears
1b0888fe8e Merge "Revert "Always show auxiliary subtypes from NavBar keyboard icon."" into mnc-dev 2015-05-07 01:52:08 +00:00
Bart Sears
d130bdc462 Revert "Always show auxiliary subtypes from NavBar keyboard icon."
CL is breaking the build.  Discussed with Seigo and verting until he can take a look at it.

This reverts commit 80ff4ed6bb8dbdad7192d679a01096aa888e090b.

Change-Id: I3decaf37198e5864a1763a059df4a36ebc70c5a7
2015-05-07 01:51:28 +00:00
John Spurlock
03dbaf15ee Merge "Volume a11y: Resize zen footer text when changed." into mnc-dev 2015-05-06 21:20:31 +00:00
John Spurlock
0c467064e2 Merge "Volume a11y: Rename introduction 'confirm' button to 'close'." into mnc-dev 2015-05-06 21:20:13 +00:00
John Spurlock
9ea3a1e19f Volume a11y: Resize zen footer text when changed.
Bug: 20346315
Change-Id: Ia6af36d856a17639bf27c9a7b4941655d38d2a99
2015-05-06 17:12:18 -04:00
Adam Powell
cfd6e9dfd0 Merge "Add alternate intents and refinement callbacks to ChooserActivity" into mnc-dev 2015-05-06 21:09:20 +00:00
Sanket Padawe
60137fdcb3 Merge "Saved network summary string fixes in Wifi Settings" into mnc-dev 2015-05-06 20:59:16 +00:00
John Spurlock
401943053f Volume a11y: Rename introduction 'confirm' button to 'close'.
For the benefit of screen readers.

Bug: 20813824
Change-Id: I776cf75d3c0f2e2d5b67bcbad476a28f9ef37c5f
2015-05-06 16:53:21 -04:00
Seigo Nonaka
06bdf9c6a6 Merge "Always show auxiliary subtypes from NavBar keyboard icon." into mnc-dev 2015-05-06 20:31:19 +00:00
Seigo Nonaka
80ff4ed6bb Always show auxiliary subtypes from NavBar keyboard icon.
The auxiliary subtypes should be listed if the input method picker is
opened from NavBar keyboard icon.  However there is only
IMM#showInputMethodPicker() API to open input method picker and this is
also used from LockScreen or Settings UI.  Auxiliary subtypes should not
be listed there(Id7cf5d122).  Thus framework shows auxiliary subtypes
based on IMMS#mInputShown and LockScreen state, but it is not a perfect
solution.  If a physical keyboard is connected, the soft input may be
gone.  As the result, auxiliary subtypes won't be listed even if it is
opened from NavBar keyboard icon.

To fix this issue, this CL introduces IMM#showInputMethodPicker(boolean)
to be able to decide showing auxiliary subtypes by caller.
Note that IMM#showInputMethodPicker(boolean) is still hidden with @hide.
There is no public API change in this CL.

Bug: 20763994

Change-Id: I1e50ee42838a1bf64a612da4904aa93458d44ea4
2015-05-06 20:29:05 +00:00
Adam Powell
2ed547e55f Add alternate intents and refinement callbacks to ChooserActivity
Allow a calling app to supply an array of additional Intents to the
system ChooserActivity.

The chooser will present a merged list of targets that can handle any
of the Intents supplied, including both the standard EXTRA_INTENT as
well as any of the intents supplied in EXTRA_ALTERNATE_INTENTS. These are
treated as ordered; EXTRA_INTENT is considered the first/primary
Intent and EXTRA_ALTERNATE_INTENTS are sorted most important first.

Targets are queried for all supplied Intents. If the same component is
returned for more than one Intent, the target is associated with the
most important Intent that matched.

This allows calling apps to supply several different payloads for an
action depending on what the intended targets are able to support. For
example, an app performing ACTION_SEND may supply image/jpeg data to
compatible targets or a hosted web link to targets that only support
text/plain. The user will have the opportunity to pick from a single
merged list of choices using the best available payload, and will not
be bothered with the implementation details of how the payload will be
delivered to the recipient.

If the calling app wishes to provide further disambiguation or
refinement after the user makes a choice, for example to let the user
choose which of the source intents to send from the primary or
alternates, show a progress dialog as a full-resolution version of a
photo is downloaded from the server before being sent along or while
reticulating splines, the caller can supply an IntentSender to
ACTION_CHOOSER including the extra EXTRA_REFINEMENT_INTENT_SENDER.
This should be the IntentSender obtained from a PendingIntent pointing
at an activity to launch to perform the refinement.

The refinement activity should report that it is finished by obtaining
the ResultReceiver from EXTRA_RESULT_RECEIVER. Available intents to
send to the selected target will be contained in EXTRA_INTENT and
EXTRA_ALTERNATE_INTENTS.

To complete the refinement and send the result along to the chosen
target, the refinement activity should select one of the supplied
intents and send it to the ResultReceiver in a Bundle with the key
EXTRA_INTENT and the result code RESULT_OK. To cancel the refinement,
and let the user select another choice, send RESULT_CANCEL.

While refinement activities cannot modify the filterEquals-affecting
fields of the Intent they return, they may modify extras to provide
additional or altered details to the final recipient. These extras
will be filled into the Intent sent to the final target.

Change-Id: I7ad4739eadd1a0e307675847ccf47ea948918a3a
2015-05-06 13:23:36 -07:00
Chris Wren
9260cb7ffe Merge "count panel open method" into mnc-dev 2015-05-06 18:34:47 +00:00
Alan Viverette
809d5d7fbe Merge "DayNight theme for framework packages" into mnc-dev 2015-05-06 17:25:26 +00:00
Chris Wren
49f06f5f0d count panel open method
open panel
  open with two fingers
  open via peek
  pull down to open QS
  tap to open QS

Bug: 20262922
Change-Id: I7eaa8a6de75867035c64a3ac939cec86daaab913
2015-05-06 12:57:55 -04:00
Brian Colonna
0fb5aa656e Merge "Removed unused Face Unlock string" into mnc-dev 2015-05-06 14:37:23 +00:00
Paul Jensen
5344a4abdf Add URL bar to captive portal login app.
Keeps the user informed whether site is using SSL and what URL is being
displayed in an attempt to avoid phishing.  The progress bar is now
always visible as it provides a border between the URL bar and WebView.

Bug:20322548
Change-Id: I001a4501a02cc79080b0f37f0a304c609bbd7664
2015-05-06 07:39:36 -04:00
Sanket Padawe
56cfbfb031 Saved network summary string fixes in Wifi Settings
Bug: 20667217
Change-Id: Ife1b1e7da3270020ef405693252a9e8a1ea5a6ca
2015-05-05 20:10:46 -07:00
Selim Cinek
6da881ba7d Merge "Fixed a measuring bug when the panel was collapsed" into mnc-dev 2015-05-05 23:55:00 +00:00
Selim Cinek
1e139e8684 Merge "Enforcing the touchslop now when flinging open before intercepting" into mnc-dev 2015-05-05 23:54:22 +00:00
Selim Cinek
1690ec8e72 Merge "Fixed a bug where the notifications would jump when going to the full shade" into mnc-dev 2015-05-05 23:54:04 +00:00
Selim Cinek
6329bbceeb Merge "The voice assist may now be launched above the lockscreen" into mnc-dev 2015-05-05 23:52:35 +00:00
Ben Kwa
e74007ded3 Merge "Clean up error handling in CopyService." into mnc-dev 2015-05-05 21:53:22 +00:00
Selim Cinek
81e36fe7c2 Fixed a measuring bug when the panel was collapsed
This lead to the dismissView and other views being measured with
height 0 and therefore harm performance and animations.

Bug: 20665047
Change-Id: I985c40948994b409cea5ac7c34a711ce243c62f1
2015-05-05 14:53:09 -07:00
Selim Cinek
173f2d0fad Enforcing the touchslop now when flinging open before intercepting
This could lead to clicks on notifications not being recognized when opening.
Bug: 19228079
Change-Id: I02c856dd885c8e9bb228a5b20e975e27dba60d12
2015-05-05 14:53:09 -07:00
Selim Cinek
8d5727f6e9 Fixed a bug where the notifications would jump when going to the full shade
Change-Id: I811f3cd543f0e69d06bfe692435c579b7844173e
2015-05-05 14:53:08 -07:00
Selim Cinek
e70d653523 The voice assist may now be launched above the lockscreen
A possibility was introduced to launch voice assist over
the lockscreen using the left keyguard affordance.

Change-Id: Ic4618d24256b65441a50d77d0ef59b0ec99b6ead
2015-05-05 14:52:52 -07:00
Jorim Jaggi
570de1e0e9 Make sure fingerprint error messages are handled in Keyguard
Change-Id: I332c08c5e94cf58a2d3f696860511c1a84fecda5
2015-05-05 21:44:11 +00:00
Chris Craik
356b177709 Merge "Cleanup properties" into mnc-dev 2015-05-05 21:30:08 +00:00
Alan Viverette
b9da280ac2 DayNight theme for framework packages
Change-Id: I745f90561c957c83540e75a2886e294633c83be1
2015-05-05 14:09:21 -07:00
Pavel Zhamaitsiak
b2e3b74418 Merge "WiFi Calling: Show different operator name string in Data usage dialog." into mnc-dev 2015-05-05 21:05:49 +00:00
Adrian Roos
2b0eaffc62 Merge "Hide lockscreen contents from a11y while bouncer is showing" into mnc-dev 2015-05-05 21:05:36 +00:00
Pavel Zhamaitsiak
5504d39b7f WiFi Calling: Show different operator name string in Data usage dialog.
Bug: 19950657
Change-Id: I9999d58e78154ed2d6d824973c40011875de15ef
(cherry picked from lmp-mr1-wfc-dev)
2015-05-05 13:59:28 -07:00
Jorim Jaggi
5be4d295c0 Merge "Only enable fingerprint auth after first regular auth" into mnc-dev 2015-05-05 20:51:18 +00:00
John Spurlock
d5304020b2 Merge "Volume A11y: Prevent auto-dismiss when feedback enabled." into mnc-dev 2015-05-05 20:43:54 +00:00
Ben Kwa
75597d0dc5 Clean up error handling in CopyService.
Change-Id: I87b9f2c2cfddc222fbee64578b0a1349508a244f
2015-05-05 11:58:38 -07:00
Ben Kwa
efb70fd8a0 Merge "Cherry pick beefed-up error handling in the CopyService from master. DO NOT MERGE" into mnc-dev 2015-05-05 18:54:07 +00:00
John Spurlock
5adeabc61d Volume A11y: Prevent auto-dismiss when feedback enabled.
- Prevent the volume dialog from timing out when feedback is enabled.
 - Use the a11y events as an additional user activity signal.
 - Add content descriptions for the dialog icon buttons.

Bug: 20172022
Change-Id: Id5cd29d9cee27fded2fc8a029913cfcc2b68c152
2015-05-05 14:53:13 -04:00
Jorim Jaggi
237b061182 Only enable fingerprint auth after first regular auth
- Add method hasUserAuthenticatedSinceBoot to TrustManagerService
- Use this information to only enable fingerprint auth after the user
has at least once authenticated with his regular authentication
method.

Change-Id: Icf073ac3b340d557b044f6bf27f1a7f8511048e2
2015-05-05 11:43:42 -07:00
Tony Mantler
def4c0c49a Merge "Don't crash in StorageMeasurement if volume isn't mounted" into mnc-dev 2015-05-05 17:59:01 +00:00
Chris Craik
2507c34d91 Cleanup properties
bug:19967854

Separate properties from Caches, into static, RenderThread-only class.

Also rewrites the means for java to set properties to correctly handle
threading, and adds an override for profile bars so that SysUi doesn't clutter
the screen with them.

Change-Id: I6e21a96065f52b9ecc49d1a126244804ba106fa9
2015-05-05 10:36:09 -07:00
Casper Bonde
424681e43e Settings UI for SIM access profile (2/2)
Change-Id: I2e44a858ee3f3349baa401ee7002186d3ae19412
2015-05-05 16:59:24 +00:00