18392 Commits

Author SHA1 Message Date
Mathias Agopian
5cbb940cf6 Revert "Revert "RenderScript should not depend on libsurfaceflinger_client.so""
This reverts commit a0659aa36c987e28e29778bd97e75fe52152c60e.
2010-02-12 12:00:38 -08:00
Brett Chabot
90762d35a9 Modify ActivityInstrumentationTestCase2 to not require hardcoded package name.
Deprecate old constructor.

Bug 2440167
2010-02-12 11:09:26 -08:00
Doug Zongker
30e694aea1 Merge "add Base64InputStream" 2010-02-12 10:55:20 -08:00
Doug Zongker
2dc87f6824 add Base64InputStream
Change-Id: I777b54bd6d01c86105b473a6701a06d350cee8d1
2010-02-12 10:53:46 -08:00
Chris Tate
11f7c7e077 Merge "Fix spurious ANRs involving window shuffling and non-fullscreen activities" 2010-02-12 10:53:07 -08:00
Amith Yamasani
93c0a0d90c Merge "Fix key debounce (was too aggressive and buggy) and dismiss mini keyboard on cancel event." 2010-02-12 10:50:32 -08:00
Andrei Popescu
d0534f4efb Merge "Implement navigator.isApplicationInstalled() API" 2010-02-12 10:38:03 -08:00
Andrei Popescu
a6d747d5c7 Implement navigator.isApplicationInstalled() API
This CL contains the framework plumbing to pass the package names to WebKit.

Fix b: 2371005
2010-02-12 18:34:19 +00:00
Adam Powell
0b8bb4282a Overscrolling modifications. Overscroll will not allow the user to
scroll content out of view. Scrolling will slow down halfway to the
barrier point. API added in View. AbsListView, ScrollView,
HorizontalScrollView all use this API. Overscrolling uses haptic
feedback. Added scroll barrier pattern to config.xml.
2010-02-12 10:26:25 -08:00
Eric Laurent
8bd3f749e8 Merge "Fix issue 2418668: AudioManager isWiredHeadsetOn() always returns false for headset without mic." 2010-02-12 09:42:03 -08:00
Doug Zongker
8cd61bc894 Merge "add NO_CLOSE flag for use by Base64OutputStream" 2010-02-12 09:31:20 -08:00
Eric Laurent
6015a97154 Fix issue 2418668: AudioManager isWiredHeadsetOn() always returns false for headset without mic. 2010-02-12 07:41:14 -08:00
Bjorn Bringert
70251b1704 Merge "Fixing the bug where mic button is not shown" 2010-02-12 06:21:26 -08:00
Valentin Kravtsov
cccd63c8e8 Fixing the bug where mic button is not shown
Change-Id: I8ac7bd4c1db85058f863bcfaf5ee30212644b2bd
2010-02-12 14:19:11 +00:00
Daniel Sandler
133753f9c0 Merge "Disable distracting status bar ticker text in car mode." 2010-02-12 05:37:54 -08:00
Nicolas Roard
ac6df2d037 Move the animations in the UI thread 2010-02-12 11:38:41 +00:00
Jack Palevich
a0659aa36c Revert "RenderScript should not depend on libsurfaceflinger_client.so"
This reverts commit 88b55fb090ace1a835f890758866f42f03795c12.
2010-02-12 18:21:26 +08:00
Daniel Sandler
a0430a1860 Disable distracting status bar ticker text in car mode.
Bug: 2420702

Change-Id: I17ade6355b60da5e77d17f3556c86a4aaf40d173
2010-02-12 01:06:22 -05:00
Dianne Hackborn
470969346d Add APIs for mapping between new and current package names.
This will allow Market and others to find out what the "real" name
of a package is, when it is currently running under the old name of
a previously installed version.
2010-02-11 20:02:20 -08:00
Jim Miller
b509065a58 Merge "Fix 2438785: Add missing key code to landscape keyboard and fix log spew." 2010-02-11 19:18:56 -08:00
Amith Yamasani
7aa936e836 Fix key debounce (was too aggressive and buggy) and dismiss mini keyboard on cancel event.
Set a 70ms debounce time - i.e., if you spend less than 70ms on the touch-up key,
which was less time than the time spent on the previous key (assuming they weren't the same),
then don't emit the last key. Use the previous key that you lingered on for longer.
2010-02-11 18:51:25 -08:00
Christopher Tate
136b1f927f Fix spurious ANRs involving window shuffling and non-fullscreen activities
Force the event-target bookkeeping to reset when an app explicitly
acknowledges event receipt.  Furthermore, notify the event dispatcher
whenever a new window is created, even if there is nominally an
existing event target window.

These changes in tandem address a subtle race bug in which the event
dispatcher believes that there is an event recipient that it is still
waiting for even when the event in question has been acknowledged;
this results in a spurious ANR.  There were checks in the existing code
that wound up doing the right thing in the case of windows becoming
hidden, but the case of non-fullscreen activities floating over them
[unavailable for input but still visible] exposed the race condition.

Bug: 2432828
Change-Id: I29fb741aace34736b029f9ba43f2c43184366258
2010-02-11 18:07:22 -08:00
Brad Fitzpatrick
6a35387617 Measure walltime in ContentResolver and SQLiteDatabase operations logging.
The forgotten parts from Id72f718c / d72f718c9c.  Whoops.

Tested by watching a device's logcat -b events and observing no huge
or negative values.  And this time with the right system.img file,
even!
2010-02-11 18:06:51 -08:00
Charles Chen
5a4b1d9e63 Merge "Hiding the new TextToSpeech Intent extras for voice data check to fix the build." 2010-02-11 17:49:20 -08:00
Charles Chen
f1e245f740 Hiding the new TextToSpeech Intent extras for voice data check
to fix the build.
2010-02-11 17:45:55 -08:00
Brad Fitzpatrick
1202cf15e3 Merge "Measure walltime in ContentResolver and SQLiteDatabase operations logging." 2010-02-11 17:30:58 -08:00
Jim Miller
ec52eedc2c Fix 2438785: Add missing key code to landscape keyboard and fix log spew. 2010-02-11 17:28:29 -08:00
Brad Fitzpatrick
d72f718c9c Measure walltime in ContentResolver and SQLiteDatabase operations logging.
Previously, SQLiteDatabase was using Debug.threadCpuTimeNanos(), which
doesn't include I/O time (user-perceived latency), and ContentResolver
was using System.currentTimeMillis(), which didn't account for deep
sleeps.

Now both are consistently using SystemClock.uptimeMillis().
2010-02-11 17:07:51 -08:00
Raphael
dc2df328b3 Fix build.
Change-Id: Ica616f038436e3639d12064327ddd0a9fa49af8b
2010-02-11 17:01:16 -08:00
Charles Chen
387e805147 Merge "Adding Intent extra strings to TextToSpeech.Engine for doing voice data checks." 2010-02-11 16:57:43 -08:00
Xavier Ducrohet
35bb8b004e Merge "Fix in layoutlib due to some changes in the frameworks." 2010-02-11 16:57:25 -08:00
Charles Chen
76d9c3cb4f Adding Intent extra strings to TextToSpeech.Engine for doing
voice data checks.
2010-02-11 16:44:45 -08:00
Mike LeBeau
f26919e386 Merge "Improve a comment in RecognitionService." 2010-02-11 16:32:08 -08:00
Mike LeBeau
2f853ea47a Improve a comment in RecognitionService. 2010-02-11 16:31:34 -08:00
Mike LeBeau
cb6351c3a3 Merge "Use the new RecognitionService.SERVICE_INTERFACE instead of RecognizerIntent.ACTION_RECOGNIZE_SPEECH when finding a voice recognition service." 2010-02-11 16:25:52 -08:00
Xavier Ducrohet
99e1cdae99 Fix in layoutlib due to some changes in the frameworks.
Some methods disappear or became abstract in the base class
(breaking @Override)

Change-Id: Id4d298ee84ba008ac97ecaaf90b19003ac09f104
2010-02-11 15:37:31 -08:00
Mathias Agopian
111c178bc4 Merge "RenderScript should not depend on libsurfaceflinger_client.so" 2010-02-11 15:24:01 -08:00
Mike LeBeau
cb0be8a530 Use the new RecognitionService.SERVICE_INTERFACE instead of
RecognizerIntent.ACTION_RECOGNIZE_SPEECH when finding a voice
recognition service.
2010-02-11 15:01:27 -08:00
Mathias Agopian
88b55fb090 RenderScript should not depend on libsurfaceflinger_client.so 2010-02-11 14:57:11 -08:00
Marco Nelissen
7356b0b066 Merge "Fix simulator build." 2010-02-11 14:42:01 -08:00
Marco Nelissen
6b03844b48 Fix simulator build. 2010-02-11 14:41:20 -08:00
Dianne Hackborn
315ada7fbb Get rid of the limit-unlock policy control.
This is merged with force-lock.  These both allow effectively the same thing,
so there is no reason to junk up the user experience with them as separate
entities.
2010-02-11 14:36:30 -08:00
Paul Westbrook
2870552b41 Merge "Fix some Gmail tests" 2010-02-11 14:13:10 -08:00
Paul Westbrook
1048108f1f Fix some Gmail tests
The SSLSessionCache attempts to create a directory through the context
In MockContext, this throws an UnsupportedOperationExcetion

This CL changes MockContext2 in ProviderTestCase2 to allow getDir
to be called, but the directory is named so it will be seperated from
a directory created by a regular context
2010-02-11 14:09:10 -08:00
Doug Zongker
7b40233581 add NO_CLOSE flag for use by Base64OutputStream
Change-Id: Ib2884e7b3853e4e4b2e329edf47c6f64c2f165a7
2010-02-11 14:07:17 -08:00
Mike LeBeau
9a31962404 Merge "Add SERVICE_INTERFACE and SERVICE_META_DATA constants to RecognitionService, to be used by anyone implementing a voice recognition service. Also define a new <recognition-service> styleable to be used in such service's metadata xml." 2010-02-11 14:05:27 -08:00
Mike LeBeau
378ae126d9 Add SERVICE_INTERFACE and SERVICE_META_DATA constants to RecognitionService,
to be used by anyone implementing a voice recognition service. Also define
a new <recognition-service> styleable to be used in such service's metadata
xml.

Still to do: Change VoiceSearch's GoogleRecognitionService to respond to this
intent, and actually use this intent instead of ACTION_RECOGNIZE_SPEECH here
in RecognitionService.
2010-02-11 14:02:46 -08:00
Marco Nelissen
8b799a323c Merge "Add support for "album artist" tag." 2010-02-11 13:43:40 -08:00
Marco Nelissen
c5d5ee34d7 Add support for "album artist" tag. 2010-02-11 13:32:04 -08:00
Mathias Agopian
000479f9e3 split libsurfaceflinger_client and libcamera_client out of libui 2010-02-11 13:16:22 -08:00