5088 Commits

Author SHA1 Message Date
Rebecca Schultz Zavin
7ac5e698b2 Fix hardware overlay so all changes are commited when done. 2009-07-21 11:07:23 -07:00
Android (Google) Code Review
2f140bdb8a am 592f1a65: Merge change 7933 into donut
Merge commit '592f1a65815598f705260df9dbe5488e3990b45d'

* commit '592f1a65815598f705260df9dbe5488e3990b45d':
  Prevent the setLanguage() method in TextToSpeech to change the language
2009-07-20 16:21:46 -07:00
Android (Google) Code Review
592f1a6581 Merge change 7933 into donut
* changes:
  Prevent the setLanguage() method in TextToSpeech to change the language for all current TextToSpeech instances by only caching the language value so it is used with each subsequent utterance for this instance. Synchronize calls to the engine around a global mutex since the engine isn't thread-safe, except for the stop() call which is meant to interrupt the synthesis loop.
2009-07-20 16:19:52 -07:00
Android (Google) Code Review
ca9b596505 am 1aa1a154: Merge change 7959 into donut
Merge commit '1aa1a154fd0103d7f0b7e3a2207aae0153549370'

* commit '1aa1a154fd0103d7f0b7e3a2207aae0153549370':
  Adding WRITE_EXTRENAL_STORAGE permission in AndroidManifest.xml file.
2009-07-20 16:13:21 -07:00
Android (Google) Code Review
1aa1a154fd Merge change 7959 into donut
* changes:
  Adding WRITE_EXTRENAL_STORAGE permission in AndroidManifest.xml file.
2009-07-20 16:11:33 -07:00
Yu Shan Emily Lau
24e65beee6 am b42c3a58: Fix the build
Merge commit 'b42c3a5809b16527b38c82be3165128ce10e77e6'

* commit 'b42c3a5809b16527b38c82be3165128ce10e77e6':
  Fix the build
2009-07-20 16:09:57 -07:00
Jean-Michel Trivi
5e11a6ad00 Prevent the setLanguage() method in TextToSpeech to change the language
for all current TextToSpeech instances by only caching the language
value so it is used with each subsequent utterance for this instance.
Synchronize calls to the engine around a global mutex since the engine
isn't thread-safe, except for the stop() call which is meant to interrupt
the synthesis loop.
2009-07-20 16:07:57 -07:00
Swarna Kumar
c1889da850 Adding WRITE_EXTRENAL_STORAGE permission in AndroidManifest.xml file. 2009-07-20 16:06:20 -07:00
Android (Google) Code Review
cd66f0e6f8 Merge change 7932
* changes:
  Minor cleanup in Metadata.java
2009-07-20 16:05:47 -07:00
Yu Shan Emily Lau
b42c3a5809 Fix the build 2009-07-20 16:01:54 -07:00
Android (Google) Code Review
e83419bae2 am ff851a1d: Merge change 7917 into donut
Merge commit 'ff851a1d669febe3981e248ade14906f1652f018'

* commit 'ff851a1d669febe3981e248ade14906f1652f018':
  Added the vpn unit test template.
2009-07-20 15:36:37 -07:00
Android (Google) Code Review
02077c4b46 am 2acbec49: Merge change 7941 into donut
Merge commit '2acbec4918db4ab6eca32cf427ffd771c9efe35f'

* commit '2acbec4918db4ab6eca32cf427ffd771c9efe35f':
  add comment to illuminate why we only dismiss the dialog when launching an intent for in app search
2009-07-20 15:36:31 -07:00
Android (Google) Code Review
e6327ea3e4 am 9ff71d38: Merge change 7940 into donut
Merge commit '9ff71d38a060476ba19deacf12ddaeef3cbac00d'

* commit '9ff71d38a060476ba19deacf12ddaeef3cbac00d':
  whoops, still need to dismiss when launching an intent for in-app search
2009-07-20 15:36:27 -07:00
Android (Google) Code Review
ff851a1d66 Merge change 7917 into donut
* changes:
  Added the vpn unit test template.
2009-07-20 15:13:00 -07:00
Android (Google) Code Review
73c6afc91a Merge change 7945
* changes:
  Clean up when an attempted restore throws
2009-07-20 14:51:59 -07:00
Yu Shan Emily Lau
873eb57394 Added the vpn unit test template. 2009-07-20 14:51:25 -07:00
Christopher Tate
9673304964 Clean up when an attempted restore throws
When a restore agent throws an exception back into the framework, assume that it
may have left the app's data in an inconsistent state and clear the data for
that app (again -- it was cleared just prior to the attempted restore, too).
2009-07-20 14:49:13 -07:00
Android (Google) Code Review
2acbec4918 Merge change 7941 into donut
* changes:
  add comment to illuminate why we only dismiss the dialog when launching an intent for in app search
2009-07-20 14:35:10 -07:00
Karl Rosaen
5d22f9bbee add comment to illuminate why we only dismiss the dialog when launching an intent for in app search 2009-07-20 14:34:16 -07:00
Android (Google) Code Review
c7b0dba641 Merge change 7939
* changes:
  Split rsScriptC into class implemtation and library functions.  Update test apps, all 3 should be working.
2009-07-20 14:32:15 -07:00
Android (Google) Code Review
9ff71d38a0 Merge change 7940 into donut
* changes:
  whoops, still need to dismiss when launching an intent for in-app search
2009-07-20 14:31:54 -07:00
Jason Sams
c97bb8844f Split rsScriptC into class implemtation and library functions. Update test apps, all 3 should be working. 2009-07-20 14:31:06 -07:00
Karl Rosaen
876627d8c5 whoops, still need to dismiss when launching an intent for in-app search 2009-07-20 14:30:55 -07:00
Android (Google) Code Review
91aa1ad300 am d5b6b4b7: Merge change 7903 into donut
Merge commit 'd5b6b4b75ef928d02e0d728bebbfe543cae154bc'

* commit 'd5b6b4b75ef928d02e0d728bebbfe543cae154bc':
  Fix back key handling for search dialog.
2009-07-20 14:23:43 -07:00
Android (Google) Code Review
d5b6b4b75e Merge change 7903 into donut
* changes:
  Fix back key handling for search dialog.
2009-07-20 14:14:27 -07:00
Karl Rosaen
ea52d29bc4 Fix back key handling for search dialog.
Now that the search manager service handles hiding (not dismissing) and reshowing it
when the user hits back after launching a result, search manager can't cache
"mShowing".  Also noticed a few other minor problems that was hosing the handling
of pause / resume to reshow the dialog, like moving some logic to onHide instead
of onDismiss.
2009-07-20 14:08:24 -07:00
niko
6fa41bbb56 Minor cleanup in Metadata.java
Use a constant to express the size of a 32bits int.

In MediaPlayerMetadataParserTest, removed unused kTocken constant.
2009-07-20 13:53:29 -07:00
Android (Google) Code Review
c57796d871 Merge change 7927
* changes:
  Fixed a bug in the parser.
2009-07-20 13:46:05 -07:00
Android (Google) Code Review
3f52359485 Merge change 7910
* changes:
  Do not hide the soft keyboard when the DOM has moved focus.
2009-07-20 13:37:05 -07:00
Android (Google) Code Review
90ad64b2cb am 51cefb2e: Merge change 7889 into donut
Merge commit '51cefb2ef58e18acad800c9aa63c2a7eee4d9731'

* commit '51cefb2ef58e18acad800c9aa63c2a7eee4d9731':
  Ignore unneeded soft keyboard in ACTV height calc
2009-07-20 13:31:09 -07:00
Android (Google) Code Review
51cefb2ef5 Merge change 7889 into donut
* changes:
  Ignore unneeded soft keyboard in ACTV height calc
2009-07-20 13:28:10 -07:00
niko
c39173be32 Fixed a bug in the parser.
When we parse the metadata we check that there is enough data in the parcel by checking
 the byte availables and the size in the header.
Since the size is in the header has been read, we should make sure than dataAvailable() >= size - 4

This bug was hidden by some test code which has been removed.
2009-07-20 13:10:01 -07:00
Leon Scroggins
10be4fc63a Do not hide the soft keyboard when the DOM has moved focus.
Instead of calling remove(), which would hide the soft
keyboard, remove the WebTextView manually, so the soft
keyboard remains up (if it was up to begin with).  WebView
will properly handle the keys now that the focus has
changed.
2009-07-20 14:26:37 -04:00
Android (Google) Code Review
0e9dd3b008 Merge change 7827
* changes:
  Fix 1986313. WebKit assumes things happened in a certain order. In this case, we can't call LoadListener's nativeError until BrowserFrame's startLoadingResource returns. Otherwise, the failed request will not be removed from the DocLoader's request list. So the page will never finish loading.
2009-07-20 11:22:01 -07:00
Android (Google) Code Review
53bdb5cc6b Merge change 7899
* changes:
  Fixing the build: StagefrightPlayer now implements the newly introduced "getMetadata" pure virtual.
2009-07-20 11:20:15 -07:00
Guang Zhu
f56e1a1ed4 Call WebView#freeMemory before collecting memory information 2009-07-20 11:16:28 -07:00
Android (Google) Code Review
8ed7d69f65 Merge change 5892
* changes:
  Hardware overlay support
2009-07-20 10:50:52 -07:00
Android (Google) Code Review
569f0b5070 Merge change 7900
* changes:
  Initial support of 2.1 pairing.
2009-07-20 10:36:25 -07:00
Andreas Huber
80b3ab3f2b Fixing the build: StagefrightPlayer now implements the newly introduced "getMetadata" pure virtual. 2009-07-20 10:23:09 -07:00
Android (Google) Code Review
c1e9237186 Merge change 7885
* changes:
  Add a separate version of the docs build that only does the stubs.
2009-07-20 10:19:18 -07:00
Android (Google) Code Review
cd54538fa6 Merge change 7884
* changes:
  Clear the WebTextView in didFirstLayout.
2009-07-20 10:10:33 -07:00
Android (Google) Code Review
115d23a86f am 5f6133a1: Merge change 7833 into donut
Merge commit '5f6133a100d4477dfcea919e81ff301f9352cd32'

* commit '5f6133a100d4477dfcea919e81ff301f9352cd32':
  Fixing the random audio mangling problem (TTS becomes incomprehensibly fast)
2009-07-20 09:53:48 -07:00
Android (Google) Code Review
5f6133a100 Merge change 7833 into donut
* changes:
  Fixing the random audio mangling problem (TTS becomes incomprehensibly fast)
2009-07-20 09:51:21 -07:00
Android (Google) Code Review
b965d09294 Merge change 7775
* changes:
  Add an option to enable JIT trace profiling for app_process.
2009-07-20 09:43:25 -07:00
Bjorn Bringert
00a5b99229 Ignore unneeded soft keyboard in ACTV height calc
Before, if dropDownAlwaysVisible was false,
the soft keyboard height was always taken into
account when calculating the available vertical space for
the AutoCompleteTextView drop-down height.
This meant that the drop-down would never pop over the soft
keyboard when navigating in the drop-down list.

This change makes the drop-down pop over the soft keyboard
when the keyboard is not needed, regardless of the value of
dropDownAlwaysVisible.

Fixes http://b/issue?id=1978935
2009-07-20 17:39:49 +01:00
Joe Onorato
ccfca2ee9e Add a separate version of the docs build that only does the stubs.
That way we don't have to wait for clearsilver to write the thousands
of html files during every build.

(this is the frameworks/base change, there is also a build change)
2009-07-20 11:57:12 -04:00
Leon Scroggins
10c7a4da56 Clear the WebTextView in didFirstLayout.
When reaching a new page, remove the WebTextView. This
fixes a bug where the user logs into a site, and the
WebTextView remains on screen.
2009-07-20 11:54:05 -04:00
Android (Google) Code Review
3e664221b6 Merge change 7747
* changes:
  Added 3 metadata types for pause/seek forward/seek backward.
2009-07-20 08:26:22 -07:00
Patrick Scott
fb6aecb703 Added hooks from jni to create and manage SurfaceViews for plugins.
A subclass of SurfaceView is created in order to appear like a normal
SurfaceView to jni but can be managed in Java easily. This class implements the
SurfaceHolder.Callback interface in order to notify the native PluginSurface
when the surface changes.
2009-07-20 09:31:56 -04:00
Patrick Scott
4a06b68c82 Correctly set the thread priority for ConnectionThreads.
This does not change the actual thread priority but if the default priority
changes, this will have the desired result of being slightly less favorable.

I tried messing with the priorities to see if a higher or lower priority helped
but it seemed to do more harm than good. It might be worth more investigation to
find out where all the thread time is being spent so we can determine the
correct priority.
2009-07-20 08:55:06 -04:00