11112 Commits

Author SHA1 Message Date
Wink Saville
fc5b4802a5 Implement a HierarchicalStateMachine
A hierarchical state machine is a state machine which processes messages
and can have states arranged hierarchically. Each state in the state
machine may have a single parent state and if a child state is unable to
handle a message it may have the message processed by its parent.

Change-Id: I0a56959ece8f89e4f9122dc8044120b82d517bbb
2009-12-08 21:22:24 -08:00
Android (Google) Code Review
9fbb534ebd Merge change Iafbeb31b into eclair-mr2
* changes:
  Maybe really fix windows build.
2009-12-08 19:47:54 -08:00
Dianne Hackborn
afbeb31bff Maybe really fix windows build. 2009-12-08 19:45:59 -08:00
Mathias Agopian
b548dbb225 improve video performance to minimize the tearing effect seen in 720p movies
always rescale videos to their target size using copybit during yuv->rgb
conversion. this improves performance of the GPU pass and doesn't require
linear filtering to be enabled. Also always use 16-bits buffers.

the average processing time for 720p dropped from ~50ms to ~30ms
2009-12-08 19:29:38 -08:00
Dianne Hackborn
4c8454d869 am e851cdc6: Merge change Ifd95b9f5 into eclair
Merge commit 'e851cdc6c48c977d05096847001a0601d892fd55' into eclair-mr2

* commit 'e851cdc6c48c977d05096847001a0601d892fd55':
  Fix #2313382: SECURITY: Live wallpapers get touch events through the lock screen.
2009-12-08 18:44:03 -08:00
Android (Google) Code Review
e851cdc6c4 Merge change Ifd95b9f5 into eclair
* changes:
  Fix #2313382: SECURITY: Live wallpapers get touch events through the lock screen.
2009-12-08 18:40:37 -08:00
Romain Guy
114800653c Add new white style for ExpandableListView. 2009-12-08 18:36:00 -08:00
Android (Google) Code Review
484fe4d6f4 Merge change I06fb2c1c into eclair-mr2
* changes:
  Hopefully fix Windows build
2009-12-08 18:05:58 -08:00
Android (Google) Code Review
7b935e8426 Merge change Iead0d4d8 into eclair-mr2
* changes:
  Fix the build when ViewDebug.TRACE_RECYCLER is set to true.
2009-12-08 17:34:56 -08:00
Romain Guy
ead0d4d828 Fix the build when ViewDebug.TRACE_RECYCLER is set to true. 2009-12-08 17:33:53 -08:00
Android (Google) Code Review
a41e068045 Merge change I36785a9d into eclair-mr2
* changes:
  Telephony: Make resetting radio on a radio technology change optional
2009-12-08 16:59:22 -08:00
Wink Saville
d7d6fb3947 Telephony: Make resetting radio on a radio technology change optional
When there is a radio technology change in a multimode modem, resetting
the radio is not necessary always. Reset radio only when a property is
set. Notify applications that data connection is lost and ignore
notifications coming on the old radio technology.

Minor optimizations and bug fixes in CdmaDataConnectionTracker.
- Stop netstat polling when data connection is not active
- check all the elements of the data call list array to figure out if the
data connection is active.

Change-Id: I36785a9d1bf8ee135b574b61e9ba371faa04ffc7
2009-12-08 16:57:58 -08:00
Dianne Hackborn
06fb2c1c39 Hopefully fix Windows build 2009-12-08 16:38:01 -08:00
Android (Google) Code Review
b882b361f1 Merge change Iee7f2457 into eclair-mr2
* changes:
  Deleted Gmail.java from frameworks.  Previously it had been moved to vendor/google/.../Gmail/...
2009-12-08 16:35:05 -08:00
Android (Google) Code Review
af9788a9d6 Merge change Ia53c6725 into eclair-mr2
* changes:
  Add bindService API to not bring ot foreground.
2009-12-08 16:34:48 -08:00
Robert Greenwalt
7614d3d819 am 68b15b68: Porting change I064698b3 from mr2 to eclair.
Merge commit '68b15b68497e373fe63a13f11e18349a738a7989' into eclair-mr2

* commit '68b15b68497e373fe63a13f11e18349a738a7989':
  Porting change I064698b3 from mr2 to eclair.
2009-12-08 16:33:59 -08:00
Dianne Hackborn
09c916bccb Add bindService API to not bring ot foreground.
Add a new flag for bindService that tells the system to not bring the
target service's process in to the foreground scheduling class.  This is
used by the sync system to not cause the current sync adapter to come to
the foreground as it is running.

Also some small improvements to the debug output of the process list
of oom adj and scheduling info.
2009-12-08 16:33:59 -08:00
Dianne Hackborn
00c1fc97c1 Fix #2313382: SECURITY: Live wallpapers get touch events through the lock screen.
This is a quick and dirty hack to not deliver touch events to the wallpaper when
they are being sent to the keyguard.  Perhaps we should have a separate window
flag for this, but...  bleah.  Maybe later.  Or maybe I'll use that secure flag.
Or something.

Change-Id: Ifd95b9f5b10db24a0854a93b925a833b24331b4c
2009-12-08 15:51:43 -08:00
Paul Westbrook
286b191d30 Deleted Gmail.java from frameworks. Previously it had been moved to vendor/google/.../Gmail/... 2009-12-08 15:43:56 -08:00
Robert Greenwalt
68b15b6849 Porting change I064698b3 from mr2 to eclair.
Add support for "HANGED" driver state - we'll reboot the driver when requested (by the driver).

bug: 2310372
2009-12-08 15:37:47 -08:00
Romain Guy
ea4823c1c7 Improve javadoc in View. 2009-12-08 15:15:46 -08:00
Android (Google) Code Review
1ee7b6453a Merge change I0743a389 into eclair-mr2
* changes:
  Close popup when Keyboard gets a CANCEL motion event.
2009-12-08 14:37:38 -08:00
Amith Yamasani
0743a389e8 Close popup when Keyboard gets a CANCEL motion event.
Needed for Extension keyboard feature.
2009-12-08 14:18:19 -08:00
Christopher Tate
a5ba0a7881 am 767eb427: Merge change If990cab0 into eclair
Merge commit '767eb427fa8eca6c842c629cd4bfbf3551692148' into eclair-mr2

* commit '767eb427fa8eca6c842c629cd4bfbf3551692148':
  Make sure to acknowledge stale broadcasts
2009-12-08 14:11:33 -08:00
Joe Onorato
b43b5deff3 am 0d8055e5: Paper over 2275704 by not having LotsOfApps installed on the monkeys builds.
Merge commit '0d8055e51ce2666875e14c53e14765f673172b1c' into eclair-mr2

* commit '0d8055e51ce2666875e14c53e14765f673172b1c':
  Paper over 2275704 by not having LotsOfApps installed on the monkeys builds.
2009-12-08 14:08:51 -08:00
Android (Google) Code Review
767eb427fa Merge change If990cab0 into eclair
* changes:
  Make sure to acknowledge stale broadcasts
2009-12-08 14:07:50 -08:00
Joe Onorato
0d8055e51c Paper over 2275704 by not having LotsOfApps installed on the monkeys builds. 2009-12-08 14:02:09 -08:00
Grace Kloba
3f40bd48d2 Remove the code where we suspect webkit draw during
drag. It was added for the better performance of panning
while loading. But it does make sites using touch event
look bad as we don't have the display tree until touch up.

Fix http://b/issue?id=2310295
2009-12-08 13:49:50 -08:00
Christopher Tate
08a462524a Make sure to acknowledge stale broadcasts
If a broadcast arrives at a process but the receiver has been unregistered in
the interval between dispatch and its arrival on the receiving process's side,
we were simply dropping the broadcast entirely, leading to spurious ANRs and
potentially issues involving future broadcasts being timed out incorrectly.  Fix
this by making sure to correctly 'finish' a broadcast even when the recipient
app no longer has any receiver that matches the broadcast's profile.

Change-Id: If990cab021a26668052cb536753f6c308d80a5b4
2009-12-08 13:48:45 -08:00
Android (Google) Code Review
a4d0a67ed0 Merge change Ifb0a0398 into eclair-mr2
* changes:
  Fix build breakage.  Rename NetStat to TrafficStats in preloaded-classes.
2009-12-08 13:46:49 -08:00
Android (Google) Code Review
e6c0e99334 Merge change I129483f8 into eclair-mr2
* changes:
  Optional use of UTF-8 strings in resource bundles
2009-12-08 13:41:38 -08:00
Ken Shirriff
1ec8146ec4 Fix build breakage. Rename NetStat to TrafficStats in preloaded-classes. 2009-12-08 13:39:43 -08:00
Android (Google) Code Review
1270e2e22b Merge change I96ddd6e2 into eclair-mr2
* changes:
  Migration to TrafficStats.
2009-12-08 12:41:51 -08:00
Android (Google) Code Review
dcd8bad3aa Merge change Ia28d9547 into eclair-mr2
* changes:
  Expose SearchableInfo and getSearchablesInGlobalSearch()
2009-12-08 12:10:47 -08:00
Android (Google) Code Review
06ffc12a39 Merge change I237c1cee into eclair-mr2
* changes:
  Improve exception message thrown when a View's state is of the wrong type.
2009-12-08 11:32:50 -08:00
Romain Guy
237c1ceea3 Improve exception message thrown when a View's state is of the wrong type. 2009-12-08 11:30:25 -08:00
Android (Google) Code Review
24eca800d4 Merge change I887f355f into eclair-mr2
* changes:
  Propagate background scheduling class across processes.
2009-12-08 11:25:48 -08:00
Bjorn Bringert
13107bb186 Expose SearchableInfo and getSearchablesInGlobalSearch()
This is needed for search unbundling.

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

Change-Id: Ia28d954736c9afd68da22a38da966ed780d797c2
2009-12-08 19:21:19 +00:00
Leon Scroggins
6be3bf2393 Some fixes for positioning the WebTextView.
Move the change in position/size before the call to bring into view,
so that the properly positioned field will be brought into view.  It
is also now before we check to see if it is the same textfield, so
it happens in both cases.

Also remove some code which checks the selection and then sets it
unnecessarily.  It was originally surrounding some code which called
setRect, which had a side-effect of changing the selection.  That
code was removed (rendering the remaining code useless), and setRect
no longer has the side effect (the side effect was a result of calling
reqestFocus, which it no longer does - further, the change in selection from
requestFocus no longer affects the textfield's text).
2009-12-08 14:15:25 -05:00
Ken Shirriff
1719a39a4c Migration to TrafficStats.
TrafficStats is the SDK version of NetStat.
2009-12-08 11:14:03 -08:00
Ken Shirriff
f7d0b01387 Add TrafficStats class to SDK.
This class (a rename of NetStat) provides network byte and packet statistics.
NetStat will be removed separately, to avoid breaking other packages when submitting.
2009-12-08 10:50:25 -08:00
Andreas Huber
7c55c3f5f5 Make sure to use the hand-tweaked-assembly version of the relevant mp3 code if building for ARM. 2009-12-08 10:07:22 -08:00
Android (Google) Code Review
6d35d4c2cf Merge change Ib16e5543 into eclair-mr2
* changes:
  Fix the mp3 audio extractor that would occasionally return an invalid frame directly after a seek.
2009-12-08 09:16:08 -08:00
Android (Google) Code Review
3f5b28679b Merge change I8f658214 into eclair-mr2
* changes:
  Minor tweaks to the mp3 and aac software decoders, propagate duration to output format.
2009-12-08 09:16:00 -08:00
Android (Google) Code Review
ee3a2443de Merge change Ic532c956 into eclair-mr2
* changes:
  Note to self: Don't reverse the arguments to fseek(o)...
2009-12-08 09:15:46 -08:00
Android (Google) Code Review
10c1dfad63 Merge change Ifea65fb9 into eclair-mr2
* changes:
  Move the emergency call button to the top-right when there's no SIM.
2009-12-08 07:59:34 -08:00
Derek Sollenberger
51ef573a83 Switching from activity based full screen plugins to a view system overlay. 2009-12-08 08:12:44 -05:00
Trevor Johns
7e42e8f334 am d59fb6e7: Updating list of standard Intents in android.content.Intent documentation.
Merge commit 'd59fb6e7435b57d83662b196f5430e6f2bc5427b' into eclair-mr2

* commit 'd59fb6e7435b57d83662b196f5430e6f2bc5427b':
  Updating list of standard Intents in android.content.Intent
2009-12-07 22:42:46 -08:00
Trevor Johns
d59fb6e743 Updating list of standard Intents in android.content.Intent
documentation.
2009-12-07 22:38:49 -08:00
Jean-Michel Trivi
6154412ee8 Partially fix bug 2111240 Detect docking / undocking event by reporting
to the AudioPolicyManager a new forced usage AudioSystem::FOR_DOCK
which can take the FORCE_NONE, FORCE_BT_DOCK or FORCE_WIRED_ACCESSORY
values. This CL is complemented by an update of the APM to take into
account the FOR_DOCK usage.
2009-12-07 20:42:52 -08:00