Commit Graph

18686 Commits

Author SHA1 Message Date
Ben Murdoch
8a032a3b29 Pass key modifier state to webcore for touch events and update DRT so it can simulate them.
Change-Id: Ic5aa8cb0376f6a3eecaa6340d57f28fa97f016bd
2010-02-19 11:47:31 +00:00
Mike LeBeau
c0784c749b Merge "Elaborate a little on the documentation for PackageManager's resolveActivity." 2010-02-18 20:11:51 -08:00
Mike LeBeau
8378bb3947 Merge "Two big additions to the voice recognition APIs:" 2010-02-18 20:10:23 -08:00
Mike LeBeau
bd3f527ea0 Elaborate a little on the documentation for PackageManager's resolveActivity.
Not sure if this wording is perfectly appropriate, so comments welcome.
2010-02-18 19:27:17 -08:00
Mike LeBeau
79375f7619 Two big additions to the voice recognition APIs:
* Allow activities satisfying RecognizerIntent.ACTION_WEB_SEARCH to
  point to the class name of a broadcast receiver which returns details
  about the voice search implementation in an ordered broadcast response.
  Provide a convenience method for getting the intent to fire for this
  info. This can be used to get the current language preference and the
  list of supported languages, and is extensible for future uses.

* When creating a RecognitionManager, allow the caller to optionally specify
  a specific component of a voice recognition service on the device that they
  want to use. This way, an app can still use its own service through
  RecognitionManager, even if it's not the one chosen the user in settings.
2010-02-18 19:19:49 -08:00
Jim Miller
e1550082c0 Merge "Fix 2455162: Fix mdpi password entry keyboard to show 'OK' instead of return icon." 2010-02-18 19:08:21 -08:00
Chih-Chung Chang
90d141c1fa Merge "Do setThreadPriority() later so we can notify the waiting thread and release the lock as soon as possible even if we run the loop in background priority." 2010-02-18 17:36:00 -08:00
Robert Greenwalt
939d5fafc9 Merge "Add USB RNDIS enable/disable control" 2010-02-18 17:34:16 -08:00
Jim Miller
2c0b6ddf2a Fix 2455162: Fix mdpi password entry keyboard to show 'OK' instead of return icon. 2010-02-18 17:32:01 -08:00
San Mehat
165c62d3fb Merge "framework: tests: Clean up asec unit tests and add rename tests" 2010-02-18 16:49:18 -08:00
Vasu Nori
da99efcc5e Merge "add diagnostic info to help debug bug:2427686" 2010-02-18 16:43:14 -08:00
Vasu Nori
d3fe30134e add diagnostic info to help debug bug:2427686 2010-02-18 16:40:42 -08:00
Dianne Hackborn
75288fa1a4 Improve Service documentation with some samples.
Also some small tweaks to the Message API to improve its
use in the MessengerService sample.
2010-02-18 16:28:23 -08:00
Adam Powell
9599452dd9 Merge "Don't cache mFirstPosition before a layoutChildren in ListView.onFocusChanged" 2010-02-18 15:54:40 -08:00
Dianne Hackborn
b167643c87 Merge "Fixing bug 2453467 - In case of a dead process while disabling Accessibility some processes keep sending AccessibilityEvents" 2010-02-18 15:49:25 -08:00
Dianne Hackborn
e36d6e277e Work on issue #2263557: PMF3000 showing hybrid of portrait and landscape modes
This is a bunch of reworking of how configuration changes are handled:

- When orientation is changing (for whatever reason), the window manager no
  longer tries to pre-emptively compute a new configuration.  Instead, it
  just determines  change is happening and tells the window manager.
- The activity manager is now responsible for giving the window manager the
  final configuration it is using.  This is both so it knows whem the
  activity manager is done with its configuration updates, and so the window
  manager can use the "real" configuration.
- When an orientation or other configuration change is happening, freeze the
  screen and keep it frozen until the activity manager has given us the
  final configuration.
- The window manager can now send new configurations to its clients during
  its layout pass, as part of a resize, if it has determined that it has
  changed.  This allows for a new View.onConfigurationChanged() API for any
  view to easily find out when the configuration has changed.
- ViewRoot now also works with the activity thread to make sure the process's
  current resources are updated to the new configuration when it receives one
  from a window.  This ensures that at the time onConfigurationChanged() and
  other view callbacks are happening, the correct configuration is in force.
- There is now a sequence number associated with Configuration, which
  ActivityThread uses to avoid using stale configurations.  This is needed now
  that it can receive configurations asynchronously from both the window
  manager and activity manager.
- The hack for keeping the locale has been removed, and underlying problem
  fixed by having Configuration initialize its locale to "unknown" instead of
  a valid default value.
2010-02-18 15:47:34 -08:00
Adam Powell
d7507834e7 Don't cache mFirstPosition before a layoutChildren in ListView.onFocusChanged 2010-02-18 15:40:33 -08:00
Mathias Agopian
a696f5d667 Add ImageFormat.java and move the Camera/YUV constants from PixelFormat to it.
PixelFormat's corresponding constansts are now deprecated.
2010-02-18 15:32:47 -08:00
Svetoslav Ganov
fb606da00c Fixing bug 2453467 - In case of a dead process while disabling Accessibility some processes keep sending AccessibilityEvents 2010-02-18 15:30:52 -08:00
Joe Onorato
be8af08cf4 Merge "Fix 2363699 - Make notification shade animate closed when disabled" 2010-02-18 15:19:43 -08:00
Vasu Nori
e8de28415b bug fix for 2419869. also included 2 unittests.
bug fix for 2419869 is the following
   1. only one object can use the prepared statement object
        (SQLiteCompiledSql in SQLIteProgram)
   2. if two objects are requesting to use it, then create a new prepared
      statement object for exclusive use by the newcomer and let it be
      be finalized by the newcomer.
   3. add mInUse flag to SQLiteCompiledSql - to be set when SQLiteProgram
      requests it and to be released when that SQLiteProgram is done with it
a couple more changes included are
  1. unitests to simulate bug # 2419869 (and the fix's repair to it)
  2. better logging in SQLiteCloseable when it prints log messages
2010-02-18 14:49:45 -08:00
Chih-Chung Chang
6c2cc0d48a Merge "Fix the rgb to yuv422sp conversion. The order of uv is different from the original version, but it should be ok as the original Y,Cb,Cr are all incorrect." 2010-02-18 14:43:05 -08:00
Bjorn Bringert
2640b63159 Merge "Add SearchManager.getWebSearchActivity()" 2010-02-18 14:25:33 -08:00
Joe Onorato
424c61fd0a Fix 2363699 - Make notification shade animate closed when disabled
The animation was removed to fix 2298803 because if the windowshade
was tracking when this happened, it would get stuck.
2010-02-18 14:17:23 -08:00
Chih-Chung Chang
d7381a199b Fix the rgb to yuv422sp conversion. The order of uv is different from the
original version, but it should be ok as the original Y,Cb,Cr are all incorrect.
2010-02-18 14:02:56 -08:00
Marco Nelissen
c34ebce475 Make MountService work in the simulator. 2010-02-18 13:59:05 -08:00
Bjorn Bringert
ea125f45eb Add SearchManager.getWebSearchActivity()
The Browser needs this to know where to get web suggestions from.

Change-Id: Ia7ce75609135e7cdf3b385a29a3f47e3458fa61e
2010-02-18 21:57:59 +00:00
Jaikumar Ganesh
76c22f180a Merge "Set error condition correctly when device is already created." 2010-02-18 13:46:33 -08:00
San Mehat
da2ca7a5b8 framework: tests: Clean up asec unit tests and add rename tests
Signed-off-by: San Mehat <san@google.com>
2010-02-18 13:19:38 -08:00
Patrick Scott
f43113f621 Unhide setBlockNetworkLoads.
Blocking network images is not as secure as completely blocking network loads.
Leave setBlockNetworkImage so clients can reduce bandwidth by disabling remote
images. This will allow file:// and content:// URIs to load.
2010-02-18 16:12:28 -05:00
Kenny Root
5706329cf4 Merge "Change buf size holding integer in ResourceTable" 2010-02-18 12:39:15 -08:00
Robert Greenwalt
ce1200d42c Add USB RNDIS enable/disable control 2010-02-18 12:10:55 -08:00
San Mehat
d970998b0d framework: storage: Add 'force' option to unmount/destroy storage apis, and update callsites.
Also adds additional storage unit tests

Signed-off-by: San Mehat <san@google.com>
2010-02-18 11:48:48 -08:00
Tobias Haamel
154f7a1cc2 Show car mode notification in status bar.
The notification is an ongoing event and can be used to get out of car mode.
2010-02-18 11:43:03 -08:00
Fabrice Di Meglio
0a073274d8 Merge "Fix bug #2331761 (Instances of a recurring event are missing)" 2010-02-18 11:18:34 -08:00
Marco Nelissen
6d43ebb807 Merge "Make the simulator boot again." 2010-02-18 11:11:29 -08:00
Joe Onorato
6a6588b4ac am 6371a2d3: am ee3bbefd: Merge "Don\'t crash the system process when apps give us a bad foreground service notification." into eclair
Merge commit '6371a2d31f30b473e91be9cced64a2527c086af1'

* commit '6371a2d31f30b473e91be9cced64a2527c086af1':
  Don't crash the system process when apps give us a bad foreground service notification.
2010-02-18 11:02:48 -08:00
Romain Guy
f59a3c14c1 am ab4835ee: (-s ours) am 00b17659: Manual merge of 40245 (ed5c973fc23a6733fd473ad13b4eb317e74e9bb5) DO NOT MERGE.
Merge commit 'ab4835ee0df866a4f7982644742e2b758c50fdd7'

* commit 'ab4835ee0df866a4f7982644742e2b758c50fdd7':
  Manual merge of 40245 (ed5c973fc23a6733fd473ad13b4eb317e74e9bb5) DO NOT MERGE.
2010-02-18 11:02:32 -08:00
Romain Guy
24f8a85078 am 6f4a52a3: (-s ours) am 67e9e9df: Manual merge of 40170 (b4a107d826) DO NOT MERGE
Merge commit '6f4a52a3f7c6bd87e7109d741441bff332a445a4'

* commit '6f4a52a3f7c6bd87e7109d741441bff332a445a4':
  Manual merge of 40170 (b4a107d826) DO NOT MERGE
2010-02-18 11:02:21 -08:00
Romain Guy
011c440b9d am 6c71d476: (-s ours) am 8368ef0b: Manual merge of 40080 DO NOT MERGE Properly notifies listener when an animation is cancelled. Bug: #2428005.
Merge commit '6c71d476f32adb5308a2a9e32660b66b2b7e6c1a'

* commit '6c71d476f32adb5308a2a9e32660b66b2b7e6c1a':
  Manual merge of 40080 DO NOT MERGE
2010-02-18 11:02:11 -08:00
android-build SharedAccount
eca5c293c6 am f8bb2a9a: (-s ours) am 5d72a8dd: cherry pick d60e29009c1049a9776e6630e9489e1ef3f83491
Merge commit 'f8bb2a9ad096071fb7d45c769d031b2e1853317e'

* commit 'f8bb2a9ad096071fb7d45c769d031b2e1853317e':
  cherry pick d60e29009c1049a9776e6630e9489e1ef3f83491
2010-02-18 11:01:01 -08:00
Marco Nelissen
62dbb22bd4 Make the simulator boot again. 2010-02-18 10:56:30 -08:00
Dianne Hackborn
65e7277391 Merge "Fixing bug 2451615 - Accessibility services are started upon system reboot while accessibility is disabled" 2010-02-18 10:49:00 -08:00
Kenny Root
52120865e1 Merge "Fix enum reference" 2010-02-18 10:47:25 -08:00
Dianne Hackborn
852d1e97fb Merge "Fix for bug 2448479" 2010-02-18 10:46:45 -08:00
Leon Scroggins
bcbf564a3f At the end of a zoom, only check if the textfield is onscreen.
Previously, we checked to see if the IME was active on the WebTextView,
in an attempt to fix http://b/issue?id=2266066 .  If so, we move the
textfield on screen. However, that is resulting in
http://b/issue?id=2147168 , where a textfield far offscreen is being
scrolled on screen at the end of a zoom, and with this change, the
latter bug is fixed.  Further, I am no longer able to reproduce the
earlier bug with this change.
2010-02-18 13:31:47 -05:00
Fabrice Di Meglio
24b5bdd29e Fix bug #2331761 (Instances of a recurring event are missing)
by detecting and ignoring malformed recurrences

Change-Id: I4b3aa5db27d8da6616b52fdc7b522d4d92fdc30c
2010-02-18 10:27:37 -08:00
Gilles Debunne
d651629478 Merge "List.GetCheckItemIds no longer includes unchecked items." 2010-02-18 10:26:34 -08:00
Gilles Debunne
fd3ddfa6f0 List.GetCheckItemIds no longer includes unchecked items.
Unchecked items remain in the mCheckStates with an associated false value.
Now filtered out.

Added a unit test to ensure non regression.

Change-Id: If0b1a38aa06881055c87a97b3afb2c7fb48656f1
http://b/issue?id=2440815
2010-02-18 10:24:09 -08:00
Kenny Root
d7a0cdee1d Merge "Adjust SQLiteDatabase/Program buffer sizes" 2010-02-18 10:21:36 -08:00