Commit Graph

18499 Commits

Author SHA1 Message Date
Ben Murdoch
f80e831c78 am ea24a401: Merge "Preload libchromium_net in addition to libwebcore."
* commit 'ea24a4015a86e8c461a594abe042ade3271bbb2c':
  Preload libchromium_net in addition to libwebcore.
2011-09-01 13:27:12 -07:00
Ben Murdoch
ea24a4015a Merge "Preload libchromium_net in addition to libwebcore." 2011-09-01 10:40:29 -07:00
John Reck
4c24bc28c9 am 6c859576: Merge "Draw text selection in Java"
* commit '6c859576ad5ae5e870e3e96b650f015024b6c49e':
  Draw text selection in Java
2011-09-01 08:45:09 -07:00
John Reck
6c859576ad Merge "Draw text selection in Java" 2011-09-01 08:43:30 -07:00
Wu-cheng Li
7437294555 am 98bb251c: Add video snapshot camera parameter.
* commit '98bb251c8b527600e7a4cca6cc33499710bbfbf1':
  Add video snapshot camera parameter.
2011-09-01 04:17:12 -07:00
Wu-cheng Li
98bb251c8b Add video snapshot camera parameter.
The API is still hidden.

bug:5187868

Change-Id: I59e1b5774ca32be049723d1a0887faa90d8884bb
2011-09-01 13:37:14 +08:00
Ben Murdoch
492bbe3f7b Preload libchromium_net in addition to libwebcore.
To improve WebView app startup time, preload libchromium_net which
was recently split from libwebcore into its own shared library.

Bug: 5112647
Change-Id: I4417d5a4f8c7783e8fa7b8eaddf89aaeb3693fac
2011-09-01 03:33:43 +01:00
Robert Greenwalt
81f2a36a53 am 2d012c12: Merge "Create new isNetworkSupported API"
* commit '2d012c128fda793be3bf443f0b8596fbe23ca323':
  Create new isNetworkSupported API
2011-08-31 17:46:41 -07:00
Robert Greenwalt
2d012c128f Merge "Create new isNetworkSupported API" 2011-08-31 17:44:50 -07:00
David Brown
eef989ebd4 am 93d77b63: Don\'t log PII when launching intents with "sms:" or "sip:" URIs
* commit '93d77b633e7888b425443f544b2732485adee45e':
  Don't log PII when launching intents with "sms:" or "sip:" URIs
2011-08-31 17:13:12 -07:00
John Reck
086a514e6b Draw text selection in Java
Bug: 5208328
 Bug: 5224394
 Also use framework assets

Change-Id: If704fd7df5aa95648d78e615571d4a2658d29534
2011-08-31 17:09:44 -07:00
David Brown
93d77b633e Don't log PII when launching intents with "sms:" or "sip:" URIs
We were already redacting phone numbers from "tel:" and "smsto:" URIs.

Now, do that for "sms:" and "sip:" too, since those schemes are equally
likely to contain PII in the scheme-specific part.

TESTED: Received incoming call; selected "Respond via SMS" -> "Custom
        message"; confirmed no PII in the system log.

Bug: 5244735
Change-Id: If2444c8901249aac9fd8e6b809d6da01db2e27c1
2011-08-31 17:04:17 -07:00
Robert Greenwalt
9b2886e243 Create new isNetworkSupported API
Useful for checking if on a wifi-only device.
Similar to asking for NetworkInfo for a network type and checking for
null, though here the intent is explicit.

bug:5087537
Change-Id: Ia3ddd09b6b735b8b3ceb7a347891e015fd96b218
2011-08-31 16:53:12 -07:00
Adam Powell
a2dd470c48 am 5a0a47a0: Merge "Make EdgeEffect public API."
* commit '5a0a47a006008232d9962f2d8e6da8b7b79a4cdd':
  Make EdgeEffect public API.
2011-08-31 16:14:15 -07:00
Adam Powell
5a0a47a006 Merge "Make EdgeEffect public API." 2011-08-31 16:11:45 -07:00
Adam Powell
89935e41c5 Make EdgeEffect public API.
This enables apps to make use of the system's visual edge effect used
during overscroll in 2D content.

Also un-@hide the getCurrVelocity methods from Scroller/OverScroller,
without which it becomes cumbersome to obtain values to pass to the
EdgeEffect#onAbsorb method.

Change-Id: I40e452455f5cb5d45d1fb3687f739fc8eae65560
2011-08-31 14:59:19 -07:00
Dianne Hackborn
8aab8b5759 am 1434ab98: Merge "Use floating point window positions."
* commit '1434ab98e690cbcfcdcd2296b491a44bff14cc55':
  Use floating point window positions.
2011-08-31 14:22:37 -07:00
Dianne Hackborn
d040edbae9 Use floating point window positions.
Gets rid of gapps between windows during animations.

Change-Id: I17d2ef0af214008f0eabd7eb19268f145fe83b39
2011-08-31 14:18:32 -07:00
Fabrice Di Meglio
616359fc8e am be566b48: Merge "Fix bug #5243493 TextView selection is not working correctly when there is some RTL run into it"
* commit 'be566b488a78e9e5ba0971ebe888d41511a11fa8':
  Fix bug #5243493 TextView selection is not working correctly when there is some RTL run into it
2011-08-31 14:16:32 -07:00
Fabrice Di Meglio
be566b488a Merge "Fix bug #5243493 TextView selection is not working correctly when there is some RTL run into it" 2011-08-31 14:14:11 -07:00
Fabrice Di Meglio
3716601573 Fix bug #5243493 TextView selection is not working correctly when there is some RTL run into it
- make the selection green highlight work

Change-Id: I4e3b88e3720288f973b1b9e68afa8f800ad13779
2011-08-31 13:56:37 -07:00
Nick Pelly
666fa84e66 am 46848574: Merge "NFC API updates."
* commit '468485747970d9842d94e1d292fe4cced701cad2':
  NFC API updates.
2011-08-31 13:26:23 -07:00
Nick Pelly
4684857479 Merge "NFC API updates." 2011-08-31 13:24:14 -07:00
Jeff Brown
79753f387a am 9d4bc852: Merge "Fix input channel leak. Bug: 5156144"
* commit '9d4bc852ea459c2a4347a87ce0357b3328a25db8':
  Fix input channel leak. Bug: 5156144
2011-08-31 13:03:26 -07:00
Jeff Brown
9d4bc852ea Merge "Fix input channel leak. Bug: 5156144" 2011-08-31 13:01:16 -07:00
satok
8d83c9c467 am bfe561c5: Merge "Add a comment for setAdditionalInputMethodSubtypes"
* commit 'bfe561c54a5addbc7c1fef75d87008ae2b9206eb':
  Add a comment for setAdditionalInputMethodSubtypes
2011-08-31 08:46:02 -07:00
satok
bfe561c54a Merge "Add a comment for setAdditionalInputMethodSubtypes" 2011-08-31 08:43:59 -07:00
satok
75917b603f Add a comment for setAdditionalInputMethodSubtypes
Change-Id: I3a19471b80a6f8a68473cba6f0fc934bd052af10
2011-09-01 00:33:40 +09:00
satok
a4a81714c6 am b59fcd51: Merge "Add a functionality to disable the spell checker"
* commit 'b59fcd516d998892fa0cc0b6ba60cce67e5a6779':
  Add a functionality to disable the spell checker
2011-08-31 05:59:45 -07:00
satok
0158a1e9ff Add a functionality to disable the spell checker
Change-Id: I1c2292f457d1911c149d594c175e638c92ad3917
2011-08-31 21:15:17 +09:00
Narayan Kamath
3ee1420ae4 am 5b8f29d0: Merge "Change the heuristics for waiting for audiotracks to finish."
* commit '5b8f29d077577a94d480579b1d7673d037e4e3ae':
  Change the heuristics for waiting for audiotracks to finish.
2011-08-31 03:54:53 -07:00
Narayan Kamath
5b8f29d077 Merge "Change the heuristics for waiting for audiotracks to finish." 2011-08-31 03:53:03 -07:00
satok
e920070418 am 17b5635d: Merge "Improve the fallback of the locale of the spell checker"
* commit '17b5635d52b9a90b519307513dc7c5fe69c7aacb':
  Improve the fallback of the locale of the spell checker
2011-08-31 02:59:14 -07:00
satok
b669d6d8d8 Improve the fallback of the locale of the spell checker
Change-Id: I79655dd13e60f221b07346596fb05cf7d3d5cf7d
2011-08-31 18:07:06 +09:00
Jeff Brown
cc4f7db698 Fix input channel leak.
Bug: 5156144

Input channels could leak or simply live longer than they should
in some cases.

1. Monitor channels (used by the pointer location overlay) are never
   unregistered, so they would leak.

   Added code to handle failures in the receive callback by closing
   the input channel.

2. The DragState held onto its input window and application handles
   even after the input channel was disposed.

   Added code to null these handles out when they are no longer needed.

3. Input channels previously used as input event targets would stick
   around until the targets were cleared (usually on the next
   event).

   Added code to detect when the input dispatcher is in
   an idle state and to proactively clear the targets then
   to ensure that resources are released promptly.

4. Native input window handles held onto the input channel even
   after the input window was removed from the input dispatcher.
   Consequently, the input channel would not be disposed until
   the input window handle itself was freed.  Since the input
   window handle is held from managed code, this meant that the
   window's input channel could stick around until the next GC.

   Refactored the input window handle to separate the properties
   (info) and identify (handle) state into different objects.
   Then modified the dispatcher to release the properties (info)
   when no longer needed, including the input channel.

7. The pointer location overlay does not actually use its
   standard input channel, only the monitor input channel.

   Added INPUT_FEATURE_NO_INPUT_CHANNEL to allow windows to
   request that they not be provided with an input channel
   at all.

Improved some of the error handling logic to emit the status
code as part of the exception message.

Change-Id: I01988d4391a70c6678c8b0e936ca051af680b1a5
2011-08-30 21:40:28 -07:00
Nick Pelly
82328bfd40 NFC API updates.
o NfcAdapter.set*(): enforce at least one activity is provided at compile time.
o Unhide and update javadoc for some API's scheduled for ICS release.

Change-Id: I2bf4ea101442dcdeb359be26d3869f82e6e3748b
2011-08-30 21:16:32 -07:00
Mathias Agopian
4ca738b6f6 am c21843a8: Merge "fix Surface positions are not floats"
* commit 'c21843a8b5c395cbaae6db0f786bdee556075f5d':
  fix Surface positions are not floats
2011-08-30 19:25:50 -07:00
Mathias Agopian
c21843a8b5 Merge "fix Surface positions are not floats" 2011-08-30 19:24:04 -07:00
Mathias Agopian
34cb9f2a96 fix Surface positions are not floats
Added Surface.setPosition(float, float) which allows to set a surface's
position in float.

Bug: 5239859
Change-Id: I903aef4ad5b5999142202fb8ea30fe216d805711
2011-08-30 18:51:54 -07:00
Adam Powell
7c7a99f63d am 38e1c7a8: Merge "Ellipsize marquee TextViews that aren\'t currently animating"
* commit '38e1c7a8a614a491747d08f91aa6eceaee8123fb':
  Ellipsize marquee TextViews that aren't currently animating
2011-08-30 17:42:48 -07:00
Adam Powell
282e377d8b Ellipsize marquee TextViews that aren't currently animating
On some devices the fading edge effect can be expensive. Offer an
alternative for screens full of textviews.

Change-Id: I0382b4ea0f8b0c6948cb68611f3679dbf5e2898a
2011-08-30 17:35:15 -07:00
Gilles Debunne
87c2c9798a am b5305007: Merge "Add EditTextShortcutSpan to provide edit short cut in the text view."
* commit 'b5305007a6eb10457aa97b9791fed62d3542e3c1':
  Add EditTextShortcutSpan to provide edit short cut in the text view.
2011-08-30 15:56:04 -07:00
Gilles Debunne
b5305007a6 Merge "Add EditTextShortcutSpan to provide edit short cut in the text view." 2011-08-30 15:53:33 -07:00
Dianne Hackborn
9a3fe4744e am 9c93db60: Merge "Fix issues #5233826 and #5209847 -- live wallpapers."
* commit '9c93db60e6d9172e1957e5e31a6c5b82e2494420':
  Fix issues #5233826 and #5209847 -- live wallpapers.
2011-08-30 15:50:35 -07:00
Dianne Hackborn
9e4e727b4a Fix issues #5233826 and #5209847 -- live wallpapers.
5233826	when a live wallpaper starts, it does so regardless of its visibility

The WallpaperService is now very forceful about telling a wallpaper it is
not visible when it first starts.

5209847	Make launcher turn off the wallpaper in all apps.

Fix a bug in the window manager that would not correctly handle the wallpaper
flag changing.

Change-Id: Ie3314043a84664be72a1304a1705408efd789a15
2011-08-30 14:56:31 -07:00
Jamie Gennis
d8cb308f67 am 8d102eb6: Merge changes I33f59705,Ia4c8c822,I2fb695ab,I2e587afc
* commit '8d102eb6720deccfb8b5872fde531ef6ca580077':
  MediaDump: use the MediaPlayer#setSurface method
  HTML5VideoView: switch to MediaPlayer#setSurface
  MediaPlayer: unhide the setSurface method
  Surface: unhide the SurfaceTexture ctor
2011-08-30 14:40:24 -07:00
Jamie Gennis
8d102eb672 Merge changes I33f59705,Ia4c8c822,I2fb695ab,I2e587afc
* changes:
  MediaDump: use the MediaPlayer#setSurface method
  HTML5VideoView: switch to MediaPlayer#setSurface
  MediaPlayer: unhide the setSurface method
  Surface: unhide the SurfaceTexture ctor
2011-08-30 14:38:56 -07:00
Fabrice Di Meglio
e03b7a476c am c6f19da0: Merge "Fix bug #5197549 android.text.cts.StaticLayoutTest#testGetEllipsisCount fails on IRK49E mysid-userdebug"
* commit 'c6f19da0ff703adff8a6a06e0b19ea46abada644':
  Fix bug #5197549 android.text.cts.StaticLayoutTest#testGetEllipsisCount fails on IRK49E mysid-userdebug
2011-08-30 13:44:34 -07:00
Fabrice Di Meglio
c6f19da0ff Merge "Fix bug #5197549 android.text.cts.StaticLayoutTest#testGetEllipsisCount fails on IRK49E mysid-userdebug" 2011-08-30 13:42:34 -07:00
Dave Santoro
0834ae4d23 am d49eea78: Merge "Profile API modifications."
* commit 'd49eea7831d7386fc429984eee0e8ef117a1d927':
  Profile API modifications.
2011-08-30 13:14:17 -07:00