History log of /system/extras/slideshow/slideshow.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c38026b690ba9f4fb088e4e0f85e893a15dc27d4 12-Oct-2015 Johan Redestig <johan.redestig@sonymobile.com> slideshow: Switch to android::uptimeMillis

time(2) is not guaranteed to always go forward which makes
it a bit dangerous to use in loops like slideshow does.
switch to uptimeMillis which is based on clock_gettime
CLOCK_MONOTONIC which is is safe.

Change-Id: Ica1b7ee50df00fcc7bc849d7eaebe64f62434a47
/system/extras/slideshow/slideshow.cpp
810ae48efc7e09bd06de0360b939dddb3c7e486a 09-Oct-2015 Johan Redestig <johan.redestig@sonymobile.com> slideshow: Filter out non key events

The driver could send EV_SYN events which need
to be filtered out, otherwise we would change
image too soon.

Change-Id: I954e8a4f228da4165a7af3fa544e95a22390a35b
/system/extras/slideshow/slideshow.cpp
5ba0af509c4a9161debcfe38276953ae04f54eeb 09-Oct-2015 Sami Tolvanen <samitolvanen@google.com> Merge "slideshow: Trigger on key down only"
4ef1adc04901275076ada442ab8078aea554595e 09-Oct-2015 Johan Redestig <johan.redestig@sonymobile.com> slideshow: Dont crash when -t is used

Change-Id: I68764b86ad05afb3853ed753a28b4a53580cb68c
/system/extras/slideshow/slideshow.cpp
44fec944a9d193673b0e229d25f4e2df28fd1941 09-Oct-2015 Johan Redestig <johan.redestig@sonymobile.com> slideshow: Trigger on key down only

Currently slideshow reacts to both key down and release
events which makes the last image just flicker very
briefly.

Change-Id: I5b3215eacf127a7c739826af313c6e1fd0732775
/system/extras/slideshow/slideshow.cpp
99e2acae373f453ad0e866f4e1714a3607ea6bac 15-Apr-2015 Elliott Hughes <enh@google.com> Move away from gr_surface.

Change-Id: Id23940a2e92bbfd56a2f2e1e021fb89114830dd4
/system/extras/slideshow/slideshow.cpp
5b97aa64cbccf496b78f6184990e74552e85e3ae 01-Apr-2015 Sami Tolvanen <samitolvanen@google.com> slideshow: fix format string type

Format string specifies %u, even though long int is passed.

Change-Id: I541c15552e403e16bef7a78f53d81eaacb605120
/system/extras/slideshow/slideshow.cpp
a0f13e0a10ecf306fa88b5fbe68dddf81bf8cd8b 19-Feb-2015 Sami Tolvanen <samitolvanen@google.com> Add a program to display a slideshow at early boot

Add a small program to display a slideshow of images (specified
on the command line) on the framebuffer device. Images are switched
after a timeout, or user input. The timeout can be optionally set
using the -t command line parameter and defaults to 5s.

If user input occurred, the program will wait for the power button
to be pressed after the last image before exiting. To avoid draining
the battery after an accidental reboot, the program exists after 30s
even if the power button is not pressed.

Change-Id: I58c79a7f3ac747eec0d73a10f018d3d8ade9df7d
(Moved from I743c68b5f38038abcaaf5ae08233fa72fd823c8e)
/system/extras/slideshow/slideshow.cpp