36902 Commits

Author SHA1 Message Date
Scott Main
f67eb43600 docs: fix code snippet error
Change-Id: I5d65effce4a88af2cbf990276015ed24200037b5
2010-11-23 14:46:49 -08:00
Andreas Huber
52b52cdfb7 Support streaming data across binder boundaries.
Change-Id: Ifbac61406dcb81343765f99ccba08bd90f9274cc
2010-11-23 14:46:13 -08:00
Brad Fitzpatrick
07cb89432c Merge "StrictMode.Span annotations for ScrollView." 2010-11-23 14:15:00 -08:00
Chet Haase
5cafc52fb1 Fix hang in native bitmap recycling due to nested mutex locks
Change-Id: Ic37d5408ddb3f68aba6520fb0c78ffde91dfbe62
2010-11-23 14:11:43 -08:00
Chet Haase
2970c49938 various fixes for animations and javadocs
Issues around threading of animations and AnimatorSet bugs are
fixed in this change. Unrelated fixes to javadocs in other
framework classes are also part of the change.

Change-Id: I35f7e03ffdec9143bc2eb155e8f9384798ad35b3
2010-11-23 14:05:42 -08:00
Irfan Sheriff
f499eedd8b Merge "Stop listening to supplicant state change events" 2010-11-23 13:43:06 -08:00
Xavier Ducrohet
912aa81988 Merge "Layoutlib: use default nine patch classes." 2010-11-23 13:38:21 -08:00
James Dong
9fff216da9 Merge "Do not getConfig on video encoder on output port" 2010-11-23 13:38:18 -08:00
satok
4f4180737c Merge "Change return type of getShortcutInputMethodsAndSubtypes to Map<InputMethodInfo, List<InputMethodSubtype>>" 2010-11-23 13:34:04 -08:00
satok
f3db1af8d5 Change return type of getShortcutInputMethodsAndSubtypes to Map<InputMethodInfo, List<InputMethodSubtype>>
bug: 3201828

- Brushed up the code

Change-Id: I11ad9d1d749bd8947144ca7f1676bab3cf777fd6
2010-11-24 06:32:44 +09:00
Irfan Sheriff
533ada4260 Merge "Fix Wifi's setting of isAvailable." 2010-11-23 13:27:56 -08:00
Brad Fitzpatrick
ce81f3a955 StrictMode.Span annotations for ScrollView.
Between the animation system, ListView, and this, we can now account
for the large majority of animations in-flight at any point and annotate
StrictMode violations accordingly.

Note that StrictMode.Span goes out of its way to not allocate memory
and is very light-weight, especially on user builds where it's a
no-op.

I've tested this with the LOG_V debugging in StrictMode and I think
I've gotten all the entry/exit cases of ScrollView's animations.  At
least, I'm not able to get it out-of-sync at least, even with
orientation changes during scroll/fling, etc.  It's possible I missed
a path, but that should show up as excessive false positives during
dropbox uploads if so.

Change-Id: I3b0545111a775d9fa8e171f2a190031f1b56c4c0
2010-11-23 12:44:08 -08:00
Robert Greenwalt
3c661bde45 Fix Wifi's setting of isAvailable.
Manifested itself in ConnectivityService reporting no connectivity.

bug:3220092
Change-Id: I4c0149125b8e2b9c2493f87d208aecbf21590fff
2010-11-23 12:41:46 -08:00
Xavier Ducrohet
2d56b273ef Layoutlib: use default nine patch classes.
Move away from using our own implementation of NinePatchDrawable.
Now use native delegate for a few methods of NinePatch.

The byte[] used to describe the 9-patch chunk is entirely controlled
by the delegate. Therefore, while the default version (JNI) use the
array as a representation of a C struct, this version uses the array
as a serialized version of NinePatchChunk.

A cache mechanism using SoftReferences allows us to not deserialize
the array every time rendering needs to access the chunk itself.

The Bridge-level cache mechanism for bitmaps and nine-patches as
changed. Since the new nine-patches doesn't hold the bitmap
data anymore (it's stored in a normal Android bitmap which
is cached itself through the cache), then the nine-patch cache
has been changed to only contain the nine patch chunk.

Also initialize the canvas with the display metrics to prepare
for correct scaling when density of the assets don't match the target
density.

Still to come: actual density support in the 9-patch drawing code.

Change-Id: Ibefcccf4432e1986e8436e0c41a0107741593536
2010-11-23 11:54:25 -08:00
James Dong
0c9153df10 Do not getConfig on video encoder on output port
Change-Id: Id53e01dd8f3ec0c9ca94bb1d6dfccd7696254a2d
2010-11-23 11:44:51 -08:00
Mindy Pereira
b43d7589cf Merge "Update edge and glow rendering to match new specs." 2010-11-23 11:32:51 -08:00
Brad Fitzpatrick
05063d8a59 Merge "StrictMode fingerprinting / hashCode improvements." 2010-11-23 11:19:53 -08:00
Jean-Baptiste Queru
39154dfb87 am 9df7f313: am f0f6c54b: Merge "frameworks/base: Destroy the overlay even if there is an error"
* commit '9df7f31359866a77a47c9fab3171c71715fd0056':
  frameworks/base: Destroy the overlay even if there is an error
2010-11-23 11:17:48 -08:00
Jean-Baptiste Queru
9df7f31359 am f0f6c54b: Merge "frameworks/base: Destroy the overlay even if there is an error"
* commit 'f0f6c54b13831b11bd7a3bd7a01dc49b7505e56e':
  frameworks/base: Destroy the overlay even if there is an error
2010-11-23 11:14:57 -08:00
Mindy Pereira
a5531d784b Update edge and glow rendering to match new specs.
Change-Id: Id2ad0ff4fa78617cb79475952e9ce561ee8fec10
2010-11-23 11:12:20 -08:00
Jean-Baptiste Queru
f0f6c54b13 Merge "frameworks/base: Destroy the overlay even if there is an error" 2010-11-23 11:02:09 -08:00
Huahui Wu
a8f84063ff Merge "b/3186860: fix failing layout tests: fast/events/touch/basic-multi-touch-events-limited.html fast/events/touch/touch-target-limited.html" 2010-11-23 10:56:54 -08:00
Brad Fitzpatrick
f3d86be6d7 StrictMode fingerprinting / hashCode improvements.
Change-Id: I08ff939327f7c11a562851847ae91c67b1db4f87
2010-11-23 10:48:55 -08:00
Brad Fitzpatrick
a6a52dece7 Merge "Cache WindowManager in StrictMode; add android.util.Singleton" 2010-11-23 10:41:07 -08:00
Huahui Wu
3ebb51daa4 b/3186860: fix failing layout tests:
fast/events/touch/basic-multi-touch-events-limited.html
 fast/events/touch/touch-target-limited.html

Change-Id: I55ecc9944c888a005885704e296de7b7513a8172
2010-11-23 10:24:02 -08:00
Cary Clark
6c9aca670b Merge "cancel text selection on rotate" 2010-11-23 10:14:55 -08:00
Brad Fitzpatrick
0dccd0f0dc Merge "CloseGuard cleanups." 2010-11-23 10:14:29 -08:00
Cary Clark
c5cd5e9079 cancel text selection on rotate
Rotating the screen may cause it to layout differently. The
selected text may be hard to match or may not be visible at
all. Cancel the text selection mode when a rotate is detected.

bug:3205291
Change-Id: If7e8f98a1cc396bf21f8261f2a7b4a342907ef2f
2010-11-23 13:12:32 -05:00
Adam Powell
693c99ffdc Merge "Merge overscrolling from gingerbread." 2010-11-23 10:06:10 -08:00
Vasu Nori
34878787f0 Merge "print certain rows from downloads.db when bugreports are taken" 2010-11-23 10:05:06 -08:00
Adam Powell
637d337b58 Merge overscrolling from gingerbread.
Change-Id: I3eb4413261b38ddd8c609d6153bdfd4ae46c6a0f
2010-11-23 09:30:10 -08:00
Mike Lockwood
5a2755d0c9 Rename MtpCursor to PtpCursor
Change-Id: I8ce257641388b195f3e17995d323355b19355dc1
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-11-23 12:25:49 -05:00
Mike Lockwood
aef9c05d3f Merge "MTP: Remove static library build for linux host." 2010-11-23 09:22:37 -08:00
Kenny Root
e56764a8fd Merge "Add knowledge of mipmap to aapt" 2010-11-23 09:20:33 -08:00
Brad Fitzpatrick
0c8224000d CloseGuard cleanups.
Change-Id: I8ece2cb7f2c7ca2c1ac72ca3080c436e50aa6c80
2010-11-23 09:17:56 -08:00
Mike Lockwood
d46c683f0e MTP: Remove static library build for linux host.
Change-Id: Iefdd386b91dba0579ca952aca40b7114535e1d4e
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-11-23 10:30:31 -05:00
Mike Lockwood
c0b8b321d5 Rename MtpClient and MtpCursor to PtpClient and PtpCursor
Change-Id: I26fce3bf32c8e9c8d592106af7ab4c35b19e0996
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-11-23 10:30:31 -05:00
Mike Lockwood
a31560598a Rename android.provider.Mtp to android.provider.Ptp
We are only supporting the PTP subset of MTP in host mode and have
no plans for full MTP, so calling it Mtp was misleading.

Also moved ACTION_MTP_SESSION_END Intent name to android.provider.MediaStore
and added it to the public API.

Change-Id: Ie35d15864d5972e65a39b982aa51316ecca3725a
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-11-23 10:30:31 -05:00
Bjorn Bringert
901b3796fd Don't drop zeros in the second position in formatDuration()
Bug: 3223250
Change-Id: I462c96af51cc052f9df1dc3d2c668551b10155ea
2010-11-23 14:43:12 +00:00
Irfan Sheriff
b8297cfc76 Stop listening to supplicant state change events
wifi connected status should be based only on
network state change events or it can lead to a
race condition.

Change-Id: Ib2343f0d192ef99959f908a370d55aae7ba86a5a
2010-11-23 04:34:35 -08:00
Ben Murdoch
57914381a8 Offer the user the option to configure an AutoFill profile.
When the user selects a form field that is part of a form that can
be autofilled, inform the embedder that this is the case to give
them the opportunity to configure a profile if they the user has
not done so already. A Message is also provided
to the embedder that when sent will trigger the form to be filled
with the profile that the embedder set up.

Change-Id: Ica995e5b1ed92a3ec3e356401b261740d9f90e57
2010-11-23 12:18:02 +00:00
Dianne Hackborn
1c24e957ad Fix issue #3222014: Dragging items around home screen is unresponsive
Also make the dim fade duration configurable, with a configured value
that more closely matches what UX wants.

Change-Id: Id32e2de14a2a2003d8fade6331377d8d723ac397
2010-11-23 00:40:52 -08:00
Brad Fitzpatrick
cdcb73ef78 Cache WindowManager in StrictMode; add android.util.Singleton
Change-Id: I15a85461424de930710d4901658440b5d305cabb
2010-11-22 23:00:23 -08:00
Kenny Root
7c71023b7f Add knowledge of mipmap to aapt
New mipmap drawable type that does not get filtered according to
configuration. Useful for things that get built as part of the system.

Change-Id: I556033d065e504079271dce79c23c90d3c387ce4
2010-11-22 22:28:44 -08:00
Gloria Wang
c60df506c1 am 3e18dfab: am 4da48ec8: Merge "Notify the playback status to DRM agents before the playback starts"
* commit '3e18dfab3417e139c7ec3896cea9e303fdc8fa63':
  Notify the playback status to DRM agents before the playback starts
2010-11-22 21:29:22 -08:00
Gloria Wang
35f2d3997e am 24a90c26: am d9334934: Merge "Update of DRM Framework."
* commit '24a90c2674270fee0783bafa54fd5d845bdf0c18':
  Update of DRM Framework.
2010-11-22 21:29:08 -08:00
Gloria Wang
3e18dfab34 am 4da48ec8: Merge "Notify the playback status to DRM agents before the playback starts"
* commit '4da48ec88338af2df6f9abba850fb4c65918bb82':
  Notify the playback status to DRM agents before the playback starts
2010-11-22 21:26:13 -08:00
Gloria Wang
24a90c2674 am d9334934: Merge "Update of DRM Framework."
* commit 'd93349342a89a25c7a884e8543c6adc048c5f86d':
  Update of DRM Framework.
2010-11-22 21:25:56 -08:00
Gloria Wang
4da48ec883 Merge "Notify the playback status to DRM agents before the playback starts" 2010-11-22 21:15:07 -08:00
Gloria Wang
d93349342a Merge "Update of DRM Framework." 2010-11-22 21:14:09 -08:00