OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Don't unload the sound model on stopRecognition" into lmp-mr1-dev
Sandeep Siddhartha [Wed, 12 Nov 2014 20:12:38 +0000 (20:12 +0000)]
Merge "Don't unload the sound model on stopRecognition" into lmp-mr1-dev

9 years agoMerge "Frameworks/base: Right transform in DngCreator" into lmp-mr1-dev
Ruben Brunk [Wed, 12 Nov 2014 18:46:45 +0000 (18:46 +0000)]
Merge "Frameworks/base: Right transform in DngCreator" into lmp-mr1-dev

9 years agoMerge "Fix build breakage from missing close brace." into lmp-mr1-dev
Wale Ogunwale [Wed, 12 Nov 2014 18:22:11 +0000 (18:22 +0000)]
Merge "Fix build breakage from missing close brace." into lmp-mr1-dev

9 years agoDon't unload the sound model on stopRecognition
Sandeep Siddhartha [Thu, 16 Oct 2014 23:17:11 +0000 (16:17 -0700)]
Don't unload the sound model on stopRecognition

This helps us in majority of the scenarios where the sound model doesn't
change across start/stop calls.

Bug: 17954633
Change-Id: Ibff817bb69bc69d2bb3a2603460fed596688b892

9 years agoam c6bd0155: am 8d88f19b: am f9c4f6b5: Merge "fix code type and mention api level...
smain@google.com [Wed, 12 Nov 2014 17:56:26 +0000 (17:56 +0000)]
am c6bd0155: am 8d88f19b: am f9c4f6b5: Merge "fix code type and mention api level 21 exception for bindService()" into lmp-docs

* commit 'c6bd0155a76842e39ea0bb75eca33e6e3804437c':
  fix code type and mention api level 21 exception for bindService()

9 years agoam ca011519: am a53b8bad: am 4b7b68d8: Add "notification" category for samples.
Renato Mangini [Wed, 12 Nov 2014 17:56:20 +0000 (17:56 +0000)]
am ca011519: am a53b8bad: am 4b7b68d8: Add "notification" category for samples.

* commit 'ca011519b61e2ae57dfe760547d7d073f7ec42f3':
  Add "notification" category for samples.

9 years agoam 8d88f19b: am f9c4f6b5: Merge "fix code type and mention api level 21 exception...
smain@google.com [Wed, 12 Nov 2014 17:52:06 +0000 (17:52 +0000)]
am 8d88f19b: am f9c4f6b5: Merge "fix code type and mention api level 21 exception for bindService()" into lmp-docs

* commit '8d88f19bfe8ec0afb27593c0dea9b547d8c80b48':
  fix code type and mention api level 21 exception for bindService()

9 years agoam a53b8bad: am 4b7b68d8: Add "notification" category for samples.
Renato Mangini [Wed, 12 Nov 2014 17:52:02 +0000 (17:52 +0000)]
am a53b8bad: am 4b7b68d8: Add "notification" category for samples.

* commit 'a53b8badb994c3825140f68eba94888b3274c0b5':
  Add "notification" category for samples.

9 years agoFix build breakage from missing close brace.
Wale Ogunwale [Wed, 12 Nov 2014 17:46:10 +0000 (09:46 -0800)]
Fix build breakage from missing close brace.

Change-Id: Ib0e58844b8b208d255ff8d9409d0e7c53f27378f

9 years agoam f9c4f6b5: Merge "fix code type and mention api level 21 exception for bindService...
smain@google.com [Wed, 12 Nov 2014 17:44:52 +0000 (17:44 +0000)]
am f9c4f6b5: Merge "fix code type and mention api level 21 exception for bindService()" into lmp-docs

* commit 'f9c4f6b56e1392a411e2996a2bf372873ebf14da':
  fix code type and mention api level 21 exception for bindService()

9 years agoam 4b7b68d8: Add "notification" category for samples.
Renato Mangini [Wed, 12 Nov 2014 17:44:48 +0000 (17:44 +0000)]
am 4b7b68d8: Add "notification" category for samples.

* commit '4b7b68d824ee8bf184f6bfb05f75c74c129a9f8e':
  Add "notification" category for samples.

9 years agoMerge "fix code type and mention api level 21 exception for bindService()" into lmp...
smain@google.com [Wed, 12 Nov 2014 17:41:35 +0000 (17:41 +0000)]
Merge "fix code type and mention api level 21 exception for bindService()" into lmp-docs

9 years agofix code type and mention api level 21 exception for bindService()
smain@google.com [Wed, 12 Nov 2014 17:32:16 +0000 (09:32 -0800)]
fix code type and mention api level 21 exception for bindService()

Change-Id: I45460a1559960a32818e9cc88b1241b26f2f1f7d

9 years agoMerge "Ensure time picker dialog fits on small screens" into lmp-mr1-dev
Alan Viverette [Wed, 12 Nov 2014 17:32:30 +0000 (17:32 +0000)]
Merge "Ensure time picker dialog fits on small screens" into lmp-mr1-dev

9 years agoEnsure time picker dialog fits on small screens
Alan Viverette [Wed, 12 Nov 2014 17:31:22 +0000 (09:31 -0800)]
Ensure time picker dialog fits on small screens

Also fixes dialog padding in landscape mode and a bug in the
ColorStateList method used to apply a selected color.

BUG: 18251582
Change-Id: Id5b8c7893ec42fd4d5f4a7520e6ac170839d3143

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-mr1-dev
Geoff Mendal [Wed, 12 Nov 2014 17:07:09 +0000 (17:07 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 12 Nov 2014 16:55:50 +0000 (08:55 -0800)]
Import translations. DO NOT MERGE

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

9 years agoFixed constant window switching on lock screen with Swype KB.
Wale Ogunwale [Fri, 7 Nov 2014 20:13:02 +0000 (12:13 -0800)]
Fixed constant window switching on lock screen with Swype KB.

We allow TYPE_INPUT_METHOD windows to show on the lock screen.
These windows can attached other types of windows (For this
case the Swype KB was attaching a PopupWinow which will be
of TYPE_APPLICATION). This causes the popup window app token
to be added to the list of apps to be hidden on the lock
screen, thereby preventing the lock screen from been hidden,
which then causes a layout cycle(s). Now, we remove app
tokens for non-app windows from the hidden list in case it
was added by any attached widow they migth have.

Also, when we are updating window animations, set the
hideWhenLocked flag for windows that are IME tragets so
they don't go through unneeded cycles of having their
visibility policy set to hide/show/hide/show/...

Bug: 18021493
Change-Id: I3680256d41793f62def42fda00e26db1dcc990cc

9 years agoMerge "Solved notification overlay issue once and for all" into lmp-mr1-dev
Selim Cinek [Wed, 12 Nov 2014 16:27:26 +0000 (16:27 +0000)]
Merge "Solved notification overlay issue once and for all" into lmp-mr1-dev

9 years agoMerge "Improved the dismiss all animation" into lmp-mr1-dev
Selim Cinek [Wed, 12 Nov 2014 16:26:21 +0000 (16:26 +0000)]
Merge "Improved the dismiss all animation" into lmp-mr1-dev

9 years agoMerge "Fixed a bug where the clearable flag was set inconsistently" into lmp-mr1-dev
Selim Cinek [Wed, 12 Nov 2014 16:13:05 +0000 (16:13 +0000)]
Merge "Fixed a bug where the clearable flag was set inconsistently" into lmp-mr1-dev

9 years agoMerge "Added dissapear animation to pattern and pin input" into lmp-mr1-dev
Selim Cinek [Wed, 12 Nov 2014 16:12:11 +0000 (16:12 +0000)]
Merge "Added dissapear animation to pattern and pin input" into lmp-mr1-dev

9 years agoSolved notification overlay issue once and for all
Selim Cinek [Wed, 12 Nov 2014 15:58:16 +0000 (16:58 +0100)]
Solved notification overlay issue once and for all

But...
Once and for all!

Bug: 18314177
Change-Id: I484bea7d9f183d749fcdfba899d40292245f353d

9 years agoMerge "Improve lockscreen launch animations" into lmp-mr1-dev
Jorim Jaggi [Wed, 12 Nov 2014 15:48:16 +0000 (15:48 +0000)]
Merge "Improve lockscreen launch animations" into lmp-mr1-dev

9 years agoMerge "Correctly handle launch animations for affordances" into lmp-mr1-dev
Jorim Jaggi [Wed, 12 Nov 2014 15:47:51 +0000 (15:47 +0000)]
Merge "Correctly handle launch animations for affordances" into lmp-mr1-dev

9 years agoMerge "Fix lockscreen launch animations once and for all" into lmp-mr1-dev
Jorim Jaggi [Wed, 12 Nov 2014 15:47:35 +0000 (15:47 +0000)]
Merge "Fix lockscreen launch animations once and for all" into lmp-mr1-dev

9 years agoMerge "Remove unnecessary reflection lookup in Animators." into lmp-mr1-dev
George Mount [Wed, 12 Nov 2014 15:42:19 +0000 (15:42 +0000)]
Merge "Remove unnecessary reflection lookup in Animators." into lmp-mr1-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 12 Nov 2014 14:44:26 +0000 (06:44 -0800)]
Import translations. DO NOT MERGE

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

9 years agoImprove lockscreen launch animations
Jorim Jaggi [Tue, 11 Nov 2014 15:59:12 +0000 (16:59 +0100)]
Improve lockscreen launch animations

- Add a timeout so if WindowManager "forgets" to tell that the
activity has drawn, we still unlock after 3 seconds, so the user
is not completely stuck.

- Use the screen height instead of the window height for the
translation animation.

- Don't run the animation if the attached window is not null. The
animation from the attached window will influence the transformation
as well, so there is no need to run an additional animation in this
case (apps with SurfaceView's had broken unlock transitions because
of this).

- If the starting window needs to go away while the unlock transition
is running, modify the existing animation such that it fades out in
the same transition.

Bug: 15991916
Change-Id: Ia5dfa31e1bc0d5745fe228e1daf08e268733b6f1

9 years agoCorrectly handle launch animations for affordances
Jorim Jaggi [Mon, 10 Nov 2014 18:27:54 +0000 (19:27 +0100)]
Correctly handle launch animations for affordances

Bug: 15991916
Change-Id: I019d28b960bc74f3c0f05081bea4a303b16df204

9 years agoFix lockscreen launch animations once and for all
Jorim Jaggi [Fri, 7 Nov 2014 19:33:51 +0000 (20:33 +0100)]
Fix lockscreen launch animations once and for all

In SysUI, make sure not to dismiss Keyguard multiple times when just
waiting for a deferred dismissal, so WindowManager doesn't get
multiple calls to keyguardGoingAway.

Change heuristics how notifying Keyguard about activity drawn works.
Always notify Keyguard after executing an app transition, and notify
it also when not doing a transition after a startActivity call.

For that to work, update AppWindowToken.startingDisplayed also when
the window is displayed, but force hidden because of Keyguard.

Further, handle the case correctly when a window gets added during
the Keyguard exit animation by overriding the start time for the
animation of that new window. Also don't apply a transition animation
for a window when executing keyguard exit animation, so by removing
a starting window we don't break this animation.

Last but not least, tell Keyguard to start exiting immediately if
animations for exiting are disabled, like when going to phone/camera
on lockscreen. Before, we always had a delay of 1 second because we
waited for the timeout.

Bug: 1599196
Bug: 18272544
Change-Id: I596b2489f814b934abd256e16079d3d3f326e209

9 years agoAdded dissapear animation to pattern and pin input
Selim Cinek [Tue, 11 Nov 2014 12:41:02 +0000 (13:41 +0100)]
Added dissapear animation to pattern and pin input

Bug: 18232017
Change-Id: I062d55b0870ccaad6093b672f5076c3f80c10f94

9 years agoMerge "Remove unused local field." into lmp-mr1-dev
Narayan Kamath [Wed, 12 Nov 2014 13:30:15 +0000 (13:30 +0000)]
Merge "Remove unused local field." into lmp-mr1-dev

9 years agoMerge "Tell installd when boot completes." into lmp-mr1-dev
Narayan Kamath [Wed, 12 Nov 2014 12:48:20 +0000 (12:48 +0000)]
Merge "Tell installd when boot completes." into lmp-mr1-dev

9 years agoObliterate LockPatternUtilsCache
Adrian Roos [Tue, 11 Nov 2014 12:51:07 +0000 (13:51 +0100)]
Obliterate LockPatternUtilsCache

It is disabled dead code already and not useful anymore
with the new caching in LockSettingsService.

Bug: 18163444
Change-Id: Icc184e923e0fbeab31ed128336c01f835b24c6f2

9 years agoProperly destroy TrustAgentWrapper when not bound
Adrian Roos [Tue, 11 Nov 2014 11:55:44 +0000 (12:55 +0100)]
Properly destroy TrustAgentWrapper when not bound

Also fixes a potential issue where refreshing agents
for a user that no longer exists would result in a crash.

Bug: 18318629
Change-Id: I3589ea7e0f2e63fca02daeecf3ca964a8a8e4b3b

9 years agoFrameworks/base: Right transform in DngCreator
Andreas Gampe [Tue, 11 Nov 2014 08:23:02 +0000 (00:23 -0800)]
Frameworks/base: Right transform in DngCreator

Use the right calibrationTransform.

Change-Id: Ibc633ff1e02d1e48a27ae2a72585d3de2222a2c1

9 years agoAdd "notification" category for samples.
Renato Mangini [Wed, 12 Nov 2014 03:51:53 +0000 (19:51 -0800)]
Add "notification" category for samples.

Bug: 18323953
Change-Id: Ifb78015604fd203baaf5f4c6496a86aa6c831227

9 years agoMerge "Reduce number of saveLayer calls in RippleDrawable" into lmp-mr1-dev
Alan Viverette [Wed, 12 Nov 2014 02:04:20 +0000 (02:04 +0000)]
Merge "Reduce number of saveLayer calls in RippleDrawable" into lmp-mr1-dev

9 years agoMerge "dont blacklist wifi config that have had validated internet status in the...
vandwalle [Wed, 12 Nov 2014 01:18:08 +0000 (01:18 +0000)]
Merge "dont blacklist wifi config that have had validated internet status in the past" into lmp-mr1-dev

9 years agoMerge "Update SubscriptionManager API as per API council." into lmp-mr1-dev
Wink Saville [Wed, 12 Nov 2014 01:13:01 +0000 (01:13 +0000)]
Merge "Update SubscriptionManager API as per API council." into lmp-mr1-dev

9 years agoMerge "Wake up device in the case a touch is encountered in theater mode when the...
Bryce Lee [Wed, 12 Nov 2014 01:02:49 +0000 (01:02 +0000)]
Merge "Wake up device in the case a touch is encountered in theater mode when the screen is off and no dream is running." into lmp-sprout-dev
automerge: 68f9773

* commit '68f97736e65f1be4664fd3c3765fc621f3b76c3a':
  Wake up device in the case a touch is encountered in theater mode when the screen is off and no dream is running.

9 years agoMerge "Adding null checks for unset stack. (Bug 18329447)" into lmp-mr1-dev
Winson Chung [Wed, 12 Nov 2014 00:35:35 +0000 (00:35 +0000)]
Merge "Adding null checks for unset stack. (Bug 18329447)" into lmp-mr1-dev

9 years agoShow error dialogs over apps that dismiss keyguard
Craig Mautner [Tue, 11 Nov 2014 17:03:59 +0000 (09:03 -0800)]
Show error dialogs over apps that dismiss keyguard

Error dialogs absorb all input to ensure that they are not missed.
This can cause the screen to lock up if they are not displayed but
are still absorbing touches. This was what was happening when there
was an error dialog up at the same time as a phone call came in as
in b/17648830.

This fix recognizes when an app is dismissing the keyguard and
forces any error dialogs to be shown over such an app.

This also removes the private flags from the input system as they
are no longer needed.

Fixes bug 17648830.

Change-Id: I5c98b8265a1448b445fdb2f745fc78892f8656a4

9 years agoAdding null checks for unset stack. (Bug 18329447)
Winson Chung [Wed, 12 Nov 2014 00:11:52 +0000 (16:11 -0800)]
Adding null checks for unset stack. (Bug 18329447)

9 years agoMerge "Preload only visible thumbnails and task icons. (Bug 17672056, Bug 18291345...
Winson Chung [Wed, 12 Nov 2014 00:10:53 +0000 (00:10 +0000)]
Merge "Preload only visible thumbnails and task icons. (Bug 17672056, Bug 18291345)" into lmp-mr1-dev

9 years agoPreload only visible thumbnails and task icons. (Bug 17672056, Bug 18291345)
Winson Chung [Fri, 7 Nov 2014 23:02:38 +0000 (15:02 -0800)]
Preload only visible thumbnails and task icons. (Bug 17672056, Bug 18291345)

This change ensures that only the number of visible thumbnails and task icons are
loaded to minimize the delay required when initializing the stack without the
cache.  In addition, this change reduces the number of times that the task stack
is recomposed when launching recents (in addition to the number of calls to
getRecentTasks()).

There is also a fix to a regression where the exit trigger is not run when the
task stack view is empty.

Change-Id: I75834ff3c57c0e5dad6252b982f71c6e740071f2

9 years agoMerge "Allow profile owners to set the unknown source setting" into lmp-mr1-dev
Amith Yamasani [Wed, 12 Nov 2014 00:07:57 +0000 (00:07 +0000)]
Merge "Allow profile owners to set the unknown source setting" into lmp-mr1-dev

9 years agoMerge "Add HIDE_CARRIER_NETWORK_SETTINGS global setting." into lmp-mr1-dev
Junda Liu [Wed, 12 Nov 2014 00:05:18 +0000 (00:05 +0000)]
Merge "Add HIDE_CARRIER_NETWORK_SETTINGS global setting." into lmp-mr1-dev

9 years agoMerge "Wake up device in the case a touch is encountered in theater mode when the...
Bryce Lee [Tue, 11 Nov 2014 23:59:32 +0000 (23:59 +0000)]
Merge "Wake up device in the case a touch is encountered in theater mode when the screen is off and no dream is running." into lmp-sprout-dev

9 years agoAllow profile owners to set the unknown source setting
Amith Yamasani [Tue, 21 Oct 2014 18:14:04 +0000 (11:14 -0700)]
Allow profile owners to set the unknown source setting

This allows work profile MDM to enable unknown sources
even if the user doesn't have UI for it. Installing an
app from an unknown source will still prompt the user
with the package installer dialog, so it's not like the
MDM can now quietly install apps from non-market sources.

Bug: 18316350

Change-Id: Ia8f4fe36f12a258aa888e085acc0b358925f4817

9 years agoMerge "Update PhoneAccount icon API (1/6)" into lmp-mr1-dev
Ihab Awad [Tue, 11 Nov 2014 22:56:07 +0000 (22:56 +0000)]
Merge "Update PhoneAccount icon API (1/6)" into lmp-mr1-dev

9 years agoMerge "Move device admin max screen off timeout to internal interface." into lmp...
Jeff Brown [Tue, 11 Nov 2014 22:27:43 +0000 (22:27 +0000)]
Merge "Move device admin max screen off timeout to internal interface." into lmp-mr1-dev

9 years agoUpdate PhoneAccount icon API (1/6)
Ihab Awad [Mon, 3 Nov 2014 17:47:51 +0000 (09:47 -0800)]
Update PhoneAccount icon API (1/6)

Responding to comments by jeffbrown@ in http://ag/574833

Bug: 18291787

Change-Id: I011aa59642f1ca6998bce76a59850909d2daa987

9 years agoMerge "AAPT: Ignore densities specified in -c flag" into lmp-mr1-dev
Adam Lesinski [Tue, 11 Nov 2014 20:23:57 +0000 (20:23 +0000)]
Merge "AAPT: Ignore densities specified in -c flag" into lmp-mr1-dev

9 years agoMerge "Add event logs when we launch fullscreen notications." into lmp-mr1-dev
Chris Wren [Tue, 11 Nov 2014 20:21:57 +0000 (20:21 +0000)]
Merge "Add event logs when we launch fullscreen notications." into lmp-mr1-dev

9 years agoMerge "If task isn't found in recents, look in the stacks." into lmp-mr1-dev
Prabhakar Thirumoorthy [Tue, 11 Nov 2014 20:01:08 +0000 (20:01 +0000)]
Merge "If task isn't found in recents, look in the stacks." into lmp-mr1-dev

9 years agoUpdate SubscriptionManager API as per API council.
Wink Saville [Tue, 11 Nov 2014 19:48:04 +0000 (11:48 -0800)]
Update SubscriptionManager API as per API council.

bug: 17575308
Change-Id: Ib39a60e4f75981a466e9d606ec627756efad018d

9 years agoIf task isn't found in recents, look in the stacks.
Craig Mautner [Tue, 11 Nov 2014 19:28:43 +0000 (11:28 -0800)]
If task isn't found in recents, look in the stacks.

It may take an attach to move a task into the recents list. If the
timing is right a task may not be in recents by the time we are
removing it from the stacks due to a finish. In that case we should
look in the stacks for the task as well as looking in recents.

Fixes bug 18017409.

Change-Id: Idcfe2e263c9d0fe9a063fdf22515ac4e7fe89ecb

9 years agoMerge "return error MEDIA_ERROR_UNSUPPORTED when Range request fail" into lmp-mr1-dev
Chong Zhang [Tue, 11 Nov 2014 18:33:20 +0000 (18:33 +0000)]
Merge "return error MEDIA_ERROR_UNSUPPORTED when Range request fail" into lmp-mr1-dev

9 years agoFixed a bug where the clearable flag was set inconsistently
Selim Cinek [Tue, 11 Nov 2014 18:16:18 +0000 (19:16 +0100)]
Fixed a bug where the clearable flag was set inconsistently

This could lead to undismissable notifications.

Bug: 17758698
Change-Id: I60ccbe24686c5b8bc46bfb52e590cef71ed7a190

9 years agoAdd event logs when we launch fullscreen notications.
Chris Wren [Mon, 10 Nov 2014 21:00:09 +0000 (16:00 -0500)]
Add event logs when we launch fullscreen notications.

When the heads up does not trigger on enqueue, and also when a heads up
is escalated to a fullscreen on a screen event.

Bug: 16644299
Change-Id: Iec7f7ddb966b46171d0e7d1ee52daf5847a7c9da

9 years agoMerge "IMS: Peer capabilities support" into lmp-mr1-dev
Pavel Zhamaitsiak [Tue, 11 Nov 2014 18:07:05 +0000 (18:07 +0000)]
Merge "IMS: Peer capabilities support" into lmp-mr1-dev

9 years agoMerge "Fixed index out of bounds issue when removing windows." into lmp-mr1-dev
Wale Ogunwale [Tue, 11 Nov 2014 18:00:04 +0000 (18:00 +0000)]
Merge "Fixed index out of bounds issue when removing windows." into lmp-mr1-dev

9 years agoMerge "Fix Material styling in remaining dialogs and layouts" into lmp-mr1-dev
Alan Viverette [Tue, 11 Nov 2014 17:34:34 +0000 (17:34 +0000)]
Merge "Fix Material styling in remaining dialogs and layouts" into lmp-mr1-dev

9 years agoam 5ad9b395: am a44fdb9e: Merge "Don\'t skip loading object animator." into lmp-dev
Deepanshu Gupta [Tue, 11 Nov 2014 17:22:00 +0000 (17:22 +0000)]
am 5ad9b395: am a44fdb9e: Merge "Don\'t skip loading object animator." into lmp-dev

* commit '5ad9b395db341b3360d481039f152f8ce1d8360c':
  Don't skip loading object animator.

9 years agoam a44fdb9e: Merge "Don\'t skip loading object animator." into lmp-dev
Deepanshu Gupta [Tue, 11 Nov 2014 17:17:02 +0000 (17:17 +0000)]
am a44fdb9e: Merge "Don\'t skip loading object animator." into lmp-dev

* commit 'a44fdb9e216810ba62f20c1b4571ebc240931efa':
  Don't skip loading object animator.

9 years agoMerge "Don't skip loading object animator." into lmp-dev
Deepanshu Gupta [Tue, 11 Nov 2014 17:11:22 +0000 (17:11 +0000)]
Merge "Don't skip loading object animator." into lmp-dev

9 years agoRemove unnecessary reflection lookup in Animators.
George Mount [Tue, 11 Nov 2014 00:46:31 +0000 (16:46 -0800)]
Remove unnecessary reflection lookup in Animators.

Bug 17978210

When Properties are used with PropertyValuesHolders or
ObjectAnimators, the reflection lookup for getters and
setters is unnecessary.

Fixed problem in which static maps were being protected
by instance locks.

Fixed problem where we were repeatedly doing a
reflection lookup on methods that don't exist.

Change-Id: Ic0a1b62357f3aaaa4c900fef6087583ad0e964b6

9 years agoMerge "Zen: Exit downtime on next alarm (if mode=none)." into lmp-mr1-dev
John Spurlock [Tue, 11 Nov 2014 16:50:12 +0000 (16:50 +0000)]
Merge "Zen: Exit downtime on next alarm (if mode=none)." into lmp-mr1-dev

9 years agoIMS: Peer capabilities support
Shriram Ganesh [Mon, 13 Oct 2014 18:31:50 +0000 (11:31 -0700)]
IMS: Peer capabilities support

Add support for querying peer capabilities

IMS: Add support for HD icon display related information

Added support to pass the restrict cause associated with the peer
in order to enable display of the HD icon when necessary.Added
support to pass local audio codec information and defined values
for new codecs not defined.

Change-Id: If05d46bdb3907a0ec7efdde48337a7932a7a5c21

9 years agoImproved the dismiss all animation
Selim Cinek [Fri, 7 Nov 2014 17:07:49 +0000 (18:07 +0100)]
Improved the dismiss all animation

Added an AVD to the icon and changed the order
to be from bottom to the top.

Bug: 17903685
Bug: 17007783
Change-Id: Ia1509e2d4e02c87782285e05b7b7fb6a11854f95

9 years agoMerge "Make setOutlineProvider change transitionGroup." into lmp-mr1-dev
George Mount [Tue, 11 Nov 2014 15:41:32 +0000 (15:41 +0000)]
Merge "Make setOutlineProvider change transitionGroup." into lmp-mr1-dev

9 years agoDon't skip loading object animator.
Deepanshu Gupta [Tue, 11 Nov 2014 15:21:19 +0000 (15:21 +0000)]
Don't skip loading object animator.

This is used by Buttons as part of StateListAnimator.

Change-Id: Id370869e71898d46e11bbd17ad31169c9f9f5274

9 years agoZen: Exit downtime on next alarm (if mode=none).
John Spurlock [Tue, 11 Nov 2014 03:04:12 +0000 (22:04 -0500)]
Zen: Exit downtime on next alarm (if mode=none).

Bug: 16373455
Change-Id: Ie5d878ea4f930556ed84225c21d7c6df61024fbc

9 years agoTell installd when boot completes.
Narayan Kamath [Mon, 10 Nov 2014 14:23:41 +0000 (14:23 +0000)]
Tell installd when boot completes.

installd can then clear the ".booting" marker from the dalvik-cache
(owned by root). This marker is used to detect boot loops.

bug: 18280671

Change-Id: I878f1463c7f523892605c17b980a51ac3b6645e2

9 years agoMerge "Add tv product variants to strings." into lmp-mr1-dev
Tim Kilbourn [Tue, 11 Nov 2014 06:32:32 +0000 (06:32 +0000)]
Merge "Add tv product variants to strings." into lmp-mr1-dev

9 years agoreturn error MEDIA_ERROR_UNSUPPORTED when Range request fail
Chong Zhang [Tue, 11 Nov 2014 03:31:01 +0000 (19:31 -0800)]
return error MEDIA_ERROR_UNSUPPORTED when Range request fail

Bug: 18235751
Change-Id: I4631daf50bb76b70dd740c45b628294ad1aa45e1

9 years agoMerge "split-select: fix OSX build" into lmp-mr1-dev
Adam Lesinski [Tue, 11 Nov 2014 02:29:57 +0000 (02:29 +0000)]
Merge "split-select: fix OSX build" into lmp-mr1-dev

9 years agoam 75c306dd: am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEf...
Eric Laurent [Tue, 11 Nov 2014 02:10:37 +0000 (02:10 +0000)]
am 75c306dd: am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant automerge: 8db769d automerge: 9e0ed1c
automerge: ad64557

* commit 'ad6455721e1257054f2ca4334d2578129429e3b6':

9 years agoAAPT: Ignore densities specified in -c flag
Adam Lesinski [Tue, 11 Nov 2014 01:56:11 +0000 (17:56 -0800)]
AAPT: Ignore densities specified in -c flag

The --preferred-density flag knows how to handle missing resources of
specific densities. Using -c with a density leads to missing resources.

Change-Id: I2251d842f48c08ed083663bb7ed608e14c4983c8

9 years agoam 75c306dd: am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEf...
Eric Laurent [Tue, 11 Nov 2014 01:43:21 +0000 (01:43 +0000)]
am 75c306dd: am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant automerge: 8db769d automerge: 9e0ed1c

* commit '75c306ddc716b36bdc54aaf75dd7eacbd008ab98':

9 years agosplit-select: fix OSX build
Adam Lesinski [Tue, 11 Nov 2014 01:32:27 +0000 (17:32 -0800)]
split-select: fix OSX build

Clang is a bit stricter about what template definition it chooses
for mixed types that are normally possible to cast between.
Operations like std::find(int iterator, int iterator, enum) will fail,
as Clang won't implicitly cast an enum to an int here.

Change-Id: Ib2276c382ebf2b877e1045d32b1a9d0a1fa4d4a4

9 years agoam df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI...
Eric Laurent [Tue, 11 Nov 2014 01:34:45 +0000 (01:34 +0000)]
am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant automerge: 8db769d
automerge: 9e0ed1c

* commit '9e0ed1c2d67bc2ec74e24782f3738889fa0d79d2':

9 years agoAdd Activity API to get referrer information.
Dianne Hackborn [Tue, 4 Nov 2014 18:31:54 +0000 (10:31 -0800)]
Add Activity API to get referrer information.

This expands the use of EXTRA_REFERRER to be relevant anywhere,
allowing apps to supply referrer information if they want.  However,
if they don't explicitly supply it, then the platform now keeps
track of package names that go with Intents when delivering them
to apps, which it can be returned as the default value.

The new method Activity.getReferrer() is used to retrieve this
referrer information.  It knows about EXTRA_REFERRER, it can return
the default package name tracked internally, and it also can return
a new EXTRA_REFERRER_NAME if that exists.  The latter is needed
because we can't use EXTRA_REFERRER in some cases since it is a Uri,
and things like #Intent; URI extras can only generate primitive type
extras.  We really need to support this syntax for referrers, so we
need to have this additional extra field as an option.

When a referrer is to a native app, we are adopting the android-app
scheme.  Since we are doing this, Intent's URI creation and parsing
now supports this scheme, and we improve its syntax to be able to build
intents with custom actions and stuff, instead of being all hung up
on custom schemes.

While doing this, fixed a problem when parsing both intent: and new
android-app: schemes with a selector portion, where we were not
respecting any scheme that was specified.

Change-Id: I06e55221e21a8156c1d6ac755a254fea386917a2

9 years agoam df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI...
Eric Laurent [Tue, 11 Nov 2014 00:22:33 +0000 (00:22 +0000)]
am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant
automerge: 8db769d

* commit '8db769dd56822a59f1997a9cb53ed02d3d1cb8dd':
  AudioEffect JNI: use new max preprocessing constant

9 years agoFix Material styling in remaining dialogs and layouts
Alan Viverette [Tue, 11 Nov 2014 00:14:27 +0000 (16:14 -0800)]
Fix Material styling in remaining dialogs and layouts

Also updates existing row and dialog layouts to use preferred list item
or dialog padding as appropriate, fixes incorrect activity themes, and
updates ChooseAccountActivity variants for Material.

BUG: 18314215
BUG: 18292562
Change-Id: I2fde4ba6db80d839104abdaa334a46ad1861600f

9 years agoMerge "Call OnTimeChangedListener when new TimePicker values are selected" into lmp...
Alan Viverette [Mon, 10 Nov 2014 23:54:45 +0000 (23:54 +0000)]
Merge "Call OnTimeChangedListener when new TimePicker values are selected" into lmp-mr1-dev

9 years agoam ca7c01cb: am 3011e1be: am 8db769dd: am df878bd3: am ced2f74a: am e8c1a97f: am...
Eric Laurent [Mon, 10 Nov 2014 23:52:27 +0000 (23:52 +0000)]
am ca7c01cb: am 3011e1be: am 8db769dd: am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant

* commit 'ca7c01cb5c0d458ba8614e9294cc91167a102216':
  AudioEffect JNI: use new max preprocessing constant

9 years agoMerge "Only modify add Transition targets when they aren't targeted." into lmp-mr1-dev
George Mount [Mon, 10 Nov 2014 23:48:32 +0000 (23:48 +0000)]
Merge "Only modify add Transition targets when they aren't targeted." into lmp-mr1-dev

9 years agoam 3011e1be: am 8db769dd: am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am...
Eric Laurent [Mon, 10 Nov 2014 23:44:16 +0000 (23:44 +0000)]
am 3011e1be: am 8db769dd: am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant

* commit '3011e1be2c14f99b1fd72b7e17207ad067668f1b':
  AudioEffect JNI: use new max preprocessing constant

9 years agoam 8db769dd: am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEf...
Eric Laurent [Mon, 10 Nov 2014 23:38:23 +0000 (23:38 +0000)]
am 8db769dd: am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant

* commit '8db769dd56822a59f1997a9cb53ed02d3d1cb8dd':
  AudioEffect JNI: use new max preprocessing constant

9 years agoam df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI...
Eric Laurent [Mon, 10 Nov 2014 23:33:52 +0000 (23:33 +0000)]
am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant

* commit 'df878bd3fc63f26e91b055e39ba63c53c14b31a0':
  AudioEffect JNI: use new max preprocessing constant

9 years agoFixed index out of bounds issue when removing windows.
Wale Ogunwale [Mon, 10 Nov 2014 20:12:27 +0000 (12:12 -0800)]
Fixed index out of bounds issue when removing windows.

Child windows are also removed when WMS.removeWindowInnerLocked()
is called to removed a window. This causes the number of windows
to decrement by more than 1 which causes an out of bounds exception
in AppWindowToken.removeAllWindows() which was expecting a decrement
of 1. Changed code to only continue looping if the size of the
Windows array is still greater than 0.

Bug: 18202119
Change-Id: I6124717272c552ec98e89cbacaadcd964fdba02e

9 years agoam ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max...
Eric Laurent [Mon, 10 Nov 2014 23:29:07 +0000 (23:29 +0000)]
am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant

* commit 'ced2f74ac170439231f189e31538b9f403909966':
  AudioEffect JNI: use new max preprocessing constant

9 years agoam e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing...
Eric Laurent [Mon, 10 Nov 2014 23:24:02 +0000 (23:24 +0000)]
am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant

* commit 'e8c1a97fa33797df528265b6f0b0c2c39ac2c589':
  AudioEffect JNI: use new max preprocessing constant

9 years agoam 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant
Eric Laurent [Mon, 10 Nov 2014 23:20:06 +0000 (23:20 +0000)]
am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant

* commit '3b92fc04700a68dab3c3c4a873535837c4e51e8b':
  AudioEffect JNI: use new max preprocessing constant

9 years agoam 1c2b0d52: AudioEffect JNI: use new max preprocessing constant
Eric Laurent [Mon, 10 Nov 2014 23:11:00 +0000 (23:11 +0000)]
am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant

* commit '1c2b0d52144dc94a7d1dcefb7e4fbd7fb29f5202':
  AudioEffect JNI: use new max preprocessing constant

9 years agoam 2b0b7a6c: am 3bd60359: am c2f2a725: Merge "docs:builds tools 21.1.1 update" into...
Joe Fernandez [Mon, 10 Nov 2014 23:06:46 +0000 (23:06 +0000)]
am 2b0b7a6c: am 3bd60359: am c2f2a725: Merge "docs:builds tools 21.1.1 update" into lmp-docs

* commit '2b0b7a6c2f4ec75ddb90b92e7af8362c26607495':
  docs:builds tools 21.1.1 update

9 years agoam 3bd60359: am c2f2a725: Merge "docs:builds tools 21.1.1 update" into lmp-docs
Joe Fernandez [Mon, 10 Nov 2014 23:02:56 +0000 (23:02 +0000)]
am 3bd60359: am c2f2a725: Merge "docs:builds tools 21.1.1 update" into lmp-docs

* commit '3bd60359e2db6cbd4437179225fe4f9dd4f682e4':
  docs:builds tools 21.1.1 update