Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-Android
Commits
e1e092e9
Commit
e1e092e9
authored
Jul 16, 2014
by
Edward Wang
Browse files
Make some inner classes static
parent
2fd621d3
Changes
6
Hide whitespace changes
Inline
Side-by-side
vlc-android/src/org/videolan/libvlc/MediaList.java
View file @
e1e092e9
...
...
@@ -32,7 +32,7 @@ public class MediaList {
/* Since the libvlc_media_t is not created until the media plays, we have
* to cache them here. */
private
class
MediaHolder
{
private
static
class
MediaHolder
{
Media
m
;
boolean
noVideo
;
// default false
boolean
noHardwareAcceleration
;
// default false
...
...
vlc-android/src/org/videolan/vlc/MediaLibrary.java
View file @
e1e092e9
...
...
@@ -384,7 +384,7 @@ public class MediaLibrary {
/**
* Filters all irrelevant files
*/
private
class
MediaItemFilter
implements
FileFilter
{
private
static
class
MediaItemFilter
implements
FileFilter
{
@Override
public
boolean
accept
(
File
f
)
{
...
...
vlc-android/src/org/videolan/vlc/gui/AboutFragment.java
View file @
e1e092e9
...
...
@@ -129,7 +129,7 @@ public class AboutFragment extends Fragment {
return
v
;
}
private
class
DummyContentFactory
implements
TabHost
.
TabContentFactory
{
private
static
class
DummyContentFactory
implements
TabHost
.
TabContentFactory
{
private
final
Context
mContext
;
public
DummyContentFactory
(
Context
ctx
)
{
mContext
=
ctx
;
...
...
vlc-android/src/org/videolan/vlc/gui/BrowserActivity.java
View file @
e1e092e9
...
...
@@ -64,7 +64,7 @@ public class BrowserActivity extends ListActivity {
private
final
Stack
<
ScrollState
>
mScrollStates
=
new
Stack
<
ScrollState
>();
private
String
mRoots
[];
private
class
ScrollState
{
private
static
class
ScrollState
{
public
ScrollState
(
int
index
,
int
top
)
{
this
.
index
=
index
;
this
.
top
=
top
;
...
...
vlc-android/src/org/videolan/vlc/gui/audio/AudioAlbumsSongsFragment.java
View file @
e1e092e9
...
...
@@ -169,7 +169,7 @@ public class AudioAlbumsSongsFragment extends Fragment {
return
v
;
}
private
class
DummyContentFactory
implements
TabHost
.
TabContentFactory
{
private
static
class
DummyContentFactory
implements
TabHost
.
TabContentFactory
{
private
final
Context
mContext
;
public
DummyContentFactory
(
Context
ctx
)
{
mContext
=
ctx
;
...
...
vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java
View file @
e1e092e9
...
...
@@ -307,7 +307,7 @@ public class AudioBrowserListAdapter extends BaseAdapter implements SectionIndex
return
v
;
}
class
ViewHolder
{
static
class
ViewHolder
{
View
layout
;
ImageView
cover
;
TextView
title
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment