2860 Commits

Author SHA1 Message Date
Adam Powell
166c8e3e26 Fix checking for compatibility between window title features.
New features that have nothing to do with titles were tripping the,
"is this compatible with custom titles" feature check in
PhoneWindow. Define a better way of checking for this for when we
add new window features in the future.

Bug 13789588

Change-Id: Ie1cacffb113958dac5142a5a39f548df53b47299
2014-07-02 01:09:45 +00:00
George Mount
238010f056 Allow activity transitions to target nav and status bar colors.
Bug 15885062

Action bar can already be targeted via android:action_bar.
Navigation bar background is now android:navigation:background.
Status bar background is now android:status:background.

Change-Id: I4604906923f3473af3beec4f865463b2fe4a5316
2014-07-02 06:58:38 -07:00
Santos Cordon
e19a4fe32f Merge "Move call-related SystemAPIs to TelecommManager. (1/3)" 2014-07-01 14:48:56 +00:00
Santos Cordon
9eb45934c5 Move call-related SystemAPIs to TelecommManager. (1/3)
Bug: 15672803
Change-Id: I46e448fe93a9c5b4ae013e8b2fd6f0ce89b94e69
2014-06-30 16:30:10 -07:00
George Mount
39f09e23d4 Don't throw exception for root scene transitions.
Bug 13745751

Change-Id: I7bb3cbabf4f402b38f5aa57ad0ee3b4320fa83cc
2014-06-30 23:16:30 +00:00
Jaewan Kim
0abc28e114 Fix NPE in dumpsys window
This crashes with an Android TV without sensor (i.e. TV)

Change-Id: I5e461c6344811686f58860d427598626efdf0184
2014-06-26 00:40:41 +00:00
Adrian Roos
d4d6136eb3 Trust Agents: Add lock now facility to global actions
Change-Id: I732d7e989892081f6b53142953de71f90ec62d37
2014-06-26 01:54:53 +02:00
Michael Wright
85b1af6e9b Global keys should wake the device if they're wake keys.
Bug: 15430207
Bug: 15434710
Change-Id: I98083e1389079f00b612ae4fae3ecab5a2a51b0d
2014-06-25 00:16:08 +00:00
Winson Chung
d543c1bea4 Ensuring that we fire the right intent when going home from Recents.
- Refactoring RecentsAppWidgetHost
- Removing some references to the RecentsActivity from the RecentsPackageMonitor
- Fixing the memory leak related to long references to activities
- Working around blank screen when going home from Recents

Change-Id: I7b0ad219b8da197795864a3b90fd02f3a3c1a4ef
2014-06-24 01:59:55 +00:00
Craig Mautner
43015f241e Merge "Return to recents when coming from recents" 2014-06-23 21:44:43 +00:00
Craig Mautner
84984faf53 Return to recents when coming from recents
If a task is launched from recents then backing all the way
out of the task will return you to recents. Entering the task
in any other way (home, another activity, nav bar) will reset
this behavior.

Fixes bug 15703876.

Change-Id: I98dc36e4dbcb238d59e2175832076de7225bfdd9
2014-06-23 15:04:23 -07:00
Craig Mautner
13f6ea78b0 Avoid unnecessary timeouts.
And fix a couple of other inefficiencies.

Fixes bug 15444410.

Change-Id: Idad95d4e4d70bc7d2965e1bd6ff3d3135b73dd9c
2014-06-23 15:01:27 -07:00
Jeff Brown
e07b94bf6c Perform haptic feedback for wake gesture.
Change-Id: I0275853ad0de7188cb16b68899085170376b527a
2014-06-18 15:56:27 -07:00
Michael Kolb
b936c57c2c am a730881d: Merge "DO NOT MERGE : Fix measuring with outset for orientation" into klp-modular-dev
* commit 'a730881d769cfe0bdce1faafae2c3b88f86d6978':
  DO NOT MERGE : Fix measuring with outset for orientation
2014-06-16 20:55:39 +00:00
Michael Kolb
ee028d502e DO NOT MERGE : Fix measuring with outset for orientation
Bug: 14992865

Change-Id: Ie133d8010a394403e52512f4012632389bc32c4a
2014-06-16 20:28:52 +00:00
Jeff Brown
cd4c754e99 am 374013f4: Merge "Suppress haptic feedback for SLEEP key when already asleep." into klp-modular-dev
* commit '374013f4dba56c9ea340d22dcefdf904cbd47ce6':
  Suppress haptic feedback for SLEEP key when already asleep.
2014-06-13 03:08:35 +00:00
Jeff Brown
1a073a8f55 am 926e1f01: Merge "When watch is docked, home key press should launch dock home." into klp-modular-dev
* commit '926e1f01a5f2366c5d0eeab358822ba1d138d980':
  When watch is docked, home key press should launch dock home.
2014-06-13 03:04:25 +00:00
Jeff Brown
bae8e77db6 Suppress haptic feedback for SLEEP key when already asleep.
Bug: 15377857
Change-Id: I4dfd273b089871d3a78513f52436a3f9c7d40fa4
2014-06-12 19:59:45 -07:00
Jeff Brown
4f5fa285a8 When watch is docked, home key press should launch dock home.
Bug: 15575717
Change-Id: Ib3fbe3ed0380378b0162901bfeebe3c218c4d568
2014-06-12 19:19:15 -07:00
RoboErik
430fc48865 Work on removing non-session media routing code
Change-Id: I73e7d22f2f8772c7b07ccf32d962161d79d5db74
2014-06-16 14:00:16 -07:00
Jeff Brown
2bcf05e5e9 am cd4c754e: am 374013f4: Merge "Suppress haptic feedback for SLEEP key when already asleep." into klp-modular-dev
* commit 'cd4c754e9917f3ad292e20a89f1f7d03f344a3cf':
  Suppress haptic feedback for SLEEP key when already asleep.
2014-06-13 10:24:36 +00:00
Jeff Brown
49f186a295 am 1a073a8f: am 926e1f01: Merge "When watch is docked, home key press should launch dock home." into klp-modular-dev
* commit '1a073a8f550695342e8e3902d2223fd237941e95':
  When watch is docked, home key press should launch dock home.
2014-06-13 10:24:29 +00:00
Craig Mautner
a46ac5094e Merge "Do not display unsecure windows behind dialogs" 2014-06-12 17:09:07 +00:00
Craig Mautner
c9457faeb6 Do not display unsecure windows behind dialogs
If a dialog activity has FLAG_SHOW_WHEN_LOCKED set it will dismiss
the keyguard. Previously this would expose any full screen unsecure
windows behind the dialog. With this fix the dialog is displayed
over the wallpaper.

Fixes bug 15006623.

Change-Id: I85a6713c7647db52211bd0f7280010e859723710
2014-06-12 13:55:33 -07:00
Winson Chung
cadc7a200a Merge "Exploring transitions to/from Recents." 2014-06-12 05:34:42 +00:00
Winson Chung
d42a6cfe2b Exploring transitions to/from Recents.
- refactored hwlayers and change view property animations to use a reference counted trigger
- cleaned up RecentsConfiguration, and move it into classes using it
- moved task bar animations back into TaskBarView
- refactoring enter/exit animations to use an animation context

Change-Id: Ia66b622b094f22145c2fab07c2a9bdfd62344be2
2014-06-12 12:57:56 -07:00
Adrian Roos
d0406a45e2 am 92140c92: Merge "Update PhoneWindow to new window inset dispatching" into lmp-preview-dev
* commit '92140c925ab4a142798f9b1acd6efe506d1f55e3':
  Update PhoneWindow to new window inset dispatching
2014-06-12 20:06:09 +00:00
George Mount
ed1e01d7e4 Allow customization of background fade duration.
Bug 15195468

Change-Id: I02c1ef446cfa8aaedce640ab5694b6d9245bb9f7
2014-06-12 10:33:53 -07:00
Adrian Roos
a301b04be3 Update PhoneWindow to new window inset dispatching
PhoneWindow was relying on an implementation detail of the
old fitSystemWindow mechanism to consume only the top inset.
In the new mechanism, the contract changed an consuming the
inset did no longer work, leading to the insets being applied
twice in some cases.

Bug: 15388544
Change-Id: Ife8361f2b1e5caf8c3ed90646344d653876e8e7d
2014-06-12 14:15:39 +02:00
Michael Wright
6a62e55d05 Use META_LEFT to launch the ASSIST behavior.
Also, claim any key combo'd with META_LEFT for the system.

Change-Id: I29892e31ed40f04d1dd3cf173551237ffb3702ca
2014-06-05 21:00:53 +00:00
Alan Viverette
7820b7bf5d am 4dd60289: Merge "Fix RadialTimePicker styling" into lmp-preview-dev
* commit '4dd60289af766c9a256b57a3d1a8662131d28230':
  Fix RadialTimePicker styling
2014-06-04 18:45:24 +00:00
Alan Viverette
90efa8f08c am 1604d630: Merge "Fix action bar menu inflation context" into lmp-preview-dev
* commit '1604d6302a3db07a57827b1c38f7fda21c28d3c6':
  Fix action bar menu inflation context
2014-06-04 18:45:10 +00:00
Craig Mautner
f3f8a73a57 am 05cd6c39: Merge "Force all windows to redraw before unblanking screen" into lmp-preview-dev
* commit '05cd6c39824653e0f7e8641444a7134e8cac72f4':
  Force all windows to redraw before unblanking screen
2014-06-04 18:44:16 +00:00
Craig Mautner
b3f9156f87 am 43631db9: Merge "Layout keyguard according to flags." into lmp-preview-dev
* commit '43631db9093a87529a5c1b2732b7102398bbfd2f':
  Layout keyguard according to flags.
2014-06-04 18:09:26 +00:00
Alan Viverette
eb1d3798e3 Fix RadialTimePicker styling
Also sneaks in some whitespace cleanup for PhoneWindow!

Change-Id: I1bc8a889a59d69ae80b6cfbf54d57cd7f8ad4a36
2014-06-03 18:36:03 -07:00
Alan Viverette
ef8f79a928 Merge "Fix action bar menu inflation context" into lmp-preview-dev 2014-06-04 01:17:25 +00:00
Alan Viverette
4b002d3251 Fix action bar menu inflation context
Change-Id: I9da159d7721f41974b711e74edbaba6d6740f183
2014-06-03 17:32:19 -07:00
Craig Mautner
4021b3ba74 Merge "Force all windows to redraw before unblanking screen" into lmp-preview-dev 2014-06-04 00:21:01 +00:00
Craig Mautner
8a0da0184f Force all windows to redraw before unblanking screen
The screen turning on would show windows as they were when the screen
turned off. This fix forces all showing windows to redraw first and
only then allow the screen to turn on.

Fixes bug 15092354.

Change-Id: I52c3f47438176a5ac00ba9a4d5205b56a5aa48f9
2014-06-03 17:08:02 -07:00
Craig Mautner
22af5b8428 am 81dfc082: Merge "Force all windows to redraw before unblanking screen" into klp-modular-dev
* commit '81dfc082d2add8463469e3eac9db94d6d93005ce':
  Force all windows to redraw before unblanking screen
2014-06-03 22:44:52 +00:00
Craig Mautner
beac1064f1 Layout keyguard according to flags.
Keyguard layout was being skipped because the previous policy does
not layout the status bar. This change lays out the status bar when
it is serving as the keyguard. This change then allows the keyguard
insets to be resized to make room for the IME when password security
is selected.

Fixes bug 14548156.

Change-Id: Ice4f1072b463a22ec763a0cde69f342206bdd15a
2014-06-03 14:38:57 -07:00
Alan Viverette
19212f4a86 am 23416c06: Fix build
* commit '23416c06c4cb2dba437c4ef749857e085bc76d18':
  Fix build
2014-06-03 17:16:43 +00:00
Craig Mautner
228742d278 Force all windows to redraw before unblanking screen
The screen turning on would show windows as they were when the screen
turned off. This fix forces all showing windows to redraw first and
only then allow the screen to turn on.

Fixes bug 15092354.

Change-Id: I349995bf6446d6c462dccdc2b599bab9ab0ab2c8
2014-06-02 20:29:38 -07:00
Alan Viverette
ad3c4a136e Fix build
Change-Id: I09c649b3385ed46956f2d784546c430298de3069
2014-06-02 17:12:58 -07:00
John Spurlock
fd881f8973 am 20d26282: Merge "Update global actions bug report item." into lmp-preview-dev
* commit '20d26282b31dcd7f7d258c3878f15b42211b23d0':
  Update global actions bug report item.
2014-06-02 22:10:29 +00:00
John Spurlock
887aa0024f Update global actions bug report item.
New icon, update title to match confirm dialog, new status
line for build information.

Remove redundant QS tile.

Bug:15385554
Change-Id: Idc36dc9ce1cabfa61fd8acac56dc3a70d5dc6645
2014-06-02 15:01:58 -04:00
Jorim Jaggi
8cdef8293f am 698c8194: Merge "Fade scrim in unlock animation." into lmp-preview-dev
* commit '698c81948ed277253d567aa4c34996d2d0477992':
  Fade scrim in unlock animation.
2014-05-31 01:56:15 +00:00
Jorim Jaggi
d48d7a6d50 Merge "Fade scrim in unlock animation." into lmp-preview-dev 2014-05-31 01:09:19 +00:00
Jorim Jaggi
e29b2dbc76 Fade scrim in unlock animation.
This also introduces a startTime which gets sent from window manager
to SystemUI, which tells when the animation should start, to allow
for a more synchronized animation with fading out the scrim and
fading in the activity behind.

Bug: 15163546
Change-Id: I16212b1ef9eb76f1f98734da1d14fc5b7e626937
2014-05-31 02:48:06 +02:00
John Spurlock
2921780f71 am 2a8f11a5: Merge "Resurrect global actions, remove confirmation for Power off." into lmp-preview-dev
* commit '2a8f11a57053e52c2d0aa17c31b1c021ba0d78b8':
  Resurrect global actions, remove confirmation for Power off.
2014-05-30 23:55:56 +00:00