OSDN Git Service

android-x86/frameworks-base.git
10 years agoExpose WifiManager.setTdlsEnabled public API
Vinit Deshapnde [Sat, 17 Aug 2013 00:16:45 +0000 (17:16 -0700)]
Expose WifiManager.setTdlsEnabled public API

Bug: 10221775

Change-Id: I559e4a2afd525a03c8a13fd151eca4638426d03e

10 years agoMerge "Camera.applyToCanvas() now works with hardware canvases" into klp-dev
Romain Guy [Tue, 13 Aug 2013 17:46:19 +0000 (17:46 +0000)]
Merge "Camera.applyToCanvas() now works with hardware canvases" into klp-dev

10 years agoCamera.applyToCanvas() now works with hardware canvases
Romain Guy [Tue, 13 Aug 2013 17:37:25 +0000 (10:37 -0700)]
Camera.applyToCanvas() now works with hardware canvases

Change-Id: I7f06b2a74ccc1941d51e12a0417028e094c1b669

10 years agoDistinguish transient + transparent bar styles.
John Spurlock [Mon, 12 Aug 2013 14:16:29 +0000 (10:16 -0400)]
Distinguish transient + transparent bar styles.

Transient bars = 30% black scrim per spec (formerly view alpha).
Transparent nav bar = Simple gradient drawable from 50% to 0% black.
Transparent status bar = Fully transparent.

Smoother transitions between bar modes will be tricky due to
coordination with window manager, and thus deferred to a separate
future change.

Pre-baked assets instead of the gradient drawable will also be
part of a separate future change, this change is simply meant to
move closer to the final look and feel to minimize confusion for
those kicking the tires on the new flags.

Bug:10012887
Change-Id: I8c35a660187903224a6bfe604b5313e9115c4a73

10 years agoUpdate transient navigation confirmation logic.
John Spurlock [Sat, 10 Aug 2013 10:52:28 +0000 (06:52 -0400)]
Update transient navigation confirmation logic.

Show the confirmation toast when hiding the transient
navigation bar only the first time per app, per reboot.

Hitting the power key while the transient nav is hidden
is taken as a signal of possible user confusion, so reshow
the prompt the next time.

This requires the confirmation prompt to live in policy
(not sysui).  It arguably should have been here in the first
place, since the transient bar state/policy was here, and
sysui should not have not been able to fail to display
the prompt correctly.

Also take this opportunity to remove a hack wrt positioning
the confirmation properly while the nav bar is transitioning.
Toasts now support LAYOUT_HIDE_NAVIGATION if applied to the
toast's view.

Bug: 10246225
Change-Id: Ieb6355e4ca975c0758918a39e3c2ec13da81c7f4

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Tue, 13 Aug 2013 07:29:07 +0000 (07:29 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Tue, 13 Aug 2013 07:25:29 +0000 (07:25 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Remove exceptions from the printer discovery session APIs." into klp-dev
Svetoslav Ganov [Tue, 13 Aug 2013 05:31:23 +0000 (05:31 +0000)]
Merge "Remove exceptions from the printer discovery session APIs." into klp-dev

10 years agoRemove exceptions from the printer discovery session APIs.
Svetoslav Ganov [Tue, 13 Aug 2013 05:16:30 +0000 (22:16 -0700)]
Remove exceptions from the printer discovery session APIs.

It is not possible for a client to check whether the session is not
closed and add/update/remove printers atomically. It is always possible
that in between the two method calls the session is closed. Therefore,
we cannot enforce the exceptions.

Change-Id: If0e89e4429c4c360515da8f4bbe0ea3781e8e8fd

10 years agoMerge "Allow configuration of Toast gravity settings" into klp-dev
Jose Lima [Tue, 13 Aug 2013 02:24:34 +0000 (02:24 +0000)]
Merge "Allow configuration of Toast gravity settings" into klp-dev

10 years agoMerge "Update Quick Settings to use new consolidated master location method. This...
David Christie [Tue, 13 Aug 2013 01:44:41 +0000 (01:44 +0000)]
Merge "Update Quick Settings to use new consolidated master location method. This is an effort to consolidate the logic of what the "master location switch" means.  Quick settings will no longeer explicitly enable/disable gps and network providers." into klp-dev

10 years agoMerge "Change the exception msg" into klp-dev
Kristian Monsen [Tue, 13 Aug 2013 01:35:28 +0000 (01:35 +0000)]
Merge "Change the exception msg" into klp-dev

10 years agoChange the exception msg
Selim Gurun [Mon, 12 Aug 2013 20:37:53 +0000 (13:37 -0700)]
Change the exception msg

Change the exception msg to better identify the webview version.

Change-Id: I64c9a433144f9aa0362ad6c9217da92acbb655bc

10 years agoMerge "Fix a bug in single socket connection to Wifi Supplicant" into klp-dev
Vinit Deshapnde [Tue, 13 Aug 2013 00:04:47 +0000 (00:04 +0000)]
Merge "Fix a bug in single socket connection to Wifi Supplicant" into klp-dev

10 years agoMerge "fix race condition when a new display is added" into klp-dev
keunyoung [Tue, 13 Aug 2013 00:07:22 +0000 (00:07 +0000)]
Merge "fix race condition when a new display is added" into klp-dev

10 years agoMerge "Expose vendor and product IDs for InputDevices" into klp-dev
Michael Wright [Tue, 13 Aug 2013 00:04:08 +0000 (00:04 +0000)]
Merge "Expose vendor and product IDs for InputDevices" into klp-dev

10 years agoExpose vendor and product IDs for InputDevices
Michael Wright [Mon, 12 Aug 2013 23:39:59 +0000 (16:39 -0700)]
Expose vendor and product IDs for InputDevices

Change-Id: I08665a41e474cbedd10b342eeae20d2ca7c03ac0

10 years agofix race condition when a new display is added
keunyoung [Fri, 9 Aug 2013 21:32:36 +0000 (14:32 -0700)]
fix race condition when a new display is added

- When a new display is added, display add event triggers handleDisplayAddedLocked in
  WindowManagerService asynchronously.
- After creating virtual display, application can move on and call addWindow before
  handleDisplayAddedLock is called.
- Application's addWindow leads into creating a new DisplayContent, and a window will be added there.
- But when handleDisplayAddedLocked is called later, it will create a new DisplayContent for the
  display, and the window added by the application will be lost.
- This CL tries to fix the issue by checking the presence of DisplayContent before creating a new
  one.

bug: 9975297

Change-Id: I9fac7ffb57c3e1effa8f0e950539cfae73e7e1c6

10 years agoFix a bug in single socket connection to Wifi Supplicant
Vinit Deshapnde [Mon, 12 Aug 2013 22:54:01 +0000 (15:54 -0700)]
Fix a bug in single socket connection to Wifi Supplicant

My change to post messages without IFACE=<iface> prefix to all interfaces
was correct; but messages sent with IFACE=p2p-p2p0-0 et al were being sent
to p2p monitor only. This change mimics that to resolve some issues
introduced by the single socket change.

Bug: 10257602
Change-Id: Ia6164cb3cfd11c2a0a7b011eceaeabfd9677f62c

10 years agoMerge "fix kBW_Format glyphs" into klp-dev
Victoria Lease [Mon, 12 Aug 2013 22:39:26 +0000 (22:39 +0000)]
Merge "fix kBW_Format glyphs" into klp-dev

10 years agofix kBW_Format glyphs
Victoria Lease [Mon, 12 Aug 2013 21:38:44 +0000 (14:38 -0700)]
fix kBW_Format glyphs

Oops! kBW_Format was omitted from a couple of switch statements,
resulting in glyphs in that format being invisible.

Bug: 10206452
Change-Id: Ib2aa52250aeeecc0de1b1b78e3d0f568f368c73e

10 years agoMerge "Take text alignment into account to compue text bounds Bug #10258621" into...
Romain Guy [Mon, 12 Aug 2013 20:52:12 +0000 (20:52 +0000)]
Merge "Take text alignment into account to compue text bounds Bug #10258621" into klp-dev

10 years agoMerge "Not create context menu when mouse right click outside list/grid items" into...
Alan Viverette [Mon, 12 Aug 2013 20:47:39 +0000 (20:47 +0000)]
Merge "Not create context menu when mouse right click outside list/grid items" into klp-dev

10 years agoMerge "Make PrintFileDocumentAdapter non-final." into klp-dev
Svetoslav [Mon, 12 Aug 2013 20:34:12 +0000 (20:34 +0000)]
Merge "Make PrintFileDocumentAdapter non-final." into klp-dev

10 years agoMake PrintFileDocumentAdapter non-final.
Svetoslav [Mon, 12 Aug 2013 20:32:47 +0000 (13:32 -0700)]
Make PrintFileDocumentAdapter non-final.

Change-Id: I89a46bf766f5270dfaba7482b7b7cd997e19821a

10 years agoNot create context menu when mouse right click outside list/grid items
Alan Viverette [Mon, 12 Aug 2013 20:29:15 +0000 (13:29 -0700)]
Not create context menu when mouse right click outside list/grid items

Even if mouse right click outside of list/grid items, a context menu
is made. But there is no item of the list, so a context menu info is
null. Then, NullPointerException happens at onCreateContextMenu()
using a context menu info.
For fixing the problem, check mTouchMoude and mMotionPosition to
distingusih where is clicked, on a list item or not, before
performButtonActionOnTouchDown() which makes a context menu.

Manually merged from AOSP contribution.

Change-Id: I778be73df36abbfd4ba9534d8e7a1ece6844ed40
Author: henrik baard <henrik.baard@sonymobile.com>

10 years agoTake text alignment into account to compue text bounds
Romain Guy [Mon, 12 Aug 2013 20:25:29 +0000 (13:25 -0700)]
Take text alignment into account to compue text bounds
Bug #10258621

Change-Id: I91abf1829a1814410ce8c0c2c17d888031987f18

10 years agoMerge "pause/resume for Animators" into klp-dev
Chet Haase [Mon, 12 Aug 2013 19:57:23 +0000 (19:57 +0000)]
Merge "pause/resume for Animators" into klp-dev

10 years agoMerge "Remove incorrect warning." into klp-dev
Craig Mautner [Mon, 12 Aug 2013 19:43:25 +0000 (19:43 +0000)]
Merge "Remove incorrect warning." into klp-dev

10 years agoRemove incorrect warning.
Craig Mautner [Mon, 12 Aug 2013 19:29:40 +0000 (12:29 -0700)]
Remove incorrect warning.

The warning about an ActivityRecord not being assigned a task was
incorrect in the location modified by this fix. In this case an
existing ActivityRecord is relaunched so it is not necessary to
assign the task to the passed ActivityRecord.

Addresses the warning associated with bug 10181389.

Change-Id: I76d5066c320bf9da2663bc34bcaca801ad4953bc

10 years agoam 6441b9bd: am e5007896: am e78b4f53: Doc change: collapse key fix... clean version...
Katie McCormick [Mon, 12 Aug 2013 19:25:41 +0000 (12:25 -0700)]
am 6441b9bd: am e5007896: am e78b4f53: Doc change: collapse key fix... clean version of kmccormick\'s change from I620150b14ecd59db05f40c4422f8e2d09e05ebcb

* commit '6441b9bd19c9226ad1e6c01008b79a51baf75cff':
  Doc change: collapse key fix... clean version of kmccormick's change from I620150b14ecd59db05f40c4422f8e2d09e05ebcb

10 years agoam e5007896: am e78b4f53: Doc change: collapse key fix... clean version of kmccormick...
Katie McCormick [Mon, 12 Aug 2013 19:21:47 +0000 (12:21 -0700)]
am e5007896: am e78b4f53: Doc change: collapse key fix... clean version of kmccormick\'s change from I620150b14ecd59db05f40c4422f8e2d09e05ebcb

* commit 'e50078961ab0134ff5bcf57a9e8cc4b04027f942':
  Doc change: collapse key fix... clean version of kmccormick's change from I620150b14ecd59db05f40c4422f8e2d09e05ebcb

10 years agoam e78b4f53: Doc change: collapse key fix... clean version of kmccormick\'s change...
Katie McCormick [Mon, 12 Aug 2013 19:18:45 +0000 (12:18 -0700)]
am e78b4f53: Doc change: collapse key fix... clean version of kmccormick\'s change from I620150b14ecd59db05f40c4422f8e2d09e05ebcb

* commit 'e78b4f53392d25eda4a121670aca518df9615f71':
  Doc change: collapse key fix... clean version of kmccormick's change from I620150b14ecd59db05f40c4422f8e2d09e05ebcb

10 years agoDoc change: collapse key fix... clean version of kmccormick's change from I620150b14e...
Katie McCormick [Wed, 24 Jul 2013 01:12:38 +0000 (18:12 -0700)]
Doc change: collapse key fix... clean version of kmccormick's change from I620150b14ecd59db05f40c4422f8e2d09e05ebcb

Change-Id: I620150b14ecd59db05f40c4422f8e2d09e05ebcb

10 years agopause/resume for Animators
Chet Haase [Thu, 8 Aug 2013 21:00:00 +0000 (14:00 -0700)]
pause/resume for Animators

It is now possible to pause Animator-based animations. Pausing an
animator causes it to hold the current time/value indefinitely, or
until end/cancel/resume is called. When resume() is called, it continues
from where it left off.

There is a new listener interface on Animator, AnimatorPauseListener,
which can be used to listen to pause/resume events.

Change-Id: I77d1535e792fb7bf349f549a0ac0a0d85958cb47

10 years agoMerge "Add the API to support webview printing" into klp-dev
Selim Gurun [Mon, 12 Aug 2013 18:27:26 +0000 (18:27 +0000)]
Merge "Add the API to support webview printing" into klp-dev

10 years agoMerge "Update Bitmap.createBitmap() documentation" into klp-dev
Romain Guy [Mon, 12 Aug 2013 18:11:36 +0000 (18:11 +0000)]
Merge "Update Bitmap.createBitmap() documentation" into klp-dev

10 years agoUpdate Bitmap.createBitmap() documentation
Romain Guy [Mon, 12 Aug 2013 18:10:27 +0000 (11:10 -0700)]
Update Bitmap.createBitmap() documentation

Change-Id: Ic2efed6cc03c8b2c2d9810b7ab645b0b98b91e1f

10 years agoAdd the API to support webview printing
Selim Gurun [Mon, 5 Aug 2013 22:23:09 +0000 (15:23 -0700)]
Add the API to support webview printing

Bug: 10190508
Change-Id: I47fc46bb1ea632876048b29621843f781c47aab7

10 years agoam cdf3455c: am 6dd38cc5: Revert "Revert "resolved conflicts for merge of 45178b13...
Scott Main [Mon, 12 Aug 2013 17:46:33 +0000 (10:46 -0700)]
am cdf3455c: am 6dd38cc5: Revert "Revert "resolved conflicts for merge of 45178b13 to jb-mr2-ub-dev" revert to fix conflicts, i\'ll fix it all later."

* commit 'cdf3455c502891683eaa242a14e413ff947dabe3':
  Revert "Revert "resolved conflicts for merge of 45178b13 to jb-mr2-ub-dev" revert to fix conflicts, i'll fix it all later."

10 years agoam 6dd38cc5: Revert "Revert "resolved conflicts for merge of 45178b13 to jb-mr2-ub...
Scott Main [Mon, 12 Aug 2013 17:44:44 +0000 (10:44 -0700)]
am 6dd38cc5: Revert "Revert "resolved conflicts for merge of 45178b13 to jb-mr2-ub-dev" revert to fix conflicts, i\'ll fix it all later."

* commit '6dd38cc5343106251c8d66ab11bb93550082e594':
  Revert "Revert "resolved conflicts for merge of 45178b13 to jb-mr2-ub-dev" revert to fix conflicts, i'll fix it all later."

10 years agoRevert "Revert "resolved conflicts for merge of 45178b13 to jb-mr2-ub-dev" revert...
Scott Main [Mon, 12 Aug 2013 17:38:03 +0000 (17:38 +0000)]
Revert "Revert "resolved conflicts for merge of 45178b13 to jb-mr2-ub-dev" revert to fix conflicts, i'll fix it all later."

Submitted the original revert too soon.

This reverts commit ebcee19783c4fe5ba776353e95974383850a4685.

Change-Id: I7c76b9c37a8d919cdf319dae1ae8f444300ed3d4

10 years agoam 7466b998: am ebcee197: Revert "resolved conflicts for merge of 45178b13 to jb...
Scott Main [Mon, 12 Aug 2013 17:15:29 +0000 (10:15 -0700)]
am 7466b998: am ebcee197: Revert "resolved conflicts for merge of 45178b13 to jb-mr2-ub-dev" revert to fix conflicts, i\'ll fix it all later.

* commit '7466b998e6091b4857372611c66b6eca2b9324fb':
  Revert "resolved conflicts for merge of 45178b13 to jb-mr2-ub-dev" revert to fix conflicts, i'll fix it all later.

10 years agoam ebcee197: Revert "resolved conflicts for merge of 45178b13 to jb-mr2-ub-dev" rever...
Scott Main [Mon, 12 Aug 2013 17:14:03 +0000 (10:14 -0700)]
am ebcee197: Revert "resolved conflicts for merge of 45178b13 to jb-mr2-ub-dev" revert to fix conflicts, i\'ll fix it all later.

* commit 'ebcee19783c4fe5ba776353e95974383850a4685':
  Revert "resolved conflicts for merge of 45178b13 to jb-mr2-ub-dev" revert to fix conflicts, i'll fix it all later.

10 years agoRevert "resolved conflicts for merge of 45178b13 to jb-mr2-ub-dev"
Scott Main [Mon, 12 Aug 2013 17:08:28 +0000 (17:08 +0000)]
Revert "resolved conflicts for merge of 45178b13 to jb-mr2-ub-dev"
revert to fix conflicts, i'll fix it all later.

This reverts commit 385bb2eb5184686c2d953fe4757522e61acb3392.

Change-Id: Ie0a995b185c3354ff369fce87f73810c1027a0b2

10 years agoManage jclass objects (and most jobjects) in jni code using ScopedLocalRef
Andreas Huber [Mon, 12 Aug 2013 16:19:45 +0000 (09:19 -0700)]
Manage jclass objects (and most jobjects) in jni code using ScopedLocalRef

for safer refcounting. Previously jclass objects were not DeleteLocalRef'ed
at all, leading us to exhaust the local ref pool quickly in certain
circumstances.

This change also makes sure we properly serialize int64_t entries when
converting from AMessage to HashMap and boosts thread priority for
java-instantiated MediaCodecs slightly from NORMAL to FOREGROUND.

Change-Id: I4ebdd8a5ca6b3442698c9f86fcc31af8c199aaf5

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 12 Aug 2013 16:06:40 +0000 (09:06 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iff45d8191fc4ac1fb7ae48c680cebd3f9dcf83da
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 12 Aug 2013 15:47:17 +0000 (08:47 -0700)]
Import translations. DO NOT MERGE

Change-Id: I7f40ed1081baa41a3990a2a0a7e59f0e1df97752
Auto-generated-cl: translation import

10 years agoAdd super_onDrawVerticalScrollBar to WebView.PrivateAccess. DO NOT MERGE
Martin Kosiba [Thu, 8 Aug 2013 13:02:41 +0000 (14:02 +0100)]
Add super_onDrawVerticalScrollBar to WebView.PrivateAccess. DO NOT MERGE

Cherry pick of master I210dbab01c8b8d1eeff316a23c5d011e2e6c2a74

This exposes the super_onDrawVerticalScrollBar method which will
be called by the WebViewChromium implementation.

Change-Id: I3fe348633c163514e67b7712f1e9a086dee3d338

10 years agoAdd missing cleanspec
Ben Murdoch [Mon, 12 Aug 2013 08:33:38 +0000 (09:33 +0100)]
Add missing cleanspec

Change-Id: I92d6329e3c404249876e707048f6808f35fb019b

10 years agoMerge "API to discover granted Uri permissions." into klp-dev
Jeff Sharkey [Mon, 12 Aug 2013 03:59:58 +0000 (03:59 +0000)]
Merge "API to discover granted Uri permissions." into klp-dev

10 years agoAPI to discover granted Uri permissions.
Jeff Sharkey [Mon, 12 Aug 2013 03:53:18 +0000 (20:53 -0700)]
API to discover granted Uri permissions.

Now that granted Uri permissions can be persisted across reboots,
offer APIs to discover them. Returns incoming or outgoing grants
matching the requested flags and mask. Add helper method to discover
"open" documents using this new API and filtering for non-documents.

Require that callers own at least of the filtering packages to avoid
exposing all grants. Switch internal grant tracking to use ArrayMap.

Change-Id: I0a755f221d0d160b411f8d3cfc48279b64345733

10 years agoMerge "Bring along BridgeContext for the ride." into klp-dev
Jeff Sharkey [Mon, 12 Aug 2013 02:09:50 +0000 (02:09 +0000)]
Merge "Bring along BridgeContext for the ride." into klp-dev

10 years agoBring along BridgeContext for the ride.
Jeff Sharkey [Mon, 12 Aug 2013 02:08:39 +0000 (19:08 -0700)]
Bring along BridgeContext for the ride.

Change-Id: Ic11c0df447c82be3922d529f18a290cfdfec6b05

10 years agoMerge "Catch a few extra users of UserEnvironment." into klp-dev
Jeff Sharkey [Mon, 12 Aug 2013 00:46:33 +0000 (00:46 +0000)]
Merge "Catch a few extra users of UserEnvironment." into klp-dev

10 years agoCatch a few extra users of UserEnvironment.
Jeff Sharkey [Mon, 12 Aug 2013 00:42:17 +0000 (17:42 -0700)]
Catch a few extra users of UserEnvironment.

Change-Id: I3112773b72c329893e4118ef1c4f4087d899139e

10 years agoMerge "APIs for multiple external storage devices." into klp-dev
Jeff Sharkey [Mon, 12 Aug 2013 00:13:34 +0000 (00:13 +0000)]
Merge "APIs for multiple external storage devices." into klp-dev

10 years agoAPIs for multiple external storage devices.
Jeff Sharkey [Sun, 11 Aug 2013 23:28:14 +0000 (16:28 -0700)]
APIs for multiple external storage devices.

Provide developer APIs to discover application-specific paths on
secondary external storage devices.  Covers files, cache, and OBB
directories.  Apps will not have write access outside their package-
specific directories on secondary devices, so only primary storage is
exposed through Environment.

Creation of .nomedia files will be handled by FUSE daemon in future
change.

Change-Id: Ifcce6201a686d80269d7285adb597c008cf8fa7c

10 years agoMerge "Fix the build" into klp-dev
Svetoslav Ganov [Sun, 11 Aug 2013 22:27:00 +0000 (22:27 +0000)]
Merge "Fix the build" into klp-dev

10 years agoFix the build
Svetoslav Ganov [Sun, 11 Aug 2013 22:26:13 +0000 (15:26 -0700)]
Fix the build

Change-Id: Icf3b339f7b300cc8673443fa8afd38ce78964683

10 years agoMerge "Refinement of the print service APIs." into klp-dev
Svetoslav Ganov [Sun, 11 Aug 2013 21:42:53 +0000 (21:42 +0000)]
Merge "Refinement of the print service APIs." into klp-dev

10 years agoRefinement of the print service APIs.
Svetoslav Ganov [Sun, 11 Aug 2013 19:29:39 +0000 (12:29 -0700)]
Refinement of the print service APIs.

1. Factored out the printer discovery APIs of a print service in a
   dedicated session object that is created by the print service on
   demand. This ensures that added/removed/updated printers from
   one session do not interfere with another session.

2. Updated the app facing APIs to pass in a document info along
   with a printed file. Also exposed the print file adapter so
   apps that create a temporary file for printing can intercept
   when it is read by the system so the file can be deleted.

3. Updated the print service documentation.

Change-Id: I3473d586c26d8bda1cf7e2bdacb441aa9df982ed

10 years agoMerge "Put animation background behind visible wallpaper" into klp-dev
Craig Mautner [Sat, 10 Aug 2013 18:52:39 +0000 (18:52 +0000)]
Merge "Put animation background behind visible wallpaper" into klp-dev

10 years agoPut animation background behind visible wallpaper
Craig Mautner [Sat, 10 Aug 2013 01:48:48 +0000 (18:48 -0700)]
Put animation background behind visible wallpaper

The new wallpaper positioning associated with multiple activity stacks
put animation backgrounds in front of the wallpaper. This caused
hideous jank. Testing for visible wallpaper and moving the background
behind it fixes the jank.

Fixes bug 10078282.
Possibly fixes bug 10247094.

Change-Id: I3f4e07accd7276d59725192081904b791f77781f

10 years agoPROXY_SERVICE may be missing and its reference null.
Wink Saville [Sat, 10 Aug 2013 18:22:31 +0000 (11:22 -0700)]
PROXY_SERVICE may be missing and its reference null.

Protect ourselves from when PROXY_SERVICE is missing
and mProxyService is null.

Bug: 10267814
Change-Id: Ia329376218e246cdde3d70b578c18466d48a6383

10 years agoam 94c529b8: am 385bb2eb: resolved conflicts for merge of 45178b13 to jb-mr2-ub-dev
Katie McCormick [Sat, 10 Aug 2013 02:34:08 +0000 (19:34 -0700)]
am 94c529b8: am 385bb2eb: resolved conflicts for merge of 45178b13 to jb-mr2-ub-dev

* commit '94c529b8d1119a452227238d54dcad86216478e7':
  Doc change: collapse key fix.

10 years agoam 385bb2eb: resolved conflicts for merge of 45178b13 to jb-mr2-ub-dev
Katie McCormick [Sat, 10 Aug 2013 02:31:19 +0000 (19:31 -0700)]
am 385bb2eb: resolved conflicts for merge of 45178b13 to jb-mr2-ub-dev

* commit '385bb2eb5184686c2d953fe4757522e61acb3392':
  Doc change: collapse key fix.

10 years agoMerge "Bluetooth MAP profile - sms and mms support initial check-in" into klp-dev
Zhihai Xu [Sat, 10 Aug 2013 01:47:06 +0000 (01:47 +0000)]
Merge "Bluetooth MAP profile - sms and mms support initial check-in" into klp-dev

10 years agoresolved conflicts for merge of 45178b13 to jb-mr2-ub-dev
Katie McCormick [Sat, 10 Aug 2013 00:55:05 +0000 (17:55 -0700)]
resolved conflicts for merge of 45178b13 to jb-mr2-ub-dev

Change-Id: I3f0f4d210dd48ddbed5795278c7e2b5f07da5978

10 years agoMerge "Address Robin's code review comments in initial FlpHal submission." into klp-dev
destradaa [Sat, 10 Aug 2013 00:31:58 +0000 (00:31 +0000)]
Merge "Address Robin's code review comments in initial FlpHal submission." into klp-dev

10 years agoMerge "Allow bound processes to go PROCESS_STATE_TOP." into klp-dev
Dianne Hackborn [Sat, 10 Aug 2013 00:23:36 +0000 (00:23 +0000)]
Merge "Allow bound processes to go PROCESS_STATE_TOP." into klp-dev

10 years agoAllow bound processes to go PROCESS_STATE_TOP.
Dianne Hackborn [Sat, 10 Aug 2013 00:12:11 +0000 (17:12 -0700)]
Allow bound processes to go PROCESS_STATE_TOP.

For process state, if a top process is making use of another
process, we should probably count the second process as top
as well (instead of IMPORTANT_FOREGROUND).  Specially, when
chrome binds to render processes we want those render
processes to be TOP.  Otherwise, they end up in the
important foreground state and it looks like they are running
for some other reason in the background.

Change-Id: Id115dbb65dc2b403ffa4bbe4e7837564eb3b9cb5

10 years agoMerge "Take shadow bounds into account for quick rejects Bug #8634346" into klp-dev
Romain Guy [Sat, 10 Aug 2013 00:12:27 +0000 (00:12 +0000)]
Merge "Take shadow bounds into account for quick rejects Bug #8634346" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Sat, 10 Aug 2013 00:10:16 +0000 (00:10 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Prevent AsyncTask from creating too many threads Bug #10228005" into klp-dev
Romain Guy [Sat, 10 Aug 2013 00:05:29 +0000 (00:05 +0000)]
Merge "Prevent AsyncTask from creating too many threads Bug #10228005" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Sat, 10 Aug 2013 00:02:40 +0000 (00:02 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoAddress Robin's code review comments in initial FlpHal submission.
destradaa [Fri, 9 Aug 2013 22:01:49 +0000 (15:01 -0700)]
Address Robin's code review comments in initial FlpHal submission.

Change-Id: I50889599fdc5938a19b8bff4f11e64f44bcebdbf

10 years agoMerge "More stuff I need for the proc stats UI." into klp-dev
Dianne Hackborn [Fri, 9 Aug 2013 23:19:07 +0000 (23:19 +0000)]
Merge "More stuff I need for the proc stats UI." into klp-dev

10 years agoMore stuff I need for the proc stats UI.
Dianne Hackborn [Fri, 9 Aug 2013 23:16:56 +0000 (16:16 -0700)]
More stuff I need for the proc stats UI.

Change-Id: I5f05b79bc4d5766a80f2db9d20ba8078b60c1b00

10 years agoPrevent AsyncTask from creating too many threads
Romain Guy [Fri, 9 Aug 2013 23:09:44 +0000 (16:09 -0700)]
Prevent AsyncTask from creating too many threads
Bug #10228005

From the ThreadPoolExecutor documentation:

  - If fewer than corePoolSize threads are running, the Executor
    always prefers adding a new thread rather than queuing.
  - If corePoolSize or more threads are running, the Executor
    always prefers queuing a request rather than adding a new thread.
  - If a request cannot be queued, a new thread is created unless
    this would exceed maximumPoolSize, in which case, the task will
    be rejected.

Before this change AsyncTask could create up to 128 threads because
of the limited queue of 10 items (the capacity of a blocking queue
is fixed.)

This change increases the size of the queue to 128 items and reduces
the maximum number of threads to the number of CPU cores * 2 + 1.
Apps can still submit the same number of tasks.

Change-Id: I015d77b53b6a9fda39c618830b34d45a10de5571

10 years agoMerge "Reduce amount of invalidation when old-style animations are running" into...
Chet Haase [Fri, 9 Aug 2013 22:50:35 +0000 (22:50 +0000)]
Merge "Reduce amount of invalidation when old-style animations are running" into klp-dev

10 years agoMerge "Doc change: collapse key fix." into jb-mr2-dev
Katie McCormick [Fri, 9 Aug 2013 22:41:34 +0000 (22:41 +0000)]
Merge "Doc change: collapse key fix." into jb-mr2-dev

10 years agoDoc change: collapse key fix.
Katie McCormick [Wed, 24 Jul 2013 01:12:38 +0000 (18:12 -0700)]
Doc change: collapse key fix.

Change-Id: I620150b14ecd59db05f40c4422f8e2d09e05ebcb

10 years agoReduce amount of invalidation when old-style animations are running
Chet Haase [Thu, 8 Aug 2013 16:56:57 +0000 (09:56 -0700)]
Reduce amount of invalidation when old-style animations are running

Previously, old animations (view.animation.*) would cause invalidations on
both the area of the child view and then the entire parent area. There's no
reason for the second invalidation; only the child area need be redrawn.

Issue #10229470 Old animation code in View.draw() may be invalidating too much

Change-Id: I4d0d16321e20b2f34dc579eacf5d3841aed33d6d

10 years agoBluetooth MAP profile - sms and mms support initial check-in
Matthew Xie [Fri, 19 Jul 2013 00:31:50 +0000 (17:31 -0700)]
Bluetooth MAP profile - sms and mms support initial check-in

bug:10116530

Change-Id: I57d022005bcff5bc3e56438a81ac92566f957744

10 years agoMerge "add local focus mode and input event injection API to Window" into klp-dev
keunyoung [Fri, 9 Aug 2013 21:51:30 +0000 (21:51 +0000)]
Merge "add local focus mode and input event injection API to Window" into klp-dev

10 years agoMerge "Add extra layout pass after draw finished." into klp-dev
Craig Mautner [Fri, 9 Aug 2013 21:34:28 +0000 (21:34 +0000)]
Merge "Add extra layout pass after draw finished." into klp-dev

10 years agoAdd extra layout pass after draw finished.
Craig Mautner [Thu, 8 Aug 2013 21:59:00 +0000 (14:59 -0700)]
Add extra layout pass after draw finished.

Once content has been drawn another pass through layout is required
to set mHasContent in the LogicalDisplay. Previously this pass was
occuring because of a delayed animation step. When timing of that
step changed that pass occurred before the draw completed. This is
why Presentations were immediately displayed in jb-mr1 and not
jb-mr2.

Fixes bug 10154780.

Change-Id: I0075c5a73d5cdf972e73fdd59c1fde46df64e245

10 years agoMerge "parse named anonymous memory for dumpsys meminfo" into klp-dev
Colin Cross [Fri, 9 Aug 2013 21:24:08 +0000 (21:24 +0000)]
Merge "parse named anonymous memory for dumpsys meminfo" into klp-dev

10 years agoTake shadow bounds into account for quick rejects
Romain Guy [Fri, 9 Aug 2013 21:06:29 +0000 (14:06 -0700)]
Take shadow bounds into account for quick rejects
Bug #8634346

Change-Id: I995c5205c2959d8e4da638ae47fedcda92eb1b36

10 years agoMerge "NFC: always upper-case parsed AIDs." into klp-dev
Martijn Coenen [Fri, 9 Aug 2013 20:47:49 +0000 (20:47 +0000)]
Merge "NFC: always upper-case parsed AIDs." into klp-dev

10 years agoMerge "Fix padding adjustment for scrollbars in View, FastScroller" into klp-dev
Alan Viverette [Fri, 9 Aug 2013 20:46:02 +0000 (20:46 +0000)]
Merge "Fix padding adjustment for scrollbars in View, FastScroller" into klp-dev

10 years agoNFC: always upper-case parsed AIDs.
Martijn Coenen [Fri, 9 Aug 2013 20:43:34 +0000 (13:43 -0700)]
NFC: always upper-case parsed AIDs.

Also added activity intent action for Tap&Pay settings.

Change-Id: I5648e1ded3b79a3363899d1cab8aec55842b3e22

10 years agoparse named anonymous memory for dumpsys meminfo
Colin Cross [Fri, 9 Aug 2013 20:23:46 +0000 (13:23 -0700)]
parse named anonymous memory for dumpsys meminfo

Treat [anon:libc_malloc] as native heap and anything else that
starts with [anon: as unknown.

Bug: 10212959
Change-Id: Ifd120ae86e7a22291383df37d2b96f9f2dcd68b9

10 years agoMerge "Add a name to the DeviceOwner" into klp-dev
Geoffrey Borggaard [Fri, 9 Aug 2013 20:27:26 +0000 (20:27 +0000)]
Merge "Add a name to the DeviceOwner" into klp-dev

10 years agoAdd a name to the DeviceOwner
Geoffrey Borggaard [Thu, 8 Aug 2013 18:31:36 +0000 (14:31 -0400)]
Add a name to the DeviceOwner

We will need to display the name of the device owner (the human
readable name of the institution) to the user.
"This device is managed by google.com"

Change-Id: Ic33b6530c19cb14a118245692697205de3911a58

10 years agoMerge "Fix bug #10210182 CTS: android.widget.cts.TextViewTest#testDrawableResolution...
Fabrice Di Meglio [Fri, 9 Aug 2013 19:54:19 +0000 (19:54 +0000)]
Merge "Fix bug #10210182 CTS: android.widget.cts.TextViewTest#testDrawableResolution is failing on KLP" into klp-dev

10 years agoMerge "Add method for adding two ProcessStats objects together." into klp-dev
Dianne Hackborn [Fri, 9 Aug 2013 19:10:38 +0000 (19:10 +0000)]
Merge "Add method for adding two ProcessStats objects together." into klp-dev

10 years agoAdd method for adding two ProcessStats objects together.
Dianne Hackborn [Fri, 9 Aug 2013 04:57:14 +0000 (21:57 -0700)]
Add method for adding two ProcessStats objects together.

Also move file reading code over to ProcessStats.

Change-Id: Ib42272b90a408a494044965e98beed16c0b3f8a5

10 years agoMerge "Fix bug #10205316 CTS (KLP): android.graphics tests are failing" into klp-dev
Fabrice Di Meglio [Fri, 9 Aug 2013 18:11:32 +0000 (18:11 +0000)]
Merge "Fix bug #10205316 CTS (KLP): android.graphics tests are failing" into klp-dev