OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge change I7082e366 into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 23:42:31 +0000 (15:42 -0800)]
Merge change I7082e366 into eclair

* changes:
  Properly implement Paint.breakText for layoutlib.

14 years agoMerge change I0e419fcf into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 23:17:59 +0000 (15:17 -0800)]
Merge change I0e419fcf into eclair

* changes:
  Add isScreenOn() to LocalPowerManager interface so we can call it from PhoneWindowManager

14 years agoMerge change I98f82b9a into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 22:51:00 +0000 (14:51 -0800)]
Merge change I98f82b9a into eclair

* changes:
  Fix the full-weekday date format strings to actually use the full weekday.

14 years agoAdd isScreenOn() to LocalPowerManager interface so we can call it from PhoneWindowManager
Mike Lockwood [Fri, 13 Nov 2009 22:40:38 +0000 (17:40 -0500)]
Add isScreenOn() to LocalPowerManager interface so we can call it from PhoneWindowManager

Needed for the fix for b/2260437 (device wakes itself back up when camera is last application running)

Change-Id: I0e419fcf05542df203eb3f127dde7a888416e86d
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoProperly implement Paint.breakText for layoutlib.
Xavier Ducrohet [Fri, 13 Nov 2009 22:10:20 +0000 (14:10 -0800)]
Properly implement Paint.breakText for layoutlib.

BUG 2260400

Change-Id: I7082e366b65da0b5de2a6dbb547f66e05e0b78e0

14 years agoFix the full-weekday date format strings to actually use the full weekday.
Eric Fischer [Fri, 13 Nov 2009 19:08:36 +0000 (11:08 -0800)]
Fix the full-weekday date format strings to actually use the full weekday.

Also fix the abbreviated weekday/month/day/year strings to use a 4-digit year.

Approver: jerryw

14 years agoMerge change I4898b145 into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 21:39:01 +0000 (13:39 -0800)]
Merge change I4898b145 into eclair

* changes:
  Removed the fixed height in the sim unlock screen's header.

14 years agoMerge change I4c05ba1f into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 20:06:29 +0000 (12:06 -0800)]
Merge change I4c05ba1f into eclair

* changes:
  Update VCardComposer getOwnerPhoneNumberVcard() to support empty vcard for 0.vcf

14 years agoMerge change I322b6ee7 into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 19:01:57 +0000 (11:01 -0800)]
Merge change I322b6ee7 into eclair

* changes:
  Add support for making a LiveWallpaper the default

14 years agoUpdate VCardComposer getOwnerPhoneNumberVcard() to support empty vcard for 0.vcf
Jaikumar Ganesh [Fri, 13 Nov 2009 19:01:25 +0000 (11:01 -0800)]
Update VCardComposer getOwnerPhoneNumberVcard() to support empty vcard for 0.vcf

Add check in getOwnerPhoneNumberVcard(). If the incoming phonenumber is empty,
do not add "TEL" to vcard data.

Original Change by: Yue Lixin
DrNo: Eastham
Bug: 2247067

14 years agoA little more on #2256270: Package manager sends bad broadcasts when components change
Dianne Hackborn [Thu, 12 Nov 2009 20:55:51 +0000 (12:55 -0800)]
A little more on #2256270: Package manager sends bad broadcasts when components change

Don't go through all this work if the enabled state hasn't changed.

Change-Id: If7393f53d6c0d0770960bb37bcaa5adebdbb3099

14 years agoam dbc7e27e: docs: document the \'showSearchIconAsBadge" flag and "icon" attribute...
Scott Main [Fri, 13 Nov 2009 18:45:32 +0000 (10:45 -0800)]
am dbc7e27e: docs: document the \'showSearchIconAsBadge" flag and "icon" attribute as deprecated. bug 2105329

Merge commit 'dbc7e27ef10349f11ac940d59ff4f812319fce51' into eclair

* commit 'dbc7e27ef10349f11ac940d59ff4f812319fce51':
  docs: document the 'showSearchIconAsBadge" flag and

14 years agoMerge change Ifb28d340 into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 18:13:42 +0000 (10:13 -0800)]
Merge change Ifb28d340 into eclair

* changes:
  Import revised translations.  DO NOT MERGE

14 years agoAdd support for making a LiveWallpaper the default
Mike Cleron [Thu, 12 Nov 2009 15:45:47 +0000 (07:45 -0800)]
Add support for making a LiveWallpaper the default

14 years agoMerge change Iad79689a into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 06:53:28 +0000 (22:53 -0800)]
Merge change Iad79689a into eclair

* changes:
  Improvements for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes

14 years agoMerge change I923d7d72 into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 06:45:50 +0000 (22:45 -0800)]
Merge change I923d7d72 into eclair

* changes:
  Fix issue 2242614: Wired headset not recognized: bogus "state" in ACTION_HEADSET_PLUG broadcast.

14 years agoMerge change Ia0a40883 into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 05:29:13 +0000 (21:29 -0800)]
Merge change Ia0a40883 into eclair

* changes:
  Modify the binder to request 1M - 2 pages instead of 1M.  The backing store in the kernel requires a guard page, so 1M allocations fragment memory very badly.  Subtracting a couple of pages so that they fit in a power of two allows the kernel to make more efficient use of its virtual address space.

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Fri, 13 Nov 2009 03:45:43 +0000 (19:45 -0800)]
Import revised translations.  DO NOT MERGE

Approver: jerryw

14 years agoMerge change I8061e6ac into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 02:51:35 +0000 (18:51 -0800)]
Merge change I8061e6ac into eclair

* changes:
  Fix 2209086: Updated assets and fixed widget dimension calculation.

14 years agoFix 2209086: Updated assets and fixed widget dimension calculation.
Jim Miller [Fri, 13 Nov 2009 01:45:07 +0000 (17:45 -0800)]
Fix 2209086: Updated assets and fixed widget dimension calculation.

Added hvga assets for new lock screen widget.

Tested:
LockScreen on wvga and hvga devices.
InCallScreen on wvga and hvga devices.

14 years agoMerge change I42a0f7a5 into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 01:51:26 +0000 (17:51 -0800)]
Merge change I42a0f7a5 into eclair

* changes:
  PackageManager: Support secondary ABI for native code at installation time.

14 years agoFix issue #2258571: Fix build versions
Dianne Hackborn [Fri, 13 Nov 2009 00:11:36 +0000 (16:11 -0800)]
Fix issue #2258571: Fix build versions

Update the definition of SDK 6, remove all new APIs from it.

Change-Id: Id96827f630ab46279d9ad8d3f7498e5515e0a688

14 years agoModify the binder to request 1M - 2 pages instead of 1M. The backing store
Rebecca Schultz Zavin [Sat, 31 Oct 2009 01:39:55 +0000 (18:39 -0700)]
Modify the binder to request 1M - 2 pages instead of 1M.  The backing store
in the kernel requires a guard page, so 1M allocations fragment memory very
badly.  Subtracting a couple of pages so that they fit in a power of
two allows the kernel to make more efficient use of its virtual address space.

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
14 years agoMerge change Ieb4b0318 into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 00:29:26 +0000 (16:29 -0800)]
Merge change Ieb4b0318 into eclair

* changes:
  Make default vertex program correctly track surface size.

14 years agoRemoved the fixed height in the sim unlock screen's header.
Nicolas Catania [Fri, 13 Nov 2009 00:18:33 +0000 (16:18 -0800)]
Removed the fixed height in the sim unlock screen's header.

Use wrap content and set the textview for the explaination
to 2 lines.
Fixed the bug on passion.
G1 is too unstable to test.

Bug:2251298

14 years agoMerge change Idfc116fe into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 00:10:10 +0000 (16:10 -0800)]
Merge change Idfc116fe into eclair

* changes:
  Return null if SIM doesn't have the MSISDN Aplha tag.

14 years agoMake default vertex program correctly track surface size.
Jason Sams [Fri, 13 Nov 2009 00:09:45 +0000 (16:09 -0800)]
Make default vertex program correctly track surface size.

14 years agoPackageManager: Support secondary ABI for native code at installation time.
David 'Digit' Turner [Sat, 7 Nov 2009 01:54:12 +0000 (17:54 -0800)]
PackageManager: Support secondary ABI for native code at installation time.

The goal of this change is to allow the Package Manager to look for native
shared libraries corresponding to the CPU ABI reported by ro.product.cpu.abi2
if none was found for the CPU ABI given by ro.product.cpu.abi

This is used to support both ARMv5 and ARMv7 native code on modern ARMv7-based
devices. Typically, such a device would report a primary ABI of 'armeabi-v7a'
and a secondary one of 'armeabi', to indicate that it can run the binaries
generated for both.

14 years agoMerge change Icf335098 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 23:36:27 +0000 (15:36 -0800)]
Merge change Icf335098 into eclair

* changes:
  fix [2236865] STOPSHIP: bump soft gl and egl minor version number

14 years agoMerge change I81b1421a into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 23:27:28 +0000 (15:27 -0800)]
Merge change I81b1421a into eclair

* changes:
  Defer EGL init until the surface changed call comes in.  Pass w,h along with surface for verification of driver state.

14 years agofix [2236865] STOPSHIP: bump soft gl and egl minor version number
Mathias Agopian [Thu, 12 Nov 2009 23:19:42 +0000 (15:19 -0800)]
fix [2236865] STOPSHIP: bump soft gl and egl minor version number

14 years agoMerge change Ie122606f into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 23:12:08 +0000 (15:12 -0800)]
Merge change Ie122606f into eclair

* changes:
  Add code to use Gservices provided values for throtting NITZ updates.

14 years agoDefer EGL init until the surface changed call comes in. Pass w,h along with surface...
Jason Sams [Thu, 12 Nov 2009 23:10:25 +0000 (15:10 -0800)]
Defer EGL init until the surface changed call comes in.  Pass w,h along with surface for verification of driver state.

14 years agoMerge change I31c52bef into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 21:37:30 +0000 (13:37 -0800)]
Merge change I31c52bef into eclair

* changes:
  Revert change incorrectly submitted as part of change #32153.

14 years agoReturn null if SIM doesn't have the MSISDN Aplha tag.
Jaikumar Ganesh [Thu, 12 Nov 2009 21:26:32 +0000 (13:26 -0800)]
Return null if SIM doesn't have the MSISDN Aplha tag.

This makes both the GSM and CDMA version compatible.

Bug: 2247067
Dr No: jsh

14 years agoMerge change I90daccf3 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 21:25:36 +0000 (13:25 -0800)]
Merge change I90daccf3 into eclair

* changes:
  fix [2143798] Need to figure out how to do video on Passion w/ GPU

14 years agoMerge change Ic31c11ad into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 21:13:58 +0000 (13:13 -0800)]
Merge change Ic31c11ad into eclair

* changes:
  Fix 2209086: restore drawable states when drawables change.

14 years agoMerge change Id301a47f into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 20:54:43 +0000 (12:54 -0800)]
Merge change Id301a47f into eclair

* changes:
  Fix bug 2253204: MapView resources for hdpi devices.

14 years agoFix bug 2253204: MapView resources for hdpi devices.
Dan Egnor [Thu, 12 Nov 2009 20:24:33 +0000 (12:24 -0800)]
Fix bug 2253204: MapView resources for hdpi devices.

14 years agoFix issue 2242614: Wired headset not recognized: bogus "state" in ACTION_HEADSET_PLUG...
Eric Laurent [Thu, 12 Nov 2009 20:09:06 +0000 (12:09 -0800)]
Fix issue 2242614: Wired headset not recognized: bogus "state" in ACTION_HEADSET_PLUG broadcast.

The headset state indicated by HeadsetObserver in the broadcast intent ACTION_HEADSET_PLUG was not 0 or 1 as specified in the java doc but contained a bit field indicating the type of headset connected.

Modified HeadsetObserver to broacast a state conforming to java doc.
Added an extra to intent ACTION_HEADSET_PLUG to indicate if headset has a microphone or not.
Removed handling of non standard headset indications from HeadsetObserver.
Removed platform specific devices from output devices defined in AudioSystem.
Modified AudioService to use new ACTION_HEADSET_PLUG intent extra instead of bitfield in state.

14 years agoFix 2209086: restore drawable states when drawables change.
Jim Miller [Thu, 12 Nov 2009 11:39:14 +0000 (03:39 -0800)]
Fix 2209086: restore drawable states when drawables change.

This fixes a bug where the right tab hightlight wasn't being seen.
The prooblem was that we weren't preserving the drawables' states when
the application requested a new drawable. We now track the drawable state
so we can updated it when the resources change.

14 years agoMerge change I54089080 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 18:34:32 +0000 (10:34 -0800)]
Merge change I54089080 into eclair

* changes:
  Update keyguard and pattern-lock layouts for new UX designs.

14 years agoUse a diff that ignores trailing whitespaces to get by some layout test failures.
Guang Zhu [Thu, 12 Nov 2009 18:18:14 +0000 (10:18 -0800)]
Use a diff that ignores trailing whitespaces to get by some layout test failures.

14 years agoMerge change I880541a8 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 17:53:09 +0000 (09:53 -0800)]
Merge change I880541a8 into eclair

* changes:
  Delegate the platform dependent hardware renderer implementation to a shared library provided by the vendor.

14 years agoMerge change I5ae73af7 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 17:52:10 +0000 (09:52 -0800)]
Merge change I5ae73af7 into eclair

* changes:
  Don't back up system wallpapers.

14 years agoUpdate keyguard and pattern-lock layouts for new UX designs.
Daniel Sandler [Thu, 12 Nov 2009 06:06:33 +0000 (22:06 -0800)]
Update keyguard and pattern-lock layouts for new UX designs.

To do this, we bring DigitalClock over from Clock into the
internal widgets.  Its font, Clockopia, comes along for the
ride (find it in /system/fonts).

This change is required for relevant code changes in
frameworks/policy/phone.

Change-Id: I354534f1abd9cf9557c9d18566f1d55b6be5e8f1

14 years agoDelegate the platform dependent hardware renderer implementation to a shared library...
Andreas Huber [Thu, 12 Nov 2009 00:33:17 +0000 (16:33 -0800)]
Delegate the platform dependent hardware renderer implementation to a shared library provided by the vendor.

14 years agoMerge change I738ed802 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 07:27:03 +0000 (23:27 -0800)]
Merge change I738ed802 into eclair

* changes:
  Fix BMW and Audi auto pairing lists.

14 years agoFix BMW and Audi auto pairing lists.
Jaikumar Ganesh [Thu, 12 Nov 2009 07:12:04 +0000 (23:12 -0800)]
Fix BMW and Audi auto pairing lists.

Bug no:2256558
Dr No:Eastham

14 years agoMerge change I32371166 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 07:10:06 +0000 (23:10 -0800)]
Merge change I32371166 into eclair

* changes:
  Fix issue #2239203: Setting large background causes OOME and soft-reboot spiral

14 years agoMerge change I9890c2d4 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 07:04:47 +0000 (23:04 -0800)]
Merge change I9890c2d4 into eclair

* changes:
  Fix 2209086: Fix landscape layout of LockScreen on devices with a keyboard

14 years agoFix issue #2239203: Setting large background causes OOME and soft-reboot spiral
Dianne Hackborn [Thu, 12 Nov 2009 06:50:37 +0000 (22:50 -0800)]
Fix issue #2239203: Setting large background causes OOME and soft-reboot spiral

Try really really hard not to crash, for any reason.

Change-Id: I32371166229825f13fc8d12d5cf3a6531cdb345e

14 years agoMerge change I143ea844 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 06:46:49 +0000 (22:46 -0800)]
Merge change I143ea844 into eclair

* changes:
  Add BMW and Audi to Auto Pairing black list.

14 years agoAdd BMW and Audi to Auto Pairing black list.
Jaikumar Ganesh [Thu, 12 Nov 2009 06:27:49 +0000 (22:27 -0800)]
Add BMW and Audi to Auto Pairing black list.

Bug: 2256558
Dr No: Eastham

14 years agoFix 2209086: Fix landscape layout of LockScreen on devices with a keyboard
Jim Miller [Thu, 12 Nov 2009 06:38:16 +0000 (22:38 -0800)]
Fix 2209086: Fix landscape layout of LockScreen on devices with a keyboard

14 years agoDon't back up system wallpapers.
Dan Egnor [Thu, 12 Nov 2009 01:00:06 +0000 (17:00 -0800)]
Don't back up system wallpapers.

14 years agoMerge change I580de484 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 04:18:44 +0000 (20:18 -0800)]
Merge change I580de484 into eclair

* changes:
  Fix issue #2256270: Package manager sends bad broadcasts when components change

14 years agoFix issue #2256270: Package manager sends bad broadcasts when components change
Dianne Hackborn [Thu, 12 Nov 2009 04:12:41 +0000 (20:12 -0800)]
Fix issue #2256270: Package manager sends bad broadcasts when components change

Also reworks this intent protocol a little bit to be much more efficient, only
requiring one broadcast per package.

Change-Id: I580de4843ebd3c7f2e6df7295a2f80d2937cef7c

14 years agoMerge change I3656f7a3 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 04:11:25 +0000 (20:11 -0800)]
Merge change I3656f7a3 into eclair

* changes:
  Honor the mInitialScale set on WebView. This was lost when we fixed restoring the scale for a new page.

14 years agoHonor the mInitialScale set on WebView. This was
Grace Kloba [Tue, 10 Nov 2009 23:49:03 +0000 (15:49 -0800)]
Honor the mInitialScale set on WebView. This was
lost when we fixed restoring the scale for a new
page.

Fix http://b/issue?id=2251716

14 years agoMerge change Idc34a3f7 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 04:11:13 +0000 (20:11 -0800)]
Merge change Idc34a3f7 into eclair

* changes:
  Fix 2209086: add drawables for SlidingTab states in PhoneApp. Update string file for new SlidingTab sound states. Tweak "animation" to be 250ms based on conversation with ui guys. Some minor performance tweaks to SlidingTab.

14 years agoMerge change I80022375 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 03:09:56 +0000 (19:09 -0800)]
Merge change I80022375 into eclair

* changes:
  Fix issue #2256032: Change CONFIGURATION_CHANGED and add a locale changed broadcast

14 years agoMerge change Icccbd889 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 02:52:07 +0000 (18:52 -0800)]
Merge change Icccbd889 into eclair

* changes:
  Fix broken handling of the BACK key in PopupWindow. Needed by Launcher2.

14 years agoFix broken handling of the BACK key in PopupWindow. Needed by Launcher2.
Romain Guy [Thu, 12 Nov 2009 02:51:18 +0000 (18:51 -0800)]
Fix broken handling of the BACK key in PopupWindow. Needed by Launcher2.

Change-Id: Icccbd8897186d0b9348a40b3dfc19ab7ac389efd

14 years agoMerge change Ifcf20541 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 02:49:55 +0000 (18:49 -0800)]
Merge change Ifcf20541 into eclair

* changes:
  New Javadoc for ContactsContract.

14 years agoNew Javadoc for ContactsContract.
Dmitri Plotnikov [Thu, 12 Nov 2009 02:48:19 +0000 (18:48 -0800)]
New Javadoc for ContactsContract.

Change-Id: Ifcf20541fda7449f1954f2021c53be3eb672e7ee

14 years agoFix issue #2256032: Change CONFIGURATION_CHANGED and add a locale changed broadcast
Dianne Hackborn [Thu, 12 Nov 2009 02:04:39 +0000 (18:04 -0800)]
Fix issue #2256032: Change CONFIGURATION_CHANGED and add a locale changed broadcast

You can no longer receive CONFIGURATION_CHANGED in a manifest, which is really really
bad (launching apps every time the screen is rotated!).  A new LOCALE_CHANGED broadcast
is sent that you can receive in a manifest.

Change-Id: I80022375f0716db2e672382a29db3cea1af74702

14 years agoMerge change I775e1ec0 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 02:16:05 +0000 (18:16 -0800)]
Merge change I775e1ec0 into eclair

* changes:
  Debugging for issue #2250075: Desk dock clock app sometimes doesn't

14 years agoMerge change I7fb3bc59 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 02:05:12 +0000 (18:05 -0800)]
Merge change I7fb3bc59 into eclair

* changes:
  Add new date formats for the lock screen.

14 years agoFix 2209086: add drawables for SlidingTab states in PhoneApp. Update string file...
Jim Miller [Thu, 12 Nov 2009 01:53:53 +0000 (17:53 -0800)]
Fix 2209086: add drawables for SlidingTab states in PhoneApp. Update string file for new SlidingTab sound states.
Tweak "animation" to be 250ms based on conversation with ui guys. Some minor performance tweaks to SlidingTab.

14 years agoDebugging for issue #2250075: Desk dock clock app sometimes doesn't
Dianne Hackborn [Thu, 12 Nov 2009 01:39:50 +0000 (17:39 -0800)]
Debugging for issue #2250075: Desk dock clock app sometimes doesn't

This adds a history of the last 100 broadcasts that is printed in the
debug log, to be able to see what recently happened at the time the
bug report was taken.  Also does some optimization of the printing of
the broadcast records to make it feasible to print this number of
entries.  (We kind-of need to do this because there are some broadcasts
like SIG_STR and SYNC_STATE_CHANGED that are being broadcast a LOT.)

Change-Id: I775e1ec0f63369c8bca8c83cee27b95ddc5ec450

14 years agoAdd new date formats for the lock screen.
Eric Fischer [Thu, 12 Nov 2009 01:46:56 +0000 (17:46 -0800)]
Add new date formats for the lock screen.

One is the fully-spelled out weekday/day/month with no year.
The other is abbreviated weekday/month/day/year.

Bug 2247356

Approver: jerryw

14 years agofix [2143798] Need to figure out how to do video on Passion w/ GPU
Mathias Agopian [Fri, 6 Nov 2009 07:08:00 +0000 (23:08 -0800)]
fix [2143798] Need to figure out how to do video on Passion w/ GPU

This builds on the EGLImage solution. We simply use copybit to convert from the
YUV frame into an EGLImage created for that purpose and proceed with the
regular EGLImage code.
We need to do this because "regular" GL doesn't support YUV textures.

We could improve upon this by detecting exacly what the GL supports and bypass
this extra step if not required, but we'll do this later if needed.

14 years agoAdd code to use Gservices provided values for throtting NITZ updates.
Wink Saville [Thu, 12 Nov 2009 00:26:16 +0000 (16:26 -0800)]
Add code to use Gservices provided values for throtting NITZ updates.

bug: 2251845
Change-Id: Ie122606fb852868bb76a9930bb5e6ba906273619

14 years agoMerge change I5975651f into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 23:37:37 +0000 (15:37 -0800)]
Merge change I5975651f into eclair

* changes:
  Don't feed the timezone to RenderScript time functions, let the library figure it out.

14 years agoMerge change I7b8b6cfb into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 23:36:18 +0000 (15:36 -0800)]
Merge change I7b8b6cfb into eclair

* changes:
  Do not force screen on when undocking from the desk dock.

14 years agoDon't feed the timezone to RenderScript time functions, let the library figure it...
Romain Guy [Wed, 11 Nov 2009 23:36:06 +0000 (15:36 -0800)]
Don't feed the timezone to RenderScript time functions, let the library figure it out.

Bug #2211070.

Change-Id: I5975651fd12399fb8dfe283dfdfaa17569738c7b

14 years agoMerge change Icc48b1e7 into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 23:15:55 +0000 (15:15 -0800)]
Merge change Icc48b1e7 into eclair

* changes:
  don't request a sync when temp providers are created

14 years agoDo not force screen on when undocking from the desk dock.
Mike Lockwood [Wed, 11 Nov 2009 23:09:25 +0000 (18:09 -0500)]
Do not force screen on when undocking from the desk dock.

The fact that the phone is losing power will do this anyway,
and this fixes (or works around) bug b/2250075
(Desk dock clock app sometimes doesn't exit when removing a sleeping droid from the dock)

Change-Id: I7b8b6cfb44ca16d2d9eb67589cb9d9a108a8de82
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agodon't request a sync when temp providers are created
Fred Quintana [Wed, 11 Nov 2009 23:05:10 +0000 (15:05 -0800)]
don't request a sync when temp providers are created

14 years agoUse getViewHeightWithTitle() to honor the scrollbar
Grace Kloba [Tue, 10 Nov 2009 23:34:34 +0000 (15:34 -0800)]
Use getViewHeightWithTitle() to honor the scrollbar
setting when computing the maxScrollY for fling.
This is honored in the regular scroll in
computeVerticalScrollExtent().

Fix http://b/issue?id=2251694

14 years agoUse computeVerticalScrollRange() to find the bottom
Grace Kloba [Tue, 10 Nov 2009 22:11:33 +0000 (14:11 -0800)]
Use computeVerticalScrollRange() to find the bottom
of the page as mContentHeight is not in the view system.

Fix http://b/issue?id=2251909

14 years agoMerge change Ibb245ea7 into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 22:34:05 +0000 (14:34 -0800)]
Merge change Ibb245ea7 into eclair

* changes:
  Return an empty PluginList instead of null for the deprecated getPluginList() api.

14 years agodocs: document the 'showSearchIconAsBadge" flag and
Scott Main [Wed, 11 Nov 2009 18:45:04 +0000 (10:45 -0800)]
docs: document the 'showSearchIconAsBadge" flag and
"icon" attribute as deprecated.
bug 2105329

14 years agoMerge change Ia895aa7d into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 22:02:00 +0000 (14:02 -0800)]
Merge change Ia895aa7d into eclair

* changes:
  Fix for 2209086:  Initial pass at new SlidingTab widget and integration into LockScreen.

14 years agoMerge change I326c1f7e into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 20:46:22 +0000 (12:46 -0800)]
Merge change I326c1f7e into eclair

* changes:
  Throttle nitz updates as the are too numerous on cdma.

14 years agoImprovements for issue 2197683: English IME key-press latency is noticeably higher...
Eric Laurent [Tue, 10 Nov 2009 07:32:22 +0000 (23:32 -0800)]
Improvements for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes

This change goes with a kernel driver change that reduces the audio buffer size from 4800 bytes (~27ms) to 3072 bytes (~17ms).
- The AudioFlinger modifcations in change 0bca68cfff161abbc992fec82dc7c88079dd1a36 have been removed: the short sleep period was counter productive when the AudioTrack is using the call back thread as it causes to many preemptions.
- AudioFlinger mixer thread now detects long standby exit time and in this case anticipates start by writing 0s as soon as a track is enabled even if not ready for mixing.
- AudioTrack::start() is modified to start call back thread before starting the IAudioTrack so that thread startup time is masked by IAudioTrack start and mixer thread wakeup time.

14 years agoThrottle nitz updates as the are too numerous on cdma.
Wink Saville [Wed, 11 Nov 2009 19:55:38 +0000 (11:55 -0800)]
Throttle nitz updates as the are too numerous on cdma.

bug: 2251845
Change-Id: I326c1f7e28d19b678ea748e36f8286dd1378cecf

14 years agoMerge change Ia629e0f8 into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 19:53:06 +0000 (11:53 -0800)]
Merge change Ia629e0f8 into eclair

* changes:
  Make multipart message follow 3GPP TS 23.040 V9.0.0 (2009-06), section 9.2.3.24.1 : all the parts should have the same encoding.

14 years agoFix for 2209086: Initial pass at new SlidingTab widget and integration into LockScreen.
Jim Miller [Wed, 11 Nov 2009 05:37:45 +0000 (21:37 -0800)]
Fix for 2209086:  Initial pass at new SlidingTab widget and integration into LockScreen.

Tested:
- unlock and mute/unmute

Not working:
    - highlighting on right tab.

14 years agoMake multipart message follow 3GPP TS 23.040 V9.0.0 (2009-06), section 9.2.3.24.1 :
Gilles Duboscq [Sat, 24 Oct 2009 20:47:02 +0000 (22:47 +0200)]
Make multipart message follow 3GPP TS 23.040 V9.0.0 (2009-06), section 9.2.3.24.1 :
all the parts should have the same encoding.

Fixes b/2040561

14 years agoMerge change Idf7fafd3 into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 18:54:58 +0000 (10:54 -0800)]
Merge change Idf7fafd3 into eclair

* changes:
  Fix issue #2248951: Need to turn off touch filtering outside of sholes

14 years agoMerge change I5d30aa18 into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 07:03:57 +0000 (23:03 -0800)]
Merge change I5d30aa18 into eclair

* changes:
  Make vCard parser invalid lines in vCard file which look like some comment. Do not merge.

14 years agoMake vCard exporter check invalid phone numbers and re-format them if needed. Do...
Daisuke Miyakawa [Tue, 10 Nov 2009 12:13:05 +0000 (21:13 +0900)]
Make vCard exporter check invalid phone numbers and re-format them if needed. Do not merge.

This change is based on the change I319bf9ee, but different in that there's no test, since
test framework for vCard code is just in MR2, not in MR1.

Internal issue number: 2246410

Dr.NO: Hiroshi

14 years agoMerge change I05fd0df0 into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 06:29:59 +0000 (22:29 -0800)]
Merge change I05fd0df0 into eclair

* changes:
  Fix potential deadlock in stopPreview/stopRecord.

14 years agoMerge change I4db11d50 into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 06:03:20 +0000 (22:03 -0800)]
Merge change I4db11d50 into eclair

* changes:
  Backport the change I30b141a2 from MR2 to MR1. Do not merge.

14 years agoBackport the change I30b141a2 from MR2 to MR1. Do not merge.
Daisuke Miyakawa [Wed, 11 Nov 2009 01:20:57 +0000 (10:20 +0900)]
Backport the change I30b141a2 from MR2 to MR1. Do not merge.

The previous implementation selected the first ContactValues object even when its name fields are all empty.
This time, vCard composer checks the name fields and skip the object without valid name.
One exception is the object with IS_SUPER_PRIMARY flag. If IS_SUPER_PRIMARY flag is set, the object will be
selected even when the object does not have valid name.

Dr.NO: Hiroshi

Internal issue number: 2252304

14 years agoFix potential deadlock in stopPreview/stopRecord.
Dave Sparks [Wed, 11 Nov 2009 01:08:08 +0000 (17:08 -0800)]
Fix potential deadlock in stopPreview/stopRecord.

Some camera HALs spin up a preview thread and need to wait for
the thread to exit. This can create a potential deadlock. In
stopPreview, we take the main lock. If a preview callback occurs
while the lock is held, the preview thread will block. If the
camera HAL is waiting for the preview thread to exit, this will
cause a deadlock.

This patch breaks out the preview buffer heap into a separate
mutex. This mutex is never held when the main lock is held, thus
preventing the deadlock from occuring.

14 years agoFix issue #2248951: Need to turn off touch filtering outside of sholes
Dianne Hackborn [Wed, 11 Nov 2009 01:06:22 +0000 (17:06 -0800)]
Fix issue #2248951: Need to turn off touch filtering outside of sholes

Yet another configuration!

Change-Id: Idf7fafd338a2bebd4c305c131cd9b7ae4f906a5b

14 years agoMerge change I50986dd4 into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 00:53:43 +0000 (16:53 -0800)]
Merge change I50986dd4 into eclair

* changes:
  Make the RegisteredSErvices Cache not allow the registered service for a type to change without first uninstalling the previous service for that type, unless the newly installed service is in the system image.