OSDN Git Service

android-x86/frameworks-base.git
15 years agoRemove search dialog PRE_CLOSE event
Bjorn Bringert [Mon, 27 Jul 2009 10:48:32 +0000 (11:48 +0100)]
Remove search dialog PRE_CLOSE event

This is part of the fix for http://b/issue?id=2000655

15 years agoSend max displayed position in search dialog click event
Bjorn Bringert [Mon, 27 Jul 2009 10:44:56 +0000 (11:44 +0100)]
Send max displayed position in search dialog click event

This is part of the fix for http://b/issue?id=2000655

15 years agoMerge change 8612 into donut
Android (Google) Code Review [Mon, 27 Jul 2009 05:01:43 +0000 (22:01 -0700)]
Merge change 8612 into donut

* changes:
  Remove visibility checks from SearchManager tests

15 years agoSimplify the VPN service implementation.
Hung-ying Tyan [Wed, 22 Jul 2009 23:37:27 +0000 (07:37 +0800)]
Simplify the VPN service implementation.

+ Remove NormalProcessProxy and ProcessProxy as they are not used
  anymore.
+ Rename AndroidServiceProxy to DaemonProxy and simplify its
  implementation as it does not extend to ProcessProxy anymore.
+ Execute connect() in VpnService in one thread, which simplifies socket
  and error handling.
+ Modify service subclasses accordingly.
+ Execute connect() and disconnect() in VpnServiceBinder so that the
  operations do not block the UI thread. Mark service as foreground only upon
  connecting.

15 years agoRemove visibility checks from SearchManager tests
Bjorn Bringert [Sun, 26 Jul 2009 21:27:47 +0000 (22:27 +0100)]
Remove visibility checks from SearchManager tests

Since the search UI is handled by the system process, and
the service calls to show and hide it are asynchronous,
the tests that checked the visibility of the search UI were
very flaky. This change sclaes the tests back to just check
that nothing crashes when showing and hiding the search UI.

Fixes http://b/issue?id=1993675

15 years agoMerge change 8564 into donut
Android (Google) Code Review [Sat, 25 Jul 2009 03:52:01 +0000 (20:52 -0700)]
Merge change 8564 into donut

* changes:
  Merge doc change from cupcake: commit 'a8d035ccf319e1aed685a1e1509681350f737fd1' into manualmerge

15 years agoMerge change 8563 into donut
Android (Google) Code Review [Sat, 25 Jul 2009 03:51:25 +0000 (20:51 -0700)]
Merge change 8563 into donut

* changes:
  Empty merge from cupcake: commit '77bab58fd1c21b0e3035dee411b4a938e6a824ce' into manualmerge

15 years agoMerge change 8562 into donut
Android (Google) Code Review [Sat, 25 Jul 2009 03:50:47 +0000 (20:50 -0700)]
Merge change 8562 into donut

* changes:
  Empty merge from cupcake: commit '7cecaed3192a6503df0ddf4d81b3b620b7cd9635' into manualmerge

15 years agoMerge change 8561 into donut
Android (Google) Code Review [Sat, 25 Jul 2009 03:50:17 +0000 (20:50 -0700)]
Merge change 8561 into donut

* changes:
  Empty merge from cupcake: commit '414f62c0cb7eceeb1cd24bf9e570688a00683f9c' into manualmerge

15 years agoMerge change 8560 into donut
Android (Google) Code Review [Sat, 25 Jul 2009 03:49:41 +0000 (20:49 -0700)]
Merge change 8560 into donut

* changes:
  Merge doc changes from cupcake: commit '5ae517d9659e96e9525406ffbce18dcacc3294bc' into manualmerge

15 years agoMerge change 8559 into donut
Android (Google) Code Review [Sat, 25 Jul 2009 03:49:01 +0000 (20:49 -0700)]
Merge change 8559 into donut

* changes:
  Empty merge from cupcake: commit 'ff339f0b966c5ca62867689a13ea713e6cb62a15'

15 years agoMerge change 8558 into donut
Android (Google) Code Review [Sat, 25 Jul 2009 03:48:17 +0000 (20:48 -0700)]
Merge change 8558 into donut

* changes:
  Empty merge from cupcake: commit '79188bb2c9bac9fef1bc86b7f9f54324471ee53e'

15 years agoMerge change 8557 into donut
Android (Google) Code Review [Sat, 25 Jul 2009 03:46:39 +0000 (20:46 -0700)]
Merge change 8557 into donut

* changes:
  Merge doc change from cupcake: commit '2c44586d118208bdddfc727165ebf235fe7c0051'

15 years agoMerge change 8556 into donut
Android (Google) Code Review [Sat, 25 Jul 2009 03:45:56 +0000 (20:45 -0700)]
Merge change 8556 into donut

* changes:
  Empty merge from cupcake: commit '2e7e15f2da527f762f6eb56b974e758d83f12660'

15 years agoMerge change 8555 into donut
Android (Google) Code Review [Sat, 25 Jul 2009 03:44:57 +0000 (20:44 -0700)]
Merge change 8555 into donut

* changes:
  Empty merge from cupcake:  commit '5a3a63f8b450a1902dd26809f18e35ef30befff3'

15 years agoMerge change 8554 into donut
Android (Google) Code Review [Sat, 25 Jul 2009 03:44:21 +0000 (20:44 -0700)]
Merge change 8554 into donut

* changes:
  Empty merge from cupcake: commit 'b69bed1947d4c8835b861f7b68be756b6a8e80d3'

15 years agoMerge change 8553 into donut
Android (Google) Code Review [Sat, 25 Jul 2009 03:43:20 +0000 (20:43 -0700)]
Merge change 8553 into donut

* changes:
  Merge doc changes from cupcake at commit '373271b94cbe01c337b4952d0d5764e200c69f48'

15 years agoDO NOT MERGE. Already in master. Fix #1977876 : Key preview in WVGA broken.
Amith Yamasani [Fri, 24 Jul 2009 00:38:15 +0000 (17:38 -0700)]
DO NOT MERGE. Already in  Fix #1977876 : Key preview in WVGA broken.

Use PX unit when setting the text size since we're getting the size from getTextSize()
Reduce delay for popup.

15 years agoMerge change 8565 into donut
Android (Google) Code Review [Sat, 25 Jul 2009 00:09:33 +0000 (17:09 -0700)]
Merge change 8565 into donut

* changes:
  Fixing bug 2003639 - this is a fix to prevent the AccessibilityManagerService from crashing if it gets an invalid accessibility event.

15 years agoFixing bug 2003639 - this is a fix to prevent the AccessibilityManagerService
Charles Chen [Fri, 24 Jul 2009 23:06:09 +0000 (16:06 -0700)]
Fixing bug 2003639 - this is a fix to prevent the AccessibilityManagerService
from crashing if it gets an invalid accessibility event.

15 years agoMerge doc change from cupcake: commit 'a8d035ccf319e1aed685a1e1509681350f737fd1'...
Dirk Dougherty [Fri, 24 Jul 2009 22:34:57 +0000 (15:34 -0700)]
Merge doc change from cupcake: commit 'a8d035ccf319e1aed685a1e1509681350f737fd1' into manualmerge

15 years agoEmpty merge from cupcake: commit '77bab58fd1c21b0e3035dee411b4a938e6a824ce' into...
Dirk Dougherty [Fri, 24 Jul 2009 21:42:18 +0000 (14:42 -0700)]
Empty merge from cupcake: commit '77bab58fd1c21b0e3035dee411b4a938e6a824ce' into manualmerge

15 years agoEmpty merge from cupcake: commit '7cecaed3192a6503df0ddf4d81b3b620b7cd9635' into...
Dirk Dougherty [Fri, 24 Jul 2009 21:41:11 +0000 (14:41 -0700)]
Empty merge from cupcake: commit '7cecaed3192a6503df0ddf4d81b3b620b7cd9635' into manualmerge

15 years agoEmpty merge from cupcake: commit '414f62c0cb7eceeb1cd24bf9e570688a00683f9c' into...
Dirk Dougherty [Fri, 24 Jul 2009 21:39:55 +0000 (14:39 -0700)]
Empty merge from cupcake: commit '414f62c0cb7eceeb1cd24bf9e570688a00683f9c' into manualmerge

15 years agoMerge doc changes from cupcake: commit '5ae517d9659e96e9525406ffbce18dcacc3294bc...
Dirk Dougherty [Fri, 24 Jul 2009 19:58:01 +0000 (12:58 -0700)]
Merge doc changes from cupcake: commit '5ae517d9659e96e9525406ffbce18dcacc3294bc' into manualmerge

15 years agoEmpty merge from cupcake: commit 'ff339f0b966c5ca62867689a13ea713e6cb62a15'
Dirk Dougherty [Fri, 24 Jul 2009 19:56:59 +0000 (12:56 -0700)]
Empty merge from cupcake: commit 'ff339f0b966c5ca62867689a13ea713e6cb62a15'

15 years agoEmpty merge from cupcake: commit '79188bb2c9bac9fef1bc86b7f9f54324471ee53e'
Dirk Dougherty [Fri, 24 Jul 2009 19:55:49 +0000 (12:55 -0700)]
Empty merge from cupcake: commit '79188bb2c9bac9fef1bc86b7f9f54324471ee53e'

15 years agoMerge doc change from cupcake: commit '2c44586d118208bdddfc727165ebf235fe7c0051'
Dirk Dougherty [Fri, 24 Jul 2009 19:54:31 +0000 (12:54 -0700)]
Merge doc change from cupcake: commit '2c44586d118208bdddfc727165ebf235fe7c0051'

15 years agoEmpty merge from cupcake: commit '2e7e15f2da527f762f6eb56b974e758d83f12660'
Dirk Dougherty [Fri, 24 Jul 2009 19:52:58 +0000 (12:52 -0700)]
Empty merge from cupcake: commit '2e7e15f2da527f762f6eb56b974e758d83f12660'

15 years agoEmpty merge from cupcake: commit '5a3a63f8b450a1902dd26809f18e35ef30befff3'
Dirk Dougherty [Fri, 24 Jul 2009 19:51:46 +0000 (12:51 -0700)]
Empty merge from cupcake:  commit '5a3a63f8b450a1902dd26809f18e35ef30befff3'

15 years agoEmpty merge from cupcake: commit 'b69bed1947d4c8835b861f7b68be756b6a8e80d3'
Dirk Dougherty [Fri, 24 Jul 2009 19:49:53 +0000 (12:49 -0700)]
Empty merge from cupcake: commit 'b69bed1947d4c8835b861f7b68be756b6a8e80d3'

15 years agoMerge doc changes from cupcake at commit '373271b94cbe01c337b4952d0d5764e200c69f48'
Dirk Dougherty [Fri, 24 Jul 2009 19:25:15 +0000 (12:25 -0700)]
Merge doc changes from cupcake at commit '373271b94cbe01c337b4952d0d5764e200c69f48'

15 years agoAllow for screen density drawables in compatibility mode.
Dianne Hackborn [Thu, 23 Jul 2009 04:48:55 +0000 (21:48 -0700)]
Allow for screen density drawables in compatibility mode.

This change allows us to use drawables that match the current screen
density even when being loaded in compatibility mode.  In this case,
the bitmap is loaded in the screen density, and the bitmap and
nine-patch drawables take care of accounting for the density difference.

This should be safe for existing applications, for the most part, since
they shouldn't really be pulling the bitmap out of the drawable.  For
the small rare chance of them breaking, it worth getting the correct
graphics.  Also this will only happen when there is actually a resource
of the matching density, and no existing apps should have resources for
anything besides the default density (though of course all of the
framework resources will be available in the native density).

As part of this, the bitmap density API has been changed to a single
integer provider the DPI unit density.

15 years agoMerge change 8475 into donut
Android (Google) Code Review [Fri, 24 Jul 2009 17:18:26 +0000 (10:18 -0700)]
Merge change 8475 into donut

* changes:
  Per conversation, remove the toast while saving the Certificates to CertTools.

15 years agoMerge change 8462 into donut
Android (Google) Code Review [Fri, 24 Jul 2009 17:00:05 +0000 (10:00 -0700)]
Merge change 8462 into donut

* changes:
  Make the DatePicker respect the date format setting if the date is numeric.

15 years agoPer conversation, remove the toast while saving the Certificates to CertTools.
Grace Kloba [Fri, 24 Jul 2009 04:16:51 +0000 (21:16 -0700)]
Per conversation, remove the toast while saving the Certificates to CertTools.

Remove the unused strings.

15 years agoChange to SPKAC certificate request format for keygen.
Chung-yih Wang [Fri, 24 Jul 2009 03:33:45 +0000 (11:33 +0800)]
Change to SPKAC certificate request format for keygen.

15 years agoAdd memcpy and strcpy boundary check.
Chung-yih Wang [Wed, 22 Jul 2009 23:23:24 +0000 (07:23 +0800)]
Add memcpy and strcpy boundary check.

15 years agoMake the DatePicker respect the date format setting if the date is numeric.
Eric Fischer [Fri, 24 Jul 2009 01:32:42 +0000 (18:32 -0700)]
Make the DatePicker respect the date format setting if the date is numeric.

In some locales, there are no abbreviated month names; the abbreviated
date formats are essentially numeric.  If the user is in such a locale,
have the DatePicker respect the date format setting so that the order
of the fields will match other numeric-only dates.

In locales that have abbreviated month names, continue to use the order
that is normal in spelled-out dates.

And update the order in updateDate() so that the new order is reflected
if you change the order setting and immediately go to change the date
without leaving and returning to the Date & Time settings in between.

At the same time, change DateFormat.getDateFormatOrder() back to working
the way it did in cupcake (prioritizing the date order preference over
the locale), even though the DatePicker no longer calls the method.

Bug 1805085

15 years agoMerge change 8443 into donut
Android (Google) Code Review [Fri, 24 Jul 2009 00:38:24 +0000 (17:38 -0700)]
Merge change 8443 into donut

* changes:
  add some more defensiveness to SuggestionsAdapter to avoid system process crashes.

15 years agoadd some more defensiveness to SuggestionsAdapter to avoid system process crashes.
Karl Rosaen [Fri, 24 Jul 2009 00:20:47 +0000 (17:20 -0700)]
add some more defensiveness to SuggestionsAdapter to avoid system process crashes.

15 years ago* Use the scaled size for surface view instead of native. The surface will be always...
Mitsuru Oshima [Thu, 23 Jul 2009 03:38:58 +0000 (20:38 -0700)]
* 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)

15 years agoMerge change 8323 into donut
Android (Google) Code Review [Thu, 23 Jul 2009 20:33:07 +0000 (13:33 -0700)]
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)

15 years ago* a best effort fix for apps that uses get/set Matrix API on canvas.
Mitsuru Oshima [Thu, 23 Jul 2009 03:39:14 +0000 (20:39 -0700)]
* 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.

15 years agoMerge change 8360 into donut
Android (Google) Code Review [Thu, 23 Jul 2009 18:12:19 +0000 (11:12 -0700)]
Merge change 8360 into donut

* changes:
  Remove failing test AutoCompleteTextViewCallbacks.testPopupNoSelection from medium continuus suite.

15 years agoMerge change 8263 into donut
Android (Google) Code Review [Thu, 23 Jul 2009 18:10:00 +0000 (11:10 -0700)]
Merge change 8263 into donut

* changes:
  Make the date formats as close as possible to what the translators wanted.

15 years agoRemove failing test AutoCompleteTextViewCallbacks.testPopupNoSelection from
Brett Chabot [Thu, 23 Jul 2009 17:53:36 +0000 (10:53 -0700)]
Remove failing test AutoCompleteTextViewCallbacks.testPopupNoSelection from
medium continuus suite.

15 years agoMerge change 8291 into donut
Android (Google) Code Review [Thu, 23 Jul 2009 17:33:30 +0000 (10:33 -0700)]
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.

15 years agoMerge change 8338 into donut
Android (Google) Code Review [Thu, 23 Jul 2009 16:41:08 +0000 (09:41 -0700)]
Merge change 8338 into donut

* changes:
  Have the notification service only have notifications diabled until setup wizard has been run.

15 years agoHave the notification service only have notifications diabled until setup wizard...
Joe Onorato [Thu, 23 Jul 2009 16:29:19 +0000 (12:29 -0400)]
Have the notification service only have notifications diabled until setup wizard has been run.

15 years agoMerge change 8336 into donut
Android (Google) Code Review [Thu, 23 Jul 2009 16:17:47 +0000 (09:17 -0700)]
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.

15 years agoRemove the silent ringtone.
Marco Nelissen [Thu, 23 Jul 2009 16:06:59 +0000 (09:06 -0700)]
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.

15 years agoAdd gservices flag for configuring the URL vending redirects to when TOS is inaccessi...
lknguyen [Thu, 23 Jul 2009 01:12:56 +0000 (18:12 -0700)]
Add gservices flag for configuring the URL vending redirects to when TOS is inaccessible due to no/bad network.

15 years agoMerge change 8262 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 23:47:18 +0000 (16:47 -0700)]
Merge change 8262 into donut

* changes:
  Implement the device ConfigurationInfo.reqGlEsVersion field.

15 years agoMake the date formats as close as possible to what the translators wanted.
Eric Fischer [Wed, 22 Jul 2009 22:38:08 +0000 (15:38 -0700)]
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.

15 years agoMerge change 8261 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 23:13:45 +0000 (16:13 -0700)]
Merge change 8261 into donut

* changes:
  Remove recently-added android.opengl.Version API

15 years agoMerge change 8255 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 23:13:40 +0000 (16:13 -0700)]
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.

15 years agoReimplement TypedArray.getLayoutDimension(int, int) for the layout bridge.
Xavier Ducrohet [Wed, 22 Jul 2009 22:44:52 +0000 (15:44 -0700)]
Reimplement TypedArray.getLayoutDimension(int, int) for the layout bridge.

15 years agoImplement the device ConfigurationInfo.reqGlEsVersion field.
Jack Palevich [Wed, 22 Jul 2009 22:35:24 +0000 (15:35 -0700)]
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.

15 years agoRemove recently-added android.opengl.Version API
Jack Palevich [Wed, 22 Jul 2009 22:22:59 +0000 (15:22 -0700)]
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.

15 years agoAdd new hidden API setForceIgnoreOutsideTouch to AutoCompleteTextView for
Mike LeBeau [Wed, 22 Jul 2009 22:04:27 +0000 (15:04 -0700)]
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

15 years agoMerge change 8235 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 21:42:08 +0000 (14:42 -0700)]
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.

15 years ago* Revert the change that I introduced while refactroing in SurfaceView#dispatchTouchEvent
Mitsuru Oshima [Wed, 22 Jul 2009 20:13:36 +0000 (13:13 -0700)]
* Revert the change that I introduced while refactroing in SurfaceView#dispatchTouchEvent
* Don't scale back the event if the canvas is used in SurfaceView.

15 years agoMerge change 8228 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 20:31:20 +0000 (13:31 -0700)]
Merge change 8228 into donut

* changes:
  Remove background padding workaround from SuggestionsAdapter

15 years agoMerge change 8227 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 20:27:26 +0000 (13:27 -0700)]
Merge change 8227 into donut

* changes:
  Handle null in MatrixCursor.get*()

15 years agoRemove background padding workaround from SuggestionsAdapter
Bjorn Bringert [Wed, 22 Jul 2009 20:26:29 +0000 (21:26 +0100)]
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

15 years agoHandle null in MatrixCursor.get*()
Bjorn Bringert [Wed, 22 Jul 2009 19:40:04 +0000 (20:40 +0100)]
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

15 years agoMerge change 8220 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 20:17:46 +0000 (13:17 -0700)]
Merge change 8220 into donut

* changes:
  Fix issue 1996218: Disable use of shared memory buffer by SoundPool.

15 years agoReconcile donut-release history into donut
Jean-Baptiste Queru [Wed, 22 Jul 2009 20:15:31 +0000 (13:15 -0700)]
Reconcile donut-release history into donut

15 years agoMerge change 8222 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 20:03:49 +0000 (13:03 -0700)]
Merge change 8222 into donut

* changes:
  Add a public API that reports the supported OpenGLES API level.

15 years agoAdd a public API that reports the supported OpenGLES API level.
Jack Palevich [Wed, 22 Jul 2009 19:59:49 +0000 (12:59 -0700)]
Add a public API that reports the supported OpenGLES API level.

15 years agoMerge change 8186 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 19:14:58 +0000 (12:14 -0700)]
Merge change 8186 into donut

* changes:
  Move global search intent launching to search dialog

15 years agoSimplify density compatibility to a boolean.
Dianne Hackborn [Wed, 22 Jul 2009 03:03:02 +0000 (20:03 -0700)]
Simplify density compatibility to a boolean.

Instead of a list, we now just have a single boolean indicating whether an
application is density aware, and this set set to true by default as of
Donut.

15 years agoMerge change 8218 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 18:49:20 +0000 (11:49 -0700)]
Merge change 8218 into donut

* changes:
  DrawableContainer was not respecting the value returned by Drawable.getPadding(Rect).

15 years agoMerge change 8213 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 18:48:11 +0000 (11:48 -0700)]
Merge change 8213 into donut

* changes:
  Resetting the setLanguage() call to its intended behavior after change 8089 which works around the bug where a language cannot be set if the default language (which is loaded upon initialization) isn't eng-USA.

15 years agoDrawableContainer was not respecting the value returned by Drawable.getPadding(Rect).
Romain Guy [Wed, 22 Jul 2009 18:35:49 +0000 (11:35 -0700)]
DrawableContainer was not respecting the value returned by Drawable.getPadding(Rect).

Before this change, DrawableContainer would always return true from getPadding(Rect)
even if all of its children were returning false from getPadding(Rect). This change
modifies this behavior to respect getPadding(Rect): mConstantPadding is kept null
when getPadding(Rect) returns false for all of the children and a flag is set
to avoid recomputing that value every time getConstantPadding() is invoked.

15 years agoMerge change 8216 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 18:30:23 +0000 (11:30 -0700)]
Merge change 8216 into donut

* changes:
  Fixes #1994125. Ensures AbsListView's filter window is always dismissed.

15 years agoFixes #1994125. Ensures AbsListView's filter window is always dismissed.
Romain Guy [Wed, 22 Jul 2009 18:25:42 +0000 (11:25 -0700)]
Fixes #1994125. Ensures AbsListView's filter window is always dismissed.

15 years agoMerge change 8210 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 18:22:07 +0000 (11:22 -0700)]
Merge change 8210 into donut

* changes:
  Always call ensureImeVisible when the text field is clicked. We want this regardless of whether dropDownAlwaysVisible is true or not, as long as the popup is showing and is potentially obscuring the IME.

15 years agoMerge change 8209 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 18:19:18 +0000 (11:19 -0700)]
Merge change 8209 into donut

* changes:
  Work around StateListDrawable padding in search suggestions

15 years agoAlways call ensureImeVisible when the text field is clicked. We want this
Mike LeBeau [Wed, 22 Jul 2009 18:17:48 +0000 (11:17 -0700)]
Always call ensureImeVisible when the text field is clicked. We want this
regardless of whether dropDownAlwaysVisible is true or not, as long as
the popup is showing and is potentially obscuring the IME.

15 years agoResetting the setLanguage() call to its intended behavior after change 8089
Jean-Michel Trivi [Wed, 22 Jul 2009 18:15:23 +0000 (11:15 -0700)]
Resetting the setLanguage() call to its intended behavior after change 8089
which works around the bug where a language cannot be set if the default
language (which is loaded upon initialization) isn't eng-USA.

15 years agoWork around StateListDrawable padding in search suggestions
Bjorn Bringert [Wed, 22 Jul 2009 18:13:39 +0000 (19:13 +0100)]
Work around StateListDrawable padding in search suggestions

Sometimes when searching, some of the suggestions had no left padding.
The left-hand side icons were flush with the left edge of the screen.
The problems was that setting a StateListDrawable as a background
will always set the padding of a View, because of a problem in
DrawableContainer.

DrawableContainer.DrawableContainerState.getConstantPadding()
will always return a Rect if mVariablePadding is false, which
makes DrawableContainer.getPadding() return true, which
causes View to change the padding.

As a workaround, we use setVariablePadding(true) on the background
that we create.

Fixes http://b/editIssue?id=1984813

15 years agoFix issue 1996218: Disable use of shared memory buffer by SoundPool.
Eric Laurent [Wed, 22 Jul 2009 18:12:31 +0000 (11:12 -0700)]
Fix issue 1996218: Disable use of shared memory buffer by SoundPool.

Disabled USE_SHARED_MEM_BUFFER compilation switch in SoundPool.cpp.

15 years agoMove global search intent launching to search dialog
Bjorn Bringert [Wed, 22 Jul 2009 09:25:25 +0000 (10:25 +0100)]
Move global search intent launching to search dialog

Fixes http://b/issue?id=1969032

15 years agoMerge change 8172 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 17:23:40 +0000 (10:23 -0700)]
Merge change 8172 into donut

* changes:
  Add the phase2 field for EAP WiFi configuration.

15 years agoMerge change 8201 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 17:23:16 +0000 (10:23 -0700)]
Merge change 8201 into donut

* changes:
  Proactively set mVisible attribute in startSearch and stopSearch (not just in message handler).

15 years agoProactively set mVisible attribute in startSearch and stopSearch (not just in message...
Karl Rosaen [Wed, 22 Jul 2009 17:11:00 +0000 (10:11 -0700)]
Proactively set mVisible attribute in startSearch and stopSearch (not just in message handler).

This way someone can call searchManger.startSearch() and immediately have searchManger.isVisible() reflect
the correct value.

Fixes failing tests and bug 1993675

15 years agoMerge change 8131 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 17:03:56 +0000 (10:03 -0700)]
Merge change 8131 into donut

* changes:
  Fix android.core.FileTest#testFile: add sdcard write permission to test.

15 years agoMerge commit 'remotes/goog/donut' into donut-release
The Android Open Source Project [Wed, 22 Jul 2009 15:35:54 +0000 (08:35 -0700)]
Merge commit 'remotes/goog/donut' into donut-release

15 years agoMerge change 8179 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 12:02:53 +0000 (05:02 -0700)]
Merge change 8179 into donut

* changes:
  Fix SQL generated by updateWithOnConflict()

15 years agoFix SQL generated by updateWithOnConflict()
Bjorn Bringert [Wed, 22 Jul 2009 11:49:17 +0000 (12:49 +0100)]
Fix SQL generated by updateWithOnConflict()

Before, SQLiteDatabase.updateWithOnConflict() method generated
syntactically invalid SQL if the ConflictAlgorithm was non-null.
For example, it would generate
"UPDATE  OR REPLACEshortcuts SET ...",
when it should be "UPDATE OR REPLACE shortcuts SET ...".

Fixes http://b/issue?id=1995470

15 years agoAdd the phase2 field for EAP WiFi configuration.
Chung-yih Wang [Wed, 22 Jul 2009 07:56:04 +0000 (15:56 +0800)]
Add the phase2 field for EAP WiFi configuration.

15 years agoMerge change 8082 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 07:57:48 +0000 (00:57 -0700)]
Merge change 8082 into donut

* changes:
  Cleanup the old keystore APIs.

15 years agoMerge change 8126 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 02:01:28 +0000 (19:01 -0700)]
Merge change 8126 into donut

* changes:
  First pass at reworking screen density/size APIs.

15 years agoFirst pass at reworking screen density/size APIs.
Dianne Hackborn [Wed, 22 Jul 2009 00:46:02 +0000 (17:46 -0700)]
First pass at reworking screen density/size APIs.

This changes the names of the directories in aapt, to what you see
in the list of DpiTest resources.  Also adds a new "long" configuration
for wide screens, which the platform sets appropriate, and introduces
a new kind of resizeability for not large but significantly larger
than normal screens which may have compatibility issues.

15 years agoMerge change 8130 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 01:17:42 +0000 (18:17 -0700)]
Merge change 8130 into donut

* changes:
  Increase the volume of the AudioTrack instance used for the speech synthesis.

15 years agoFix android.core.FileTest#testFile: add sdcard write permission to test.
Brett Chabot [Wed, 22 Jul 2009 01:17:05 +0000 (18:17 -0700)]
Fix android.core.FileTest#testFile: add sdcard write permission to test.

15 years agoIncrease the volume of the AudioTrack instance used for the speech synthesis.
Jean-Michel Trivi [Wed, 22 Jul 2009 01:10:04 +0000 (18:10 -0700)]
Increase the volume of the AudioTrack instance used for the speech synthesis.

15 years ago* Adjust canvas size under compatibility mode.
Mitsuru Oshima [Tue, 21 Jul 2009 21:39:34 +0000 (14:39 -0700)]
* Adjust canvas size under compatibility mode.