OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge "DO NOT MERGE return an error when Surface::lock() is called while the surface...
Patrick Scott [Tue, 26 Jan 2010 18:07:23 +0000 (10:07 -0800)]
Merge "DO NOT MERGE return an error when Surface::lock() is called while the surface is already locked." into eclair-mr2

14 years agoDelay resetting mPreventDrag flags so that the Plugin
Grace Kloba [Tue, 26 Jan 2010 02:36:48 +0000 (18:36 -0800)]
Delay resetting mPreventDrag flags so that the Plugin
will have more time to respond whether it wants to
handle the touch events. (not have to return the
value from WebViewCore before the first tap is up)

Fix a potential null pointer exception.

14 years agoDO NOT MERGE
Mathias Agopian [Fri, 22 Jan 2010 19:47:55 +0000 (11:47 -0800)]
DO NOT MERGE
return an error when Surface::lock() is called while the surface is already locked.

14 years agoAs embedded and full screen shares the same view,
Grace Kloba [Fri, 22 Jan 2010 03:13:34 +0000 (19:13 -0800)]
As embedded and full screen shares the same view,
we have to replace the AbsoluteLayout with
ViewGroup.Layout before setting it to the dialog
as dialog's FrameLayout doesn't accept AbsoluteLayout.

This should fix the crash when changing orientation.

14 years agoResize the WebView when the soft-keyboard appears in landscape mode.
Derek Sollenberger [Thu, 21 Jan 2010 15:37:38 +0000 (10:37 -0500)]
Resize the WebView when the soft-keyboard appears in landscape mode.

The WebView notifies the IME that it wishes to be resized when the
soft-keyboard is displayed. This fixes http://b/2170192.

14 years agoAdd proper support for fixed position elements
Nicolas Roard [Mon, 11 Jan 2010 13:20:16 +0000 (13:20 +0000)]
Add proper support for fixed position elements

this is two-part change, see  http://android-git.corp.google.com/g/#change,37091 for the C++ counterpart.
This CL implements fixed position elements (css position: fixed) using layers, supporting pixels and percent lengths.

It addresses http://b/1914365

14 years agoAdd a static method to obtain the mime type from extension.
Patrick Scott [Wed, 13 Jan 2010 19:12:43 +0000 (14:12 -0500)]
Add a static method to obtain the mime type from extension.

This method is used by WebKit to obtain the mime type from an extension.

Bug: 2368893

14 years agoCreate a new ImeOption that disables fullscreen in landscape, and use it.
Leon Scroggins [Tue, 12 Jan 2010 16:36:13 +0000 (11:36 -0500)]
Create a new ImeOption that disables fullscreen in landscape, and use it.

EditorInfo:
Add a flag to tell the InputMethodService to never go into fullscreen
mode.

InputMethodService:
When the new flag is set, onEvaluateFullscreenMode always returns
false.

WebTextView:
Use the new flag, along with IME_FLAG_NO_EXTRACT_UI.  Fixes
http://b/issue?id=2358360

14 years agofixing build break by removing unused imports.
Derek Sollenberger [Mon, 11 Jan 2010 21:26:07 +0000 (16:26 -0500)]
fixing build break by removing unused imports.

14 years agoconsolidating to only use one surface per plugin. give plugin access to java context.
Derek Sollenberger [Mon, 11 Jan 2010 17:50:51 +0000 (12:50 -0500)]
consolidating to only use one surface per plugin. give plugin access to java context.

There is a companion commit in external webkit.

14 years agoBring up IME after receiving a response from webkit.
Leon Scroggins [Fri, 8 Jan 2010 21:19:27 +0000 (16:19 -0500)]
Bring up IME after receiving a response from webkit.

Fix for http://b/issue?id=2361658

Requires a change to external/webkit

14 years agoUse Calendar.add() instead of Calendar.roll()
Leon Scroggins [Thu, 7 Jan 2010 23:47:06 +0000 (18:47 -0500)]
Use Calendar.add() instead of Calendar.roll()

Calendar.roll() breaks the year at the beginning of the year, so
use add() instead, which changes larger fields.

Also, only use 4 bins, since the last bin's boundary is not relevant.

Lastly, no need to return Calendar in beginningOfDay.

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

14 years agoremove unused jni interfaces
Cary Clark [Thu, 7 Jan 2010 17:18:23 +0000 (12:18 -0500)]
remove unused jni interfaces

Also make package interfaces unused outside of WebView.java
private.

companion change in external/webkit

14 years agoRequest <label> info only when accessing a textfield.
Leon Scroggins [Wed, 6 Jan 2010 22:04:38 +0000 (17:04 -0500)]
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.

14 years agoMerge "set nine patch padding initially to an empty rectangle" into eclair-mr2
Cary Clark [Wed, 6 Jan 2010 17:52:54 +0000 (09:52 -0800)]
Merge "set nine patch padding initially to an empty rectangle" into eclair-mr2

14 years agoset nine patch padding initially to an empty rectangle
Cary Clark [Wed, 6 Jan 2010 15:53:43 +0000 (10:53 -0500)]
set nine patch padding initially to an empty rectangle

Formerly, the padding state was set to null. Copying the padding
state fails when the null rectangle contents are referenced.

fixes http://b/2219785

14 years agoShow label information as hint text
Leon Scroggins [Tue, 5 Jan 2010 15:59:40 +0000 (10:59 -0500)]
Show label information as hint text

Fix for http://b/issue?id=2331526

Requires a change to external/webkit.

14 years agoPatch from Huahui Wu.
Grace Kloba [Tue, 5 Jan 2010 18:50:39 +0000 (10:50 -0800)]
Patch from Huahui Wu.

Fix http://b/issue?id=1908085

14 years agolayers support
Nicolas Roard [Mon, 4 Jan 2010 19:30:55 +0000 (19:30 +0000)]
layers support

14 years agoMerge "free the NPObject in NPP_Destroy." into eclair-mr2
Grace Kloba [Mon, 4 Jan 2010 17:56:46 +0000 (09:56 -0800)]
Merge "free the NPObject in NPP_Destroy." into eclair-mr2

14 years agoMerge "Cleanup the cache file when we decide not saving it. This logic was lost when...
Grace Kloba [Mon, 4 Jan 2010 17:55:54 +0000 (09:55 -0800)]
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

14 years agoIf the DOM changes textfield focus, make the IME work properly.
Leon Scroggins [Tue, 15 Dec 2009 21:38:45 +0000 (16:38 -0500)]
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.

14 years agoCleanup the cache file when we decide not saving it.
Grace Kloba [Mon, 28 Dec 2009 01:39:43 +0000 (17:39 -0800)]
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

14 years agofree the NPObject in NPP_Destroy.
Grace Kloba [Sun, 27 Dec 2009 22:38:14 +0000 (14:38 -0800)]
free the NPObject in NPP_Destroy.

14 years agoMerge change Iab089078 into eclair-mr2
Android (Google) Code Review [Wed, 23 Dec 2009 01:39:57 +0000 (17:39 -0800)]
Merge change Iab089078 into eclair-mr2

* changes:
  Fix for a race condition that can occur if an utterance is stopped right when it completes.

14 years agoFix issue 2299360: Change in in-call volume affects the Bluetooth in-call volume...
Eric Laurent [Tue, 8 Dec 2009 17:05:45 +0000 (09:05 -0800)]
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.

14 years agoMove the full screen's matching embedded view to be
Grace Kloba [Tue, 22 Dec 2009 00:35:04 +0000 (16:35 -0800)]
Move the full screen's matching embedded view to be
fully visible so that the touch will always work.

14 years agoUpdate imports to android-common
Tom Taylor [Mon, 21 Dec 2009 21:59:18 +0000 (13:59 -0800)]
Update imports to android-common

Several files were moved to android-common. Update all the references
to import those files from the new location.

14 years agoMerge change I37f5ced1 into eclair-mr2
Android (Google) Code Review [Mon, 21 Dec 2009 17:59:25 +0000 (09:59 -0800)]
Merge change I37f5ced1 into eclair-mr2

* changes:
  Move various utility classes to android-common

14 years agoAddress the multiple resizing during initializing
Grace Kloba [Sun, 20 Dec 2009 19:33:58 +0000 (11:33 -0800)]
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.

14 years agoAttempt to fix simular build break.
James Dong [Sat, 19 Dec 2009 16:53:01 +0000 (08:53 -0800)]
Attempt to fix simular build break.
Missing header file stdlib.h for free, malloc, etc

14 years agoFix a memory corruption problem in software M4v/H263 decoder due to out-of-scope...
James Dong [Sat, 19 Dec 2009 02:40:43 +0000 (18:40 -0800)]
Fix a memory corruption problem in software M4v/H263 decoder due to out-of-scope local variable

14 years agoMerge change I420cc110 into eclair-mr2
Android (Google) Code Review [Sat, 19 Dec 2009 00:07:19 +0000 (16:07 -0800)]
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.

14 years agoCleanup of process-specific DNS.
Robert Greenwalt [Thu, 17 Dec 2009 22:54:59 +0000 (14:54 -0800)]
Cleanup of process-specific DNS.

Removes entries sooner.  A bug.
Doesn't add one for phone process at all.  This was intended to be removed long ago.

bug: 2329900

14 years agoMerge change Ibac388a3 into eclair-mr2
Android (Google) Code Review [Fri, 18 Dec 2009 18:30:37 +0000 (10:30 -0800)]
Merge change Ibac388a3 into eclair-mr2

* changes:
  Add support for XING header

14 years agoMove various utility classes to android-common
Tom Taylor [Fri, 18 Dec 2009 18:08:35 +0000 (10:08 -0800)]
Move various utility classes to android-common

In the process of making Mms unbundled, copy a few non-public-API
classes into the android-common library. The Mms app now uses this
library. The next step is to update the other apps that use these classes
and then delete the classes from their original location.

14 years agoMerge change If0c93a57 into eclair-mr2
Android (Google) Code Review [Fri, 18 Dec 2009 17:50:57 +0000 (09:50 -0800)]
Merge change If0c93a57 into eclair-mr2

* changes:
  add DragTracker class

14 years agoadd DragTracker class
Mike Reed [Thu, 12 Nov 2009 17:50:20 +0000 (12:50 -0500)]
add DragTracker class

14 years agoAdd support for XING header
Gloria Wang [Wed, 9 Dec 2009 23:46:19 +0000 (15:46 -0800)]
Add support for XING header

14 years agoInitial checkins of the mpeg4 and h263 software decoders based on PV
James Dong [Wed, 16 Dec 2009 00:26:55 +0000 (16:26 -0800)]
Initial checkins of the mpeg4 and h263 software decoders based on PV

14 years agoMerge change Ic70239e8 into eclair-mr2
Android (Google) Code Review [Thu, 17 Dec 2009 20:19:46 +0000 (12:19 -0800)]
Merge change Ic70239e8 into eclair-mr2

* changes:
  changed SettingsProvider to manage the androidid itself

14 years agoMerge change Ia6446890 into eclair-mr2
Android (Google) Code Review [Thu, 17 Dec 2009 19:49:50 +0000 (11:49 -0800)]
Merge change Ia6446890 into eclair-mr2

* changes:
  Remove the IM provider contract class.

14 years agoRemove the IM provider contract class.
Jeff Hamilton [Sat, 21 Nov 2009 04:04:03 +0000 (20:04 -0800)]
Remove the IM provider contract class.

Change-Id: Ia644689021aca3e429d42727dfd6262b6986dfd2

14 years agochanged SettingsProvider to manage the androidid itself
Fred Quintana [Thu, 17 Dec 2009 18:28:33 +0000 (10:28 -0800)]
changed SettingsProvider to manage the androidid itself

14 years agoMerge change I895fb7d7 into eclair-mr2
Android (Google) Code Review [Thu, 17 Dec 2009 18:21:31 +0000 (10:21 -0800)]
Merge change I895fb7d7 into eclair-mr2

* changes:
  Squashed commit of the following:

14 years agoSquashed commit of the following:
Andreas Huber [Wed, 16 Dec 2009 17:30:55 +0000 (09:30 -0800)]
Squashed commit of the following:

commit 144b1c40e9cf08a584c50e1bef7ba3f287e81a4f
Author: Andreas Huber <andih@google.com>
Date:   Wed Dec 16 09:28:23 2009 -0800

    This H264 file shows a certain problem even better.

commit 3245f1f3b7471975aeeb824a756c987abd610f55
Author: Andreas Huber <andih@google.com>
Date:   Wed Dec 16 09:20:08 2009 -0800

    Using only the QA testfiles now.

commit 074817eb3816c5dd70858a3594e3b92d799d873b
Author: Andreas Huber <andih@google.com>
Date:   Tue Dec 15 16:17:39 2009 -0800

    Yay, roles are back again now that the API is in place.

commit 6d847e4932cc38301ae27cb7283b7f1553a95457
Author: Andreas Huber <andih@google.com>
Date:   Tue Dec 15 13:01:20 2009 -0800

    Added commandline option for specifying the random seed for reproducable tests.

commit 62ab37b26336eaa67e49791c41c996acb6acee3f
Author: Andreas Huber <andih@google.com>
Date:   Mon Dec 14 10:53:27 2009 -0800

    When issuing a seek it is important that only the first MediaSource::read call has the seek option.

commit e77c46644b2fb6862bafa3569f7d304252074f1e
Author: Andreas Huber <andih@google.com>
Date:   Mon Dec 7 16:39:07 2009 -0800

    Make sure the tests are actually built, sp<OMXCodec> becomes sp<MediaSource>

commit 6df56915bd55a9445b3c6f953d3cc251d81579b8
Author: Andreas Huber <andih@google.com>
Date:   Thu Dec 3 14:25:36 2009 -0800

    Temporarily disable support for querying the roles of OMX components.

commit 31bb26930df9e3658dea684cedb4b0f1a06a4a88
Author: Andreas Huber <andih@google.com>
Date:   Tue Dec 1 13:36:52 2009 -0800

    Disregard EOS events, slightly change the way the EOS flag on output buffers is handled.

commit 4c382fbc9aebee8197d5988d04378062809e7c48
Author: Andreas Huber <andih@google.com>
Date:   Tue Dec 1 09:37:24 2009 -0800

    New random seek test for the codec tests. Fixed "sticky" end-of-output-buffers flag behaviour in OMXCodec.

commit c762eac3e44309592b61a168d66e091cf609fa03
Author: Andreas Huber <andih@google.com>
Date:   Tue Nov 3 14:13:43 2009 -0800

    Fix a typo.

commit 50540a59b65c7d476b0193c7494cd75895e6ca6d
Author: Andreas Huber <andih@google.com>
Date:   Tue Nov 3 09:48:35 2009 -0800

    Some more fine tuning of the unit tests, make MPEG4Extractor less verbose.

commit 1157a7e52a0636706caa235abe16d2ff8a0b8140
Author: Andreas Huber <andih@google.com>
Date:   Wed Oct 28 12:01:01 2009 -0700

    Changes to the IOMX::listNodes API, this now returns the component's roles as well, unit tests now test all components in all supported roles by default.

commit 30fbf2d8c6cb927689f7ba75eb550a81e9df488a
Author: Andreas Huber <andih@google.com>
Date:   Mon Oct 26 09:45:26 2009 -0700

    Initial check-in of unit tests for OMX components.

14 years agothrow if we have a null typeface native instance (so we don't crash in native code)
Mike Reed [Mon, 14 Dec 2009 19:57:01 +0000 (14:57 -0500)]
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

14 years agoMerge change I4758f121 into eclair-mr2
Android (Google) Code Review [Thu, 17 Dec 2009 05:40:30 +0000 (21:40 -0800)]
Merge change I4758f121 into eclair-mr2

* changes:
  Added the Protractor algorithm for calculating the minimum cosine distance between gestures

14 years agoMerge change I69f72c00 into eclair-mr2
Android (Google) Code Review [Thu, 17 Dec 2009 01:36:16 +0000 (17:36 -0800)]
Merge change I69f72c00 into eclair-mr2

* changes:
  Update OBEX lib setPath Flags handling logic to be compatible with spec.

14 years agoUpdate OBEX lib setPath Flags handling logic to be compatible with spec.
Lixin Yue [Thu, 10 Dec 2009 06:53:41 +0000 (14:53 +0800)]
Update OBEX lib setPath Flags handling logic to be compatible with spec.

From IrOBEX, 3.3.6.1, we can see below explanation for Flags bit 1:
1  Don't create directory if it does not exist, return an error instead.
The correct understanding should be: if bit 1 is set to 1, we'll not create
directory if it not exist; if bit 1 is set to 0, we'll create it if it not
exists.

14 years agoMerge change Ic0e32f12 into eclair-mr2
Android (Google) Code Review [Thu, 17 Dec 2009 00:22:17 +0000 (16:22 -0800)]
Merge change Ic0e32f12 into eclair-mr2

* changes:
  Add a callback for the ConnectSink Call.

14 years agoMerge change I11438c37 into eclair-mr2
Android (Google) Code Review [Wed, 16 Dec 2009 22:11:34 +0000 (14:11 -0800)]
Merge change I11438c37 into eclair-mr2

* changes:
  Implement the full screen WebView plugin.

14 years agoAdd a callback for the ConnectSink Call.
Jaikumar Ganesh [Wed, 16 Dec 2009 19:36:39 +0000 (11:36 -0800)]
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.

14 years agoImplement the full screen WebView plugin.
Grace Kloba [Wed, 16 Dec 2009 19:39:12 +0000 (11:39 -0800)]
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.

14 years agoMerge change Ic7e91eee into eclair-mr2
Android (Google) Code Review [Tue, 15 Dec 2009 23:35:52 +0000 (15:35 -0800)]
Merge change Ic7e91eee into eclair-mr2

* changes:
  Add a new API to support determining the roles of an OMX component specified by name. Remove unneeded OMXSoftwareCodecsPlugin.

14 years agob/2224837 Changed the plumbing of how alerts/notifications work.
Michael Chan [Thu, 29 Oct 2009 07:11:58 +0000 (00:11 -0700)]
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

14 years agoAdd a new API to support determining the roles of an OMX component specified by name...
Andreas Huber [Tue, 15 Dec 2009 23:22:08 +0000 (15:22 -0800)]
Add a new API to support determining the roles of an OMX component specified by name. Remove unneeded OMXSoftwareCodecsPlugin.

14 years agoMerge change I7f11a67a into eclair-mr2
Android (Google) Code Review [Tue, 15 Dec 2009 22:02:15 +0000 (14:02 -0800)]
Merge change I7f11a67a into eclair-mr2

* changes:
  Properly integrate the software codecs into the OMXCodec::Create hierarchy of available components.

14 years agoFixing broken javadoc.
Dmitri Plotnikov [Tue, 15 Dec 2009 21:54:28 +0000 (13:54 -0800)]
Fixing broken javadoc.

Change-Id: Ic5206054281919888943d036d9f6772ea2e63c5b

14 years agoProperly integrate the software codecs into the OMXCodec::Create hierarchy of availab...
Andreas Huber [Tue, 15 Dec 2009 21:25:11 +0000 (13:25 -0800)]
Properly integrate the software codecs into the OMXCodec::Create hierarchy of available components.

14 years agoIntroducing fields for capturing national specifics of contact names.
Dmitri Plotnikov [Tue, 15 Dec 2009 19:56:23 +0000 (11:56 -0800)]
Introducing fields for capturing national specifics of contact names.

Change-Id: Ia848390b9a74c5eb1a5a45a0b909a40307beb9ab

14 years agocheck to see if nav cache is up to date on tap
Cary Clark [Fri, 11 Dec 2009 17:10:36 +0000 (12:10 -0500)]
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

14 years agoMerge change I11f66b41 into eclair-mr2
Android (Google) Code Review [Tue, 15 Dec 2009 17:33:17 +0000 (09:33 -0800)]
Merge change I11f66b41 into eclair-mr2

* changes:
  Remove unused SOURCE_ID constant.

14 years agoProvide localized strings for <input> labels.
Leon Scroggins [Fri, 11 Dec 2009 20:01:22 +0000 (15:01 -0500)]
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.

14 years agoFix 2318046: Modify PIN entry layout in keyguard so it works well on HVGA as well...
Jim Miller [Tue, 15 Dec 2009 01:52:08 +0000 (17:52 -0800)]
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.

14 years agomoved the hidden sync helpers out of the framework
Fred Quintana [Fri, 11 Dec 2009 21:17:08 +0000 (13:17 -0800)]
moved the hidden sync helpers out of the framework

14 years agoMerge change I70d0bddb into eclair-mr2
Android (Google) Code Review [Tue, 15 Dec 2009 00:24:32 +0000 (16:24 -0800)]
Merge change I70d0bddb into eclair-mr2

* changes:
  Revise aapt options for UTF8/16 encoding

14 years agoMerge change Iaf1f0918 into eclair-mr2
Android (Google) Code Review [Tue, 15 Dec 2009 00:06:49 +0000 (16:06 -0800)]
Merge change Iaf1f0918 into eclair-mr2

* changes:
  Implement API to have new broadcasts replace existing broadcasts.

14 years agoMerge change Ib1f5ee41 into eclair-mr2
Android (Google) Code Review [Mon, 14 Dec 2009 23:48:48 +0000 (15:48 -0800)]
Merge change Ib1f5ee41 into eclair-mr2

* changes:
  It's important that seek requests are only specified in the initial call to MediaSource::read and are not repeated in subsequent calls.

14 years agoAdded the Protractor algorithm for calculating the minimum cosine distance between...
Yang Li [Mon, 14 Dec 2009 23:41:07 +0000 (15:41 -0800)]
Added the Protractor algorithm for calculating the minimum cosine distance between gestures

14 years agoIt's important that seek requests are only specified in the initial call to MediaSour...
Andreas Huber [Mon, 14 Dec 2009 23:34:11 +0000 (15:34 -0800)]
It's important that seek requests are only specified in the initial call to MediaSource::read and are not repeated in subsequent calls.

14 years agoMerge change If5b0b6fa into eclair-mr2
Android (Google) Code Review [Mon, 14 Dec 2009 23:17:24 +0000 (15:17 -0800)]
Merge change If5b0b6fa into eclair-mr2

* changes:
  Fixed class paths in layout xml files

14 years agoImplement API to have new broadcasts replace existing broadcasts.
Dianne Hackborn [Wed, 9 Dec 2009 03:45:14 +0000 (19:45 -0800)]
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.

14 years agoFixed class paths in layout xml files
Paul Westbrook [Mon, 14 Dec 2009 22:33:14 +0000 (14:33 -0800)]
Fixed class paths in layout xml files

Updated the class paths in some layout files to match the package of
the NumberPicker and NumberPickerButton

14 years agoMerge change I1314e737 into eclair-mr2
Android (Google) Code Review [Mon, 14 Dec 2009 22:32:13 +0000 (14:32 -0800)]
Merge change I1314e737 into eclair-mr2

* changes:
  AwesomePlayer now renders either remote (IOMXRenderer) or locally depending on what kind of decoder was instantiated. Split off color conversion code into its own shared library.

14 years agoRemove unused SOURCE_ID constant.
Ken Shirriff [Mon, 14 Dec 2009 22:19:32 +0000 (14:19 -0800)]
Remove unused SOURCE_ID constant.

14 years agoAwesomePlayer now renders either remote (IOMXRenderer) or locally depending on what...
Andreas Huber [Mon, 14 Dec 2009 22:18:22 +0000 (14:18 -0800)]
AwesomePlayer now renders either remote (IOMXRenderer) or locally depending on what kind of decoder was instantiated. Split off color conversion code into its own shared library.

14 years agoMerge change Ib5ae1c87 into eclair-mr2
Android (Google) Code Review [Mon, 14 Dec 2009 20:34:16 +0000 (12:34 -0800)]
Merge change Ib5ae1c87 into eclair-mr2

* changes:
  The software AVCDecoder now properly seeks as requested.

14 years agoam 9602d9ad: Fix issue #2325782 Missing location features
Dianne Hackborn [Mon, 14 Dec 2009 19:59:10 +0000 (11:59 -0800)]
am 9602d9ad: Fix issue #2325782 Missing location features

Merge commit '9602d9adf456410a5bfc4268f55adc1b7ab0efa8' into eclair-mr2

* commit '9602d9adf456410a5bfc4268f55adc1b7ab0efa8':
  Fix issue #2325782 Missing location features

14 years agoam da4cc343: Fix issue 2324029: In-call (and other) audio screwed up after using...
Eric Laurent [Mon, 14 Dec 2009 19:57:24 +0000 (11:57 -0800)]
am da4cc343: Fix issue 2324029: In-call (and other) audio screwed up after using Pandora (ERD72).

Merge commit 'da4cc34308d65730c404b669926a92e37b378555' into eclair-mr2

* commit 'da4cc34308d65730c404b669926a92e37b378555':
  Fix issue 2324029: In-call (and other) audio screwed up after using Pandora (ERD72).

14 years agoFixes context-menu trigger behavior after scroll in TextView
Maryam Garrett [Fri, 11 Dec 2009 18:52:06 +0000 (13:52 -0500)]
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.

14 years agoFix issue #2325782 Missing location features
Dianne Hackborn [Mon, 14 Dec 2009 18:49:42 +0000 (10:49 -0800)]
Fix issue #2325782 Missing location features

Change-Id: I56a07438b5840f530f7508b1ef4904cea737a550

14 years agoThe software AVCDecoder now properly seeks as requested.
Andreas Huber [Mon, 14 Dec 2009 18:53:00 +0000 (10:53 -0800)]
The software AVCDecoder now properly seeks as requested.

14 years agoMerge change Ib5343691 into eclair-mr2
Android (Google) Code Review [Mon, 14 Dec 2009 18:41:33 +0000 (10:41 -0800)]
Merge change Ib5343691 into eclair-mr2

* changes:
  Add account name / type query parameters for calendar Events.

14 years agoUnbundling work
Paul Westbrook [Fri, 11 Dec 2009 22:13:48 +0000 (14:13 -0800)]
Unbundling work

Moved AndroidHttpClient, Rfc822InputFilter, Rfc822Validator
NumberPicker, NumberPickerButton to android-common
---

14 years agoNotify native plugin code when the browser discards the customView.
Derek Sollenberger [Tue, 8 Dec 2009 20:41:46 +0000 (15:41 -0500)]
Notify native plugin code when the browser discards the customView.

14 years agoFix issue 2324029: In-call (and other) audio screwed up after using Pandora (ERD72).
Eric Laurent [Mon, 14 Dec 2009 11:45:41 +0000 (03:45 -0800)]
Fix issue 2324029: In-call (and other) audio screwed up after using Pandora (ERD72).

The problem is due to spurious headset connection indications received from event observer when a 3.5mm headset w/o mic is connected.
In this particular case, The HeadsetObserver first received a valid indication of headset with mic connection, followed by a headset with mic disconnection and finally a headset w/o mic connection.
The HeadsetObserver delays the headset disconnection intent to leave time to music app to pause music before the output path is switched.
As the last headset w/o mic connection indication is received from the event observer before the intent corresponding to the spurious headset with mic disconnection is broadcast, the later is discarded. Results a state where the headset with mic is always considered as connected.

The fix consists in not canceling pending intents when a new headset state is received and carrying the HeadsetObserver state with the delayed message triggering the broacast of the disconnection intent.

14 years agoMerge change If90ee7e2 into eclair-mr2
Android (Google) Code Review [Mon, 14 Dec 2009 09:01:21 +0000 (01:01 -0800)]
Merge change If90ee7e2 into eclair-mr2

* changes:
  Fix TabHost NPE when there are no tabs

14 years agoam 54bb575e: am 6f95f461: Fix the dependencies to make online-sdk-docs.
Ying Wang [Sun, 13 Dec 2009 20:26:11 +0000 (12:26 -0800)]
am 54bb575e: am 6f95f461: Fix the dependencies to make online-sdk-docs.

Merge commit '54bb575e85d1e40efbfbb868f37553cdd8ed318f' into eclair-mr2

* commit '54bb575e85d1e40efbfbb868f37553cdd8ed318f':
  Fix the dependencies to make online-sdk-docs.

14 years agoam 9b52a218: Fix #2269582 Sometimes camera preview screen is truncated
Dianne Hackborn [Sun, 13 Dec 2009 20:25:10 +0000 (12:25 -0800)]
am 9b52a218: Fix #2269582 Sometimes camera preview screen is truncated

Merge commit '9b52a2184e99565bcd7f77effb321c95a2a4837e' into eclair-mr2

* commit '9b52a2184e99565bcd7f77effb321c95a2a4837e':
  Fix #2269582 Sometimes camera preview screen is truncated

14 years agoam 474731d5: Merge change I2ffe306f into eclair
Dianne Hackborn [Sun, 13 Dec 2009 20:25:00 +0000 (12:25 -0800)]
am 474731d5: Merge change I2ffe306f into eclair

Merge commit '474731d5efb30c1e9184f998610054747eb8e764' into eclair-mr2

* commit '474731d5efb30c1e9184f998610054747eb8e764':
  Fix issue #2304284: contacts/dialer/recentcalls constantly flashing

14 years agoam 62d4395b: Merge change I6dc8a694 into eclair
Xavier Ducrohet [Sun, 13 Dec 2009 20:24:17 +0000 (12:24 -0800)]
am 62d4395b: Merge change I6dc8a694 into eclair

Merge commit '62d4395bdb3114b9a75e46140456bc54fd13a3e7' into eclair-mr2

* commit '62d4395bdb3114b9a75e46140456bc54fd13a3e7':
  Layoutlib: Add a constant for default density value.

14 years agoam 6f95f461: Fix the dependencies to make online-sdk-docs.
Ying Wang [Sat, 12 Dec 2009 23:38:29 +0000 (15:38 -0800)]
am 6f95f461: Fix the dependencies to make online-sdk-docs.

Merge commit '6f95f461098d5b9e93212cf9cc7c7a6498eecf3a' into eclair

* commit '6f95f461098d5b9e93212cf9cc7c7a6498eecf3a':
  Fix the dependencies to make online-sdk-docs.

14 years agoPost a Runnable to execute setNewZoomScale when
Grace Kloba [Sat, 12 Dec 2009 03:33:04 +0000 (19:33 -0800)]
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

14 years agoRevise aapt options for UTF8/16 encoding
Kenny Root [Fri, 11 Dec 2009 16:15:16 +0000 (08:15 -0800)]
Revise aapt options for UTF8/16 encoding

Remove option to force UTF-8 encoding which could corrupt packages meant
for systems before API level 7. Added switch to allow encoding for UTF-16
which will allow API 7 and later to encode resources in UTF-16.

Change-Id: I70d0bddb0dfd12dcbd08c95f613dcfe896ae680b

14 years agoFix #2269582 Sometimes camera preview screen is truncated
Dianne Hackborn [Fri, 11 Dec 2009 22:51:35 +0000 (14:51 -0800)]
Fix #2269582 Sometimes camera preview screen is truncated

There were a few places in the window manager where we wouldn't cause
a layout after making a window visible.  This would leave it using
whatever size and position it last have since we don't layout windows
when they are not visible.

Also includes a little part I missed in the security issue that
allowed wallpapers to see input on the lock screen.

Change-Id: Icd7e037ad9a67ac936bc7039d87ed68f49502d73

14 years agoMerge change I2ffe306f into eclair
Android (Google) Code Review [Sat, 12 Dec 2009 02:25:21 +0000 (18:25 -0800)]
Merge change I2ffe306f into eclair

* changes:
  Fix issue #2304284: contacts/dialer/recentcalls constantly flashing

14 years agoMerge change I9ac0777e into eclair-mr2
Android (Google) Code Review [Fri, 11 Dec 2009 23:39:17 +0000 (15:39 -0800)]
Merge change I9ac0777e into eclair-mr2

* changes:
  Initial checkin of software AMR NB encoder based on PV source code.

14 years agoAdd account name / type query parameters for calendar Events.
Ken Shirriff [Fri, 11 Dec 2009 23:32:09 +0000 (15:32 -0800)]
Add account name / type query parameters for calendar Events.

14 years agoFix issue #2304284: contacts/dialer/recentcalls constantly flashing
Dianne Hackborn [Fri, 11 Dec 2009 23:24:33 +0000 (15:24 -0800)]
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