Commit Graph

164750 Commits

Author SHA1 Message Date
Adam Powell
05f35127e3 Optimize setting padding and backgrounds for views
Don't reset the entire chain of child views whenever we set our own
padding or background; clear our own bidi resolution bits only. This
prevents doing a lot of extra recursive work when changing properties
of a parent view that cannot affect children.

Bug 18159214

Change-Id: I94300402785c79c3199e768ad7b6d7027d8d5d5f
2014-11-12 10:26:32 -08:00
Alan Viverette
f9afb46bf7 Fix default attributes in ScaleDrawable
Reverts default scales to correct value of -1, uses existing state
values when updating from typed array.

BUG: 18351309
Change-Id: I45d21fe017a7bea10e3cbda50f6db65d053aa2ec
2014-11-12 10:24:40 -08:00
Wale Ogunwale
2755644d32 Merge "Fix build breakage from missing close brace." into lmp-mr1-dev 2014-11-12 18:22:12 +00:00
smain@google.com
e9e96e7f0e am 7d0d2f6c: am c6bd0155: am 8d88f19b: am f9c4f6b5: Merge "fix code type and mention api level 21 exception for bindService()" into lmp-docs
* commit '7d0d2f6c95aa01d6aa43217dec2e183403e7c514':
  fix code type and mention api level 21 exception for bindService()
2014-11-12 18:04:11 +00:00
Renato Mangini
68fde80a47 am 2a3ce185: am ca011519: am a53b8bad: am 4b7b68d8: Add "notification" category for samples.
* commit '2a3ce1853cb5aba8dc1bb9cb9479ec962f8b1e86':
  Add "notification" category for samples.
2014-11-12 18:04:05 +00:00
Sandeep Siddhartha
45c00b5877 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
2014-11-12 09:57:27 -08:00
smain@google.com
7d0d2f6c95 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()
2014-11-12 17:56:26 +00:00
Renato Mangini
2a3ce1853c am ca011519: am a53b8bad: am 4b7b68d8: Add "notification" category for samples.
* commit 'ca011519b61e2ae57dfe760547d7d073f7ec42f3':
  Add "notification" category for samples.
2014-11-12 17:56:20 +00:00
smain@google.com
c6bd0155a7 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()
2014-11-12 17:52:06 +00:00
Renato Mangini
ca011519b6 am a53b8bad: am 4b7b68d8: Add "notification" category for samples.
* commit 'a53b8badb994c3825140f68eba94888b3274c0b5':
  Add "notification" category for samples.
2014-11-12 17:52:02 +00:00
Wale Ogunwale
1dfab89aff Fix build breakage from missing close brace.
Change-Id: Ib0e58844b8b208d255ff8d9409d0e7c53f27378f
2014-11-12 09:46:10 -08:00
smain@google.com
8d88f19bfe 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()
2014-11-12 17:44:52 +00:00
Renato Mangini
a53b8badb9 am 4b7b68d8: Add "notification" category for samples.
* commit '4b7b68d824ee8bf184f6bfb05f75c74c129a9f8e':
  Add "notification" category for samples.
2014-11-12 17:44:48 +00:00
smain@google.com
f9c4f6b56e Merge "fix code type and mention api level 21 exception for bindService()" into lmp-docs 2014-11-12 17:41:36 +00:00
Shishir Agrawal
5c1a63c223 Add new API to set voicemail number.
The API is protected by system or carrier privilege.

Bug: 17393589
Change-Id: I33f4a00b30e0f5d72e5d53553a187d974872eab6
2014-11-12 09:38:18 -08:00
smain@google.com
9adc33a658 fix code type and mention api level 21 exception for bindService()
Change-Id: I45460a1559960a32818e9cc88b1241b26f2f1f7d
2014-11-12 09:38:00 -08:00
Alan Viverette
c164b97f46 am 4fc2ea84: Merge "Ensure time picker dialog fits on small screens" into lmp-mr1-dev
* commit '4fc2ea8402b62001b225bf4e1a335c4cbf3b65ea':
  Ensure time picker dialog fits on small screens
2014-11-12 17:35:58 +00:00
Alan Viverette
4fc2ea8402 Merge "Ensure time picker dialog fits on small screens" into lmp-mr1-dev 2014-11-12 17:32:31 +00:00
Alan Viverette
d9f3fdf45b 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
2014-11-12 09:31:22 -08:00
Selim Cinek
1dc406505c Increases the falsing threshold when for the keyguard affordances
The minimum amount has been increased by 20dp and in addition the
Motion is cancelled whenever a POINTER_DOWN occurs, which should
help a lot with falsing.

Bug: 18298401
Change-Id: I04b1f30fd2555c08209224f4e84c610ecd7a33f1
2014-11-12 18:24:58 +01:00
Wale Ogunwale
c3672cd3f7 Cancel or drop key events if activity is stopped.
After an activity instance state is saved due to onStop()/onPause(),
there is a small window where it can still get key events like the
back button since we still allow the ActivityThread to handle
pending messages (like memory trim request) before informing the
activity manager that we are done. If the activity is stopped,
we will now drop non-terminal input events and set the cancel
flag on terminal events.

Bug: 18151331
Change-Id: I370d7c871530eea4b16fa42428d0248f1a87abb6
2014-11-12 09:23:22 -08:00
Geoff Mendal
832f0770c7 am cfefab71: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev
* commit 'cfefab71b1db5500fa3c294a816a3ccb0990242c':
  Import translations. DO NOT MERGE
  Fixed constant window switching on lock screen with Swype KB.
2014-11-12 17:15:48 +00:00
Geoff Mendal
b3f447e9ca Merge "Import translations. DO NOT MERGE" into lmp-mr1-ub-dev 2014-11-12 17:07:48 +00:00
Geoff Mendal
cfefab71b1 Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-11-12 17:07:10 +00:00
Geoff Mendal
c2651d82e8 Import translations. DO NOT MERGE
Change-Id: Iaba356a3700ef7b49150ea1331273c1b6e9ca5b9
Auto-generated-cl: translation import
2014-11-12 08:59:14 -08:00
Jeff Davidson
bc19c181c8 Enforce VPN control "permission" with an actual permission.
The current implementation uses a whitelist of package names. Use a
system|signature permission instead of rolling our own security and
add that permission to the existing set of whitelisted packages
(SystemUI and VpnDialogs).

In addition to being less of a security risk (using well-known methods
like Context.enforceCallingPermission rather than manually querying
PackageManager and checking UIDs for package names), this enables
other system-privileged apps to control VPN as needed per the below
bug.

Bug: 18327583
Change-Id: I38617965c40d62cf1ac28e3cb382c0877fb1275d
2014-11-12 08:56:20 -08:00
Geoff Mendal
3830c60b9c Import translations. DO NOT MERGE
Change-Id: I629a49e626a3121f8df33574952162672c943341
Auto-generated-cl: translation import
2014-11-12 08:55:50 -08:00
Wale Ogunwale
3ae0d3157d 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
2014-11-12 08:42:09 -08:00
Selim Cinek
1419db40f7 am 89444a38: Merge "Solved notification overlay issue once and for all" into lmp-mr1-dev
* commit '89444a380d85f8961a4a900734590571375b4f3f':
  Solved notification overlay issue once and for all
2014-11-12 16:29:24 +00:00
Selim Cinek
087c96f8c9 am 04675730: Merge "Improved the dismiss all animation" into lmp-mr1-dev
* commit '046757300c0a9b2043ff71e49bc3be50d5279443':
  Improved the dismiss all animation
2014-11-12 16:29:19 +00:00
Selim Cinek
89444a380d Merge "Solved notification overlay issue once and for all" into lmp-mr1-dev 2014-11-12 16:27:28 +00:00
Selim Cinek
046757300c Merge "Improved the dismiss all animation" into lmp-mr1-dev 2014-11-12 16:26:22 +00:00
Selim Cinek
a89c8fe7ee am 9852ecd6: Merge "Fixed a bug where the clearable flag was set inconsistently" into lmp-mr1-dev
* commit '9852ecd6378be67c36010b415cffbc852e6a265f':
  Fixed a bug where the clearable flag was set inconsistently
2014-11-12 16:16:14 +00:00
Selim Cinek
5b560f57a9 am 29685c2f: Merge "Added dissapear animation to pattern and pin input" into lmp-mr1-dev
* commit '29685c2fde7b3c3cc57994e61915321902b16246':
  Added dissapear animation to pattern and pin input
2014-11-12 16:16:09 +00:00
Selim Cinek
9852ecd637 Merge "Fixed a bug where the clearable flag was set inconsistently" into lmp-mr1-dev 2014-11-12 16:13:07 +00:00
Selim Cinek
29685c2fde Merge "Added dissapear animation to pattern and pin input" into lmp-mr1-dev 2014-11-12 16:12:13 +00:00
George Mount
002d43d29b Fix getChildVisibleRect to clip correctly.
Bug 18292516

getClipVisibleRect now takes into account clipChildren,
clipBounds, and clipToPadding.

Change-Id: I181cd68354e70767868e9edd56bf82a58357391d
2014-11-12 08:04:34 -08:00
Selim Cinek
f336f4c13a Solved notification overlay issue once and for all
But...
Once and for all!

Bug: 18314177
Change-Id: I484bea7d9f183d749fcdfba899d40292245f353d
2014-11-12 17:02:04 +01:00
Jorim Jaggi
bd70ed1de2 am a816a075: Merge "Improve lockscreen launch animations" into lmp-mr1-dev
* commit 'a816a075066b7f90635d81918a7af9bc7a76e47f':
  Improve lockscreen launch animations
2014-11-12 15:51:56 +00:00
Jorim Jaggi
4c3133a2d1 am cb326240: Merge "Correctly handle launch animations for affordances" into lmp-mr1-dev
* commit 'cb3262403420417f355aacde93e0e43493e510f6':
  Correctly handle launch animations for affordances
2014-11-12 15:51:51 +00:00
Jorim Jaggi
d04f864cae am b9eedce2: Merge "Fix lockscreen launch animations once and for all" into lmp-mr1-dev
* commit 'b9eedce21a460ad26175391e6c9c9e3ca369bafb':
  Fix lockscreen launch animations once and for all
2014-11-12 15:51:46 +00:00
Jorim Jaggi
a816a07506 Merge "Improve lockscreen launch animations" into lmp-mr1-dev 2014-11-12 15:48:27 +00:00
Jorim Jaggi
cb32624034 Merge "Correctly handle launch animations for affordances" into lmp-mr1-dev 2014-11-12 15:47:57 +00:00
Jorim Jaggi
b9eedce21a Merge "Fix lockscreen launch animations once and for all" into lmp-mr1-dev 2014-11-12 15:47:38 +00:00
George Mount
57837b9fc6 am 13b27810: Merge "Remove unnecessary reflection lookup in Animators." into lmp-mr1-dev
* commit '13b27810f990ea57decfcde98ddd461b8c0b9936':
  Remove unnecessary reflection lookup in Animators.
2014-11-12 15:45:15 +00:00
George Mount
13b27810f9 Merge "Remove unnecessary reflection lookup in Animators." into lmp-mr1-dev 2014-11-12 15:42:21 +00:00
Geoff Mendal
91ca496c2e Merge "Import translations. DO NOT MERGE" into lmp-mr1-ub-dev 2014-11-12 14:56:24 +00:00
Geoff Mendal
7c7bc451d0 Import translations. DO NOT MERGE
Change-Id: I3b1b01abb6e4575dd5e28217f3a5727c5a3a64fc
Auto-generated-cl: translation import
2014-11-12 06:52:59 -08:00
Geoff Mendal
1e8178aa12 am 6b6c6264: (-s ours) Import translations. DO NOT MERGE
* commit '6b6c626440a434f2fd4f90fd3d810a78bb8acaf9':
  Import translations. DO NOT MERGE
2014-11-12 14:51:05 +00:00
Geoff Mendal
6b6c626440 Import translations. DO NOT MERGE
Change-Id: I1d3ed380c4223bdb6bc2b3d4def0f270a8035b80
Auto-generated-cl: translation import
2014-11-12 06:44:26 -08:00