touchscreen: Fix kinetic scrolling when the statusbar is off.
commitbb0e4cc543e4c7bed6dff3a41d092b6867632535
authorThomas Martitz <kugel@rockbox.org>
Thu, 5 Apr 2012 11:00:05 +0000 (5 13:00 +0200)
committerThomas Martitz <kugel@rockbox.org>
Thu, 5 Apr 2012 13:01:59 +0000 (5 15:01 +0200)
treea62dca3c50fa09cfe609df088e9eee9bf2ac2853
parentf458888a4c4fd8601ff4690388e2fc06fecb9fc2
touchscreen: Fix kinetic scrolling when the statusbar is off.

The scrolling code cannot differentiate between the BUTTON_TOUCHSCREEN post
from normal touches and the one posted in the timeout callback.

To fix introduce a global special button (BUTTON_REDRAW) that results
in the desired redraw. This existed already as a local kludge for android
and is now generalized.

Change-Id: I6bfa6c66431c48f5042fcd8fce2ea72cd3457f58
apps/action.c
apps/gui/bitmap/list.c
apps/keymaps/keymap-android.c
firmware/export/button.h
firmware/target/hosted/android/app/button-target.h
firmware/target/hosted/android/lcd-android.c