11112 Commits

Author SHA1 Message Date
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
492604e952 Merge change I69f72c00 into eclair-mr2
* changes:
  Update OBEX lib setPath Flags handling logic to be compatible with spec.
2009-12-16 17:36:16 -08:00
Lixin Yue
69f72c00a1 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.
2009-12-16 17:33:02 -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
Android (Google) Code Review
d980e656ba 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.
2009-12-15 15:35:52 -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
Andreas Huber
c7e91eee2e Add a new API to support determining the roles of an OMX component specified by name. Remove unneeded OMXSoftwareCodecsPlugin. 2009-12-15 15:22:08 -08:00
Android (Google) Code Review
ae77561b8f Merge change I7f11a67a into eclair-mr2
* changes:
  Properly integrate the software codecs into the OMXCodec::Create hierarchy of available components.
2009-12-15 14:02:15 -08:00
Dmitri Plotnikov
3170f9a7cf Fixing broken javadoc.
Change-Id: Ic5206054281919888943d036d9f6772ea2e63c5b
2009-12-15 13:54:28 -08:00
Andreas Huber
fb1c2f8d8d Properly integrate the software codecs into the OMXCodec::Create hierarchy of available components. 2009-12-15 13:28:55 -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
Fred Quintana
274dc9d35f moved the hidden sync helpers out of the framework 2009-12-14 16:33:13 -08:00
Android (Google) Code Review
15f1bfb0d2 Merge change I70d0bddb into eclair-mr2
* changes:
  Revise aapt options for UTF8/16 encoding
2009-12-14 16:24:32 -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
Android (Google) Code Review
67f1db1cd1 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.
2009-12-14 15:48:48 -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
Andreas Huber
b1f5ee41e9 It's important that seek requests are only specified in the initial call to MediaSource::read and are not repeated in subsequent calls. 2009-12-14 15:34:11 -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
Android (Google) Code Review
1955324151 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.
2009-12-14 14:32:13 -08:00
Ken Shirriff
11f66b412f Remove unused SOURCE_ID constant. 2009-12-14 14:19:43 -08:00
Andreas Huber
1314e73786 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. 2009-12-14 14:18:22 -08:00
Android (Google) Code Review
0483f1c192 Merge change Ib5ae1c87 into eclair-mr2
* changes:
  The software AVCDecoder now properly seeks as requested.
2009-12-14 12:34:16 -08:00
Dianne Hackborn
91afce9386 am 9602d9ad: Fix issue #2325782 Missing location features
Merge commit '9602d9adf456410a5bfc4268f55adc1b7ab0efa8' into eclair-mr2

* commit '9602d9adf456410a5bfc4268f55adc1b7ab0efa8':
  Fix issue #2325782 Missing location features
2009-12-14 11:59:10 -08:00
Eric Laurent
59e03a0a4d 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).
2009-12-14 11:57:24 -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
Dianne Hackborn
9602d9adf4 Fix issue #2325782 Missing location features
Change-Id: I56a07438b5840f530f7508b1ef4904cea737a550
2009-12-14 11:00:40 -08:00
Andreas Huber
b5ae1c8712 The software AVCDecoder now properly seeks as requested. 2009-12-14 10:54:10 -08: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
Eric Laurent
da4cc34308 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.
2009-12-14 03:45:41 -08: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
Ying Wang
e7c1b11ec8 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.
2009-12-13 12:26:11 -08:00
Dianne Hackborn
8091424ea3 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
2009-12-13 12:25:10 -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
Xavier Ducrohet
a7d461e09a am 62d4395b: Merge change I6dc8a694 into eclair
Merge commit '62d4395bdb3114b9a75e46140456bc54fd13a3e7' into eclair-mr2

* commit '62d4395bdb3114b9a75e46140456bc54fd13a3e7':
  Layoutlib: Add a constant for default density value.
2009-12-13 12:24:17 -08:00
Ying Wang
54bb575e85 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.
2009-12-12 15:38:29 -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
Kenny Root
745e17a07c 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
2009-12-11 19:06:21 -08:00
Dianne Hackborn
9b52a2184e 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
2009-12-11 18:35:07 -08:00
Android (Google) Code Review
474731d5ef Merge change I2ffe306f into eclair
* changes:
  Fix issue #2304284: contacts/dialer/recentcalls constantly flashing
2009-12-11 18:25:21 -08:00
Android (Google) Code Review
089455760c Merge change I9ac0777e into eclair-mr2
* changes:
  Initial checkin of software AMR NB encoder based on PV source code.
2009-12-11 15:39:17 -08:00