110939 Commits

Author SHA1 Message Date
Svetoslav Ganov
99cc86f9e0 Addressing API councing suggestions for com.android.printservice
bug:10553001

Change-Id: Ic4f7882bd10fcce79c7afc65fdb2018cbadb19c2
2013-08-29 21:37:40 -07:00
Jeff Hao
7be3a138d5 Add frameworks support for sample profiling from traceview gui.
(cherry picked from commit ca307d3138ff1e5d0bcf190eb24f3b8dbcabfaa9)

Change-Id: I3553bafe24ac8deb4fa3f9a4d78939c3848b3850
2013-08-28 22:13:17 -07:00
Jeff Sharkey
9fd81a9008 Merge "Stronger DocumentsProvider contract." into klp-dev 2013-08-29 04:27:02 +00:00
Jeff Sharkey
aeb16e2435 Stronger DocumentsProvider contract.
Using a contract class requires that a provider implement it exactly
with little help. This change introduces a DocumentsProvider abstract
class that provides a client-side implementation of the contract that
greatly reduces developer burden, and improves correctness.

This also moves to first-class DocumentRoot objects, and moves calls
with complex side effects to be ContentProvider.call() invocations,
offering more granular permission control over Uri operations that
shouldn't be available through Uri grants.

This new design also relaxes the requirement that root information be
burned into every Uri.  Migrate ExternalDocumentsProvider and
DocumentsUI to adopt new API.

Bug: 10497206
Change-Id: I6f2b3f519bfd62a9d693223ea5628a971ce2e743
2013-08-28 20:49:42 -07:00
Baligh Uddin
166853e6c9 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-29 03:06:07 +00:00
Baligh Uddin
5c77627077 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-29 03:04:13 +00:00
Baligh Uddin
9c35975546 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-29 03:04:01 +00:00
Baligh Uddin
612db0a007 Import translations. DO NOT MERGE
Change-Id: I665172800a06d780b92a5db2ab549980c87e8524
Auto-generated-cl: translation import
2013-08-28 18:35:58 -07:00
Alan Viverette
b432ca60c6 Merge "Fix documentation regarding defStyle in View constructor" into klp-dev 2013-08-29 01:15:48 +00:00
Baligh Uddin
62ee6fab65 Import translations. DO NOT MERGE
Change-Id: Ic6b1048f4afaa520fea602ec4367de5e192186bd
Auto-generated-cl: translation import
2013-08-28 18:05:47 -07:00
John Spurlock
ab8fe69296 Merge "Rename hideybars constant to SYSTEM_UI_FLAG_IMMERSIVE." into klp-dev 2013-08-29 01:00:03 +00:00
Robert Greenwalt
9fe5b28dc2 Merge "More elaborate logs to debug missing APs" into klp-dev 2013-08-29 00:51:35 +00:00
Baligh Uddin
ad155cdacc Import translations. DO NOT MERGE
Change-Id: I22efa95394f7b572df2b43138fee45bd7eaf4229
Auto-generated-cl: translation import
2013-08-28 17:36:17 -07:00
Alan Viverette
fb410d219f Fix documentation regarding defStyle in View constructor
BUG: 8912583
Change-Id: Ib8b1f8baa4ee98aae0e66edc547ab014b2401415
2013-08-28 16:57:42 -07:00
Sandeep Siddhartha
720959cc7f Merge "Start using the Hotword recognition APIs" into klp-dev 2013-08-28 23:55:57 +00:00
Chet Haase
52485b0b7e Merge "Better transition interruption and TextChange fixes" into klp-dev 2013-08-28 23:55:10 +00:00
Chet Haase
af78bdd615 Better transition interruption and TextChange fixes
Previously, the TextChange transition didn't handle interruption/
cancellation at all, which made it problematic to use in any real
situation where a transition might get interrupted mid-animation.
Also, the way that it side-effected the text of TextView objects caused
errors in the UI when the transition was interrupted, because it would
not clean up after itself properly as new transitions queried the
current state of the UI.

Also, the prior cancellation logic for all transitions was not quite
correct; we were pausing transitions but resuming the animations, making it
tricky to write transitions that would restore state correctly.

Change-Id: I5a9f3c915e9834ec59ce1e1c3c96a88d11e4aa1b
2013-08-28 16:50:13 -07:00
Isaac Katzenelson
18f590a9b7 Merge "Remove EXTRA_DELETE_AFTER_USE and update descriptions accordingly." into klp-dev 2013-08-28 23:49:41 +00:00
Sandeep Siddhartha
42c3e02c52 Start using the Hotword recognition APIs
- Gets rid of all assumptions about the hotword service
- Fixes bug where the hotword detection would keep running accidentally
  even when the screen got turned off

Change-Id: Ie86c1a4f4343bdf7e61f7c21114fd3b287bd5401
2013-08-28 23:40:32 +00:00
Sandeep Siddhartha
bd31a483d3 Merge "Tweak the HotwordRecognizer API" into klp-dev 2013-08-28 23:39:00 +00:00
Sandeep Siddhartha
823393477b Tweak the HotwordRecognizer API
- Make it more intuitive by enforcing callers to set a listener while
  starting recognition
- Fix TODO to resolve the ComponentName if none is provided
- Unbind from the Hotword service if stopRecognition is called
- Get rid of the callback in onStopHotwordRecognition

Change-Id: I8edad0ef0f3671283aeb51eaed1d3b8dab01baa0
2013-08-28 16:27:36 -07:00
Mindy Pereira
dd9b079cdf Merge "Fix case when user touches the very edge of a view" into klp-dev 2013-08-28 23:08:53 +00:00
Mindy Pereira
0d3da1232b Fix case when user touches the very edge of a view
This now counts touches at the exact top edge of the view as valid

Change-Id: I9e81a7001632c38d567dde40954e079e7145fa36
2013-08-28 15:00:14 -07:00
Vinit Deshapnde
48c4747106 More elaborate logs to debug missing APs
Bug: 10375978

Change-Id: Ic9bb8f3a7a0684143e4e77f8da0d2c833293c94a
2013-08-28 13:13:40 -07:00
Fabrice Di Meglio
627dd9b584 Merge "Fix bug #10515013 CalendarView is always forcing first day of the week to Sunday and not taking into account CLDR data" into klp-dev 2013-08-28 19:53:56 +00:00
John Spurlock
f016a91247 Merge "Ensure IME windows always appear north of the nav bar." into klp-dev 2013-08-28 19:32:06 +00:00
Dirk Dougherty
f503fbd0a2 am d4702f3c: am 6d3fbd00: am 8236443b: Doc change: update spam policy image.
* commit 'd4702f3c67473045d92eb4c3ea001d671f2f5f56':
  Doc change: update spam policy image.
2013-08-28 11:46:48 -07:00
Dirk Dougherty
d4702f3c67 am 6d3fbd00: am 8236443b: Doc change: update spam policy image.
* commit '6d3fbd0073cdb9cd21acfb56b58a29634bd182ad':
  Doc change: update spam policy image.
2013-08-28 11:44:42 -07:00
Sam Blitzstein
229ba4974b Remove EXTRA_DELETE_AFTER_USE and update descriptions accordingly.
As per UX, we're removing the EXTRA_DELETE_AFTER_USE flag. Instead,
apps that pick up these intents should automatically delete alarms
and timers, unless the user is taken into the app to explicicitly
specify the time/length.

Change-Id: Ibd582788c04e121427467f6549759c8b7706df8c
2013-08-28 11:42:05 -07:00
Dirk Dougherty
6d3fbd0073 am 8236443b: Doc change: update spam policy image.
* commit '8236443bdac2ba7c7630ddcc4ce9a18a03fe31a1':
  Doc change: update spam policy image.
2013-08-28 11:42:05 -07:00
Dirk Dougherty
8236443bda Doc change: update spam policy image.
Change-Id: Ib19ea838f0f72725cedf2cea8aff505ccc477a45
2013-08-28 11:37:05 -07:00
John Spurlock
d4e6575c4f Ensure IME windows always appear north of the nav bar.
Even if the bars are transparent / invisible.

Refactor the PSB bar mode override logic to take the IME hint into
account.  Bars are overriden to opaque when hint is showing.

Initialize bar state to showing, fix bug that would mark state
as hidden pre-show (on shell restart).

Bug:10505132
Bug:9499956
Change-Id: I21e830e90c7e9812b4192ca65c3c0cd7a6b72798
2013-08-28 14:20:22 -04:00
Alan Viverette
236ae4f2c9 Merge "Set alpha channel correctly when recomputing gradient" into klp-dev 2013-08-28 18:03:11 +00:00
Alan Viverette
ce9e2526d4 Merge "Implement new accessibility APIs in lists, text view" into klp-dev 2013-08-28 17:44:44 +00:00
Santos Cordon
b56ed3a4b2 Merge "Protecting against NPE with null country detector." into klp-dev 2013-08-28 17:43:19 +00:00
Alan Viverette
5b2081dc41 Implement new accessibility APIs in lists, text view
Sets contentInvalid for TextViews with errors, sets collection
and item properties in AbsListView, GridView, and ListView.

BUG: 10391326
Change-Id: I91191c8ce1e10a1112f74215e30b26349396344b
2013-08-28 10:43:07 -07:00
Alan Viverette
116c12ef4c Merge "Add public API for obtaining drag-to-open listener" into klp-dev 2013-08-28 17:25:06 +00:00
Alan Viverette
4d971c1fa0 Set alpha channel correctly when recomputing gradient
The alpha channel is applied by modulateAlpha(). Setting it to
mAlpha in ensureValidRect() locked the maximum alpha channel to
whatever value was set before layout. Setting it to BLACK
ensures it can be modulated later.

BUG: 10514848
Change-Id: If7a824410a66f1e9b648e20ee627bdf99a42ae78
2013-08-28 10:24:12 -07:00
Marco Nelissen
ee9d443842 Merge "Use explicit intent for MediaScannerConnection" into klp-dev 2013-08-28 17:19:47 +00:00
Jason Monk
1f809c7761 Merge "Don't clear Global Proxy on boot." into klp-dev 2013-08-28 14:41:15 +00:00
John Spurlock
d20aeab028 Merge "SystemUI asset update post ux asset merge." into klp-dev 2013-08-28 13:26:01 +00:00
John Spurlock
0d1376811c SystemUI asset update post ux asset merge.
Bug:10502089
Change-Id: I88b0b4a17018766bccb99426f8f270214c883427
2013-08-28 09:02:40 -04:00
Daniel Sandler
f31da76a3a Merge "Remove period from "No service."" into klp-dev 2013-08-28 13:01:21 +00:00
Daniel Sandler
52a1923592 Remove period from "No service."
Bug: 10460869
Change-Id: I57b030518c9cfec367da21e39af7a001a565daa4
2013-08-28 08:42:14 -04:00
Zhijun He
5b6ce5a292 Merge "ImageReader: Fix null listener case" into klp-dev 2013-08-28 02:22:37 +00:00
John Spurlock
ae73139f37 Merge "Remove unreferenced assets from SystemUI." into klp-dev 2013-08-28 01:26:13 +00:00
Baligh Uddin
ef8000670e Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-28 00:45:47 +00:00
Fabrice Di Meglio
b08e5788a7 Fix bug #10515013 CalendarView is always forcing first day of the week to Sunday and not taking into account CLDR data
- remove the "force to Sunday"
- code cleaning and remove dependency on deprecated API

Change-Id: I992e893a904c45c8e0ce1d9dedb59b352e3a449f
2013-08-27 17:43:53 -07:00
Baligh Uddin
c513608dc1 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-28 00:42:58 +00:00
Baligh Uddin
397c7aaf8d Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-28 00:42:36 +00:00