5071 Commits

Author SHA1 Message Date
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
73c6afc91a Merge change 7945
* changes:
  Clean up when an attempted restore throws
2009-07-20 14:51:59 -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
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
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
Android (Google) Code Review
41944da6ef am 8b9baf2d: Merge change 7857 into donut
Merge commit '8b9baf2dfb4dd1bd6379d923a3aa61a082783368'

* commit '8b9baf2dfb4dd1bd6379d923a3aa61a082783368':
  Remove exception throw when a view has a self dependency inside a
2009-07-19 21:15:01 -07:00
Mitsuru Oshima
a065b01904 am 841f13c8: * Reverted the change in PackageParser that I checked by accident * More surface view fix. - correct event translation on surface view. - use compatible window * removed FLAG_NO_COMPATIBILITY_SCALE. It was my misunderstanding of how SurfaceView works,
Merge commit '841f13c8e9ff3f7695b6c18a8abcec3c947983ff'

* commit '841f13c8e9ff3f7695b6c18a8abcec3c947983ff':
  * Reverted the change in PackageParser that I checked by accident
2009-07-19 21:14:56 -07:00
Android (Google) Code Review
bec99bffee am 5c536e91: Merge change 7840 into donut
Merge commit '5c536e9162721c460699a041959a0d67de1d20db'

* commit '5c536e9162721c460699a041959a0d67de1d20db':
  Fix issue where scaled bitmap sizes could be wrong.
2009-07-19 21:14:48 -07:00
Hung-ying Tyan
79b7c68d5a am 2c53de69: Stop a daemon before starting it
Merge commit '2c53de69045557a51290b50dfda2ddb6c7d01912'

* commit '2c53de69045557a51290b50dfda2ddb6c7d01912':
  Stop a daemon before starting it
2009-07-19 21:14:44 -07:00
Android (Google) Code Review
b8b117e1e7 am a8d5644b: Merge change 7726 into donut
Merge commit 'a8d5644b548263d68e2c9bfff58958b29c3525ff'

* commit 'a8d5644b548263d68e2c9bfff58958b29c3525ff':
  Fix issue 1985479	lots of backup NPEs.
2009-07-19 21:14:40 -07:00
Android (Google) Code Review
def06bcec0 am 4b897aa9: Merge change 7829 into donut
Merge commit '4b897aa99bf71f933f5b202c1531858382122d6f'

* commit '4b897aa99bf71f933f5b202c1531858382122d6f':
  Making sure that there are no calls made to the native TTS
2009-07-19 21:14:36 -07:00
Android (Google) Code Review
a1663400f9 am 39846e69: Merge change 7819 into donut
Merge commit '39846e691976fa7335bf5e648de46268d24b9927'

* commit '39846e691976fa7335bf5e648de46268d24b9927':
  Fix NullPointer in VpnServiceBinder.checkStatus().
2009-07-19 21:14:32 -07:00
Android (Google) Code Review
9707ad1257 am 931b0a7a: Merge change 7811 into donut
Merge commit '931b0a7ac83e33a29e32b691ae8818a2f41b7808'

* commit '931b0a7ac83e33a29e32b691ae8818a2f41b7808':
  Remove obsolete playBuffer() method from the text-to-speech SynthProxy class.
2009-07-19 20:29:03 -07:00
Android (Google) Code Review
469b4c67ad am aad0fcc9: Merge change 7783 into donut
Merge commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54'

* commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54':
  Add "nodpi" density, and expose a bunch of density-related APIs.
2009-07-19 20:28:49 -07:00
Android (Google) Code Review
b933dc7f47 am 22eef5da: Merge change 7753 into donut
Merge commit '22eef5da75604cd14c0f87332cf957c9948a6e33'

* commit '22eef5da75604cd14c0f87332cf957c9948a6e33':
  Add a delay before collecting memory information
2009-07-19 20:20:03 -07:00
Android (Google) Code Review
8b9baf2dfb Merge change 7857 into donut
* changes:
  Remove exception throw when a view has a self dependency inside a RelativeLayout.
2009-07-19 19:50:33 -07:00
Romain Guy
da3003e1d7 Remove exception throw when a view has a self dependency inside a
RelativeLayout.

There are unfortunately successful 3rd party apps declaring self dependencies.
There's no reason to crash the app so just ignore this issue.
2009-07-19 19:49:47 -07:00
Mitsuru Oshima
841f13c8e9 * Reverted the change in PackageParser that I checked by accident
* More surface view fix.
  - correct event translation on surface view.
  - use compatible window
* removed FLAG_NO_COMPATIBILITY_SCALE. It was my misunderstanding of how SurfaceView works, and this was not necessary.
* Added compatibility related info to package dumpsys
2009-07-19 19:17:06 -07:00
Android (Google) Code Review
5c536e9162 Merge change 7840 into donut
* changes:
  Fix issue where scaled bitmap sizes could be wrong.
2009-07-19 15:29:09 -07:00
Hung-ying Tyan
2c53de6904 Stop a daemon before starting it
in case the daemon is not cleaned up in last session.
2009-07-19 09:33:56 +08:00
Dianne Hackborn
2784ff0af8 Fix issue where scaled bitmap sizes could be wrong.
The Bitmap functions to get the scaled width/height couldn't actually
do the right thing because they didn't know the destination they would
be drawing to.  Now there are two forms of them, taking an explicit
parameter specifying the destination.
2009-07-18 17:13:29 -07:00
Android (Google) Code Review
a8d5644b54 Merge change 7726 into donut
* changes:
  Fix issue 1985479	lots of backup NPEs.
2009-07-18 02:12:02 -07:00