Remove a leftover layout file

Signed-off-by: Martin Storsjö <martin@martin.st>
VideoGridFragment: Call updateList later at startup

Don't call updateList() in onViewCreated, call it in onResume
just before registering the view as a listener to updates.

This reduces the probability for race conditions. Earlier, this
was pretty often visible on the emulator, but also occasionally
on real devices. If the MediaLibrary update finished after
the grid view fragment's onViewCreated method, but before onResume,
the fragment wasn't ever registered for receiving updates about
the media library, and had only updated the list while it was empty.

Technically I guess there's still a risk for race conditions here,
but by moving the updateList() call closer to the addUpdateHandler()
call (and at least calling it in the same FragmentActivity callback)
at least reduces the risk.

Signed-off-by: Martin Storsjö <martin@martin.st>
AudioService: fix open MRL with existing items
DirectoryViewFragment: fix item selection in a folder with subfolers

Should also fix many IndexOutOfBoundsExceptions
update .classpath of java-libs
libvlcjni: remove unused & deprecated functions
Fix list's background on old devices
Don't show sliding menu behind content
libvlcjni: move utils to libvlcjni-util

startDebugBuffer
stopDebugBuffer
nativeToURI
nativeReadDirectory
nativeIsPathDirectory
libvlcjni: move aout constants
libvlcjni: move jni helpers to util
libvlcjni: move track stuff to libvlcjni-track

hasVideoTrack
readTracksInfo
readTracksInfoPosition
getAudioTracksCount
getAudioTrackDescription
getAudioTrack
setAudioTrack
getVideoTracksCount
getSpuTrackDescription
getSpuTracksCount
getSpuTrack
setSpuTrack
addSubtitleTrack
libvlcjni: move android surface stuff to vout.c
Bump the tested hash to the latest version of vlc.git

This fixes the video output on 2.3 and 3.x.

Signed-off-by: Martin Storsjö <martin@martin.st>
Set the input type for the OpenMRL dialog input field

This avoids autocorrection and similar things that aren't useful
(and mostly very annoying) when typing a URL.

Signed-off-by: Martin Storsjö <martin@martin.st>
Keep a stable layout when hiding the navigation bar

By adding the SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION and
SYSTEM_UI_FLAG_LAYOUT_STABLE flags, the activity can be laid out as if
the navigation bar was hidden even when it isn't, avoiding moving the
video when the UI disappears.

This requires setting the fitsSystemWindows="true" parameter for views
that still should be laid out as if the navigation bar was there. That
is, the video surface is laid out to cover the whole screen (under the
navigation bar), while the UI on top gets padding enough to not be
obscured by the navigation bar.

Signed-off-by: Martin Storsjö <martin@martin.st>
Reindent the layout xml after the previous commit

Signed-off-by: Martin Storsjö <martin@martin.st>
Support cropping in the video output

This changes the IVideoPlayer interface to pass two additional
parameters - the width/height parameters are kept as the full
buffer size, with two additional parameters specifying how much of
it is supposed to be visible. This removes the duplicated alignment
calculation, making sure it's done in one place only - in the calling
vout code.

Signed-off-by: Martin Storsjö <martin@martin.st>
fix some lint warnings
libvlcjni: add equalizer API