1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps
Thomas Martitz 33af0dec28 Touchscreen: Improved scroll threshold
Remove the hardcoded (and way too small) scroll threshold (the distance moved in pixels before we think the users wants to scroll) and replace it with something based on the actual DPI of the screen.
On Android we call the API for that, on other touchscreens we reimplemented Android's formula (as of 2.2) and calculate it.

Flyspray: 11727

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28548 a1c6a512-1295-4272-9138-f99709370657
2010-11-10 15:25:15 +00:00
..
bitmaps Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). 2010-06-21 16:53:00 +00:00
codecs Introduce macros to ARM asm atrac3 filterbank for better readability. 2010-11-10 07:16:04 +00:00
eqs
gui Touchscreen: Improved scroll threshold 2010-11-10 15:25:15 +00:00
hosted Those DeleteGlobalRef() should be DeleteLocalRef(). 2010-11-06 01:45:21 +00:00
keymaps Change an #ifdef CONFIG_TUNER into #if CONFIG_TUNER (CONFIG_TUNER is always defined, just 0 if no there is no tuner) 2010-11-08 20:45:14 +00:00
lang Update the russian translation. 2010-11-04 18:43:12 +00:00
menus Undo the part of r28480 that caused the simulator to also use host malloc. 2010-11-05 19:12:23 +00:00
metadata Fix FS# 11414 : .mod files - metadata in incorrect fields 2010-10-10 10:24:50 +00:00
player Fix remaining reds/yellows. 2010-05-14 13:21:40 +00:00
plugins pictreflow: tweak alpha value for the case number of slides < 3 so that fading looks a bit more smooth. 2010-11-07 14:37:02 +00:00
radio MPIO HD200: adjust FM keymap 2010-11-02 12:15:39 +00:00
recorder Separate mas35xx lowlevel stuff. Move SH specific bits to target tree. FS#11189 by me. 2010-10-31 21:09:34 +00:00
abrepeat.c Pass width instead of x+width to ab_draw_markers()/cue_draw_markers() and don't recalculate the width in these functions. 2010-03-07 12:51:23 +00:00
abrepeat.h AB_REPEAT_ENABLE was never defined to 2 2010-07-18 18:13:53 +00:00
action.c Add support multimedia keys/buttons to the core, and adapt Rockbox on android for it (multimedia buttons are found on wired headsets and the lock screen in cyanogenmod). 2010-10-31 15:32:57 +00:00
action.h ACTION_FM_QUICKSCREEN is unused 2010-06-18 22:42:40 +00:00
alarm_menu.c Wakeup alarm screen is unusuable with large fonts or small screens 2010-05-22 00:28:10 +00:00
alarm_menu.h
appevents.h FS#11263 - Radio Art support! %C and %Cl tags work in the radio screen and Base Skin when the radio is running. 2010-05-16 11:13:42 +00:00
applimits.h Remove two unused defines. 2010-08-21 15:49:42 +00:00
apps.make Prettier genlang-features output. Use the same style for max_language_size.h. 2010-07-17 15:33:35 +00:00
audio_path.c Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). 2010-06-21 16:53:00 +00:00
bookmark.c Warn about erasing dynamic playlist when loading bookmark - FS #10482 by Tuomas Airaksinen 2010-09-26 21:13:25 +00:00
bookmark.h Rename functions so that the code is easier to read 2010-07-06 16:53:52 +00:00
buffering.c Fix FS#11586. Corrects rebuffering behaviour which did not allow to play several m4a files. Thanks to Magnus Holmgren. 2010-08-30 22:35:32 +00:00
buffering.h
codec_thread.c pcmbuf: bug fix with pcmbuf flush, code cleanup, added comments 2009-11-11 07:02:18 +00:00
codec_thread.h Code cleanup in codec_thread, playback and pcmbuf; more elegant solution to leftover samples 2009-11-01 19:39:23 +00:00
codecs.c Separate mas35xx lowlevel stuff. Move SH specific bits to target tree. FS#11189 by me. 2010-10-31 21:09:34 +00:00
codecs.h Extend lc_open() to also being able to load overlay plugins. 2010-09-09 16:17:21 +00:00
core_asmdefs.c Remove more tabs 2010-02-07 18:38:47 +00:00
cuesheet.c Fix Database red, move the cuesheet->token code into the skin engine 2010-07-29 13:23:33 +00:00
cuesheet.h Fix Database red, move the cuesheet->token code into the skin engine 2010-07-29 13:23:33 +00:00
debug_menu.c fix sdl RaaA build 2010-11-08 12:13:37 +00:00
debug_menu.h
dsp.c Make sure the dsp code has proper resample buffers even if HAVE_PITCHSCREEN is undefined. This makes playback work again without HAVE_PITCHSCREEN 2010-09-24 22:14:10 +00:00
dsp.h Compressor: simplify makeup gain setting, expand release range, finally provide documention in the manual! 2009-11-04 18:14:36 +00:00
dsp_arm.S FS#11335 by me: make ARM assembly functions thumb-friendly 2010-06-11 04:41:36 +00:00
dsp_arm_v6.S Optimized DSP sample out functions for armv6. (For stereo output) ~9% faster than SVN asm and about 4% faster than SVN asm rearranged to observe pipeline hazards. 2010-04-25 20:04:47 +00:00
dsp_asm.h ARM DSP: Add assembly custom sound channel processing. 13% to 14% faster than currently-used default C code on ARMv4. 2010-05-11 12:37:49 +00:00
dsp_cf.S
enc_config.c fix FS#10993 - "No Settings" doesnt get voiced because it uses str() instead of ID2P() macro 2010-05-20 14:15:11 +00:00
enc_config.h
eq.c
eq.h
eq_arm.S FS#11335 by me: make ARM assembly functions thumb-friendly 2010-06-11 04:41:36 +00:00
eq_cf.S
features.txt Add 'lowmem' feature to the manual, defined if MEM <= 2 2010-08-25 14:10:25 +00:00
filetree.c Oops, remove left-over DEBUGFs. 2010-09-08 21:27:12 +00:00
filetree.h
filetypes.c Create index array to filetypes used in the open with list while loading viewers.config. 2010-11-09 14:35:19 +00:00
filetypes.h FS#10853 - Skin support in the radio screen! Check CustomWPS for the new tags 2010-05-12 10:38:00 +00:00
fixedpoint.c Improve accuracy of NR-based fp_sqrt with better initial estimation and using one more bit internally. More reliable early termination. Good enough until better method is completed. 2010-06-08 04:51:00 +00:00
fixedpoint.h
fracmul.h
iap.c Fix return type of iap_getc (should be bool instead of int) 2010-10-24 21:39:09 +00:00
keyboard.h
language.c lang_load(): ignore unused field from the lang file 2010-09-21 08:25:52 +00:00
language.h
logfdisp.c Remove last traces of sprintf.h 2010-05-07 02:13:47 +00:00
logfdisp.h
main.c Add a "early_usb" argument to gui_usb_screen_run(), and don't do skin unloading/reloading in gui_usb_screen_run() in the early usb case. Fixes the crash part of FS#11589 2010-10-10 13:17:39 +00:00
menu.c Add support multimedia keys/buttons to the core, and adapt Rockbox on android for it (multimedia buttons are found on wired headsets and the lock screen in cyanogenmod). 2010-10-31 15:32:57 +00:00
menu.h FS#11250: Hotkey setting method changed to menu item vs button pres in context menu. Manuals updated to match. 2010-05-09 02:02:51 +00:00
metadata.c WMA Voice now plays and seeks in the sim. The code is still in floating point, and is not added to the main build. There's still a bug with the decoder in the current state that it outputs a fewer number of samples than ffmpeg's. 2010-08-07 17:55:02 +00:00
metadata.h Use system headers a bit more: use host's fcntl.h for O_RDONLY etc. 2010-08-27 12:38:25 +00:00
misc.c set mode argument for open() where O_CREAT flag is/can be set. 2010-11-07 11:45:20 +00:00
misc.h Fix FS#11526 - %Vf(<hex>) was acceptable on grey remotes with colour main 2010-08-10 14:15:03 +00:00
mp3data.c get_mp3file_info(): Use the correct printf format in DEBUGF() 2010-09-19 08:27:49 +00:00
mp3data.h
mpeg.c Separate mas35xx lowlevel stuff. Move SH specific bits to target tree. FS#11189 by me. 2010-10-31 21:09:34 +00:00
mpeg.h mpeg.h/c cleanup 2009-11-16 22:02:06 +00:00
onplay.c New setting to control the file browser start location. 2010-10-04 10:34:38 +00:00
onplay.h FS#11270 by Chris Savery - WPS integration for pictureflow 2010-06-09 04:25:41 +00:00
pcmbuf.c Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). 2010-06-21 16:53:00 +00:00
pcmbuf.h Crossfade: carved out crossfade related code with lots of HAVE_CORSSFADE conditionals, eliminated fade buffer on low memory targets 2009-11-10 03:46:08 +00:00
playback.c don't cast to int when not needed 2010-08-30 23:08:12 +00:00
playback.h mpeg.h/c cleanup 2009-11-16 22:02:06 +00:00
playlist.c playlist_shuffle(): remove unused variable 2010-09-19 08:16:40 +00:00
playlist.h Fix FS#11175. playlist_peek() wasn't thread safe (due to a static filename buffer), so frequent calls from the main thread would cause the audio thread to buffer the wrong track. 2010-08-11 19:01:50 +00:00
playlist_catalog.c simplify rockbox_browse a bit and reuse buffer. 2010-10-22 12:50:14 +00:00
playlist_catalog.h
playlist_menu.h
playlist_viewer.c Playlist viewer: Fix off-by-one when moving tracks caused by r28131. 2010-10-02 20:15:35 +00:00
playlist_viewer.h Playlist Viewer Changes to bring consistency: 2010-02-20 19:06:39 +00:00
plugin.c Remove some inconsistent guarding around cpucache_* functions to fix a test_codec crash on coldfire, breaks plugin api compatibility so sorted and bumped version numbers. 2010-10-16 12:30:06 +00:00
plugin.h Separate mas35xx lowlevel stuff. Move SH specific bits to target tree. FS#11189 by me. 2010-10-31 21:09:34 +00:00
README
replaygain.c Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
replaygain.h
root_menu.c Remote android button handling (again). do the press/unpress more like other targets (i.e correctly). The DPAD is special in that the press/unpress happens too quickly, so always post it with the BUTTON_REL. This means all keymaps using the dpad need to remember it will always have a BUTTON_REL (which also means they cant do repeats, which are impossible anyway). 2010-11-03 14:34:57 +00:00
root_menu.h Introduce NORETURN_ATTR wrapper for __attribute__((noreturn)), using this and a bit further cleanup in main gets rid of a warning when compiling for android. 2010-08-12 13:38:25 +00:00
screen_access.c Rename {draw,fill}_viewport once more (to draw_border_viewport and fill_viewport) and remove the viewport parameter as suggested by Dave Chapman. 2010-10-11 01:19:55 +00:00
screen_access.h Rename {draw,fill}_viewport once more (to draw_border_viewport and fill_viewport) and remove the viewport parameter as suggested by Dave Chapman. 2010-10-11 01:19:55 +00:00
screens.c fix red. no replaygain on hwcodec 2010-05-30 15:33:37 +00:00
screens.h
scrobbler.c Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
scrobbler.h Correct wrong usage of event callbacks all over the place. It's not supposed to return anything, and should take a data parameter. 2009-10-20 21:54:44 +00:00
settings.c Fix FS#11648 - loading a .cfg doesnt automatically save the new config, caused by r28120. This fix will only save the new config loaded from the browsers, not during boot 2010-10-03 05:43:36 +00:00
settings.h New setting to control the file browser start location. 2010-10-04 10:34:38 +00:00
settings_list.c Fix red. Why did it go unnoticed through the build system? 2010-10-31 16:45:14 +00:00
settings_list.h
sound_menu.h Remove unneeded include. 2010-08-21 16:07:34 +00:00
SOURCES Use a native yes/no dialog instead of rockbox's internal one on android 2010-10-31 13:12:01 +00:00
status.c
status.h Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). 2010-06-21 16:53:00 +00:00
tagcache.c tagcache open_files(): open the correct file (missed in r27656) 2010-09-19 08:17:15 +00:00
tagcache.h use correct condition for #if for tagcache_fill_tags(). 2010-09-30 13:09:50 +00:00
tagnavi.config
tagtree.c Ged rid of uisimulator/common/io.c for android builds. 2010-09-01 21:29:34 +00:00
tagtree.h FS#10756 - Free unused init code 2010-03-03 23:20:32 +00:00
talk.c FS#11587 : voice for SWCODEC and low memory 2010-09-01 00:08:50 +00:00
talk.h
tdspeed.c
tdspeed.h FS#10756 - Free unused init code 2010-03-03 23:20:32 +00:00
tree.c simplify rockbox_browse a bit and reuse buffer. 2010-10-22 12:50:14 +00:00
tree.h simplify rockbox_browse a bit and reuse buffer. 2010-10-22 12:50:14 +00:00
usb_keymaps.c Add a missing #include, make a function static, make touchpad_set_buttonlight implementation and declaration consistent 2010-01-18 21:20:36 +00:00
usb_keymaps.h
voice_thread.c Voice buffer can be much, much smaller. Code cleanup, logf fix 2010-05-28 13:21:24 +00:00
voice_thread.h

For general information see: docs/README
For API information see: docs/API