History log of /frameworks/base/core/java/android/service/dreams/DreamService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6237ac19bf4eed261e8b0c69fac774581b4ea02b 09-Oct-2012 Scott Main <smain@google.com> improve some docs for dreams

Change-Id: I7652f4366cdc8c40926d7961582663cc99ca0735
/frameworks/base/core/java/android/service/dreams/DreamService.java
f434d23a16b34e7815049db29bbcd0cd8a4e4862 11-Oct-2012 Chris Wren <cwren@android.com> delay onDreamingStarted() to work around asynchrony.

Bug: 7328682
Change-Id: I86144b0b34eade332543244bb3aff5f9695ff7f7
/frameworks/base/core/java/android/service/dreams/DreamService.java
6918d9f970989f1e5ca5a03b04d10a4c890721e9 11-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Remove Dream windows immediately." into jb-mr1-dev
c13107046acfcda7e3402a56a617818b7e77e1b8 10-Oct-2012 Daniel Sandler <dsandler@android.com> Remove Dream windows immediately.

Ensures that onDetachedFromWindow happens before onDestroy.

Bug: 7295929
Change-Id: Ic4ac2552bfce75a5dc43dc840e6ef0182369e24b
/frameworks/base/core/java/android/service/dreams/DreamService.java
a934fd142ec59b297b31c1f0b664e0c0d5e61eba 09-Oct-2012 Chris Wren <cwren@android.com> default the screen on during the dream.

Bug: 7295909
Change-Id: Ic629bd08bdade8dba2b92124c56cab1bb438bec2
/frameworks/base/core/java/android/service/dreams/DreamService.java
4c1e3183baf39ab69c0289c1511877a8bb0b0f75 06-Oct-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7296314, issue #7296314.

7296314 Crashing dreams are stuck
7296510 Transition from lock screen to dreaming is really bad

The window layer for dreams is now moved down below the keyguard,
so that some of the expected stuff like crash and ANR dialogs can
be seen on top of them. While doing this, I reorganized how we
define the layers so the constants are just in the switch statement,
so it is much less crazy-making trying to read how things go
together.

We now have some special cases for when a dream is being shown
to turn off its animation if the keyguard is currently shown.
Since we know it will be hiding the keyguard we need it to be
shown immediately so that you don't see whatever is behind it.

Cleaned up some handling of when the lock screen is displayed
while a FLAG_SHOW_WHEN_LOCKED window is displayed, so that the
lockscreen doesn't transiently get shown and mess up the fullscreen
or system UI state. This also fixes problems with any normal
activity that is doing this.

Hid the methods on DreamService for setting lights out mode. It
doesn't make sense to have such methods on DreamService, because
you can just as well do that on your own View that is showing the
dream content, and when you can do that you can fully participate
in the (required) interactions about it such as being told when
the mode goes away.

The DreamService method for going fullscreen now uses the window
flag for doing this, which is what you want, because you want this
state to persistent on that window and not get knocked out if
something above the window tickles the system UI state.

Also fixed the problem where dreams that hid the status bar would
have a jerky animation when going away, since they were causing the
activity behind them to be layed out without the lock screen. This
is a kind-of ugly special case in the window manager right now to
just not layout windows that are behind a dream. Good enough for MR1.

Change-Id: Ied2ab86ae068b1db0ff5973882f6d17b515edbcd
/frameworks/base/core/java/android/service/dreams/DreamService.java
2d78490292090eeab84694330978c9ad7fad2d37 04-Oct-2012 Daniel Sandler <dsandler@android.com> DreamService API revisions.

Reduce reliance on Service interface overrides, instead
steering clients to the DreamService-specific lifecycle
hooks:

onAttachedToWindow .. onDreamingStarted ..
onDreamingStopped .. onDetachedFromWindow

The old Dream.java is finally gone now too.

Bug: 7281802
Change-Id: Ib7802c3397fde60ad1132fa49831da182eef4d7a
/frameworks/base/core/java/android/service/dreams/DreamService.java
3a4d41a654bf00972da9013854ba0e15b2c01fe9 01-Oct-2012 John Spurlock <jspurlock@google.com> Update javadocs for DreamService.

Reflect the new intent-filter protocol, and add a bit about <dream>.
Also escape xml so it's visible in generated html.

Bug:7256474
Change-Id: Id270eeb70601b492458834f19216801b428af4cb
/frameworks/base/core/java/android/service/dreams/DreamService.java
be87e2f5885b28145a788fd31d1fb5ae88a71100 29-Sep-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7255954: API Review: rename Dream to DreamService

Change-Id: I89ecf2c3ec4fef09c0495aa68de11576f9cfd872
/frameworks/base/core/java/android/service/dreams/DreamService.java