Age | Commit message (Collapse) | Author |
|
Needs the matching change in bootable/recovery.
Test: mmma system/extra/slideshow
Change-Id: Id82bee220b69b154fa1816766f58dbde4d718e8c
|
|
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
|
|
The driver could send EV_SYN events which need
to be filtered out, otherwise we would change
image too soon.
Change-Id: I954e8a4f228da4165a7af3fa544e95a22390a35b
|
|
|
|
Change-Id: I68764b86ad05afb3853ed753a28b4a53580cb68c
|
|
Currently slideshow reacts to both key down and release
events which makes the last image just flicker very
briefly.
Change-Id: I5b3215eacf127a7c739826af313c6e1fd0732775
|
|
Change-Id: Id23940a2e92bbfd56a2f2e1e021fb89114830dd4
|
|
Format string specifies %u, even though long int is passed.
Change-Id: I541c15552e403e16bef7a78f53d81eaacb605120
|
|
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)
|