Commit Graph

2863 Commits

Author SHA1 Message Date
2bfd344b67 Merge doc changes from cupcake: commit '5ae517d9659e96e9525406ffbce18dcacc3294bc' into manualmerge 2009-07-24 14:39:03 -07:00
0c64c1c96a Empty merge from cupcake: commit 'ff339f0b966c5ca62867689a13ea713e6cb62a15' 2009-07-24 12:57:01 -07:00
9ba594e12d Empty merge from cupcake: commit '79188bb2c9bac9fef1bc86b7f9f54324471ee53e' 2009-07-24 12:55:55 -07:00
6d9ffc5f25 Merge doc change from cupcake: commit '2c44586d118208bdddfc727165ebf235fe7c0051' 2009-07-24 12:54:42 -07:00
616fe5134b Empty merge from cupcake: commit '2e7e15f2da527f762f6eb56b974e758d83f12660' 2009-07-24 12:53:09 -07:00
23ad7898f6 Empty merge from cupcake: commit '5a3a63f8b450a1902dd26809f18e35ef30befff3' 2009-07-24 12:52:02 -07:00
9a37e59259 Empty merge from cupcake: commit 'b69bed1947d4c8835b861f7b68be756b6a8e80d3' 2009-07-24 12:50:16 -07:00
ea761540c3 Merge doc changes from cupcake at commit '373271b94cbe01c337b4952d0d5764e200c69f48' 2009-07-24 12:26:22 -07:00
11ea33471e 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.
2009-07-24 10:47:15 -07:00
3b99e64e58 Merge change 8475 into donut
* changes:
  Per conversation, remove the toast while saving the Certificates to CertTools.
2009-07-24 10:18:26 -07:00
7c187de14f Merge change 8462 into donut
* changes:
  Make the DatePicker respect the date format setting if the date is numeric.
2009-07-24 10:00:05 -07:00
c9d4c8790a Per conversation, remove the toast while saving the Certificates to CertTools.
Remove the unused strings.
2009-07-23 21:22:51 -07:00
719eba5bb1 Change to SPKAC certificate request format for keygen. 2009-07-24 11:33:45 +08:00
75b681639d Add memcpy and strcpy boundary check. 2009-07-24 11:24:31 +08:00
03a8017d0f 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
2009-07-23 18:48:44 -07:00
0a4730f888 Merge change 8443 into donut
* changes:
  add some more defensiveness to SuggestionsAdapter to avoid system process crashes.
2009-07-23 17:38:24 -07:00
92f461ea66 add some more defensiveness to SuggestionsAdapter to avoid system process crashes. 2009-07-23 17:20:47 -07:00
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
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
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
1d4b87d492 Merge change 8360 into donut
* changes:
  Remove failing test AutoCompleteTextViewCallbacks.testPopupNoSelection from medium continuus suite.
2009-07-23 11:12:19 -07:00
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
a8b30990cb Remove failing test AutoCompleteTextViewCallbacks.testPopupNoSelection from
medium continuus suite.
2009-07-23 10:55:32 -07:00
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
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
39f5b6a081 Have the notification service only have notifications diabled until setup wizard has been run. 2009-07-23 12:29:19 -04:00
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
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
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
de08cdc0a5 Merge change 8262 into donut
* changes:
  Implement the device ConfigurationInfo.reqGlEsVersion field.
2009-07-22 16:47:18 -07:00
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
280436accc Merge change 8261 into donut
* changes:
  Remove recently-added android.opengl.Version API
2009-07-22 16:13:45 -07:00
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
eba337ad09 Reimplement TypedArray.getLayoutDimension(int, int) for the layout bridge. 2009-07-22 15:44:52 -07:00
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
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
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
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
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
0b1a255f73 Merge change 8228 into donut
* changes:
  Remove background padding workaround from SuggestionsAdapter
2009-07-22 13:31:20 -07:00
ae1ba65007 Merge change 8227 into donut
* changes:
  Handle null in MatrixCursor.get*()
2009-07-22 13:27:26 -07:00
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
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
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
4071d82bc4 Reconcile donut-release history into donut 2009-07-22 13:15:43 -07:00
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
1baf11b116 Add a public API that reports the supported OpenGLES API level. 2009-07-22 12:59:49 -07:00
e94b28773d Merge change 8186 into donut
* changes:
  Move global search intent launching to search dialog
2009-07-22 12:14:58 -07:00
11b822d2a9 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.
2009-07-22 11:58:31 -07:00
59c25cbaf0 Merge change 8218 into donut
* changes:
  DrawableContainer was not respecting the value returned by Drawable.getPadding(Rect).
2009-07-22 11:49:20 -07:00