5265 Commits

Author SHA1 Message Date
Android (Google) Code Review
b3167dc3e1 Merge change 8399
* changes:
  BackupAgent-related lifecycle APIs need to be oneway
2009-07-23 14:51:01 -07:00
Christopher Tate
d884f43ffa BackupAgent-related lifecycle APIs need to be oneway
Bad Things(tm) happen if some of the lifecycle interfaces on IActivityThread are
oneway but others are not [notably, out-of-order method delivery, i.e.
catastrophe].  This change makes the methods added for backup-agent management
oneway like the rest of the API.
2009-07-23 14:40:13 -07:00
Android (Google) Code Review
084b14a49c Merge change 8387
* changes:
  Fix issue 1999585: audioflinger crash.
2009-07-23 13:55:30 -07:00
Eric Laurent
102313a95d Fix issue 1999585: audioflinger crash.
We were looping on the number of playback threads when dumping record threads.
2009-07-23 13:53:19 -07:00
Android (Google) Code Review
906065881e Merge change 8380
* changes:
  Improvements to dragging on the WebTextView.
2009-07-23 13:52:32 -07:00
Android (Google) Code Review
c0da1bf9e2 Merge change 8383
* changes:
  Fix the sim build.
2009-07-23 13:49:41 -07:00
Leon Scroggins
72543e1bc3 Improvements to dragging on the WebTextView.
When TextView handles a mouse move as a scroll, scroll the
underlying textfield/textarea.  Also do not hide the cursor
while scrolling within a text input.  Requires a change to
external/webkit.
2009-07-23 16:32:38 -04:00
Android (Google) Code Review
35d7a94c33 am de08cdc0: Merge change 8262 into donut
Merge commit 'de08cdc0a56ab8d48a226dadef02740520c274b7'

* commit 'de08cdc0a56ab8d48a226dadef02740520c274b7':
  Implement the device ConfigurationInfo.reqGlEsVersion field.
2009-07-23 13:29:35 -07:00
Eric Laurent
2c817f5d52 Fix the sim build. 2009-07-23 13:17:39 -07:00
Android (Google) Code Review
f88c0a0625 Merge change 8199
* changes:
  Prevent a drag from both scrolling the page and changing the selection.
2009-07-23 10:19:27 -07:00
Android (Google) Code Review
8eb9881d20 Merge change 7735
* changes:
  Fix issue 1795088       Improve audio routing code
2009-07-23 09:48:57 -07:00
Android (Google) Code Review
8dc0c9b4ad Merge change 8189
* changes:
  Enforce app cache maximum size
2009-07-23 09:44:23 -07:00
Grace Kloba
675c7d2eb8 Fix 1997929. The final mScrollX/Y has been pinned to the legal bounds.
So we can't use it to calculate the intermediate scroll position. Use
the original scroll offset and scale to find the animated scroll position.
2009-07-23 09:21:21 -07:00
Eric Laurent
a553c25b33 Fix issue 1795088 Improve audio routing code
Initial commit for review.
Integrated comments after patch set 1 review.
Fixed lockup in AudioFlinger::ThreadBase::exit()
Fixed lockup when playing tone with AudioPlocyService startTone()
2009-07-23 06:03:39 -07:00
Android (Google) Code Review
ebd7bc5402 Merge change 8109
* changes:
  Add a flag to set whether the overlay has been initialized.  Commit needs to be called at least once on each overlay, and it appears that sometimes this doesn't happen because the visibility never changes.  With this change the overlay parameter and position will be committed when either the visibility of the window changes, or on the first call to visibility resolved, if it hasn't already been done.
2009-07-22 18:28:01 -07:00
Android (Google) Code Review
c53d69e627 Merge change 8242
* changes:
  Make intent broadcasts in "am" synchronous (they wait until exit). Clean up error handling and reporting in "am". Make the usage message for "am" more informative.
2009-07-22 17:35:18 -07:00
Android (Google) Code Review
f021077c46 am 280436ac: Merge change 8261 into donut
Merge commit '280436accc45c1883766a98499148439fa044531'

* commit '280436accc45c1883766a98499148439fa044531':
  Remove recently-added android.opengl.Version API
2009-07-22 17:34:28 -07:00
Mike LeBeau
e39900ca7a Merge commit '4182e684' into manualmerge
Conflicts:
	core/java/android/widget/AutoCompleteTextView.java
2009-07-22 17:31:09 -07:00
Rebecca Schultz Zavin
43ab76389e Add a flag to set whether the overlay has been initialized. Commit needs to be called at least once on each overlay, and it appears that sometimes this
doesn't happen because the visibility never changes.  With this change
the overlay parameter and position will be committed when either the visibility
of the window changes, or on the first call to visibility resolved, if it
hasn't already been done.

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2009-07-22 17:17:46 -07:00
Dan Egnor
9f4af53561 Make intent broadcasts in "am" synchronous (they wait until exit).
Clean up error handling and reporting in "am".
Make the usage message for "am" more informative.

Make it easier to turn on logging in GoogleHttpClient.
2009-07-22 16:56:55 -07:00
Android (Google) Code Review
de08cdc0a5 Merge change 8262 into donut
* changes:
  Implement the device ConfigurationInfo.reqGlEsVersion field.
2009-07-22 16:47:18 -07:00
Android (Google) Code Review
280436accc Merge change 8261 into donut
* changes:
  Remove recently-added android.opengl.Version API
2009-07-22 16:13:45 -07:00
Android (Google) Code Review
4182e68496 Merge change 8255 into donut
* changes:
  Add new hidden API setForceIgnoreOutsideTouch to AutoCompleteTextView for use by SearchDialog. SearchDialog wants to be able to say a dropdown should not always be visible but still let it ignore outside touch when it does show.
2009-07-22 16:13:40 -07:00
Xavier Ducrohet
f57117b733 am eba337ad: Reimplement TypedArray.getLayoutDimension(int, int) for the layout bridge.
Merge commit 'eba337ad09ba93b31f4e9ec8f99be3ae2811bf89'

* commit 'eba337ad09ba93b31f4e9ec8f99be3ae2811bf89':
  Reimplement TypedArray.getLayoutDimension(int, int) for the layout bridge.
2009-07-22 16:09:13 -07:00
Xavier Ducrohet
eba337ad09 Reimplement TypedArray.getLayoutDimension(int, int) for the layout bridge. 2009-07-22 15:44:52 -07:00
Jack Palevich
b90d28cf95 Implement the device ConfigurationInfo.reqGlEsVersion field.
This was previously hard-coded to 0. Now set to the value of the
"ro.opengles.version" system property. The default value is
ConfigurationInfo.GL_ES_VERSION_UNDEFINED.
2009-07-22 15:35:24 -07:00
Android (Google) Code Review
6abef06ed0 Merge change 8134
* changes:
  Adding contact group NOTES and SYSTEM_ID
2009-07-22 15:27:57 -07:00
Android (Google) Code Review
ddbf560cfb Merge change 7954
* changes:
  Added native metadata support.
2009-07-22 15:26:02 -07:00
Jack Palevich
7e263332e0 Remove recently-added android.opengl.Version API
There's another already-existing way of obtaining this information,
the ConfigurationInfo.reqGlEsVersion field returned from
ActivityManager.getDeviceConfigurationInfo.
2009-07-22 15:22:59 -07:00
Mike LeBeau
d4760d77e7 Add new hidden API setForceIgnoreOutsideTouch to AutoCompleteTextView for
use by SearchDialog. SearchDialog wants to be able to say a dropdown should
not always be visible but still let it ignore outside touch when it does
show.

Fixes http://b/1997170
2009-07-22 15:19:59 -07:00
Dmitri Plotnikov
02c5b45565 Adding contact group NOTES and SYSTEM_ID 2009-07-22 15:13:08 -07:00
Android (Google) Code Review
2c33bb19f7 am 98a44df4: Merge change 8235 into donut
Merge commit '98a44df4b4cc8cd28276ad888a7e17f81353ae44'

* commit '98a44df4b4cc8cd28276ad888a7e17f81353ae44':
  * Revert the change that I introduced while refactroing in SurfaceView#dispatchTouchEvent
2009-07-22 15:09:23 -07:00
niko
bc72692780 Added native metadata support.
Metadata.java:
Fixed typo 8k != 8092. The comment was correct though.

In Metadata.h, the new Metadata class is declared in the ns android::media
to limit the chances of conflict with other packages.

The MetadataType in MediaPlayerInterface is gone and moved to Metadata as
an inner typedef.

Similarly the SortedVector<MetadataType> instance have been replace by a
new type Metadata::Filter.

All the keys declared in the java counterpart are also in Metadata.h.

Metadata.cpp:
Contains the implementation of the native metadata packing.

There an associated change in the opencore package that should go in
at the same time as this one.
2009-07-22 15:03:22 -07:00
Android (Google) Code Review
98a44df4b4 Merge change 8235 into donut
* changes:
  * Revert the change that I introduced while refactroing in SurfaceView#dispatchTouchEvent * Don't scale back the event if the canvas is used in SurfaceView.
2009-07-22 14:42:08 -07:00
Mitsuru Oshima
424f668545 * Revert the change that I introduced while refactroing in SurfaceView#dispatchTouchEvent
* Don't scale back the event if the canvas is used in SurfaceView.
2009-07-22 13:54:26 -07:00
Android (Google) Code Review
1193965757 am 0b1a255f: Merge change 8228 into donut
Merge commit '0b1a255f736851342016e657ba6ccf096a9497ea'

* commit '0b1a255f736851342016e657ba6ccf096a9497ea':
  Remove background padding workaround from SuggestionsAdapter
2009-07-22 13:32:58 -07:00
Android (Google) Code Review
0b1a255f73 Merge change 8228 into donut
* changes:
  Remove background padding workaround from SuggestionsAdapter
2009-07-22 13:31:20 -07:00
Android (Google) Code Review
1186bb1eca am ae1ba650: Merge change 8227 into donut
Merge commit 'ae1ba650074ab7b9a73f4430c1fc3576a8199383'

* commit 'ae1ba650074ab7b9a73f4430c1fc3576a8199383':
  Handle null in MatrixCursor.get*()
2009-07-22 13:29:31 -07:00
Android (Google) Code Review
ae1ba65007 Merge change 8227 into donut
* changes:
  Handle null in MatrixCursor.get*()
2009-07-22 13:27:26 -07:00
Bjorn Bringert
6aaeba20d2 Remove background padding workaround from SuggestionsAdapter
Romain has checked in a framework fix,
https://android-git.corp.google.com/g/8218
so the workaround added in
https://android-git.corp.google.com/g/8209
is no longer needed.

Fixes http://b/issue?id=1996635
2009-07-22 21:26:29 +01:00
Bjorn Bringert
f2cec58d90 Handle null in MatrixCursor.get*()
Before, if a column contained null, MatrixCursor.getString()
returned the string "null", and the get<Number>() methods
threw exceptions.

Now, getString() returns null, and get<Number>() return 0.

Fixes http://b/issue?id=1996628
2009-07-22 21:20:51 +01:00
Android (Google) Code Review
c7bebd1537 am 5f2b05ea: Merge change 8220 into donut
Merge commit '5f2b05ea3dfdaf63088ea3776af43b79c5698f09'

* commit '5f2b05ea3dfdaf63088ea3776af43b79c5698f09':
  Fix issue 1996218: Disable use of shared memory buffer by SoundPool.
2009-07-22 13:20:05 -07:00
Jean-Baptiste Queru
67f194f68c am 4071d82b: Reconcile donut-release history into donut
Merge commit '4071d82bc469d50be63b441b10d824138caa5ca3'

* commit '4071d82bc469d50be63b441b10d824138caa5ca3':
  MediaScanner: Add check for null object in empty title handling code.
2009-07-22 13:18:41 -07:00
Android (Google) Code Review
5f2b05ea3d Merge change 8220 into donut
* changes:
  Fix issue 1996218: Disable use of shared memory buffer by SoundPool.
2009-07-22 13:17:46 -07:00
Jean-Baptiste Queru
4071d82bc4 Reconcile donut-release history into donut 2009-07-22 13:15:43 -07:00
Android (Google) Code Review
68ce000ed8 am ef6b66cb: Merge change 8222 into donut
Merge commit 'ef6b66cbbbe7ae8ee0450cbbaae4194b069679a1'

* commit 'ef6b66cbbbe7ae8ee0450cbbaae4194b069679a1':
  Add a public API that reports the supported OpenGLES API level.
2009-07-22 13:06:03 -07:00
Android (Google) Code Review
ef6b66cbbb Merge change 8222 into donut
* changes:
  Add a public API that reports the supported OpenGLES API level.
2009-07-22 13:03:49 -07:00
Jack Palevich
1baf11b116 Add a public API that reports the supported OpenGLES API level. 2009-07-22 12:59:49 -07:00
Android (Google) Code Review
c58c78de2f am e94b2877: Merge change 8186 into donut
Merge commit 'e94b28773de2b2c9a0d0909841b2d3126048c888'

* commit 'e94b28773de2b2c9a0d0909841b2d3126048c888':
  Move global search intent launching to search dialog
2009-07-22 12:17:13 -07:00
Android (Google) Code Review
e94b28773d Merge change 8186 into donut
* changes:
  Move global search intent launching to search dialog
2009-07-22 12:14:58 -07:00