147540 Commits

Author SHA1 Message Date
Jorim Jaggi
76a1623afc Preparations for lockscreen launch animations
- Update unlock animations to new spec to make the consistent with
  lockscreen launch animations.
- Introduce disappearing motion for security views which runs before
  we actually dismiss Keyguard.
- If a window is running the un-force-hide animation, treat as it
  would have the wallpaper flag set so the wallpaper stays until
  the animation is completely done.
- Run an animation on the wallpaper if the wallpaper is going away.

Bug: 15991916
Bug: 16234603
Bug: 15326120
Change-Id: I063aa4f269ddcf75b9a705e90f0c3056b541b642
2014-08-12 20:52:26 +00:00
Adam Lesinski
9a0b289f06 Fix NPE in UsageStats for new User
Bug:16946585

Change-Id: Ibd0d674681f3f49087305cea33ce7292f5d2229d
2014-08-12 20:25:37 +00:00
Robert Ly
02b25e9ba6 am ecae7cb0: am 378b2558: am 41e836a6: Merge "docs: update dashboard" into klp-modular-docs
* commit 'ecae7cb04fd16b2d79f156c0c50c48c1fc592a1e':
  docs: update dashboard
2014-08-12 20:06:20 +00:00
Jorim Jaggi
ddc122ee50 Merge "New lock pattern assets and animations" into lmp-dev 2014-08-12 19:56:56 +00:00
Robert Ly
ecae7cb04f am 378b2558: am 41e836a6: Merge "docs: update dashboard" into klp-modular-docs
* commit '378b25584f3ddeb242dfc3c9c161512a897cc0d8':
  docs: update dashboard
2014-08-12 19:52:21 +00:00
Robert Ly
378b25584f am 41e836a6: Merge "docs: update dashboard" into klp-modular-docs
* commit '41e836a644b1fa767fdcce629bbb4753e0f5ecd6':
  docs: update dashboard
2014-08-12 19:45:28 +00:00
Chris Craik
c7d62b777b Merge "Rework shadow interpolation" into lmp-dev 2014-08-12 19:31:43 +00:00
Chris Craik
bf75945e7a Rework shadow interpolation
bug:16852257

Use pow(alpha, 1.5) to avoid harsh edges on shadow alpha ramps.

Also adjusts shadow constants to compensate.

Change-Id: I5869956d7d292db2a8e496bc320084b6d64c3fb7
2014-08-12 12:44:59 -07:00
Chris Craik
b3cca876c2 Fix ripples projecting to scrolled view
bug:16873774

1) Fix projectionReceiveIndex, which could in some cases point at
translate/restore ops.

2) Use background translateX / translateY for projected RenderNodes.
This makes them match background position, and thus properly account
for scroll.

Change-Id: Idbd5700858fd67c5abea0270a1012952fe09ac22
2014-08-12 12:33:01 -07:00
Robert Ly
41e836a644 Merge "docs: update dashboard" into klp-modular-docs 2014-08-12 19:21:04 +00:00
Robert Ly
ba5c49dcde docs: update dashboard
Change-Id: I3a11a4ffbd9e5544c598bdebacd67e236305602f
2014-08-12 12:26:37 -07:00
Jorim Jaggi
c15819748a New lock pattern assets and animations
Also removes the arrows.

Bug: 16196240
Bug: 13735707
Change-Id: I5a6606d916192fff594c7e6211e80b73ccd30456
2014-08-12 19:02:28 +00:00
Winson Chung
7a2b993602 Merge "Ensuring that we update the calling uid/package when updating a task's original intent. (Bug 16676636)" into lmp-dev 2014-08-12 18:13:56 +00:00
John Reck
015cb5dc71 Merge "Don't use libhwui to draw starting window" into lmp-dev 2014-08-12 18:13:56 +00:00
John Reck
1dd0e0fae2 Don't use libhwui to draw starting window
Bug: 16735410

Change-Id: I763c10b9d34eadcb768ad580d2387b1e825cbd53
2014-08-12 11:13:31 -07:00
Winson Chung
fee26771cf Ensuring that we update the calling uid/package when updating a task's original intent. (Bug 16676636)
Change-Id: I5d75a912e86e83f05717cb19e9b6edb02eb053e6
2014-08-12 11:11:25 -07:00
Sailesh Nepal
c28aceb11e Merge "Override StatusHints.equals" into lmp-dev 2014-08-12 16:55:45 +00:00
Sailesh Nepal
f20b9166ee Override StatusHints.equals
Bug: 16979621
Change-Id: I858a4718a8815be18214400d3bc1d9054b99434e
2014-08-12 11:53:32 -07:00
Jean-Michel Trivi
bab0111ef0 Merge "HDMI plug intent and associated information" into lmp-dev 2014-08-12 16:54:46 +00:00
Jean-Michel Trivi
37d7804627 HDMI plug intent and associated information
Read HDMI device information from audio ports and add it as
 extras in the connection intent.
Document the new extras in the connection intent.
Make Intent.ACTION_HDMI_AUDIO_PLUG public.

Bug 10549017

Change-Id: I6236b5363f00c433e443195fae8c43af2fc834f7
2014-08-12 17:16:30 +00:00
Deepanshu Gupta
14690b0aa3 Merge "Improve error reporting when renaming fonts." into lmp-dev 2014-08-12 16:54:46 +00:00
Deepanshu Gupta
556f941f55 Merge "Don't show warnings for fonts not bundled." into lmp-dev 2014-08-12 16:54:46 +00:00
Deepanshu Gupta
93b1483e57 Improve error reporting when renaming fonts.
Log a better error in case of invalid input.

Change-Id: Ifb122c1cc624111769e650439aa24290155dbbc4
2014-08-11 18:48:53 -07:00
Deepanshu Gupta
e644ff8d92 Don't show warnings for fonts not bundled.
The extended font set, used on Nexus 5, new Nexus 7 etc., uses OpenType
CFF fonts which don't work well with Java. These fonts are deliberately
excluded from the SDK build.

This change skips the warnings for the missing fonts. However, we still
show warnings for other fonts that failed to load. If the set of fonts
bundled with the SDK changes, we will need to update the list of missing
fonts in FontFamily_Delegate.java.

Change-Id: I3197b5350d048daa09512e8024188909179b1799
2014-08-11 18:11:37 -07:00
Selim Cinek
3afd00e9f2 Fixed a bug in the notification stack algorithm
Bad holes could occur when a notification was at the same time in
the top and the bottom stack. This also improves the landscape /
smallscreen interaction with the shade.

Bug: 16715133
Change-Id: Icbb4d080e658f4ddbd39b7d08652ca5311a47978
2014-08-11 20:59:44 +00:00
Geoff Mendal
8705eb95b0 Merge branch 'lmp-dev' of sso://googleplex-android.git.corp.google.com/platform/frameworks/base into lmp-dev 2014-08-11 13:31:17 -07:00
Geoff Mendal
3f19789b77 Don't double count the left/top when using bitmap cache in VectorDrawable.
bug:16861184

Change-Id: I0530602957a434b222725b6fcbc1af165ee05835

Merge commit 'refs/changes/18/520718/4' of persistent-https://googleplex-android.git.corp.google.com/platform/frameworks/base into lmp-dev
2014-08-11 13:30:55 -07:00
Igor Murashkin
d42a5fd3e7 camera2: (legacy) Fix the comparison for fixed-focus cameras
* Use #equals instead of == for string comparison
* Also make sure lens.info.minimumFocusDistance shows up in
  CameraCharacteristics#getKeys() for fixed-focus cameras

Bug: 16900875
Change-Id: I3b9248c5cb62ddcfb13587c6349525e145e353ac
2014-08-11 13:25:01 -07:00
Igor Murashkin
7336f470e3 camera: (LEGACY) - Add captureIntent and physicalSize metadata
Bug: 16900182
Change-Id: I159f2416da71c2d7ea803d61b63476da90e03b1c
2014-08-11 13:25:01 -07:00
Igor Murashkin
8c4486c141 camera: (Legacy) Add support for SCENE_MODE == FACE_PRIORITY
Bug: 16898478
Change-Id: I4306f6380ea06e8bd95af8738e5dde1a42a8098c
2014-08-11 13:25:01 -07:00
Brian Attwell
9401042e46 Merge "Compose QC intent with FLAG_ACTIVITY_SINGLE_TOP" into lmp-dev 2014-08-11 18:48:29 +00:00
ztenghui
0670f029a4 VD: Fix Canvas save leak
bug:16965998

Change-Id: I367388b270748e2ce114b468940966d78de07465
2014-08-12 10:35:49 -07:00
Brian Attwell
9ee66404b7 Compose QC intent with FLAG_ACTIVITY_SINGLE_TOP
Since launchMode=singleTop is broken in the framework.

Bug: 16519102
Change-Id: I136821ab9d4493c51f03332cee1e3924a1bd361b
2014-08-12 06:03:41 +00:00
Adrian Roos
1fbc124780 Merge "Hide panel while changing brightness" into lmp-dev 2014-08-11 18:40:10 +00:00
Adrian Roos
bd3409c137 Respect DPM flags for lockscreen notifications
Disables unredacted or all notifications based on device policy.

Bug: 15934116
Change-Id: Ia012e44da8fbf73c24e26950abb1df76af7001a9
2014-08-12 17:27:58 +00:00
Adrian Roos
5fd872e8ea Hide panel while changing brightness
Bug: 15408618
Change-Id: Ic1f934f9ddbb582453b4b52a4b4402c71ac79654
2014-08-12 17:27:41 +00:00
Raph Levien
61da0fdfee Merge "Copy fonts.xml to /system/etc" into lmp-dev 2014-08-11 18:20:32 +00:00
Adrian Roos
c55dd2bc04 Merge "QS: Update user switcher details" into lmp-dev 2014-08-11 18:41:55 +00:00
Adrian Roos
bc0a9fecf6 QS: Update user switcher details
- Update icon colors to white
- Change label for adding a guest

Bug: 16897120
Bug: 16898990

Change-Id: I0541d35df8c03bfeb3ee931d8074a7fe1064b2db
2014-08-11 20:45:04 +02:00
Winson Chung
9e229d80e5 Merge "Updating accessibility message for Recents activity. (Bug 15570522)" into lmp-dev 2014-08-11 18:20:32 +00:00
Winson Chung
f25268b402 Updating accessibility message for Recents activity. (Bug 15570522)
Change-Id: Iaaedb9a66b2160015b304863a00fbefdfb0e10ea
2014-08-11 11:58:32 -07:00
Winson Chung
448bb42c78 Merge "Tweaking empty recents text. (Bug 16711522)" into lmp-dev 2014-08-11 18:26:04 +00:00
Winson Chung
b1f749906f Initial changes to support swiping on the nav bar to switch affiliated tasks.
- Actual sideways animations to come once they've been finalized

Bug: 16846966
Change-Id: If6d40495498197a86a98f9b03f54ced3d2baf64a
2014-08-11 19:22:46 +00:00
Winson Chung
27b97fa098 Tweaking empty recents text. (Bug 16711522)
Change-Id: I338e2add6e4a46551ce7d52e873f332979b194e1
2014-08-11 19:17:34 +00:00
Jason Monk
7036cb6bac Merge "Make simple user switcher notice setting changes." into lmp-dev 2014-08-11 18:40:10 +00:00
Ricardo Cervera
1ac0820897 am 18718444: am 97dbb136: am 6bb49e4a: Merge "docs: Fixed minor issue with Studio shortcuts" into klp-modular-docs
* commit '18718444b99b4b631021d5452161c7338cb99473':
  docs: Fixed minor issue with Studio shortcuts
2014-08-11 19:15:02 +00:00
Jason Monk
6becbe732a Make simple user switcher notice setting changes.
To do this just check the state from the controller (which listens
for changes), rather than holding state locally.

Bug: 16888009
Change-Id: Ifdbf0055c7aa100941c6504cf3f469031c9c6e43
2014-08-11 14:52:34 -04:00
Deepanshu Gupta
b205fa602f Merge "Resolve color xml attributes properly." into lmp-dev 2014-08-11 18:14:57 +00:00
Deepanshu Gupta
99d90a6210 Resolve color xml attributes properly.
Color attributes were not being converted to int properly. The
conversion to int was a simple string to int using base 16. This change
resolves the colors as per #RGB, #ARGB, #RRGGBB or #AARRGGBB format
depending on the length of the attribute. All values that begin with '#'
are treated as colors.

Bug: http://b.android.com/73845
Change-Id: I8ad089b821af1e290b9b95771b50213fe2fdd784
2014-08-12 09:57:27 -07:00
Baligh Uddin
dc77ea411a Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-11 18:20:32 +00:00