OSDN Git Service

android-x86/frameworks-base.git
14 years agoFix bug 2017664
Jean-Michel Trivi [Tue, 28 Jul 2009 21:31:48 +0000 (14:31 -0700)]
Fix bug 2017664
Removed the TTS_ prefix in the TextToSpeech class to follow the standard naming convention.
Moved the TTS-related intents from the Intent class to TextToSpeech and TextToSpeech.Engine.
Renamed the TextToSpeech.Engine constants that are used as extras for the
  ACTION_TTS_CHECK_TTS_DATA intent to prefix them with EXTRA_.
Cleaned up the other TextToSpeech.Engine constant to remove superfluous mentions of
  "TTS" in the name.

14 years agoMerge change 8962 into donut
Android (Google) Code Review [Wed, 29 Jul 2009 15:33:07 +0000 (08:33 -0700)]
Merge change 8962 into donut

* changes:
  Log uid and package name when launching intents from search

14 years agoLog uid and package name when launching intents from search
Bjorn Bringert [Wed, 29 Jul 2009 09:59:25 +0000 (10:59 +0100)]
Log uid and package name when launching intents from search

This is to help debug http://b/issue?id=2020252
where the WEB_SEARCH intent is sometimes not handled.

14 years agoMerge change 8208 into donut
Android (Google) Code Review [Wed, 29 Jul 2009 07:38:53 +0000 (00:38 -0700)]
Merge change 8208 into donut

* changes:
  Removing MD2

14 years agoMerge change 8911 into donut
Android (Google) Code Review [Wed, 29 Jul 2009 05:08:30 +0000 (22:08 -0700)]
Merge change 8911 into donut

* changes:
  Fix issue #1999179: search -> click result -> press home = search dialog is shown then hidden

14 years agoMerge change 8757 into donut
Android (Google) Code Review [Wed, 29 Jul 2009 01:34:33 +0000 (18:34 -0700)]
Merge change 8757 into donut

* changes:
  Support x509-user-cert mime type in browser.

14 years agoFix issue #1999179: search -> click result -> press home = search dialog is shown...
Dianne Hackborn [Wed, 29 Jul 2009 00:49:55 +0000 (17:49 -0700)]
Fix issue #1999179: search -> click result -> press home = search dialog is shown then hidden

Re-arrange various things to ensure that the search dialog is told about system windows being
closed before it is told about the navigation back to home.

14 years agoMerge change 8884 into donut
Android (Google) Code Review [Tue, 28 Jul 2009 23:28:42 +0000 (16:28 -0700)]
Merge change 8884 into donut

* changes:
  DO NOT MERGE. Already in master. Fix calendar test.

14 years agoMerge change 8015 into donut
Android (Google) Code Review [Tue, 28 Jul 2009 23:16:38 +0000 (16:16 -0700)]
Merge change 8015 into donut

* changes:
  Reset the mDpiX and mDpiY values when qemu.sf.lcd_density is defined.

14 years agoMerge change 8883 into donut
Android (Google) Code Review [Tue, 28 Jul 2009 23:12:58 +0000 (16:12 -0700)]
Merge change 8883 into donut

* changes:
  fix [1973755] Surface.SURACE_FROZEN spelled SURACE_FROZEN

14 years agofix [1973755] Surface.SURACE_FROZEN spelled SURACE_FROZEN
Mathias Agopian [Tue, 28 Jul 2009 22:59:52 +0000 (15:59 -0700)]
fix [1973755] Surface.SURACE_FROZEN spelled SURACE_FROZEN

14 years agoDO NOT MERGE. Already in master. Fix calendar test.
Ken Shirriff [Tue, 28 Jul 2009 22:57:50 +0000 (15:57 -0700)]
DO NOT MERGE. Already in  Fix calendar test.

Test was failing because SSL caching calls getFileDir() which wasn't implemented in the mock.

bug=1966269

14 years agoReset the mDpiX and mDpiY values when qemu.sf.lcd_density is defined.
David 'Digit' Turner [Tue, 28 Jul 2009 22:38:58 +0000 (00:38 +0200)]
Reset the mDpiX and mDpiY values when qemu.sf.lcd_density is defined.

This will make android.view.Display return corresponding values for
the screen's DPI.

14 years agoMerge change 8877 into donut
Android (Google) Code Review [Tue, 28 Jul 2009 22:34:25 +0000 (15:34 -0700)]
Merge change 8877 into donut

* changes:
  Remove warning in non-eng builds.

14 years agoRemove warning in non-eng builds.
Romain Guy [Tue, 28 Jul 2009 22:30:11 +0000 (15:30 -0700)]
Remove warning in non-eng builds.

14 years agofix [1981759] -no-boot-anim has no effect
Mathias Agopian [Tue, 28 Jul 2009 22:27:39 +0000 (15:27 -0700)]
fix [1981759] -no-boot-anim has no effect

14 years agoMerge change 8832 into donut
Android (Google) Code Review [Tue, 28 Jul 2009 21:18:00 +0000 (14:18 -0700)]
Merge change 8832 into donut

* changes:
  fix [1996214] Boot animation is occasionally messed up

14 years agoMerge change 8840 into donut
Android (Google) Code Review [Tue, 28 Jul 2009 20:11:13 +0000 (13:11 -0700)]
Merge change 8840 into donut

* changes:
  Add padding to height of AutoCompleteTextView drop-down.

14 years agoAdd padding to height of AutoCompleteTextView drop-down.
Bjorn Bringert [Tue, 28 Jul 2009 19:17:27 +0000 (20:17 +0100)]
Add padding to height of AutoCompleteTextView drop-down.

As described in http://b/issue?id=2017825
PopupWindow.getMaxAvailableHeight() does not include the padding in
the available height. To get the ACTV drop-down to actually fill
the screen, this change adds the padding to the value returned
by PopupWindow.getMaxAvailableHeight().

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

14 years agoMerge change 8752 into donut
Android (Google) Code Review [Tue, 28 Jul 2009 19:36:49 +0000 (12:36 -0700)]
Merge change 8752 into donut

* changes:
  Updates from API review.

14 years agoMerge change 8836 into donut
Android (Google) Code Review [Tue, 28 Jul 2009 19:28:06 +0000 (12:28 -0700)]
Merge change 8836 into donut

* changes:
  Add menu with search settings to search dialog.

14 years agoAdd menu with search settings to search dialog.
Bjorn Bringert [Tue, 28 Jul 2009 18:54:14 +0000 (19:54 +0100)]
Add menu with search settings to search dialog.

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

14 years agofix [1996214] Boot animation is occasionally messed up
Mathias Agopian [Tue, 28 Jul 2009 18:41:30 +0000 (11:41 -0700)]
fix [1996214] Boot animation is occasionally messed up

14 years agoMerge change 8817 into donut
Android (Google) Code Review [Tue, 28 Jul 2009 18:24:39 +0000 (11:24 -0700)]
Merge change 8817 into donut

* changes:
  fix [2017532] Partial Update leaves residual image.

14 years agoMerge change 8825 into donut
Android (Google) Code Review [Tue, 28 Jul 2009 18:19:19 +0000 (11:19 -0700)]
Merge change 8825 into donut

* changes:
  Fixes 2017393. Correctly apply gravity in RelativeLayout.

14 years agoFixes 2017393. Correctly apply gravity in RelativeLayout.
Romain Guy [Tue, 28 Jul 2009 18:18:14 +0000 (11:18 -0700)]
Fixes 2017393. Correctly apply gravity in RelativeLayout.

RL was applying a horizontal offset to its children even when the gravity was only
specified for the vertical axis (and vice-versa.)

Also fix the ExpandableListView icons.

14 years agofix [2017532] Partial Update leaves residual image.
Mathias Agopian [Tue, 28 Jul 2009 17:57:27 +0000 (10:57 -0700)]
fix [2017532] Partial Update leaves residual image.

14 years agoMerge change 8759 into donut
Android (Google) Code Review [Tue, 28 Jul 2009 17:45:35 +0000 (10:45 -0700)]
Merge change 8759 into donut

* changes:
  Cancel search on BACK if IME is obscured.

14 years agoMerge change 8806 into donut
Android (Google) Code Review [Tue, 28 Jul 2009 17:27:56 +0000 (10:27 -0700)]
Merge change 8806 into donut

* changes:
  Mark the the airplane mode internal strings as not translatable.

14 years agoMerge change 8728 into donut
Android (Google) Code Review [Tue, 28 Jul 2009 17:18:47 +0000 (10:18 -0700)]
Merge change 8728 into donut

* changes:
  Fix resource code and version attributes Create a new package setting object for updated system apps rather than moving around the same setting. This updates the resource, code and version correctly. For updating system packages, disable the package first which removes the entry from internal structures, create a new package setting, add it to list of user id's then rest of installation steps, kill the process if needed via ActivityManager then add this setting if everything was successful. This also fixes issues with updating values prematurely.

14 years agoFix resource code and version attributes
Suchi Amalapurapu [Mon, 27 Jul 2009 22:21:34 +0000 (15:21 -0700)]
Fix resource code and version attributes
Create a new package setting object for updated system apps rather than moving
around the same setting. This updates the resource, code and version correctly.
For updating system packages, disable the package first which removes the entry
from internal structures, create a new package setting, add it to list of user id's
then rest of installation steps, kill the process if needed via ActivityManager
then add this setting if everything was successful. This also fixes issues with
updating values prematurely.

When a new version of system package is available via OTA, just physically remove
entries for pkg. Note that the component and other info will be eventually updated
later on when scanning the package.
Also move certificate verification slightly ahead before scanning packages.

Some null checks

New api's in ActivityManager to kill an application pkg before finishing installation

14 years agoMark the the airplane mode internal strings as not translatable.
Eric Fischer [Tue, 28 Jul 2009 17:17:25 +0000 (10:17 -0700)]
Mark the the airplane mode internal strings as not translatable.

Bug 2017552

14 years agoCancel search on BACK if IME is obscured.
Bjorn Bringert [Tue, 28 Jul 2009 11:03:29 +0000 (12:03 +0100)]
Cancel search on BACK if IME is obscured.

This adds a hidden method AutoCompleteTextView.isImeHidden(),
and uses that in SearchDialog to cancel the search dialog
when BACK is pressed, if there is no previous search component
to return to.

mlebeau says:
 If we fill the whole screen then it makes the issue of the back
 button a little more important. Specifically, right now if you have
 the list expanded and you press back, the keyboard hides but it's not
 really showing any more anyway so it seems like pressing the button
 does nothing. We rationalized this by saying "part of the keyboard
 will be showing so it won't be completely non-obvious that it was
 hidden". But since really the right UX is to fill the screen, as part
 of this we should probably also add logic to the back button such
 that if it is pressed when the list is obscuring the keyboard
 (i.e. softInputMode on the PopupWindow is INPUT_METHOD_NOT_NEEDED)
 then we should hide the dialog entirely rather than closing the
 keyboard.

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

14 years agoMerge change 8773 into donut
Android (Google) Code Review [Tue, 28 Jul 2009 14:19:26 +0000 (07:19 -0700)]
Merge change 8773 into donut

* changes:
  Only dismiss search on suggestion click in in-app search

14 years agoOnly dismiss search on suggestion click in in-app search
Bjorn Bringert [Tue, 28 Jul 2009 14:15:26 +0000 (15:15 +0100)]
Only dismiss search on suggestion click in in-app search

We now distinguish between in-app search (pivoted in from GlobalSearch)
and real in-app search mode. Only the latter dismisses the search
dialog when a suggestion is clicked. Also, the drop-down
is now always visible except in real in-app search mode.

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

14 years agoSupport x509-user-cert mime type in browser.
Chung-yih Wang [Tue, 28 Jul 2009 10:37:13 +0000 (18:37 +0800)]
Support x509-user-cert mime type in browser.

+ Fix the public key matching and intent parameter mismatch.

14 years agoForgot to convert the jstring to char* in certificate request.
Chung-yih Wang [Tue, 28 Jul 2009 07:15:51 +0000 (15:15 +0800)]
Forgot to convert the jstring to char* in certificate request.

14 years agoUpdates from API review.
Dianne Hackborn [Tue, 28 Jul 2009 07:13:47 +0000 (00:13 -0700)]
Updates from API review.

    * AccessibilityService -- document onBind() to not be implemented.
    * GestureLibrary.getLearner() -- needs to be hidden.
    * IntentSender -- remove protected constructors, document that it is retrieved from a PendingIntent.
    * Hide permissions: SHUTDOWN, STOP_APP_SWITCHES.
    * Context -- hide BACKUP_SERVICE.
    * ContextWrapper -- hide getSharedPrefs bla h blah
    * Intent.parseUri() -- fix docs.
    * ApplicationInfo.FLAG_TEST_ONLY?!?
    * Hide MockContext.getSharedPrefs blah blah

14 years agoMerge change 8740 into donut
Android (Google) Code Review [Tue, 28 Jul 2009 05:15:35 +0000 (22:15 -0700)]
Merge change 8740 into donut

* changes:
  Fix issue #1991230: DisplayMetrics.displayHeight is not updated with orientation change

14 years agoFix issue #2015611: layering problem when moving an activity to the foreground.
Dianne Hackborn [Tue, 28 Jul 2009 04:51:05 +0000 (21:51 -0700)]
Fix issue #2015611: layering problem when moving an activity to the foreground.

"surface of singleTop acitivy is not added at the top, causing the activity is resumed
behind the top activity."

14 years agoFix issue #1991230: DisplayMetrics.displayHeight is not updated with orientation...
Dianne Hackborn [Tue, 28 Jul 2009 03:48:50 +0000 (20:48 -0700)]
Fix issue #1991230: DisplayMetrics.displayHeight is not updated with orientation change

14 years agoMerge change 8620 into donut
Android (Google) Code Review [Tue, 28 Jul 2009 02:46:35 +0000 (19:46 -0700)]
Merge change 8620 into donut

* changes:
  Fix swapped gsm/cdma function dispatch, and 7bit text fragmentation.

14 years agoMerge change 8678 into donut
Android (Google) Code Review [Mon, 27 Jul 2009 22:08:03 +0000 (15:08 -0700)]
Merge change 8678 into donut

* changes:
  Fixing bug #2008185 - problem with the TTS dropping utterances under heavy load was caused by the speech queue being locked. Switched to using a timeout with tryLock so that the TTS service does not give up immediately.

14 years agoMerge change 8682 into donut
Android (Google) Code Review [Mon, 27 Jul 2009 21:31:33 +0000 (14:31 -0700)]
Merge change 8682 into donut

* changes:
  New small rating stars from the UI designers.

14 years agoFixing bug #2008185 - problem with the TTS dropping
Charles Chen [Mon, 27 Jul 2009 20:43:08 +0000 (13:43 -0700)]
Fixing bug #2008185 - problem with the TTS dropping
utterances under heavy load was caused by the speech
queue being locked. Switched to using a timeout with
tryLock so that the TTS service does not give up
immediately.

14 years agoNew small rating stars from the UI designers.
Ilya Firman [Mon, 27 Jul 2009 21:00:53 +0000 (14:00 -0700)]
New small rating stars from the UI designers.

14 years agoMerge change 8677 into donut
Android (Google) Code Review [Mon, 27 Jul 2009 20:55:18 +0000 (13:55 -0700)]
Merge change 8677 into donut

* changes:
  DO NOT MERGE.

14 years agoDO NOT MERGE.
Grace Kloba [Mon, 27 Jul 2009 20:44:47 +0000 (13:44 -0700)]
DO NOT MERGE.

Per product team request, remove 1x zoom button. Move the zoom overview to
the bottom left and zoom control to the bottom right.

14 years agoMerge change 8616 into donut
Android (Google) Code Review [Mon, 27 Jul 2009 19:03:36 +0000 (12:03 -0700)]
Merge change 8616 into donut

* changes:
  Fiddle with default densities to try to sanitize the API.

14 years agoMerge change 8648 into donut
Android (Google) Code Review [Mon, 27 Jul 2009 17:49:07 +0000 (10:49 -0700)]
Merge change 8648 into donut

* changes:
  Use the old string for bookmarks permissions.

14 years agoDPAD_DOWN moves from search/voice search key to drop-down
Bjorn Bringert [Mon, 27 Jul 2009 16:10:46 +0000 (17:10 +0100)]
DPAD_DOWN moves from search/voice search key to drop-down

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

14 years agoUse the old string for bookmarks permissions.
Leon Scroggins [Mon, 27 Jul 2009 15:10:28 +0000 (11:10 -0400)]
Use the old string for bookmarks permissions.

When we made the bookmark permissions public, we also changed their
names, which might break existing apps.  Change them back.  Depends
on a change in packages/apps/Browser

14 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

14 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

14 years agoFix swapped gsm/cdma function dispatch, and 7bit text fragmentation.
Tammo Spalink [Mon, 27 Jul 2009 07:45:38 +0000 (15:45 +0800)]
Fix swapped gsm/cdma function dispatch, and 7bit text fragmentation.

14 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

14 years agoFiddle with default densities to try to sanitize the API.
Dianne Hackborn [Mon, 27 Jul 2009 00:42:30 +0000 (17:42 -0700)]
Fiddle with default densities to try to sanitize the API.

An issue with the density API is that bitmaps assumed the old default density,
so new programs would have to explicitly set the correct density for every bitmap
they create.

This is an attempt to fix that situation, by define the default density of bitmaps
to be the main screen's density, except for old apps where it is the original default
density.

Actually implementing this is not so great, though, because the Bitmap constructors
can't really know anything about who is calling them to know which density to use.
So at this level the compatibility mode is defined per-process -- meaning the initial
package loaded into a process defines the default bitmap density, and everyone else
loaded in later on has to live with that.

In practice this shouldn't be much of a problem, there shouldn't be much mixing of
old vs. new apps in a process.  It does mean that, going forward, if a developer is
going to use shared user IDs for this, they will need to make sure either that all of
their apps are in the same compatibility mode, or that their code explicitly sets the
density of bitmaps it receives.  This isn't all that great, but I think it is worth
the benefit of allowing people who write modern apps to not have to deal with bitmap
densities.

This change also does some cleanup of the density management (making sure to always
copy over bitmap densities, etc) and adds java docs to explain the various ways
density is set and used by the system.

14 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.

14 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

14 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

14 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

14 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

14 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

14 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

14 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'

14 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'

14 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'

14 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'

14 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'

14 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'

14 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'

14 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.

14 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.

14 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.

14 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

14 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

14 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

14 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

14 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

14 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'

14 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'

14 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'

14 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'

14 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'

14 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'

14 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'

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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

14 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.

14 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.

14 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)

14 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)

14 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.

14 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.

14 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.