2611 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
569f0b5070 Merge change 7900
* changes:
  Initial support of 2.1 pairing.
2009-07-20 10:36:25 -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
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
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
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
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
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
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
Grace Kloba
fadbbd2a0c 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-17 20:39:25 -07:00
Jaikumar Ganesh
b0eca41de0 Initial support of 2.1 pairing.
Note: Some cases have not been tested yet, as we would need to
get proper UI support.
2009-07-17 17:52:26 -07:00
Android (Google) Code Review
aad0fcc961 Merge change 7783 into donut
* changes:
  Add "nodpi" density, and expose a bunch of density-related APIs.
2009-07-17 17:50:41 -07:00
Android (Google) Code Review
2dcfafcb31 Merge change 7453
* changes:
  Add zoom and postview callbacks to Camera. This patch adds a zoom callback to the Java layer. If the hardware supports a smooth zoom function, this provides a way to update the UI as the zoom is moving from its original setting to the new commanded setting. This postview callback supports receive a processed image before the JPEG encode completes. This allows the display to be rotated without losing the final preview frame.
2009-07-17 17:25:48 -07:00
Dave Sparks
e8b26e197f Add zoom and postview callbacks to Camera. This patch
adds a zoom callback to the Java layer. If the hardware supports
a smooth zoom function, this provides a way to update the UI as
the zoom is moving from its original setting to the new commanded
setting. This postview callback supports receive a processed
image before the JPEG encode completes. This allows the display
to be rotated without losing the final preview frame.
2009-07-17 17:24:07 -07:00
Android (Google) Code Review
ddd12804d1 am 261a784c: Merge change 7720 into donut
Merge commit '261a784c44d6ac4377651e4842c7a96326462857'

* commit '261a784c44d6ac4377651e4842c7a96326462857':
  Fix global ref leak in android.media.AudioRecord. Delete global refs
2009-07-17 17:13:28 -07:00
Android (Google) Code Review
568ebf06bc am cf492afd: Merge change 6809 into donut
Merge commit 'cf492afdeb3a1da04cc71518285eb778f2ef6837'

* commit 'cf492afdeb3a1da04cc71518285eb778f2ef6837':
  Correctly deliver AppWidgetProvider.onDeleted() events.
2009-07-17 17:13:24 -07:00
Android (Google) Code Review
97900afa9f am e96bd129: Merge change 7707 into donut
Merge commit 'e96bd1291482175ac1740780cbd0f42bbe9ff746'

* commit 'e96bd1291482175ac1740780cbd0f42bbe9ff746':
  * scale surface view's canvas
2009-07-17 17:13:20 -07:00
Dianne Hackborn
a53b828635 Add "nodpi" density, and expose a bunch of density-related APIs.
Also update the DpiTest app to use nodpi images, and try to have a mode
where it turns off compatibility though it's not quite working.
2009-07-17 16:59:08 -07:00
Ben Cheng
0e01fbf722 Add an option to enable JIT trace profiling for app_process. 2009-07-17 16:04:00 -07:00
Android (Google) Code Review
c634fdd803 am 09a903ab: Merge change 7696 into donut
Merge commit '09a903ab5b8d940605783ae4ee591c0f090a31d1'

* commit '09a903ab5b8d940605783ae4ee591c0f090a31d1':
  add hidden Options field for native allocations
2009-07-17 15:43:14 -07:00
Android (Google) Code Review
bc9b80750a Merge change 7651
* changes:
  Contacts Data type consistency.
2009-07-17 15:40:40 -07:00
Jaikumar Ganesh
12cae39747 Revert "Initial support of 2.1 pairing."
This reverts commit 228b2f3a813e93413a0f9e2f29dfbfc54590a356.
2009-07-17 14:45:22 -07:00
Android (Google) Code Review
261a784c44 Merge change 7720 into donut
* changes:
  Fix global ref leak in android.media.AudioRecord. Delete global refs to the native AudioRecord pointer and the callback cookie (for native to Java calls) in the finalize() function and when an error occurs during the allocation of the native resources.
2009-07-17 14:39:52 -07:00
Android (Google) Code Review
cf492afdeb Merge change 6809 into donut
* changes:
  Correctly deliver AppWidgetProvider.onDeleted() events.
2009-07-17 14:27:23 -07:00
Android (Google) Code Review
7ff6b74cf2 Merge change 6736
* changes:
  Refactor VCard-related code.
2009-07-17 14:09:00 -07:00
Jaikumar Ganesh
228b2f3a81 Initial support of 2.1 pairing.
Note: Some cases have not been tested yet, as we would need to
get proper UI support.
2009-07-17 14:00:32 -07:00
Android (Google) Code Review
0fde7de9d6 am 54f09101: Merge change 7613 into donut
Merge commit '54f09101381fa63dca35ae4ea0ba3802ee863236'

* commit '54f09101381fa63dca35ae4ea0ba3802ee863236':
  * Use Fede In/Out animation if one of opening/closing apps is in compatibility mode.
2009-07-17 13:58:40 -07:00