3729 Commits

Author SHA1 Message Date
Dave Santoro
003924c37a Unhide social stream APIs for Contacts.
Bug 5569021

Change-Id: Iba6ad0fb8d1bd4eafd9fbb42c28a332679ade11c
2011-11-07 17:06:54 -08:00
Adam Powell
b92a77b562 am b1dbf8e6: Merge "Change the "start deferred" fragment API to "user visible hint"" into ics-mr1
* commit 'b1dbf8e605c29ac00dde187579bd8ff8f18d7ba3':
  Change the "start deferred" fragment API to "user visible hint"
2011-11-07 23:01:48 +00:00
Tom Taylor
03da2f00aa Add new secure setting for controlling Messaging notifications
Bug 5552615
We're adding a new intent to allow 3rd party apps to disable
the Messaging app's notification. We want any app to be able to query
the setting of whether sms notifications are on or off, but only allow
system apps, particularly the Messaging app, to change that setting.
Other apps can change the setting by firing off an intent which brings
up a dialog activity in the Messaging app that'll let them turn off
Messaging notifications.

Change-Id: I4d2721191b86010efb383a24c28d911496440657
2011-11-07 14:16:44 -08:00
Adam Powell
78fed9b78f Change the "start deferred" fragment API to "user visible hint"
Allow a fragment to set a hint of whether or not it is currently user
visible. This will be used implicitly to defer the start of fragments
that are not user visible until the loaders for visible fragments have
run. This hint defaults to true.

Change-Id: Id1349d319886a277ef07301f64f7b9e12c8729bf
2011-11-07 13:47:13 -08:00
Narayan Kamath
928f97b186 am eaa17b76: Merge "Add an API for querying / enabling network TTS support." into ics-mr1
* commit 'eaa17b768fcd2624cb5d46a76ade24ebe7e56957':
  Add an API for querying / enabling network TTS support.
2011-11-05 19:33:11 +00:00
Jamie Gennis
2aafe742e5 SurfaceTexture: unhide setDefaultBufferSize
Change-Id: Ia4d3e1829339acaecaa7f10023945a432c581d72
2011-11-04 14:24:55 -07:00
Narayan Kamath
eaa17b768f Merge "Add an API for querying / enabling network TTS support." into ics-mr1 2011-11-04 11:01:57 -07:00
satok
d548ef3b80 am cb1001b2: Merge "Fix a memory leak of a Binder in SpellCheckerService" into ics-mr1
* commit 'cb1001b2829f7da86f66f2634bd40cbc51ba4998':
  Fix a memory leak of a Binder in SpellCheckerService
2011-11-03 09:13:13 +00:00
satok
cb1001b282 Merge "Fix a memory leak of a Binder in SpellCheckerService" into ics-mr1 2011-11-03 02:09:32 -07:00
Narayan Kamath
748af66ca2 Add an API for querying / enabling network TTS support.
bug:5284966
Change-Id: I01708f40bf0e975449125320dbcd4842210ca168
2011-11-02 19:37:52 +00:00
Dianne Hackborn
8f3818c71c am 39cec406: Merge "Add new OOM adjustment for the "previous" process." into ics-mr1
* commit '39cec40697ab3d1d106e0c0c21458b2085c96f00':
  Add new OOM adjustment for the "previous" process.
2011-11-02 17:50:23 +00:00
Dianne Hackborn
cf3b31704a am ad41a94b: Merge "Some optimizations." into ics-mr1
* commit 'ad41a94b298f834e13632ee29b27cefd75f10012':
  Some optimizations.
2011-11-02 17:50:14 +00:00
Dianne Hackborn
9e9a64e875 am f136aa34: Merge "Various performance and other work." into ics-mr1
* commit 'f136aa341abaaf7fd6f7632d41a30b2989d93985':
  Various performance and other work.
2011-11-02 17:30:26 +00:00
satok
74061ff904 Fix a memory leak of a Binder in SpellCheckerService
Bug: 5499490

Change-Id: I167a3e9dfdd6edd06c6ad993fbff3a535c81b09c
2011-11-03 01:22:20 +09:00
Dianne Hackborn
f35fe23669 Add new OOM adjustment for the "previous" process.
This is the process that you had previously been interacting with
in the UI before the current one.  Treating it specially should
allow us to improve the scenario of switching back and forth
between two apps.

Also add API constent for ICS MR1.

Change-Id: Ib3fe4df36b270be11dfd6b7e8d107c9994058a4d
2011-11-01 19:25:20 -07:00
Dianne Hackborn
0500b3cfda Some optimizations.
- Don't try to create a thumbnail bitmap on the client side.  This
  wastes 64k, and isn't needed since we are doing screenshots.
- Optimize View to put all of the callback pointers out of line.
  Added a couple new APIs so these don't need to be protected/public.
- Lazily create ViewGroup's cache paint.
- Change FrameworkPerf app to not use HW accel drawing, to give better
  comparison with GB.

Change-Id: Iec56d02459820d74a4cc9c7ec9c1856563c82c7b
2011-11-01 18:01:33 -07:00
Pannag Sanketi
0d04c02a48 am dd79b4c8: Merge "Expose video stabilization API" into ics-mr1
* commit 'dd79b4c85a9dd2c2ad702ea2137fe2a076567fa1':
  Expose video stabilization API
2011-11-01 21:59:09 +00:00
Dianne Hackborn
2c84cfc001 Various performance and other work.
- IME service now switches between visible and perceptible depending on
  whether it is being showm, allowing us to more aggressively free its
  memory when not shown.

- The activity display time is no longer delayed by the activity
  transition animation.

- New -R (repeat) option for launching activities with the am command.

- Improved some documentation on Loader to be clear about some methods
  that apps should not normally call.

- FrameworkPerf test now allows you to select individual tests to run.

Change-Id: Id1f73de66dc93d63212183958a72119ad174318b
2011-10-31 16:52:34 -07:00
Nick Pelly
cccf01d3e2 API Change: add isNdefPushEnabled() & ACTION_NFC_SETTINGS.
Modify isNdefPushEnabled() semantics slightly - true only if isNfcEnabled && NDEF push enabled.

Fix up docs.

Change-Id: Icd2df9c636ecf2d8274851bbda423f2eae7bac5f
2011-10-31 14:49:40 -07:00
Pannag Sanketi
d47823e359 Expose video stabilization API
Related to bug:5469735

Change-Id: I0a8245b37eed7f2cb58d35c7a9a7b3b293b64694
2011-10-31 14:17:46 -07:00
satok
d412f9f15b am 4a6d0879: Merge "Add a flag for recommended suggestions of the spell checker" into ics-mr1
* commit '4a6d0879465ea6eb52b2b75e9fa2a4a84e1b0d86':
  Add a flag for recommended suggestions of the spell checker
2011-10-31 12:26:23 +00:00
satok
4a6d087946 Merge "Add a flag for recommended suggestions of the spell checker" into ics-mr1 2011-10-28 18:26:40 -07:00
Chet Haase
59d04a0ce4 am d568bba5: Merge "Optimize handling of scrolled wallpapers" into ics-mr1
* commit 'd568bba507b0f66d4d57c67b08ade894d2c75e53':
  Optimize handling of scrolled wallpapers
2011-10-28 22:44:16 +00:00
Adam Powell
1bc7d4b192 am 65793dc0: Merge "Add API for deferring fragment start." into ics-mr1
* commit '65793dc043eee43790137f79beeba7ed8b123902':
  Add API for deferring fragment start.
2011-10-28 22:27:12 +00:00
Chet Haase
a8e5a2bcd6 Optimize handling of scrolled wallpapers
Swiping the home screen causes the WindowManagerService to do
a bunch of work to keep the wallpapers in sync. First, it lays out
and places all windows. Also, it notifies the SystemUI process that
the wallpaper position has changed.

The layout/place operation is too much work - we only need to set
the position values for the wallpaper, not relayout the whole system.

The notification mechanism must exist, but should be optional. Most
wallpapers don't care (especially static ImageWallpapers). So we'll
give them a new API (WallpaperService.Engine.setWantsOffsets()) to
allow wallpapers to opt out of this process and avoid the performance
overhead.

Change-Id: I66c38375438937f14f6f5550565b28eb204b1e06
2011-10-28 14:49:23 -07:00
Adam Powell
65793dc043 Merge "Add API for deferring fragment start." into ics-mr1 2011-10-28 10:43:33 -07:00
satok
a17b350623 Add a flag for recommended suggestions of the spell checker
Bug: 5356130
Change-Id: I8361a2750670dadd514d02dd24bf492ce42ff8fc
2011-10-28 20:51:14 +09:00
Adam Powell
635c60af62 Add API for deferring fragment start.
Fragments now have the setDeferStart method to signal that a fragment
has lower priority than others. Deferred start fragments will not
always be started immediately; they will be started once any loaders
have finished servicing any outstanding requests. This is useful if
any attached fragments are not immediately visible and can wait to
start until later.

Disabling deferStart on a fragment that is waiting for a deferred
start will start it immediately. Start.

Change-Id: Ia1f004877ca5e88d4f10147d21c7e2e97f141c34
2011-10-27 15:54:51 -07:00
Matthew Xie
ae5839dcad Make public APIs of ACTION_UUID, getUuids, and fetchUuidsWithSdp
Give APP a way to find out if a service is supported by a remote device
bug 5487202

Change-Id: Ie778b3227f29a24cdf61fa0365b82f9a45d439dc
2011-10-27 14:28:46 -07:00
James Dong
b4a9fd9faf am 17a5fb36: Merge "Unhide QVGA related resolution profiles and allow to use QVGA resolution for timelapse video recording." into ics-mr1
* commit '17a5fb36f88d90e30fd656d0d93b540ec2e2b84a':
  Unhide QVGA related resolution profiles and allow to use QVGA resolution for timelapse video recording.
2011-10-27 21:13:54 +00:00
James Dong
17a5fb36f8 Merge "Unhide QVGA related resolution profiles and allow to use QVGA resolution for timelapse video recording." into ics-mr1 2011-10-27 14:09:50 -07:00
RoboErik
6520174f4c am 20345af2: Merge "Add new Calendar APIs to fw" into ics-mr1
* commit '20345af24a50798965f6d295fbe4cc8f78c95e7f':
  Add new Calendar APIs to fw
2011-10-27 20:19:06 +00:00
RoboErik
20345af24a Merge "Add new Calendar APIs to fw" into ics-mr1 2011-10-27 13:13:36 -07:00
RoboErik
4172d95a67 Add new Calendar APIs to fw
b/5317399 b/5309787 b/5207781 b/5347210 Adds apis for a color
table to support future migrations. Adds allowedAttendeeTypes
and allowedAvailabilities for exchange/gsync support. Adds
type_resource for attendees and tentative availability. Documents
that eventTimezone is required for creating an event.

Change-Id: Id3f866c46f76f2b5b098f4961ea09d48f17598c3
2011-10-27 10:50:09 -07:00
James Dong
33fe290ca3 Unhide QVGA related resolution profiles and allow to use QVGA resolution for timelapse video recording.
Change-Id: I328d9fa83a381415d7648218a6fb93b3724bbcc6
related-to-bug: 5343832
2011-10-27 08:47:07 -07:00
satok
cbb7bdff0a am 6f444425: Merge "Make FLAG_AUTO_CORRECTION public" into ics-mr1
* commit '6f444425fe1bb62e12973c5df6a3161bc2aa2ce7':
  Make FLAG_AUTO_CORRECTION public
2011-10-26 20:18:19 +00:00
satok
0f0a3945ef Make FLAG_AUTO_CORRECTION public
Bug: 5440299

Change-Id: Ia82745e793be741c1558ce15b189b63872107ddb
2011-10-26 15:13:28 +09:00
Svetoslav Ganov
021078554b Adding APIs to enable reporting virtual view hierarchies to accessibility serivces.
Added an interface that is the contract for a client to expose a virtual
view hierarchy to accessibility services. Clients impement this interface
and set it in the View that is the root of the virtual sub-tree. Adding
this finctionality via compostion as opposed to inheritance enables apps
to maintain backwards compatibility by setting the accessibility virtual
hierarchy provider on the View only if the API version is high enough.

bug:5382859

Change-Id: I7e3927b71a5517943c6cb071be2e87fba23132bf
2011-10-21 11:45:44 -07:00
Svetoslav Ganov
e261e283ea Add content description setter to RemoteViews
bug:5480389

Change-Id: I66616f379a244ba7f3552d766f3aaa77f207550a
2011-10-18 18:01:47 -07:00
Jeff Brown
825c5132bf Add a CrossProcessCursorWrapper.
Bug: 5220669

The CrossProcessCursorWrapper is a useful building block
for wrapping cursors that will be sent to processes remotely.
It can also transform normal Cursors into CrossProcessCursors
transparently.

The new class fixes common performance problems and bugs
that applications have encountered when implementing
ContentProviders.

Change-Id: Icc59fec10add3f7d8cfbd0495447860c1872c752
2011-10-13 14:24:26 -07:00
Jeff Brown
5e5d6d8ba0 Deprecate local-only CursorWindows.
There is no difference and has never really been a difference
between local-only and remotable CursorWindows.  By removing the
distinction officially in the API, we will make it easier to
implement CrossProcessCursor correctly.  CrossProcessCursor
is problematic currently because it's not clear whether a call
to getWindow() will return a local-only window or a remotable window.
As a result, the bulk cursor adaptor has special case handling
for AbstractWindowedCursors vs. ordinary CrossProcessCursors
so that it can set a remotable window before the cursor fills it.
All these problems go away if we just forget about local-only
windows being special in any way.

Change-Id: Ie59f517968e33d0ecb239c3c4f60206495e8f376
2011-10-12 22:19:41 -07:00
Svetoslav Ganov
8b6c7dd2fe Add AccessibilityRecord#getMaxScrollX and #getMaxScrollY to the pubic API
The methods were hidden for the previoud release since they were added
too close to the SDK final date.

bug:5424373

Change-Id: I812b9809223db75636b04549500f023820b6eb5a
2011-10-11 14:16:41 -07:00
Jeff Sharkey
ad9c5718da am a50d0f89: Merge "Hide quota APIs until finalized." into ics-factoryrom
* commit 'a50d0f8985d811a6a2f49aa65e31892048e96ccf':
  Hide quota APIs until finalized.
2011-10-06 11:22:40 -07:00
Jeff Sharkey
44a3e0d497 Hide quota APIs until finalized.
Bug: 5383656
Change-Id: Ia2a978a6ff2ee642b0ea4d7d6b8857b7efffd612
2011-10-06 10:50:09 -07:00
Dave Santoro
0b61f59d77 Add new permissions for read/write social stream.
This is a manual merge of a change going in to ICS-FactoryROM.

These permissions are needed to separate the (potentially invasive)
access to the user's social stream from the existing read/write
contacts permission.

Per discussion with Android release team, we are also hiding the
stream item API until we figure out a better way to guard the data.

Bug 5406886

Change-Id: I8339d743c3ebe8923c7ee47f2900444efcf82a52
2011-10-04 15:35:48 -07:00
Dave Santoro
7d535138c1 DO NOT MERGE New permissions for social stream.
These permissions are needed to separate the (potentially invasive)
access to the user's social stream from the existing read/write
contacts permission.

Per discussion with Android release team, we are also hiding the
stream item API until we figure out a better way to guard the data.

Bug 5406886

Change-Id: I8339d743c3ebe8923c7ee47f2900444efcf82a52
2011-10-04 15:09:54 -07:00
Jesse Wilson
9c5cacc71a Format NaN and Infinity as Doclava expects.
Change-Id: I500e049132b3254e3b78e08c1875e0dc451b70b6
2011-09-28 17:04:52 -04:00
Jaikumar Ganesh
90fb9aa93a Merge "Make Bluetooth Health constant public." into ics-factoryrom 2011-09-21 17:44:32 -07:00
Jaikumar Ganesh
fd966a124f Make Bluetooth Health constant public.
Change-Id: I366f1231056fe978d85ee80c773d5911badb22e2
2011-09-21 16:03:42 -07:00
Kenny Root
3a9b5fbb97 Unhide new PackageManager APIs for API 14
Change-Id: I83110285ccee39a4cd872a1c2af8357f541833d4
2011-09-20 14:35:10 -07:00