9101 Commits

Author SHA1 Message Date
Cary Clark
de023c1ddd refactor find state and scrolling
Separate out state when find is up and is empty.
Request a scroll when setting a match, rather than when drawing.
Don't draw if there's no match.

Companion fix in external/webkit and packages/apps/Browser

http://b/2370069
2010-03-03 10:42:45 -05:00
Bjorn Bringert
d6dfca8302 Call close() instead of deactivate() in CursorToBulkCursorAdaptor.close()
This seems like a long-lived copy-and-paste bug.

Fixes http://b/issue?id=2015069

This is the master version of change
https://android-git.corp.google.com/g/8636 which never
made it into Eclair.

Change-Id: I75f3a1942994982d5e5f779ab43a573cb953490b
2010-03-03 12:49:17 +00:00
Mike Lockwood
bf2dd44a6f MountService: Send ACTION_MEDIA_UNSHARED Intent a volume is no longer shared via UMS.
Change-Id: I21c887ae76eccabcc5d8449aa0a38e98758e8958
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-03 06:16:52 -05:00
Bjorn Bringert
0b49ab5cae Add SearchManager.SUGGEST_COLUMN_TEXT_2_URL
This column overrides SUGGEST_COLUMN_TEXT_2. SearchDialog
and QuickSearchBox render the value of this column as a URL in
green.

Part of the fix for http://b/issue?id=2380681

Change-Id: I6735e0eba90e24c81f9e72520f257e5e61796d7a
2010-03-03 09:20:36 +00:00
Brian Carlstrom
ddb42a421f Merge "Fixing spelling of intiialization to initialization in comment" 2010-03-02 19:05:12 -08:00
Adam Powell
dbc96e18a7 Merge "Fix a bug in OverScroller.setFinalX/Y" 2010-03-02 18:20:13 -08:00
Adam Powell
d93b998c92 Fix a bug in OverScroller.setFinalX/Y 2010-03-02 18:04:43 -08:00
Wink Saville
25c374e836 Merge "Fix documentation." 2010-03-02 18:00:01 -08:00
Doug Felt
08209a767b Disable tests that require package-private access to code under test. 2010-03-02 17:42:30 -08:00
Jaikumar Ganesh
081a9b69a7 Remove UUIDs from the cache when the device is unpaired.
This fixes one probable case of A2DP profile connection state hanging
in connecting state. When the device is unpaired and repaired,
before the drivers are up on the bluez side, settings app / auto-connect
code can try to connect.
2010-03-02 17:19:20 -08:00
Adam Powell
34a223850e Merge "Added Scroller compatibility methods to OverScroller" 2010-03-02 17:13:02 -08:00
Adam Powell
9d5b488abe Added Scroller compatibility methods to OverScroller 2010-03-02 17:09:38 -08:00
Romain Guy
3ddde16874 Merge "Add new CAPTURE_LAYERS command to HiearchyViewer protocol." 2010-03-02 17:09:27 -08:00
Romain Guy
223ff5c058 Add new CAPTURE_LAYERS command to HiearchyViewer protocol.
This command is used by the desktop tool to export a given view hierarchy into
a layered file format.
2010-03-02 17:07:47 -08:00
Brian Carlstrom
68612bae68 Merge "SslCertificate should clone Dates" 2010-03-02 16:56:59 -08:00
Brian Carlstrom
a5987a5101 SslCertificate should clone Dates
To avoid external tampering with Dates withing SslCertificate by code
holding on to pointers to Dates used in the constructor or code
mutating values returned by the accessors, we now clone Dates taking
in as arguments and returned to callers.
2010-03-02 16:39:14 -08:00
Vasu Nori
bd80e560ac Merge "resubmit reverted CL https://android-git.corp.google.com/g/#change,42682" 2010-03-02 16:08:38 -08:00
Leon Scroggins
d2334cb68a Create a method to find matching URLs and use it in updateVisitedHistory.
The method for finding matching URLs is taken from Bookmarks.java in
the Browser package.  When looking to see if the URL is already in
the database, include versions which have/don't have "http" as well
as "www."

Part of fix for http://b/issue?id=2442391
2010-03-02 17:21:52 -05:00
Vasu Nori
91d0e3c950 resubmit reverted CL https://android-git.corp.google.com/g/#change,42682
register a logging func with sqlite, to get extra info on errors
sqlite3 (latest patch) from DRH included this functionality.
use it to get more useful debugging info from sqlite
2010-03-02 14:12:19 -08:00
Romain Guy
0bf88594c4 Make sure all list items know they are in a window.
Bug #2476671

If you had a ListView with a layout_height equals to WRAP_CONTENT, you would
get list children with a parent but not attached to the window. This was caused
by the onMeasure() code: that code was obtaining views from the adapter to
measure them and putting them in the recyler for later reuse. Unfortunately
the recycler assumes that views have been attached to the window but detached
from the parent, thus causing much grief. The fix simply forces measured views
to be added to the window the first time they come out of the recycler.

ListView, bow before me for I am your master!
2010-03-02 13:41:46 -08:00
Brian Carlstrom
37254dcdcf Fixing spelling of intiialization to initialization in comment 2010-03-02 13:30:04 -08:00
Fred Quintana
db204c2383 Merge "change ObserverNode.binderDied() to lock the root node before manipulating the observers tree by calling removeObserverLocked()" 2010-03-02 13:23:17 -08:00
Vasu Nori
14b60e747c add warning in finalizer. deprecate protected members.
finalizer shoudl not be called ever. add a warning to say that.
adeprecate a few members in SQLiteProgram.java. they should not
have had protected access level. shoudl be package.
2010-03-02 11:50:39 -08:00
Romain Guy
b99370bc78 Merge "Turn on fading scrollbars by default. Bug #2142162" 2010-03-02 11:43:14 -08:00
Romain Guy
8bda24874f Turn on fading scrollbars by default.
Bug #2142162
2010-03-02 11:42:11 -08:00
Gilles Debunne
c4fc2cc47f Merge "Null pointer tests removed from HeaderViewListAdapter." 2010-03-02 11:41:49 -08:00
Brian Carlstrom
0eaa4d3a14 Merge "SslCertificate should use Dates - fixing api for build" 2010-03-02 11:31:20 -08:00
Patrick Scott
0b2e84b32a Add a client for WebBackForwardList operations.
Provide a custom data slot in WebHistoryItem to store application data in the
history item. A client of WebBackForwardList can insert their custom data into
the item when created. In onIndexChanged, the custom data can be read by the
client.
2010-03-02 14:28:07 -05:00
Brian Carlstrom
9147a0ed64 SslCertificate should use Dates - fixing api for build
Also fixing missing @deprecated noticed when updating API
2010-03-02 11:24:39 -08:00
Fred Quintana
002ffad599 change ObserverNode.binderDied() to lock the root node before manipulating
the observers tree by calling removeObserverLocked()

http://b/issue?id=2457485
2010-03-02 11:18:16 -08:00
Brian Carlstrom
00611034ca Merge "SslCertificate should provide Date interface" 2010-03-02 11:08:32 -08:00
Brian Carlstrom
445d8f1592 SslCertificate should provide Date interface
While working on out openssl code, I found a Y2k bug that the dates
from invalidate certificates could be shown as 1909 instead of 2009.
The reason was because SslCertificate/BrowserActivity passed the
values around as Strings even though the started as Dates (from
X509Certificate) and were converted backed to Dates before
presentation by BrowserActivity's reformatCertificateDate.

SslCertificate now maintains date fields internally as Date objects
without converting them to Strings. The constructor and String
accessors, which are now @deprecated, now specify the format as an ISO
8601 date string which uses 4 digit years.

BrowserActivity now reformatCertificateDate is now simply
formatCertificateDate and no longer has to convert from String to Date
and back to String to get proper Locale formatting.

CTS SslCertificateTest also updated.
2010-03-02 11:07:32 -08:00
Grace Kloba
8430c1a7d9 Merge "When titlebar's visible height changed, it means the WebKit viewsize need to be updated." 2010-03-02 11:01:41 -08:00
Gilles Debunne
176f9fc215 Null pointer tests removed from HeaderViewListAdapter.
The mHeaderViewInfos and mFooterViewInfos lists were sometimes tested for nullity
and sometimes not. Should these values be null, some conditionnal code was actually
flawed in getView() and getItem() because of too strong 'and' conditionnals.

These lists are created upon declaration in ListView and are then shared and hence
cannot be null. Null tests were hence removed. getView() and getItem() get simpler
and work as before.

Change-Id: I279e482730ce6148a559d15a9863afc8f6b67780
2010-03-02 11:00:50 -08:00
Bjorn Bringert
d95c8f2dae Merge "Fixing: search button and mic button are not right-aligned" 2010-03-02 10:57:35 -08:00
Valentin Kravtsov
59b0b74abf Fixing: search button and mic button are not right-aligned
Second part of bug fix for: http://b/issue?id=2478280

On sapphire only, the right edge of the mic and search buttons is not aligned

Change-Id: I1919c762eafca19de026fb4f10e03574d02b423c
2010-03-02 18:44:51 +00:00
Grace Kloba
4addf9b5d8 When titlebar's visible height changed, it means the
WebKit viewsize need to be updated.

Fix http://b/issue?id=2470621
2010-03-02 10:28:13 -08:00
Leon Clarke
43242d02e9 am ba74d7cc: am e861b8f9: Merge " Fix issue with authentication with flash" into eclair-mr2
Merge commit 'ba74d7ccadc34d09d57886120e9d412d9edbc4d7'

* commit 'ba74d7ccadc34d09d57886120e9d412d9edbc4d7':
  Fix issue with authentication with flash
2010-03-02 08:44:48 -08:00
Leon Clarke
ba74d7ccad am e861b8f9: Merge " Fix issue with authentication with flash" into eclair-mr2
Merge commit 'e861b8f95dd52f89b7e7e34ba1bfc5b85c290292' into eclair-mr2-plus-aosp

* commit 'e861b8f95dd52f89b7e7e34ba1bfc5b85c290292':
  Fix issue with authentication with flash
2010-03-02 08:38:54 -08:00
Cary Clark
f79a819f24 Merge "account for find dialog height when positioning layers" 2010-03-02 08:37:18 -08:00
Leon Clarke
e861b8f95d Merge " Fix issue with authentication with flash" into eclair-mr2 2010-03-02 08:33:10 -08:00
Grace Kloba
c2ca936700 Merge "Start the synchronous load in the WebCore thread." 2010-03-02 08:21:22 -08:00
Cary Clark
72ab9980cb account for find dialog height when positioning layers
The Find dialog draws on top of the WebView, including any
layers attached to the bottom of the screen. Adjust the view
dimenions returned to the layer code by the height of the Find
dialog if visible.

http://b/2453769
2010-03-02 10:59:44 -05:00
Andy McFadden
7d7ce2bbdd Merge "Tone down a log message." 2010-03-02 07:36:23 -08:00
Derek Sollenberger
717c6ae0cf am 2705c8f0: Merge "DO NOT MERGE. force plugins to render on top of browser content." into eclair-mr2
Merge commit '2705c8f09975f1bf10c84af323a67c104a177129' into eclair-mr2-plus-aosp

* commit '2705c8f09975f1bf10c84af323a67c104a177129':
  DO NOT MERGE. force plugins to render on top of browser content.
2010-03-02 06:44:47 -08:00
Leon Clarke
cb01dba348 Fix issue with authentication with flash 2010-03-02 14:43:03 +00:00
Derek Sollenberger
2705c8f099 Merge "DO NOT MERGE. force plugins to render on top of browser content." into eclair-mr2 2010-03-02 06:33:32 -08:00
Patrick Scott
0245e09fa7 Merge "Store the LoadListener in the SslErrorHandler passed to the client." 2010-03-02 05:40:09 -08:00
Grace Kloba
5f38e1aaa1 Start the synchronous load in the WebCore thread.
Fix http://b/issue?id=2480606
2010-03-01 23:10:10 -08:00
Ken Shirriff
0ef3eeec40 Merge "Remove DateException and obsolete DateUtils functions." 2010-03-01 22:46:07 -08:00