5323 Commits

Author SHA1 Message Date
Mitsuru Oshima
589cebe2d5 * Use the scaled size for surface view instead of native. The surface will be always scaled
by surface flinger in compatiblity mode. The original approach confused the app because
 the surface size and the view size were different.
* a few clean up. removed unsed arguments, obsolete conditions from getTranslator()
 (expandable check was a bug)
2009-07-23 13:38:01 -07:00
Android (Google) Code Review
e0ef973b13 Merge change 8323 into donut
* changes:
  * a best effort fix for apps that uses get/set Matrix API on canvas.   - scale the matrix   - but don't scale if the matrix *looks* like obtained from the canvas itself. (typically to set it back to original matrix)
2009-07-23 13:33:07 -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
Mitsuru Oshima
240f8a7532 * a best effort fix for apps that uses get/set Matrix API on canvas.
- scale the matrix
  - but don't scale if the matrix *looks* like obtained from the canvas itself. (typically to set it back to original matrix)

This is best effort change and not perfect (not even close), but works for one game,
and hopes it can handle many other apps that uses set/get Matrix. If you have an alternative idea, please let me know.
2009-07-23 13:31:00 -07: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
1d4b87d492 Merge change 8360 into donut
* changes:
  Remove failing test AutoCompleteTextViewCallbacks.testPopupNoSelection from medium continuus suite.
2009-07-23 11:12:19 -07:00
Android (Google) Code Review
62c6c35706 Merge change 8263 into donut
* changes:
  Make the date formats as close as possible to what the translators wanted.
2009-07-23 11:10:00 -07:00
Brett Chabot
a8b30990cb Remove failing test AutoCompleteTextViewCallbacks.testPopupNoSelection from
medium continuus suite.
2009-07-23 10:55:32 -07:00
Android (Google) Code Review
0e6386300c Merge change 8291 into donut
* changes:
  Add gservices flag for configuring the URL vending redirects to when TOS is inaccessible due to no/bad network.
2009-07-23 10:33:30 -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
Android (Google) Code Review
ea9f9637e4 Merge change 8338 into donut
* changes:
  Have the notification service only have notifications diabled until setup wizard has been run.
2009-07-23 09:41:08 -07:00
Joe Onorato
39f5b6a081 Have the notification service only have notifications diabled until setup wizard has been run. 2009-07-23 12:29:19 -04: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
Android (Google) Code Review
3867301423 Merge change 8336 into donut
* changes:
  Remove the silent ringtone. I didn't realize that the ringtone picker already has an option to show a "Silent" item at the top, and having a separate silent ringtone conflicts with that in apps that choose to show it.
2009-07-23 09:17:47 -07:00
Marco Nelissen
2349b04e71 Remove the silent ringtone.
I didn't realize that the ringtone picker already has an option
to show a "Silent" item at the top, and having a separate silent
ringtone conflicts with that in apps that choose to show it.
2009-07-23 09:06:59 -07:00
Joe Onorato
eb176588e2 Have the notification service only have notifications diabled
until setup wizard has been run.
2009-07-23 10:47:24 -04: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
lknguyen
f965d1690e Add gservices flag for configuring the URL vending redirects to when TOS is inaccessible due to no/bad network. 2009-07-22 18:26:38 -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
Eric Fischer
ce4ba52c63 Make the date formats as close as possible to what the translators wanted.
Remove all the country-specific files that are exactly the same as the
language files, and several unverified country-specific files.
2009-07-22 16:25:06 -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