OSDN Git Service

android-x86/frameworks-base.git
13 years agoDO NOT MERGE
Nick Pelly [Tue, 1 Feb 2011 07:27:37 +0000 (23:27 -0800)]
DO NOT MERGE

Cherry-pick from GB to HC, updating 11.xml.

Final final final Gingerbread MR API changes.

This is it. I promise.

ACTION_TECHNOLOGY_DISCOVERED -> ACTION_TECH_DISCOVERED
    This was missed in our technology->tech rename.

Hide TagTechnology.reconnect()
    This is used to reset any per-connection state in a tag, by reconnecting
    to it. The first problem is that it belongs on Tag, not TagTechnology. The
    second problem is that it may become redundant once we add Tag.rediscover()
    which will also reconnect to the tag, and will also return a new Tag with
    newly created technologies enumerated. And the third and most significant
    problem is that you can already achieve the same result by just calling
    close() followed by connect().

Hide Tag.createMockTag()
    This API cannot be used reliably. First it requires using int[] for the
    technology list, but those int constants are now hidden. Second it requires
    knowledge of the extras parcel used to fill technology specific data - also
    not public.

Introduce TagTechnology.isConnected()
    Every child class already impelmented this, and given that connect() and
    close() are defined on the interface, then isConnected() should be there
    too.

Modify Ndef.getType to return a string (not int)
    Allows more flexibility in adding new NDEF types. Current public strings are
    org.nfcforum.ndef.type1
    org.nfcforum.ndef.type2
    org.nfcforum.ndef.type3
    org.nfcforum.ndef.type4
    com.nxp.ndef.mifareclassic

Add NdefFormatable.formatReadOnly()
    This allows you to make the tag read-only at the same time as performing
    format and write. It is important because we currently don't have any
    public API to re-enumerate a tag technology list after making a tag
    NDEF compatible, so you can't perform the format as a seperate step
    without physically removing the tag from field and returning it.

Modify Readonly -> ReadOnly

Make Tag class final

Change-Id: Ifa8a17741fcc95776ffdba42f611eadb036aaf2d

13 years agoMerge "Fix for issue 3410895 Transition regeneration not happening after changing...
Dheeraj Sharma [Tue, 1 Feb 2011 17:00:42 +0000 (09:00 -0800)]
Merge "Fix for issue 3410895 Transition regeneration not happening after changing aspect ratio of project" into honeycomb

13 years agoMaking default upload and download arrows more visible
Justin Ho [Tue, 1 Feb 2011 16:41:01 +0000 (08:41 -0800)]
Making default upload and download arrows more visible
Bug: 3399982

Change-Id: I0d614c590deb2b30147ae1e64edf2ef551cc1d40

13 years agoMerge "Updating Froyo framework assets to Holo style Bug: 3362749" into honeycomb
Justin Ho [Tue, 1 Feb 2011 15:28:04 +0000 (07:28 -0800)]
Merge "Updating Froyo framework assets to Holo style Bug: 3362749" into honeycomb

13 years agoUpdating Froyo framework assets to Holo style
Justin Ho [Tue, 1 Feb 2011 15:24:26 +0000 (07:24 -0800)]
Updating Froyo framework assets to Holo style
Bug: 3362749

Change-Id: Ibd2042f1dad4ba3fdc96944a2af93b44df1bc839

13 years agoFix for bug 3407633 Cookie not set in CookieManager - DO NOT MERGE
Kristian Monsen [Tue, 1 Feb 2011 15:12:31 +0000 (15:12 +0000)]
Fix for bug 3407633 Cookie not set in CookieManager - DO NOT MERGE

Setting http:// at the start if there is no :// in the url

Change-Id: Idfae4f724808267fe9c8ab3864cfc4305ddac0e7

13 years agoSmoother scrolling by preparing offscreen tiles (credit: Ben Murdoch)
Dave Burke [Tue, 1 Feb 2011 12:57:54 +0000 (12:57 +0000)]
Smoother scrolling by preparing offscreen tiles (credit: Ben Murdoch)

Change-Id: If8f6aa38174e742e869bce7144de8db84b2f7150

13 years agoFix for issue 3410895 Transition regeneration not happening after changing aspect...
Dheeraj Sharma [Tue, 1 Feb 2011 08:28:55 +0000 (00:28 -0800)]
Fix for issue 3410895 Transition regeneration not happening after changing aspect ratio of project

Change-Id: Ice53fb284e029b1d22093048e8343f9ce8d853dd

13 years agoMerge "Remove MeasuredText debug messages" into honeycomb
Mike Cleron [Tue, 1 Feb 2011 07:22:36 +0000 (23:22 -0800)]
Merge "Remove MeasuredText debug messages" into honeycomb

13 years agoMerge "Enable subclass of SeekBarVolumizer to provide a custom file for sample playba...
Justin Ho [Tue, 1 Feb 2011 07:20:24 +0000 (23:20 -0800)]
Merge "Enable subclass of SeekBarVolumizer to provide a custom file for sample playback." into honeycomb

13 years agoMerge "Updated notification and effects for Honeycomb Bug: 3389139" into honeycomb
Justin Ho [Tue, 1 Feb 2011 07:16:58 +0000 (23:16 -0800)]
Merge "Updated notification and effects for Honeycomb Bug: 3389139" into honeycomb

13 years agoUpdated notification and effects for Honeycomb
Justin Ho [Mon, 31 Jan 2011 23:36:45 +0000 (15:36 -0800)]
Updated notification and effects for Honeycomb
Bug: 3389139

Change-Id: Ia23748568619bd48d13260e443e2fcd333cde3fc

13 years agoMerge "When the data flows, the icon glows." into honeycomb
Joe Onorato [Tue, 1 Feb 2011 06:16:02 +0000 (22:16 -0800)]
Merge "When the data flows, the icon glows." into honeycomb

13 years agoMerge "Fix for issue 3409874:Crash during addition of pan and zoom effect if start...
Dheeraj Sharma [Tue, 1 Feb 2011 06:06:10 +0000 (22:06 -0800)]
Merge "Fix for issue 3409874:Crash during addition of pan and zoom effect if start and end rect are unchanged" into honeycomb

13 years agoMerge "Don't convert 4444 images to 565. Bug #3327175" into honeycomb
Romain Guy [Tue, 1 Feb 2011 06:05:34 +0000 (22:05 -0800)]
Merge "Don't convert 4444 images to 565. Bug #3327175" into honeycomb

13 years agoDon't convert 4444 images to 565.
Romain Guy [Tue, 1 Feb 2011 06:05:58 +0000 (22:05 -0800)]
Don't convert 4444 images to 565.
Bug #3327175

Change-Id: I46d970e41947278f4c2476b347fd2403fe9a05e8

13 years agoFix for issue 3409874:Crash during addition of pan and zoom effect if start and end...
Dheeraj Sharma [Tue, 1 Feb 2011 01:14:55 +0000 (17:14 -0800)]
Fix for issue 3409874:Crash during addition of pan and zoom effect if start and end rect are unchanged

Change-Id: Iddd1b9b2c430439c4bef4f1cf20fb166ac572d60

13 years agoMerge "Fix bug 3410400 - Holo rating bar assets" into honeycomb
Justin Ho [Tue, 1 Feb 2011 04:59:46 +0000 (20:59 -0800)]
Merge "Fix bug 3410400 - Holo rating bar assets" into honeycomb

13 years agoWhen the data flows, the icon glows.
Joe Onorato [Tue, 1 Feb 2011 04:28:59 +0000 (20:28 -0800)]
When the data flows, the icon glows.

Bug: 3354414
Change-Id: I1734c8f63d02731d7194364ce7cb692d6de820ac

13 years agoEnable subclass of SeekBarVolumizer to provide a custom file for sample playback.
Amith Yamasani [Tue, 1 Feb 2011 04:28:03 +0000 (20:28 -0800)]
Enable subclass of SeekBarVolumizer to provide a custom file for sample playback.

Bug: 3409194
Change-Id: I8a408a69fd14cf9058afe01ac5c46d0f5afc1503

13 years agoMerge "Show the encryption boot animation." into honeycomb
Jason parks [Tue, 1 Feb 2011 03:48:24 +0000 (19:48 -0800)]
Merge "Show the encryption boot animation." into honeycomb

13 years agoFix bug 3410400 - Holo rating bar assets
Adam Powell [Tue, 1 Feb 2011 03:33:46 +0000 (19:33 -0800)]
Fix bug 3410400 - Holo rating bar assets

Change-Id: I107f7d3eea2f82ee49a906b0409f01afe78e69b9

13 years agoMerge "Fix invalidation issue with actionbar items" into honeycomb
Chet Haase [Tue, 1 Feb 2011 03:08:28 +0000 (19:08 -0800)]
Merge "Fix invalidation issue with actionbar items" into honeycomb

13 years agoMerge "Fix issue 3408285. Fix issue in Thread safe in Java." into honeycomb
Dharmaray Kundargi [Tue, 1 Feb 2011 03:01:13 +0000 (19:01 -0800)]
Merge "Fix issue 3408285. Fix issue in Thread safe in Java." into honeycomb

13 years agoFix invalidation issue with actionbar items
Chet Haase [Tue, 1 Feb 2011 02:52:12 +0000 (18:52 -0800)]
Fix invalidation issue with actionbar items

When a view hierarchy becomes VISIBLE, it is possible that the display
list of some of the subtrees needs to be recreated. In particular, if
the subtree was measured while it was GONE, then the children probably
didn't have a valid size. If a display list is created for any of the
subnodes in the tree during this time, then they may have clipped the
children out.

The fix is to force the parent to become INVALIDATED whenever a child
view's bounds change (and it is VISIBLE).

Change-Id: I3624253e65354289f4fb94c9ba76a7e6fb82af9a

13 years agoMerge "Updated notification panel alpha" into honeycomb
Justin Ho [Tue, 1 Feb 2011 02:32:20 +0000 (18:32 -0800)]
Merge "Updated notification panel alpha" into honeycomb

13 years agoUpdated notification panel alpha
Justin Ho [Tue, 1 Feb 2011 02:25:58 +0000 (18:25 -0800)]
Updated notification panel alpha

Change-Id: Id26ce253f3180fe50e7d74c0ee638126b77def0d

13 years agoMerge "Pixel were missing on the last line of text when using MaxLines." into honeycomb
Gilles Debunne [Tue, 1 Feb 2011 02:14:05 +0000 (18:14 -0800)]
Merge "Pixel were missing on the last line of text when using MaxLines." into honeycomb

13 years agoMerge "Update hard keyboard status on closing input methods panel" into honeycomb
Tadashi G. Takaoka [Tue, 1 Feb 2011 02:04:11 +0000 (18:04 -0800)]
Merge "Update hard keyboard status on closing input methods panel" into honeycomb

13 years agoFix issue 3408285. Fix issue in Thread safe in Java.
Dharmaray Kundargi [Tue, 1 Feb 2011 01:54:55 +0000 (17:54 -0800)]
Fix issue 3408285. Fix issue in Thread safe in Java.

Change-Id: Ifddcecfc2d7b1bd3e8a91c4850c169e1fb7c65ae

13 years agoMerge "Fix keyboard hidden flag." into honeycomb
Jeff Brown [Tue, 1 Feb 2011 01:45:56 +0000 (17:45 -0800)]
Merge "Fix keyboard hidden flag." into honeycomb

13 years agoMerge "Do not check features in PackageManagerService" into honeycomb
Dianne Hackborn [Tue, 1 Feb 2011 01:41:09 +0000 (17:41 -0800)]
Merge "Do not check features in PackageManagerService" into honeycomb

13 years agoMerge "Import revised translations. DO NOT MERGE. Bug 3394542" into honeycomb
Eric Fischer [Tue, 1 Feb 2011 01:27:30 +0000 (17:27 -0800)]
Merge "Import revised translations.  DO NOT MERGE.  Bug 3394542" into honeycomb

13 years agoFix keyboard hidden flag.
Jeff Brown [Tue, 1 Feb 2011 01:12:25 +0000 (17:12 -0800)]
Fix keyboard hidden flag.

Configuration.hardKeyboardHidden should be set to
HARDKEYBOARDHIDDEN_YES when no keyboard is present or when it is
disabled.  The code in PhoneWindowManager.adjustConfigurationLw
does the right thing.  It also takes care of setting keyboardHidden
correctly when only a soft keyboard is available.

So it turns out that all we need to do to disable the hard keyboard
is to set Configuration.keyboard to KEYBOARD_NOKEYS *before* asking
the policy to adjust the configuration.

Bug: 3406101
Change-Id: I3519d02af30d8068198cb3d6b8fdde601c2fe8b4

13 years agoDo not check features in PackageManagerService
Kenny Root [Tue, 1 Feb 2011 00:36:32 +0000 (16:36 -0800)]
Do not check features in PackageManagerService

PackageManagerService shouldn't check features that a package declares
that it uses because this will cause problems in the future when we add
more features that older phones didn't explicitly declare. We must rely
on markets to know about phones and filter them for us to avoid this
situation.

Bug: 3409434
Change-Id: I419a5b936be3572b83a485081a6c81b2f1c8741c

13 years agoUpdate hard keyboard status on closing input methods panel
Tadashi G. Takaoka [Mon, 31 Jan 2011 17:57:44 +0000 (02:57 +0900)]
Update hard keyboard status on closing input methods panel

Bug: 3391067
Change-Id: Ib337cea0031020ab7ca019b30cd2ceb47a7664d5

13 years agoMerge "Not to update IME when Settings version is older than the last updated version...
satok [Tue, 1 Feb 2011 00:53:05 +0000 (16:53 -0800)]
Merge "Not to update IME when Settings version is older than the last updated version." into honeycomb

13 years agoMerge "Updating notification title close asset" into honeycomb
Justin Ho [Tue, 1 Feb 2011 00:36:09 +0000 (16:36 -0800)]
Merge "Updating notification title close asset" into honeycomb

13 years agoUpdating notification title close asset
Justin Ho [Tue, 1 Feb 2011 00:27:28 +0000 (16:27 -0800)]
Updating notification title close asset

Change-Id: Id985d9f71b427b353d4f7a390c84fd40e8d43fc4

13 years agoMerge "Disconnect HTTP live sessions as soon as the request comes in." into honeycomb
Andreas Huber [Tue, 1 Feb 2011 00:23:27 +0000 (16:23 -0800)]
Merge "Disconnect HTTP live sessions as soon as the request comes in." into honeycomb

13 years agoMerge "Patches for the Paste window behavior." into honeycomb
Gilles Debunne [Tue, 1 Feb 2011 00:22:25 +0000 (16:22 -0800)]
Merge "Patches for the Paste window behavior." into honeycomb

13 years agoDisconnect HTTP live sessions as soon as the request comes in.
Andreas Huber [Tue, 1 Feb 2011 00:18:49 +0000 (16:18 -0800)]
Disconnect HTTP live sessions as soon as the request comes in.

Instead of waiting until pending events have been processed.

Change-Id: Id758f5508a514561e18aade82175d69e9156965e
related-to-bug: 3409681

13 years agoMerge "Set time dialog display changes AM/PM at 1 instead of 12" into honeycomb
Svetoslav Ganov [Tue, 1 Feb 2011 00:11:59 +0000 (16:11 -0800)]
Merge "Set time dialog display changes AM/PM at 1 instead of 12" into honeycomb

13 years agoMerge "Fix bug 3408834 - actionbar stays gone when leaving reader in lightsout mode...
Adam Powell [Tue, 1 Feb 2011 00:11:51 +0000 (16:11 -0800)]
Merge "Fix bug 3408834 - actionbar stays gone when leaving reader in lightsout mode" into honeycomb

13 years agoNot to update IME when Settings version is older than the last updated version.
satok [Mon, 31 Jan 2011 13:14:32 +0000 (22:14 +0900)]
Not to update IME when Settings version is older than the last updated version.

- Check if just old version or not.

- Sometimes, ContentObserver.onChange is called before finishing to save the actual value.
This can be verified by checking the system settings version. If the version is not updated,
cached value will be returned from Settings.Secure, and this should not be handled.

Bug: 3406300

Change-Id: Ie3f5b484b5574e10a41dfc209ed31271a474b828

13 years agoMerge "Hint text is visible when using center gravity." into honeycomb
Gilles Debunne [Mon, 31 Jan 2011 23:29:56 +0000 (15:29 -0800)]
Merge "Hint text is visible when using center gravity." into honeycomb

13 years agoPatches for the Paste window behavior.
Gilles Debunne [Mon, 31 Jan 2011 23:00:08 +0000 (15:00 -0800)]
Patches for the Paste window behavior.

Bug 3409440

Change-Id: Id266bb83aa6e1912817995881daa9c24a1553c32

13 years agoFix bug 3408834 - actionbar stays gone when leaving reader in
Adam Powell [Mon, 31 Jan 2011 23:05:05 +0000 (15:05 -0800)]
Fix bug 3408834 - actionbar stays gone when leaving reader in
lightsout mode

Fix an opportunity for race conditions when the action bar is
shown/hidden rapidly.

Change-Id: I91c0666cad3afd8a4d870d642f971949fba0d333

13 years agoSet time dialog display changes AM/PM at 1 instead of 12
Svetoslav Ganov [Mon, 31 Jan 2011 22:21:56 +0000 (14:21 -0800)]
Set time dialog display changes AM/PM at 1 instead of 12

bug:3408128

Change-Id: Ifb17cbc0f448281cebb20296dcc58766cde02965

13 years agoMerge "LayoutLib.Create: support Outer_Inner_Delegate renaming." into honeycomb
Raphael [Mon, 31 Jan 2011 22:30:28 +0000 (14:30 -0800)]
Merge "LayoutLib.Create: support Outer_Inner_Delegate renaming." into honeycomb

13 years agoMerge "Updated fallback sound for Honeycomb tablet" into honeycomb
Justin Ho [Mon, 31 Jan 2011 22:26:20 +0000 (14:26 -0800)]
Merge "Updated fallback sound for Honeycomb tablet" into honeycomb

13 years agoMerge "Add SurfaceTexture docs for getTransformMatrix." into honeycomb
Jamie Gennis [Mon, 31 Jan 2011 22:11:26 +0000 (14:11 -0800)]
Merge "Add SurfaceTexture docs for getTransformMatrix." into honeycomb

13 years agoRemove MeasuredText debug messages
Kenny Root [Mon, 31 Jan 2011 21:54:58 +0000 (13:54 -0800)]
Remove MeasuredText debug messages

MeasuredText debug messages were left in the tree. Remove them before
shipping.

Bug: 3408963
Change-Id: Ia220eae5835d1325bb6053de0025d8016a1edcad

13 years agoMerge "Fix a multithreading bug in libagl's EGL." into honeycomb
Jamie Gennis [Mon, 31 Jan 2011 21:38:27 +0000 (13:38 -0800)]
Merge "Fix a multithreading bug in libagl's EGL." into honeycomb

13 years agoMerge "Fix issue #3408542: "resizeable" attribute required to get out of compat mode...
Dianne Hackborn [Mon, 31 Jan 2011 21:37:50 +0000 (13:37 -0800)]
Merge "Fix issue #3408542: "resizeable" attribute required to get out of compat mode" into honeycomb

13 years agoLayoutLib.Create: support Outer_Inner_Delegate renaming.
Raphael [Fri, 28 Jan 2011 00:48:27 +0000 (16:48 -0800)]
LayoutLib.Create: support Outer_Inner_Delegate renaming.

When generating delegates, LayoutLib.Create support renaming
inner classes. Only one level of inner class is supported.

The method Outer$Inner#get(...) generates a call to:
  static Outer_Inner_Delegate#get(Outer instance, Outer$Inner instance, ...)

Change-Id: Ie70f2b8e5e5f311ed9c7f26b7f64637ae6157a51

13 years agoShow the encryption boot animation.
Jason parks [Mon, 31 Jan 2011 21:04:34 +0000 (15:04 -0600)]
Show the encryption boot animation.

Change-Id: I15892a35238d97302b30f26bec170b9f231a3e15

13 years agoHint text is visible when using center gravity.
Gilles Debunne [Mon, 31 Jan 2011 20:56:07 +0000 (12:56 -0800)]
Hint text is visible when using center gravity.

Bug 3379366

Non left aligned text uses the VERY_WIDE width, but the hint text
was not.

Change-Id: I7327958336acf7fe16bb89bb8b7bf9b869167d53

13 years agoImport revised translations. DO NOT MERGE. Bug 3394542
Eric Fischer [Mon, 31 Jan 2011 20:41:43 +0000 (12:41 -0800)]
Import revised translations.  DO NOT MERGE.  Bug 3394542

Change-Id: I49b085e0d1c4a3a131ba0f967166b915aaa24c57

13 years agoFix issue #3408542: "resizeable" attribute required to get out of compat mode
Dianne Hackborn [Mon, 31 Jan 2011 20:34:56 +0000 (12:34 -0800)]
Fix issue #3408542: "resizeable" attribute required to get out of compat mode

The "resizeable" attribute of supports-screens was never well documented,
so many apps don't set it.  Assuming that if they are explicitly saying
they support large or xlarge screens then they are also implying that they
are resizeable.

Change-Id: Iaa1ad431c9868254af7581499477bff98ed109e5

13 years agoAdd SurfaceTexture docs for getTransformMatrix.
Jamie Gennis [Mon, 31 Jan 2011 20:31:53 +0000 (12:31 -0800)]
Add SurfaceTexture docs for getTransformMatrix.

Change-Id: Ib08d00525c7932b23ba5066c07c7470f813b74f8

13 years agoMerge "Tabs are resized to make sure they fit in their parent." into honeycomb
Gilles Debunne [Mon, 31 Jan 2011 20:01:34 +0000 (12:01 -0800)]
Merge "Tabs are resized to make sure they fit in their parent." into honeycomb

13 years agoMerge "Alignment in the title area of the notification panel." into honeycomb
Daniel Sandler [Mon, 31 Jan 2011 19:46:57 +0000 (11:46 -0800)]
Merge "Alignment in the title area of the notification panel." into honeycomb

13 years agoMerge "Mask out the non public bits, not the public ones." into honeycomb
Joe Onorato [Mon, 31 Jan 2011 19:25:06 +0000 (11:25 -0800)]
Merge "Mask out the non public bits, not the public ones." into honeycomb

13 years agoMask out the non public bits, not the public ones.
Joe Onorato [Mon, 31 Jan 2011 19:21:10 +0000 (11:21 -0800)]
Mask out the non public bits, not the public ones.

Bug: 3406103
Change-Id: I44b16700567cb2bf76efe9e8c1f9c82d0eaa8f10

13 years agoMerge "Fxi initial error popup dialog in TextEdit and refreshed assets." into honeycomb
Gilles Debunne [Mon, 31 Jan 2011 19:10:53 +0000 (11:10 -0800)]
Merge "Fxi initial error popup dialog in TextEdit and refreshed assets." into honeycomb

13 years agoMerge "Merge from gingerbread: Commit the final API for level 10. DO NOT MERGE" into...
Jeff Hamilton [Mon, 31 Jan 2011 19:01:07 +0000 (11:01 -0800)]
Merge "Merge from gingerbread: Commit the final API for level 10. DO NOT MERGE" into honeycomb

13 years agoAlignment in the title area of the notification panel.
Daniel Sandler [Mon, 31 Jan 2011 18:38:06 +0000 (13:38 -0500)]
Alignment in the title area of the notification panel.

Clock size -> 78sp to match specs
Clock right pad -> 6dp to achieve 14dp escapement

Bug: 3400754
Change-Id: I04a56aa899ab55804ad034ed06d9c7aaad331bc0

13 years agoMerge from gingerbread: Commit the final API for level 10. DO NOT MERGE
Jeff Hamilton [Mon, 31 Jan 2011 17:46:29 +0000 (11:46 -0600)]
Merge from gingerbread: Commit the final API for level 10. DO NOT MERGE

Change-Id: If1d1ff69a6f3e80796d68ec5dbfa722adce23d40

13 years agoMerge "Kill spurious animations when vetoing notifications." into honeycomb
Daniel Sandler [Mon, 31 Jan 2011 17:04:32 +0000 (09:04 -0800)]
Merge "Kill spurious animations when vetoing notifications." into honeycomb

13 years agoMerge "Fix hardware keyboard switch listener" into honeycomb
Tadashi G. Takaoka [Mon, 31 Jan 2011 16:47:12 +0000 (08:47 -0800)]
Merge "Fix hardware keyboard switch listener" into honeycomb

13 years agoUpdated fallback sound for Honeycomb tablet
Justin Ho [Mon, 31 Jan 2011 16:45:55 +0000 (08:45 -0800)]
Updated fallback sound for Honeycomb tablet

Change-Id: I01b27b5d095d7280ed1fc4662ce2c84f61e7b681

13 years agoFix hardware keyboard switch listener
Tadashi G. Takaoka [Mon, 31 Jan 2011 09:39:27 +0000 (18:39 +0900)]
Fix hardware keyboard switch listener

Bug: 3391067
Change-Id: I64ae55652afedee60a70bc140cfb328b04bc8c83

13 years agoFor Textareas, do not use UI side layers.
Leon Scroggins [Mon, 31 Jan 2011 15:54:19 +0000 (10:54 -0500)]
For Textareas, do not use UI side layers.

Bug:3402831
Bug:3401242

Requires a change in external/webkit.

Change-Id: I391d9133b3953d213520cbba5ed49b11ebeaef2d

13 years agoBug fix: 3405930 Crash editing overlay text
Gil Dobjanschi [Mon, 31 Jan 2011 09:16:32 +0000 (01:16 -0800)]
Bug fix: 3405930 Crash editing overlay text

Change-Id: Icd304ef8dde2b41812b14857dc3c112cc22d578e

13 years agoMerge "Add debug for tracking bug 3404006." into honeycomb
Wink Saville [Mon, 31 Jan 2011 07:12:35 +0000 (23:12 -0800)]
Merge "Add debug for tracking bug 3404006." into honeycomb

13 years agoNew DroidSansFallback font file from Ascender
Bart Sears [Mon, 31 Jan 2011 03:59:02 +0000 (19:59 -0800)]
New DroidSansFallback font file from Ascender

Bug: 3315583

1) IPA (U+0250-U+02AF)
2) Currency symbols
3) U+02BB MODIFIER LETTER TURNED COMMA
4) Non-breaking hyphen ("\u2011")
5) Jamo U+11xx mappings

Change-Id: Ie4dfc7677d0f63c89ed0e1f6506cd513ae45ffa9

13 years agoKill spurious animations when vetoing notifications.
Daniel Sandler [Mon, 31 Jan 2011 02:26:24 +0000 (21:26 -0500)]
Kill spurious animations when vetoing notifications.

Bug: 3406032
Change-Id: I6da6ee064d309bc44f6304722c5f3f4e05aaf687

13 years agoPixel were missing on the last line of text when using MaxLines.
Gilles Debunne [Fri, 14 Jan 2011 20:12:04 +0000 (12:12 -0800)]
Pixel were missing on the last line of text when using MaxLines.

Bug 3295544

Only the last line of text includes the bottomPadding (extra line
spacing below the characters' descent. When The text is clipped using
maxLines, the desired height correctly added this value, but getLineTop
and getLineDescent are also used when the layout is drawn.

The fix is to make the layout aware of its clipping so that these
values are correctly updated.

Change-Id: I703656cf45022d34a90f55f0ed8fc5e4b30f80b1

13 years agoMerge "Fix for issue 3404671 Crash when exporting movie in JNI" into honeycomb
Dheeraj Sharma [Mon, 31 Jan 2011 02:12:25 +0000 (18:12 -0800)]
Merge "Fix for issue 3404671 Crash when exporting movie in JNI" into honeycomb

13 years agoFix issue #3381489: IllegalStateException: attempt to re-open...
Dianne Hackborn [Mon, 31 Jan 2011 00:55:55 +0000 (16:55 -0800)]
Fix issue #3381489: IllegalStateException: attempt to re-open...

...an already-closed object: android.database.sqlite.SQLiteQuery

It turns out there is a state we are missing -- the loader is
still needed, but in the inactive list.  In this case the loader
needs to continue holding on to its current data, and not deliver
any new data (which would result in it releasing its old data).

This introduces the new state to Loader, and uses it in
AsyncTaskLoader so all subclasses of that should get the new
correct behavior.

A further improvement would be to unregister CursorLoader's
content listener when going in to this state, but that can
wait for later.

Change-Id: I6d30173b94f8e30b5be31d018accd328cc3388ec

13 years agoMerge "I declare settings panel icon VICTORY!" into honeycomb
Joe Onorato [Mon, 31 Jan 2011 01:56:25 +0000 (17:56 -0800)]
Merge "I declare settings panel icon VICTORY!" into honeycomb

13 years agoI declare settings panel icon VICTORY!
Joe Onorato [Mon, 31 Jan 2011 01:46:32 +0000 (17:46 -0800)]
I declare settings panel icon VICTORY!

Bug: 3396115
Change-Id: I72c46361506ec48bf3ebc9b84dbc476c301ce20c

13 years agoMerge "Prevent SET_SCROLL_OFFSET spam from clogging tubes" into honeycomb
John Reck [Mon, 31 Jan 2011 00:55:23 +0000 (16:55 -0800)]
Merge "Prevent SET_SCROLL_OFFSET spam from clogging tubes" into honeycomb

13 years agoMerge "Merging the same files on top of tree." into honeycomb
Dharmaray Kundargi [Mon, 31 Jan 2011 00:32:07 +0000 (16:32 -0800)]
Merge "Merging the same files on top of tree." into honeycomb

13 years agoPrevent SET_SCROLL_OFFSET spam from clogging tubes
John Reck [Mon, 31 Jan 2011 00:23:09 +0000 (16:23 -0800)]
Prevent SET_SCROLL_OFFSET spam from clogging tubes

 Bug: 3393571
 Limit the event queue to a single pending SET_SCROLL_OFFSET. The
 problem on slashdot.org was that the event thread was being flooded
 with SET_SCROLL_OFFSET messages faster than it could process them,
 causing the handler to get jammed up.

Change-Id: Ia4a90a030959d0b3769067791089cdb261ae403a

13 years agoMerging the same files on top of tree.
Dharmaray Kundargi [Sun, 30 Jan 2011 04:48:05 +0000 (20:48 -0800)]
Merging the same files on top of tree.

Add support for .m4v Issue 3395600

Change-Id: Idca673859afb3398d4b91aba9c20c37396c4f757

13 years agoAdd debug for tracking bug 3404006.
Wink Saville [Mon, 31 Jan 2011 00:16:20 +0000 (16:16 -0800)]
Add debug for tracking bug 3404006.

We need some additional debugging to help diagnose the cause
of this bug. There is no logic changes just additional debugging.

Change-Id: Ifc5d1c82904042fa87fd3b5b1066f58b62e7359c

13 years agoMerge "Fix bug 3405899 - android.view.WindowManager$BadTokenException" into honeycomb
Adam Powell [Mon, 31 Jan 2011 00:12:56 +0000 (16:12 -0800)]
Merge "Fix bug 3405899 - android.view.WindowManager$BadTokenException" into honeycomb

13 years agoMerge "Fix issue #3404571: Commit final APIs" into honeycomb
Dianne Hackborn [Mon, 31 Jan 2011 00:01:36 +0000 (16:01 -0800)]
Merge "Fix issue #3404571: Commit final APIs" into honeycomb

13 years agoMerge "Check for the STATUS_BAR permission for the system UI properties." into honeycomb
Joe Onorato [Mon, 31 Jan 2011 00:00:52 +0000 (16:00 -0800)]
Merge "Check for the STATUS_BAR permission for the system UI properties." into honeycomb

13 years agoFix a multithreading bug in libagl's EGL.
Jamie Gennis [Sun, 30 Jan 2011 23:59:36 +0000 (15:59 -0800)]
Fix a multithreading bug in libagl's EGL.

The bug caused libagl to return 0 from eglGetError if an EGL error value
(including EGL_SUCCESS) was set on a different thread but not yet on the
current thread.

Bug: 3403756
Change-Id: Ifd965091d116745c2e22c121151ade9e78eb14c6

13 years agoMerge "Auto-clearing setError popup" into honeycomb
Gilles Debunne [Sun, 30 Jan 2011 23:49:38 +0000 (15:49 -0800)]
Merge "Auto-clearing setError popup" into honeycomb

13 years agoFix bug 3405899 - android.view.WindowManager$BadTokenException
Adam Powell [Sun, 30 Jan 2011 23:47:29 +0000 (15:47 -0800)]
Fix bug 3405899 - android.view.WindowManager$BadTokenException

Clear any pending runnables involved with TextViews when cursor
controllers are released

Change-Id: I96898fcc237f20d0b0f2351181244cb171fa2083

13 years agoCheck for the STATUS_BAR permission for the system UI properties.
Joe Onorato [Sun, 30 Jan 2011 23:38:30 +0000 (15:38 -0800)]
Check for the STATUS_BAR permission for the system UI properties.

If the app doesn't have that permission, just mask out the bits.
Also makes the systemUiVisibility field visible in hierarchyviewer.

Change-Id: Ic3d3a3aed96b5c6448832755b4b2e6175117e5be

13 years agoMerge "Fix for issue 3400229 Pan and Zoom effect is not accurate in JAVA and JNI...
Dheeraj Sharma [Sun, 30 Jan 2011 23:20:49 +0000 (15:20 -0800)]
Merge "Fix for issue 3400229 Pan and Zoom effect is not accurate in JAVA and JNI" into honeycomb

13 years agoMerge "3404665 Preview window is blank after returning from playing exported movie...
Dheeraj Sharma [Sun, 30 Jan 2011 23:08:12 +0000 (15:08 -0800)]
Merge "3404665 Preview window is blank after returning from playing exported movie" into honeycomb

13 years agoMerge "Reset ANativeWindow crop on buffer geometry changes." into honeycomb
Jamie Gennis [Sun, 30 Jan 2011 23:00:44 +0000 (15:00 -0800)]
Merge "Reset ANativeWindow crop on buffer geometry changes." into honeycomb

13 years ago3404665 Preview window is blank after returning from playing exported movie
Dheeraj Sharma [Sun, 30 Jan 2011 22:52:42 +0000 (14:52 -0800)]
3404665 Preview window is blank after returning from playing exported movie

Change-Id: Idf2719953cbaf41e09eaf86de37e3459a1ea4aed

13 years agoFix issue #3404571: Commit final APIs
Dianne Hackborn [Sat, 29 Jan 2011 22:18:37 +0000 (14:18 -0800)]
Fix issue #3404571: Commit final APIs

Change-Id: I7f01f8df9cfb82a9bb987e3df7c8eaa1c5aab81a