12325 Commits

Author SHA1 Message Date
Adam Powell
e0893a8555 Merge "Smooth out gesture zooming in WebViews." 2010-12-13 10:47:07 -08:00
Kristian Monsen
7400be47b7 Cleanup of private browsing files are now done in webkit
Bug 3243891

Change-Id: I51e63a96bf1c95cd8e675a3d94a4aa210418e216
2010-12-13 17:51:20 +00:00
Patrick Scott
d2f44b7a32 Merge "Suppress scrollbars during layer fling." 2010-12-13 09:30:27 -08:00
Iain Merrick
0f868ca036 Disable CacheManager when using the Chrome HTTP stack.
Currently, cacheDisabled() reports false, but no files are ever
added to the cache. This CL makes the framework more honest and
reports that the cache is disabled.

BUG=3270236

Change-Id: I13c0291ac295d965f71f1e70dbdebc74b95ddce0
2010-12-13 14:28:56 +00:00
Iain Merrick
d1281286f2 Merge "Move useChromiumHttpStack() from CookieManager to JniUtil." 2010-12-13 06:22:49 -08:00
Patrick Scott
5b87e296c5 Suppress scrollbars during layer fling.
Change-Id: Ia6bc1f48e464212d5b9cebef27e4527b0bc93713
2010-12-13 09:20:32 -05:00
Leon Scroggins
c5ab8b331d Merge "Use drawLines to draw the outline of the WebTextView." 2010-12-13 05:56:54 -08:00
Adam Powell
63814df667 Smooth out gesture zooming in WebViews.
Change-Id: I42c1182f82af3ed16cd23efc056d7c9c34e32940
2010-12-11 16:49:05 -08:00
Wink Saville
086c0611d3 Fix build.
This change, I80dbccebea11544595935077463ad7737c3392e9, broke the build
I undeprecated two old OverScroller constructors and hid the new one.

Change-Id: I257ebbc6bb432c6487d63ff03725146dd225a8e2
2010-12-11 09:01:31 -08:00
Gilles Debunne
512b54cf9e Merge "TextView's runnable are stopped when the View is detached." 2010-12-10 17:19:06 -08:00
Gilles Debunne
406d09b8a7 Merge "Modified OverScroller curves" 2010-12-10 17:18:37 -08:00
Gilles Debunne
7eeba5fad5 TextView's runnable are stopped when the View is detached.
Stopping all Runnable thread that would otherwise keep a reference on the context,
thus preventing the activity to be recycled.

All Runnable are now also lazily created.

Change-Id: Idb93603c20cb3e847ae56eb842c64af6c5b82523
2010-12-10 16:56:20 -08:00
Adam Powell
05decf6d62 Merge "Fix a bug where the fast scroll track would be positioned incorrectly." 2010-12-10 16:33:47 -08:00
Adam Powell
2c6196aa55 Fix a bug where the fast scroll track would be positioned
incorrectly.

Make fast scroll theme attributes public.

Fix a bug where always-visible fast scrollers wouldn't appear on small
lists.

Change-Id: I377adf63d2fe88478f77b0b04466c6ae88557efe
2010-12-10 16:31:13 -08:00
Gilles Debunne
c35a829b10 Modified OverScroller curves
When OverFlinged, the scroller goes back to the edge using a spline
instead of a parabolic curve. This ensures that the final velocity of
this movement is null, thus removing the visual discontinuity that can
be observed with the current version.

Bouncing coefficient is deprecated. Changed doc accordingly.

New more expressive spline tension tuning coefficients.
These were tuned to match the one used before the refactoring of CL 81532.

Change-Id: I80dbccebea11544595935077463ad7737c3392e9
2010-12-10 16:04:06 -08:00
Amith Yamasani
b170954d84 Merge "Potential fix for Settings screen ClassCast exception on the phone." 2010-12-10 15:39:41 -08:00
Gilles Debunne
aa85a4c8b7 A long press on the insertion handles triggers the selection.
The distance threshold has to be tuned before this feature can be validated.

Change-Id: I233ebc4a1d2d495279818d34496e8b17bbd76752
2010-12-10 15:19:21 -08:00
Leon Scroggins
6e9b327d08 Use drawLines to draw the outline of the WebTextView.
Bug:3214760

Optimize drawing the background of the WebTextView.

Change-Id: Iad44839137ffa3b91dd2044885028c283291b491
2010-12-10 17:32:25 -05:00
Amith Yamasani
3e86040439 Potential fix for Settings screen ClassCast exception on the phone.
Bug: 3273396
Change-Id: I92477dc8d5e864027923c52545069710dff3575a
2010-12-10 14:23:39 -08:00
Brad Fitzpatrick
4decffa46d Merge "StrictMode "custom" trigger support." 2010-12-10 14:19:58 -08:00
Brad Fitzpatrick
e36f9bf123 StrictMode "custom" trigger support.
For people who want to annotate their own functions as slow, outside
of just the built-in disk & network stuff.

Change-Id: Ia90e150d1cf7a23a658c091285c1c8bb2d7d9732
2010-12-10 14:18:13 -08:00
Gilles Debunne
89d7787454 Merge "Selecting text from a punctuation sign selects previous word." 2010-12-10 13:50:51 -08:00
Adam Powell
39fc4a3c7b Merge "Fix bug 3257463 - Yes, we SHOULD put the child in the recycler." 2010-12-10 13:30:37 -08:00
Adam Powell
22e92e5557 Fix bug 3257463 - Yes, we SHOULD put the child in the recycler.
This caused an issue where a LinearLayout measuring for the baseline
could cause the fake view for position 0 to be associated with a
different position in the recycler. It gets used later with the wrong
data; bad times.

Change-Id: If273894d46185a550f4efd9f11ef83e0113f0a3c
2010-12-10 13:20:32 -08:00
Gilles Debunne
07a11f4967 Selecting text from a punctuation sign selects previous word.
Cherry picked from a revert in https://android-git.corp.google.com/g/#change,82252

Change-Id: I141bbff2a0f9a8ab40f10c59fc1280b94b38e4b6
2010-12-10 13:14:20 -08:00
Gilles Debunne
12d91ce8e3 Added visual feedback to text correction.
Change-Id: Id2b85b7b649a59a2666157c7ff540858b1ad403c
2010-12-10 11:51:30 -08:00
Gilles Debunne
35e1ee0d39 Merge "New API in InputConnection to signal IME's text correction." 2010-12-10 11:34:22 -08:00
Gilles Debunne
cf9cf2f40e New API in InputConnection to signal IME's text correction.
Scafolding so that the IME team can start working on this feature.

The animation part in the TextView is missing.

Change-Id: I8225538564370fba1500e3539742a8ab79bdd199
2010-12-10 11:31:59 -08:00
John Reck
11c1a0be5d Fixes Android HTTP cache permissions
Bug: 3244281

Change-Id: I372475bc2d9bd2f2354ee603f77468df0cb043bf
2010-12-10 10:19:16 -08:00
Iain Merrick
a106993a51 Move useChromiumHttpStack() from CookieManager to JniUtil.
This is a generally useful method, not specific to CookieManager.
I want to use it to modify the behaviour of CacheManager when we're
using the Chrome HTTP stack.

Corresponding C++ changes in I78a92cb2

BUG=3270236

Change-Id: I56b0ddcaa93ef340f4ffc3578486c3c96316f2ec
2010-12-10 15:51:36 +00:00
Ben Murdoch
a90b1424a5 Merge "Add a "Web Search" option to the WebView select text ActionBar" 2010-12-10 05:52:03 -08:00
Adam Powell
16bb80af66 Fix typo
Change-Id: I59e7009d054e376e4b48bcabb4a7343d0cab4bd1
2010-12-09 23:30:50 -08:00
Adam Powell
aed6c31576 Merge "Holo scrollbars and related tweaks." 2010-12-09 23:02:11 -08:00
Mike Lockwood
faa27f932e Merge "Rename android.hardware.Usb to UsbManager and UsbObserver to UsbService" 2010-12-09 22:53:27 -08:00
Mike Lockwood
770126a678 Rename android.hardware.Usb to UsbManager and UsbObserver to UsbService
In preparation for an upcoming change that will make UsbService into a real system service

Change-Id: Id85d624cfc6b10b49a08105cfaaacc667a492c12
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-12-09 22:52:05 -08:00
Adam Powell
20232d0f7c Holo scrollbars and related tweaks.
Added setting for placing vertical scrollbars on left or right.

Added setting for showing fast scroll persistently.

Fixed a bug where inset padding was miscalculated for horizontal scroll bars.

Fixed a bug where padded ListViews would draw fading edges incorrectly

Change-Id: I1f8499895272d42598b4b3fd3375301115def461
2010-12-09 22:47:20 -08:00
Dianne Hackborn
a64f506941 Merge "Fix issue #3272051: Use backward transition when going backwards." 2010-12-09 19:25:17 -08:00
Dianne Hackborn
7da6ac33a9 Fix issue #3272051: Use backward transition when going backwards.
Also know as:

Issue #3272051 Contacts edit view: Tapping the in-app back button
results in a forward transition

Yeah more complexity in deciding which animation to use.

Also reduce complexity in deciding which app's animation set to use,
to balance things out (and make it have less stupid behavior).

Change-Id: I78c6c5c5249a96206f7e03ce587c1dcb9a7dc14f
2010-12-09 19:22:04 -08:00
Romain Guy
865cd3a20d Merge "Don't set the invisible flag when saving an empty layer. Bug #3270371" 2010-12-09 17:47:09 -08:00
Romain Guy
af636ebf5f Don't set the invisible flag when saving an empty layer.
Bug #3270371

Change-Id: I65e85671c2fb70d74553c91213e5e759e0ac64ee
2010-12-09 17:47:21 -08:00
Fred Quintana
957d85ec04 revert an API change that conflicted witha previous SDK version
Change-Id: I71ef6bd135296846021c0e7ee465cac9181b5473
2010-12-09 16:26:18 -08:00
Chet Haase
37f74cad46 Add ability to reuse bitmaps when loading new content
Change-Id: Ic5f5f40ee39787403977fb372b335dc21cf07243
2010-12-09 15:07:39 -08:00
Fred Quintana
0c4d04ac2e allow sync adapter authors to control more policies
- let the SyncManager know that the SyncAdapter can handle
  parallel syncs even within sync adapter types
- allow indicating that the sync adapter should be auto
  initialized without requiring the sync adapter to run first.
  When this setting is used then setIsSyncable(1) is automatically
  called for the sync adapter.

Change-Id: Ib40eba95c2556eaee4bb0fe715f379af1b72b84a
2010-12-09 14:24:34 -08:00
Alon Albert
6a843d03c7 Merge "Listen for SyncAdapter death to cancel a sync" 2010-12-09 14:08:27 -08:00
Alon Albert
eca7511f61 Listen for SyncAdapter death to cancel a sync
Change-Id: Icbb439c56b89fea1726723d7061c347867834dc8
2010-12-09 14:06:04 -08:00
Dianne Hackborn
bca1c4ffad Merge "Fix issue #3271486: SetupWizward NullPointerException in" 2010-12-09 13:16:49 -08:00
Dianne Hackborn
fb3806d68d Fix issue #3271486: SetupWizward NullPointerException in
andriod.app.ActivityThread.performStopActivityInner

Change-Id: Ifce73b7fc48fedb4767d759f70c98fcdee510f36
2010-12-09 13:14:12 -08:00
Christopher Tate
a58fd15a5b Merge "Add a couple of transport-descriptive methods to IBackupManager" 2010-12-09 13:06:46 -08:00
Christopher Tate
f5e1c29637 Add a couple of transport-descriptive methods to IBackupManager
Privileged callers can now ask the transport for a string describing
its current state, and for an Intent that can be passed to startActivity()
in order to bring up its exported configuration UI.  These will be used
in Settings in order to e.g. show the user the currently active account
being used for backup, and allow the user to choose an account.

The data being funnelled through IBackupManager here are the ones
already exposed by the transports in their implementation of the
IBackupTransport interface.

Bug: 2753632

Change-Id: I2227a2b111d8d0ddf221d63020e20c1316fff55b
2010-12-09 12:58:24 -08:00
Ben Murdoch
0fa484ac37 Add a "Web Search" option to the WebView select text ActionBar
This change allows selected text in a web view to be used as a search
query.

Bug: 3132422
Change-Id: I9ed2a5913641b37732586f8d8aa8a80c3486b606
2010-12-09 20:02:44 +00:00