5282 Commits

Author SHA1 Message Date
Cary Clark
affa5d2c0f remove unused jni interfaces
Also make package interfaces unused outside of WebView.java
private.

companion change in external/webkit
2010-01-07 13:02:42 -05:00
Leon Scroggins
3a5033996e Request <label> info only when accessing a textfield.
Previously, we were storing the label info each time we build the
navigation cache.

Requires a change to external/webkit.
2010-01-07 08:33:34 -05:00
Leon Scroggins
e38fc18981 Show label information as hint text
Fix for http://b/issue?id=2331526

Requires a change to external/webkit.
2010-01-06 10:15:00 -05:00
Grace Kloba
106f9b2446 Patch from Huahui Wu.
Fix http://b/issue?id=1908085
2010-01-05 10:50:39 -08:00
Nicolas Roard
3886333644 layers support 2010-01-04 19:30:55 +00:00
Grace Kloba
67166b6eae Merge "Cleanup the cache file when we decide not saving it. This logic was lost when we switched back using FLASH instead of RAM for the cache." into eclair-mr2 2010-01-04 09:55:54 -08:00
Leon Scroggins
e26efa321c If the DOM changes textfield focus, make the IME work properly.
Fix for http://b/issue?id=2219166

Requires a change to external/webkit

Remove the old change to update the WebTextView when a key is pressed,
since the IME does not generate key events.  Instead, when the focus
changes, and the IME is serving the WebTextView, immediately clear
the cursor and update the WebTextView, so the user can continue
typing.
2010-01-04 09:43:57 -05:00
Grace Kloba
998c05b3b5 Cleanup the cache file when we decide not saving it.
This logic was lost when we switched back using FLASH
instead of RAM for the cache.

Add back the CACHE_MAX_SIZE to limit the maximum
cacheable file.

Fix http://b/issue?id=2346132
2009-12-27 18:25:21 -08:00
Eric Laurent
484d288868 Fix issue 2299360: Change in in-call volume affects the Bluetooth in-call volume and vice versa.
Add a separate system settings entry for bluetooth SCO volume.
2009-12-22 10:10:24 -08:00
Grace Kloba
4350e1451c Move the full screen's matching embedded view to be
fully visible so that the touch will always work.
2009-12-21 18:05:04 -08:00
Tom Taylor
d4a4729c0c Update imports to android-common
Several files were moved to android-common. Update all the references
to import those files from the new location.
2009-12-21 13:59:18 -08:00
Grace Kloba
9a67c82089 Address the multiple resizing during initializing
problem adobe run into.

When a child view is created, we first hide it if
the webview is not ready to draw yet. This will avoid
the multiple resizing notification.
2009-12-20 11:33:58 -08:00
Android (Google) Code Review
05de7c882e Merge change I420cc110 into eclair-mr2
* changes:
  Fix 2318046: Modify PIN entry layout in keyguard so it works well on HVGA as well as WVGA devices.
2009-12-18 16:07:19 -08:00
Android (Google) Code Review
6888f559ba Merge change If0c93a57 into eclair-mr2
* changes:
  add DragTracker class
2009-12-18 09:50:57 -08:00
Mike Reed
19f3f0e329 add DragTracker class 2009-12-18 12:25:30 -05:00
Android (Google) Code Review
4986934e18 Merge change Ia6446890 into eclair-mr2
* changes:
  Remove the IM provider contract class.
2009-12-17 11:49:50 -08:00
Jeff Hamilton
f3960b1271 Remove the IM provider contract class.
Change-Id: Ia644689021aca3e429d42727dfd6262b6986dfd2
2009-12-17 13:47:36 -06:00
Mike Reed
31a69fdbe1 throw if we have a null typeface native instance (so we don't crash in native code)
we may still have to native-destroy a Typeface with a null ref, so check for that
2009-12-17 12:18:44 -05:00
Android (Google) Code Review
e96b6838b5 Merge change I4758f121 into eclair-mr2
* changes:
  Added the Protractor algorithm for calculating the minimum cosine distance between gestures
2009-12-16 21:40:30 -08:00
Android (Google) Code Review
43ad522d49 Merge change Ic0e32f12 into eclair-mr2
* changes:
  Add a callback for the ConnectSink Call.
2009-12-16 16:22:17 -08:00
Android (Google) Code Review
601112f213 Merge change I11438c37 into eclair-mr2
* changes:
  Implement the full screen WebView plugin.
2009-12-16 14:11:34 -08:00
Jaikumar Ganesh
c0e32f1243 Add a callback for the ConnectSink Call.
This takes care of the conditions where the bluez audio drivers
are not up and we try to make the call to connect the sink.
This would get rid of the hack in Settings app.
2009-12-16 11:42:06 -08:00
Grace Kloba
11438c371e Implement the full screen WebView plugin.
Use a NoTitleBar_Fullscreen dialog to implement the
full screen plugin. This runs in the same thread as
WebView (UI in the Browser case). One catch is that
the SurfaceView provided by the plugin needs to be
opaque if it doesn't want to see through the WebView.

The PluginFullScreenHolder translates the events to
the underline WebView. Special treatment in the touch
case as it needs to translate the coordinates.

WebView can't be panned, or double tap to zoom, or
long press to trigger the context menu while having
a full screen plugin.

Inside webkit, we also give the plugin element focus
when it goes to the full screen so that it takes key
events. While handling key events, we don't let it 
loose focus or scroll out.

Todo:
When a plugin goes to full screen, we should make
sure the embedded plugin is fully visible. Otherwise
when we translate the touch events back, they will be
outside of the visible rect and will be ignored.

This is part 1 of 2-project check in.
2009-12-16 11:39:12 -08:00
Michael Chan
cdaeafd440 b/2224837 Changed the plumbing of how alerts/notifications work.
Instead of processing each notification separately event (scheduling an alarm with AlarmManager for each event, posting notification to NotificationManager for each event, etc), only one alarm should be fired for each wake-up time. AlertService will look through the CalendarAlerts table and decides how to update the notication manager. This is more efficient and simplifies the codecode. It is also the long-term fix to elimiate overlapping notification ring tones e.g. DrooDrooDrooooid b/2194249

Also consolidated alarm scheduling code to one place.

Change-Id: If58ce278d55b28abad703f8aeee466d44952fcd0
2009-12-15 15:24:34 -08:00
Dmitri Plotnikov
3170f9a7cf Fixing broken javadoc.
Change-Id: Ic5206054281919888943d036d9f6772ea2e63c5b
2009-12-15 13:54:28 -08:00
Dmitri Plotnikov
07ab85b338 Introducing fields for capturing national specifics of contact names.
Change-Id: Ia848390b9a74c5eb1a5a45a0b909a40307beb9ab
2009-12-15 11:58:11 -08:00
Cary Clark
1cb97eed56 check to see if nav cache is up to date on tap
Pass point to click in three steps.
1) See if point corresponds to cached node.
2) If so,send a message to webkit to see if the node is good.
3) Call webkit with point, and good/bad info.

This is a two-part change with external/webkit.

Fixes http://b/2249425
2009-12-15 13:40:43 -05:00
Android (Google) Code Review
98d1803d4d Merge change I11f66b41 into eclair-mr2
* changes:
  Remove unused SOURCE_ID constant.
2009-12-15 09:33:17 -08:00
Leon Scroggins
aacced6bc5 Provide localized strings for <input> labels.
Fix for http://b/issue?id=2178786

Provide strings for input types file, submit, and reset, and allow
them to be passed down to native.

Requires a change in external/webkit.
2009-12-15 08:49:59 -05:00
Jim Miller
292224d1c1 Fix 2318046: Modify PIN entry layout in keyguard so it works well on HVGA as well as WVGA devices.
This change basically tightens up the layout and makes the emergency button area the "stretchy" part of
the layout.
2009-12-14 18:27:28 -08:00
Fred Quintana
274dc9d35f moved the hidden sync helpers out of the framework 2009-12-14 16:33:13 -08:00
Android (Google) Code Review
3a3fd2ba1f Merge change Iaf1f0918 into eclair-mr2
* changes:
  Implement API to have new broadcasts replace existing broadcasts.
2009-12-14 16:06:49 -08:00
Yang Li
4758f1216b Added the Protractor algorithm for calculating the minimum cosine distance between gestures 2009-12-14 15:41:07 -08:00
Android (Google) Code Review
163964143f Merge change If5b0b6fa into eclair-mr2
* changes:
  Fixed class paths in layout xml files
2009-12-14 15:17:24 -08:00
Dianne Hackborn
1c633fc89b Implement API to have new broadcasts replace existing broadcasts.
Use this in various places where it should serve no purpose to deliver
both broadcasts.  This is intended to reduce somewhat the flurry of
broadcasts that we churn through during boot.
2009-12-14 15:03:35 -08:00
Paul Westbrook
4ee9e53837 Fixed class paths in layout xml files
Updated the class paths in some layout files to match the package of
the NumberPicker and NumberPickerButton
2009-12-14 14:54:01 -08:00
Ken Shirriff
11f66b412f Remove unused SOURCE_ID constant. 2009-12-14 14:19:43 -08:00
Maryam Garrett
39f0efba92 Fixes context-menu trigger behavior after scroll in TextView
This change fixes the context menu trigger behavior while
the user is selecting via touch. How if a user is selecting
text via dragging their finger, to trigger the context menu
they will have to lift their finger up, then issue a
longpress. This is consistent with the behavior of selecting
via the trackball.
2009-12-14 14:42:25 -05:00
Android (Google) Code Review
ba8e4d240b Merge change Ib5343691 into eclair-mr2
* changes:
  Add account name / type query parameters for calendar Events.
2009-12-14 10:41:33 -08:00
Paul Westbrook
7762d93621 Unbundling work
Moved AndroidHttpClient, Rfc822InputFilter, Rfc822Validator
NumberPicker, NumberPickerButton to android-common
---
2009-12-14 09:24:09 -08:00
Derek Sollenberger
b6ddc7ae35 Notify native plugin code when the browser discards the customView. 2009-12-14 08:48:42 -05:00
Android (Google) Code Review
a8eaaa1027 Merge change If90ee7e2 into eclair-mr2
* changes:
  Fix TabHost NPE when there are no tabs
2009-12-14 01:01:21 -08:00
Dianne Hackborn
c9ca93fbf9 am 474731d5: Merge change I2ffe306f into eclair
Merge commit '474731d5efb30c1e9184f998610054747eb8e764' into eclair-mr2

* commit '474731d5efb30c1e9184f998610054747eb8e764':
  Fix issue #2304284: contacts/dialer/recentcalls constantly flashing
2009-12-13 12:25:00 -08:00
Grace Kloba
70b942d34d Post a Runnable to execute setNewZoomScale when
WebView's onSizeChanged is called. This will ensure
requestLayout of the Child View works.

Fix http://b/issue?id=2323445
2009-12-12 12:35:54 -08:00
Ken Shirriff
b5343691e1 Add account name / type query parameters for calendar Events. 2009-12-11 15:33:25 -08:00
Dianne Hackborn
871ecdce67 Fix issue #2304284: contacts/dialer/recentcalls constantly flashing
Make sure the application is always given the most recent configuration
when launcher.  Use the current configuration, instead of whatever happens
to be set by the app, for reporting what it was launched with.

Change-Id: I2ffe306f56cc9092b640546dd0a28d2c29b9c0b3
2009-12-11 15:24:33 -08:00
Dan Egnor
b7f0367cec Eliminate CrashData and friends.
(CrashData was a custom-marshalled crash-info class used for a server crash
reporting system I am deprecating).  Use ApplicationErrorReport.CrashInfo
instead to report crash details (mostly the stack trace) from RuntimeInfo to
ActivityManagerService, since we're likely to need the crash information in
that form anyway.

Remove the (long-disabled) flags and support for the "Debug" button
in the crash dialog.

Further gut the ICheckinService interface by removing the crash-reporting
APIs (and everything that calls them), plus the synchronous checkin()
method (which has been stubbed out for a while now).

A new dropbox-based crash reporting system is in the works, but not part
of this change.
2009-12-11 13:27:04 -08:00
Ken Shirriff
930ab3d955 Fix broken sdk build.
Fix link in javadoc.
2009-12-11 11:12:44 -08:00
Android (Google) Code Review
6cb69c7d74 Merge change I8b302097 into eclair-mr2
* changes:
  Update the zoom buttons after moving to a new page.
2009-12-11 08:42:13 -08:00
Bjorn Bringert
acdef59d66 Fix TabHost NPE when there are no tabs
Fixes http://b/issue?id=2318588

Change-Id: If90ee7e2b777e4c77fdd0ae768d1ececa792ee1b
2009-12-11 15:48:31 +00:00