5174 Commits

Author SHA1 Message Date
Chris Wren
e03f4e1fae handle updates to the notification in the heads up
Bug: 10226356
Change-Id: I5bc9aecc3849617092e863868a6df610c615048b
2013-08-22 10:45:31 -04:00
John Spurlock
758b038bc8 am 83208e34: Remove obsolete sysbar icons and layouts.
* commit '83208e34f6a0381d5627886dbf98ff8f313e590f':
  Remove obsolete sysbar icons and layouts.
2013-08-22 06:59:02 -07:00
John Spurlock
83208e34f6 Remove obsolete sysbar icons and layouts.
Remove icons no longer referenced in source or layout files.
Some icons are referenced in obsolete layouts, remove those
as well.

Bug:10344949
Change-Id: Ifc2e4c01534499b687cebd3e32db61e9c7a92e4a
2013-08-22 09:41:39 -04:00
David Christie
95ea52f3f1 am 8b525e75: Merge "Switch QuickSettings to new LocationMode setting api." into klp-dev
* commit '8b525e75a05c693623a88fc49dfc78958858b4d7':
  Switch QuickSettings to new LocationMode setting api.
2013-08-21 10:45:05 -07:00
David Christie
8b525e75a0 Merge "Switch QuickSettings to new LocationMode setting api." into klp-dev 2013-08-21 17:40:43 +00:00
John Spurlock
e21d5b373a am b06b8b02: Merge "Improve transient bar transitions." into klp-dev
* commit 'b06b8b02674bb6d93f10a5c512aad8694867aa5c':
  Improve transient bar transitions.
2013-08-21 06:38:53 -07:00
John Spurlock
b06b8b0267 Merge "Improve transient bar transitions." into klp-dev 2013-08-21 13:36:36 +00:00
Jason Monk
a9e12e03f3 am ff796e5a: Merge "Change PacProcessor to Android Service" into klp-dev
* commit 'ff796e5a24481febd8c07b1a6a3c3eda0e3fd88b':
  Change PacProcessor to Android Service
2013-08-20 16:37:45 -07:00
Jason Monk
ff796e5a24 Merge "Change PacProcessor to Android Service" into klp-dev 2013-08-20 23:35:26 +00:00
David Christie
448baa08d0 Switch QuickSettings to new LocationMode setting api.
Change-Id: Ie3981741ae422562e9c703b76d10278f285739c6
2013-08-20 15:22:33 -07:00
Sandeep Siddhartha
46b57ce3a1 am aed96e1b: Merge "Add hotword detection in insecure keyguard" into klp-dev
* commit 'aed96e1b2bedc9db82462cde37a811a0e7aee05f':
  Add hotword detection in insecure keyguard
2013-08-20 14:44:20 -07:00
Sandeep Siddhartha
aed96e1b2b Merge "Add hotword detection in insecure keyguard" into klp-dev 2013-08-20 21:41:44 +00:00
Jason Monk
9ced3cd9d6 Change PacProcessor to Android Service
This switches the PacProcessor over to an Android Service.  The service
is bound and unbound by the PacManager, which also adds it to the
ServiceManager, allowing for Context-Free access by the PacProxySelector
in all DVMs.

bug:10182711
Change-Id: Id1ff7660be56e8976cdcccd76e041feb47a17a61
2013-08-20 17:36:39 -04:00
Sandeep Siddhartha
f4d922b2d9 Add hotword detection in insecure keyguard
- This talks to a service that's implemented by the Search app
- The AIDL interface may be moved to the framework in a later CL

Change-Id: I26553e46f7d17ba4ac7a952c871b28b261cba975
2013-08-20 14:17:02 -07:00
Jason Monk
3a8acf0a5a am b7ac0d02: Merge "Fix ProxyHandler to only run when needed" into klp-dev
* commit 'b7ac0d02d666fb3483b42c291cd3a193d7ca8154':
  Fix ProxyHandler to only run when needed
2013-08-20 14:15:33 -07:00
Jason Monk
b7ac0d02d6 Merge "Fix ProxyHandler to only run when needed" into klp-dev 2013-08-20 21:13:24 +00:00
Svetoslav
be88e35d61 am d3092167: Merge "Implemented advanced printer selection and API refactoring." into klp-dev
* commit 'd30921672ca3022107ce63f750b0f35ab224af4b':
  Implemented advanced printer selection and API refactoring.
2013-08-20 13:46:16 -07:00
Svetoslav
d30921672c Merge "Implemented advanced printer selection and API refactoring." into klp-dev 2013-08-20 20:42:05 +00:00
John Spurlock
5b9145bf99 Improve transient bar transitions.
1. If app clears transient flag w/ a gesture, the touch-outside
listener would always win, causing an unsightly hide + immediate
reshow.  Instead, give the app some time to clear the flag, then
perform a smooth transition in place.

2. When the transient bars are hidden, we do not know ahead of time
which background will be used on reshow (if transient bars are
revealed, the background is semi-transparent, if transient bars
are cleared, the background is opaque).  Window manager is responsible
for showing windows, but sysui is responsible for setting the view
background.  Therefore, we need some level of coordination between
the two in this case.  Introduce two new non-public sysui flags
that represent the window manager's request to reshow the hidden
bars, but do not reshow until sysui acknowledges (by clearing the flag).
This gives sysui whatever time is necessary to prepare itself for
reshow, avoiding unsightly blip from opaque -> transparent during
the enter animation.

3. When both system bars are hidden, any low-profile changes are
moot.  Avoid unsightly low-profile animations during bar reshow
by suppressing the flag in this case.

4. Improve transient bar home -> launcher transition by cancelling
the -> opaque animation.  This also fixes a bug where hitting
home from the transient bar would leave you with a semi-transparent
bar in a non-transient state.

Bug:10284800
Change-Id: I238210561d8d5f70c1a517283b986c9105a1ec75
2013-08-20 15:37:03 -04:00
Jason Monk
433ba46fcc Fix ProxyHandler to only run when needed
Changes ProxyHandler service to only be active when needed for PAC services.

Bug: 10260877
Change-Id: If42e53e805488fd08381baa96409ba3027661c70
2013-08-20 15:27:51 -04:00
Lorenzo Colitti
7515809107 am 743218d7: Merge "Display signal strength on data-only SIMs." into klp-dev
* commit '743218d7a121c02b0648f167e360518266e38419':
  Display signal strength on data-only SIMs.
2013-08-19 18:20:16 -07:00
Lorenzo Colitti
743218d7a1 Merge "Display signal strength on data-only SIMs." into klp-dev 2013-08-20 01:17:31 +00:00
Svetoslav
269403b032 Implemented advanced printer selection and API refactoring.
1. Added past printer history tracking and merging favorite printers
   with discovered printers.

2. Added save as PDF support.

3. Added all printers activity with search capability and optional
   add printers chooser (if any print service provides add printers
   activity)

4. Refactored the printer discovery session APIs. Now one session
   can have multiple window discovery windows and the session stores
   the printers found during past discovery periods.

5. Merged the print spooler and the print spooler service - much
   simpler and easier to maintain.

Change-Id: I4830b0eb6367e1c748b768a5ea9ea11baf36cfad
2013-08-19 13:24:11 -07:00
Jeff Sharkey
f39b8d2c22 am 6b73eb28: Merge "Request more documents when EXTRA_HAS_MORE." into klp-dev
* commit '6b73eb28d734e9dd65d3551e43f7c41445fdc8c9':
  Request more documents when EXTRA_HAS_MORE.
2013-08-19 13:02:21 -07:00
Jeff Sharkey
6b73eb28d7 Merge "Request more documents when EXTRA_HAS_MORE." into klp-dev 2013-08-19 19:58:56 +00:00
Jeff Sharkey
dd5b9e38bb am f7e2a2e9: Merge "Management actions, invalidate caches." into klp-dev
* commit 'f7e2a2e96321f56c53cad01a69bd71b281900030':
  Management actions, invalidate caches.
2013-08-19 12:58:43 -07:00
Jeff Sharkey
f7e2a2e963 Merge "Management actions, invalidate caches." into klp-dev 2013-08-19 19:55:20 +00:00
Baligh Uddin
7e7f8d48a6 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-19 18:38:51 +00:00
Baligh Uddin
541b77c866 Import translations. DO NOT MERGE
Change-Id: I7fcd9d781a4d960b3edf245a4ee19f1a6b6bd35c
Auto-generated-cl: translation import
2013-08-19 08:23:40 -07:00
John Spurlock
8e514f10e0 am f01f1e9b: Merge "Use panel tracking as signal preventing auto-collapse." into klp-dev
* commit 'f01f1e9b9e6b9ced969d79489619947fd5fedcbe':
  Use panel tracking as signal preventing auto-collapse.
2013-08-19 07:39:05 -07:00
John Spurlock
b2c48e876d am 91bab13b: Merge "Transition bars to opaque on user interaction." into klp-dev
* commit '91bab13b00f49a38b4aab18bceb3c8b9877e723c':
  Transition bars to opaque on user interaction.
2013-08-19 07:35:40 -07:00
John Spurlock
f6efa0df45 am 9bf6f5b0: Merge "Lose navigation bar icon alpha in transparent modes." into klp-dev
* commit '9bf6f5b05abc1fa26fe873554de4ee16c8e855ac':
  Lose navigation bar icon alpha in transparent modes.
2013-08-19 07:35:37 -07:00
John Spurlock
f01f1e9b9e Merge "Use panel tracking as signal preventing auto-collapse." into klp-dev 2013-08-19 14:35:20 +00:00
John Spurlock
91bab13b00 Merge "Transition bars to opaque on user interaction." into klp-dev 2013-08-19 14:34:27 +00:00
John Spurlock
9bf6f5b05a Merge "Lose navigation bar icon alpha in transparent modes." into klp-dev 2013-08-19 14:33:52 +00:00
John Spurlock
3b139a9ed0 Transition bars to opaque on user interaction.
When the transient bars are revealed, smoothly transition the
bar style to opaque to blend with the other panel chrome.

Bug:8706719
Change-Id: I65e5b22e2f91a3db0394c0f571127397ba692f46
2013-08-19 10:22:28 -04:00
Lorenzo Colitti
2ee168ea02 Display signal strength on data-only SIMs.
On SIM cards that support data but not voice, we currently
display a null signal strength icon, which is confusing because
data is actually working.

Fix this by displaying signal bars as well as showing the
"emergency calls only" or "no service" text which indicates that
voice service is not available.

Bug: 3339315
Change-Id: I7d888721e8dc5e22fefd1b8fa85ba046d46a8fba
2013-08-19 20:46:15 +09:00
Jeff Sharkey
b448660a22 Request more documents when EXTRA_HAS_MORE.
Implement EXTRA_HAS_MORE and EXTRA_REQUEST_MORE contract with
document providers.  Providers can include EXTRA_HAS_MORE when
additional data is available with additional cost, such as a network
request.

Listen to content changes based on returned cursor instead of
original Uri.  Include a test backend to exercise.  UX still under
development.

Bug: 10350207
Change-Id: Iaa8954df55a1a1c0aa96eb8a4fd288e12c2fbb01
2013-08-18 22:32:02 -07:00
Jeff Sharkey
4eb407a832 Management actions, invalidate caches.
In manage mode, touching launches a VIEW intent for the file.  Also
adds actions for sharing and deleting.

Move roots and thumbnail caches into Application object, and flush
cache when thumbnail size changes.  Listen for package changes and
broadcasts that should invalidate our roots cache.

Pick default grid/list mode based on provider hint.

Bug: 10329983, 10330210, 10378834, 10330069
Change-Id: I75afb1c58ab71bb9d55852b1059da7257a376248
2013-08-18 21:14:02 -07:00
Jeff Sharkey
ae59980c24 am 58514937: Merge "Resized thumbnails; async; extend MatrixCursor." into klp-dev
* commit '58514937628dfcf3b2949e4cbc45d5526ecb8019':
  Resized thumbnails; async; extend MatrixCursor.
2013-08-18 13:55:42 -07:00
Jeff Sharkey
5851493762 Merge "Resized thumbnails; async; extend MatrixCursor." into klp-dev 2013-08-18 20:53:29 +00:00
Jeff Sharkey
9d0843df7e Resized thumbnails; async; extend MatrixCursor.
When requesting thumbnails, check if their dimensions are larger
than requested, and downscale to avoid memory pressure.  Load them
async and with LruCache.

Extend MatrixCursor so that RowBuilder can offer() columns without
requiring they know the projection map.  This makes it easier to
respond to query() calls, where the remote side controls the
projection map.  Use it to handle custom projections in external
storage backend.

Update date/time formatting to match spec.

Bug: 10333418, 10331689
Change-Id: I7e947a8e8068af8a39b55e6766b3241de4f3fc16
2013-08-17 19:05:07 -07:00
John Spurlock
a4b70aff34 Use panel tracking as signal preventing auto-collapse.
Keeping track of pointer down at the window view level is unreliable
since gestures can be stolen.

Bug:10328256
Bug:10226720
Change-Id: I92d72f9eed73f90d2a7c5b30a3f6a4aa6549f799
2013-08-17 14:09:37 -04:00
John Spurlock
89835ddf32 Lose navigation bar icon alpha in transparent modes.
Also decouple visual style from bar mode in preparation for future
changes.

Bug:10344949
Change-Id: I8e5a94b023cd6a6606c3aab485f81b1494295cee
2013-08-16 16:58:45 -04:00
Baligh Uddin
7f2f60debe Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-16 18:02:17 +00:00
Jeff Sharkey
dc217bd6ba am 3aa2d9f5: Merge "Documents management mode; API adjustment." into klp-dev
* commit '3aa2d9f5530524287dcff84369d8298f12bc3f0d':
  Documents management mode; API adjustment.
2013-08-15 17:13:08 -07:00
Jeff Sharkey
3aa2d9f553 Merge "Documents management mode; API adjustment." into klp-dev 2013-08-16 00:08:05 +00:00
Jeff Sharkey
a5599ef636 Documents management mode; API adjustment.
Create documents manage mode to support Downloads and transient
storage devices.  Locks user into requested backend root, and forces
file sizes on and sorting by last modified.

Separate API constants for Documents versus Roots, and give concrete
MIME types for roots.

Treat null sizes as unknown.  Documents are always enabled in list
so that divider is drawn.  Mark external storage file as writable.

Bug: 10329983, 10332993, 10332952
Change-Id: I05f4fdf5b04041a38e1ba7fb30202a3b0c615bf6
2013-08-15 16:25:30 -07:00
John Spurlock
99df31a254 am 1d5ac159: Merge "Maintain TRANSIENT_*_BAR flags until transient bars hidden." into klp-dev
* commit '1d5ac159745234d54fd6aa63fa43c85741bcaf6d':
  Maintain TRANSIENT_*_BAR flags until transient bars hidden.
2013-08-15 15:18:07 -07:00
John Spurlock
1d5ac15974 Merge "Maintain TRANSIENT_*_BAR flags until transient bars hidden." into klp-dev 2013-08-15 22:13:14 +00:00