├── .gitignore ├── .travis.yml ├── FVVLibrary.iml ├── LICENSE ├── README.md ├── build.gradle ├── doc ├── allclasses-frame.html ├── allclasses-noframe.html ├── com │ └── github │ │ └── rtoshiro │ │ ├── ApplicationTest.html │ │ ├── example │ │ └── fvvapplication │ │ │ ├── BuildConfig.html │ │ │ ├── MainActivity.html │ │ │ ├── R.attr.html │ │ │ ├── R.dimen.html │ │ │ ├── R.drawable.html │ │ │ ├── R.html │ │ │ ├── R.id.html │ │ │ ├── R.layout.html │ │ │ ├── R.menu.html │ │ │ ├── R.mipmap.html │ │ │ ├── R.string.html │ │ │ ├── R.style.html │ │ │ ├── class-use │ │ │ ├── BuildConfig.html │ │ │ ├── MainActivity.html │ │ │ ├── R.attr.html │ │ │ ├── R.dimen.html │ │ │ ├── R.drawable.html │ │ │ ├── R.html │ │ │ ├── R.id.html │ │ │ ├── R.layout.html │ │ │ ├── R.menu.html │ │ │ ├── R.mipmap.html │ │ │ ├── R.string.html │ │ │ └── R.style.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ ├── package-tree.html │ │ │ └── package-use.html │ │ ├── package-frame.html │ │ ├── package-summary.html │ │ ├── package-tree.html │ │ └── view │ │ └── video │ │ ├── BuildConfig.html │ │ ├── FullscreenVideoLayout.html │ │ ├── FullscreenVideoView.State.html │ │ ├── FullscreenVideoView.html │ │ ├── R.attr.html │ │ ├── R.dimen.html │ │ ├── R.drawable.html │ │ ├── R.html │ │ ├── R.id.html │ │ ├── R.layout.html │ │ ├── R.menu.html │ │ ├── R.string.html │ │ ├── class-use │ │ ├── BuildConfig.html │ │ ├── FullscreenVideoLayout.html │ │ ├── FullscreenVideoView.State.html │ │ ├── FullscreenVideoView.html │ │ ├── R.attr.html │ │ ├── R.dimen.html │ │ ├── R.drawable.html │ │ ├── R.html │ │ ├── R.id.html │ │ ├── R.layout.html │ │ ├── R.menu.html │ │ └── R.string.html │ │ ├── package-frame.html │ │ ├── package-summary.html │ │ ├── package-tree.html │ │ └── package-use.html ├── constant-values.html ├── deprecated-list.html ├── help-doc.html ├── index-files │ ├── index-1.html │ ├── index-10.html │ ├── index-11.html │ ├── index-12.html │ ├── index-13.html │ ├── index-14.html │ ├── index-15.html │ ├── index-16.html │ ├── index-17.html │ ├── index-18.html │ ├── index-2.html │ ├── index-3.html │ ├── index-4.html │ ├── index-5.html │ ├── index-6.html │ ├── index-7.html │ ├── index-8.html │ └── index-9.html ├── index.html ├── overview-frame.html ├── overview-summary.html ├── overview-tree.html ├── package-list ├── resources │ ├── background.gif │ ├── tab.gif │ ├── titlebar.gif │ └── titlebar_end.gif └── stylesheet.css ├── fullscreenvideoview ├── .gitignore ├── build.gradle ├── fullscreenvideoview.iml ├── gradle.properties ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── github │ │ └── rtoshiro │ │ └── ApplicationTest.java │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── com │ │ └── github │ │ └── rtoshiro │ │ └── view │ │ └── video │ │ ├── FullscreenVideoLayout.java │ │ └── FullscreenVideoView.java │ └── res │ ├── drawable-xxhdpi │ ├── fvl_control_disabled.png │ ├── fvl_control_focused.png │ ├── fvl_control_normal.png │ ├── fvl_control_pressed.png │ ├── fvl_fullscreen_reader.png │ ├── fvl_fullscreen_reader_white.png │ ├── fvl_pause_reader.png │ ├── fvl_pause_reader_white.png │ ├── fvl_play_reader.png │ ├── fvl_play_reader_white.png │ ├── fvl_primary.9.png │ ├── fvl_secondary.9.png │ └── fvl_track.9.png │ ├── drawable │ ├── fvl_progress.xml │ ├── fvl_selector_fullscreen.xml │ ├── fvl_selector_pause.xml │ └── fvl_selector_play.xml │ ├── layout │ └── view_videocontrols.xml │ └── values │ └── strings.xml ├── fvvapplication ├── .gitignore ├── build.gradle ├── fvvapplication.iml ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── github │ │ └── rtoshiro │ │ └── example │ │ └── fvvapplication │ │ └── ApplicationTest.java │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── com │ │ └── github │ │ └── rtoshiro │ │ └── example │ │ └── fvvapplication │ │ ├── ListActivity.java │ │ └── MainActivity.java │ └── res │ ├── layout │ ├── activity_list.xml │ ├── activity_main.xml │ └── recycler_item.xml │ ├── mipmap-hdpi │ └── ic_launcher.png │ ├── mipmap-mdpi │ └── ic_launcher.png │ ├── mipmap-xhdpi │ └── ic_launcher.png │ ├── mipmap-xxhdpi │ └── ic_launcher.png │ ├── values-v21 │ └── styles.xml │ └── values │ ├── strings.xml │ └── styles.xml ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── maven_push.gradle ├── readme ├── 01.png └── 02.png └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .gradle 3 | .idea 4 | /local.properties 5 | /.idea/workspace.xml 6 | /.idea/libraries 7 | .DS_Store 8 | /build 9 | /captures 10 | 11 | # Built application files 12 | *.apk 13 | *.ap_ 14 | 15 | # Files for the Dalvik VM 16 | *.dex 17 | 18 | # Java class files 19 | *.class 20 | 21 | # Generated files 22 | bin/ 23 | gen/ 24 | 25 | # Gradle files 26 | .gradle/ 27 | build/ 28 | /*/build/ 29 | 30 | # Local configuration file (sdk path, etc) 31 | local.properties 32 | 33 | # Proguard folder generated by Eclipse 34 | proguard/ 35 | 36 | # Log Files 37 | *.log 38 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: android 2 | jdk: oraclejdk7 3 | android: 4 | components: 5 | # Uncomment the lines below if you want to 6 | # use the latest revision of Android SDK Tools 7 | - platform-tools 8 | - tools 9 | 10 | # The BuildTools version used by your project 11 | - build-tools-23.0.3 12 | 13 | # The SDK version used to compile your project 14 | - android-23 15 | 16 | # Additional components 17 | # - com.facebook.conceal:conceal:1.0.1@aar 18 | 19 | # Specify at least one system image, 20 | # if you need to run emulator(s) during your tests 21 | - sys-img-armeabi-v7a-android-23 22 | before_script: 23 | - echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a 24 | - emulator -avd test -no-audio -no-window & 25 | - android-wait-for-emulator 26 | - adb shell input keyevent 82 & -------------------------------------------------------------------------------- /FVVLibrary.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | jcenter() 5 | mavenCentral() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:2.2.3' 10 | } 11 | } 12 | 13 | def isReleaseBuild() { 14 | return version.contains("SNAPSHOT") == false 15 | } 16 | 17 | allprojects { 18 | version = VERSION_NAME 19 | group = GROUP 20 | 21 | repositories { 22 | jcenter() 23 | mavenCentral() 24 | } 25 | } 26 | 27 | apply plugin: 'android-reporting' -------------------------------------------------------------------------------- /doc/allclasses-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | All Classes 7 | 8 | 9 | 10 | 11 |

All Classes

12 |
13 | 18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/allclasses-noframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | All Classes 7 | 8 | 9 | 10 | 11 |

All Classes

12 |
13 | 18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/example/fvvapplication/class-use/BuildConfig.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.example.fvvapplication.BuildConfig 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Class
com.github.rtoshiro.example.fvvapplication.BuildConfig

67 |
68 |
No usage of com.github.rtoshiro.example.fvvapplication.BuildConfig
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/example/fvvapplication/class-use/MainActivity.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.example.fvvapplication.MainActivity 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Class
com.github.rtoshiro.example.fvvapplication.MainActivity

67 |
68 |
No usage of com.github.rtoshiro.example.fvvapplication.MainActivity
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/example/fvvapplication/class-use/R.attr.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.example.fvvapplication.R.attr 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Class
com.github.rtoshiro.example.fvvapplication.R.attr

67 |
68 |
No usage of com.github.rtoshiro.example.fvvapplication.R.attr
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/example/fvvapplication/class-use/R.dimen.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.example.fvvapplication.R.dimen 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Class
com.github.rtoshiro.example.fvvapplication.R.dimen

67 |
68 |
No usage of com.github.rtoshiro.example.fvvapplication.R.dimen
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/example/fvvapplication/class-use/R.drawable.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.example.fvvapplication.R.drawable 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Class
com.github.rtoshiro.example.fvvapplication.R.drawable

67 |
68 |
No usage of com.github.rtoshiro.example.fvvapplication.R.drawable
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/example/fvvapplication/class-use/R.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.example.fvvapplication.R 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Class
com.github.rtoshiro.example.fvvapplication.R

67 |
68 |
No usage of com.github.rtoshiro.example.fvvapplication.R
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/example/fvvapplication/class-use/R.id.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.example.fvvapplication.R.id 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Class
com.github.rtoshiro.example.fvvapplication.R.id

67 |
68 |
No usage of com.github.rtoshiro.example.fvvapplication.R.id
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/example/fvvapplication/class-use/R.layout.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.example.fvvapplication.R.layout 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Class
com.github.rtoshiro.example.fvvapplication.R.layout

67 |
68 |
No usage of com.github.rtoshiro.example.fvvapplication.R.layout
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/example/fvvapplication/class-use/R.menu.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.example.fvvapplication.R.menu 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Class
com.github.rtoshiro.example.fvvapplication.R.menu

67 |
68 |
No usage of com.github.rtoshiro.example.fvvapplication.R.menu
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/example/fvvapplication/class-use/R.mipmap.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.example.fvvapplication.R.mipmap 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Class
com.github.rtoshiro.example.fvvapplication.R.mipmap

67 |
68 |
No usage of com.github.rtoshiro.example.fvvapplication.R.mipmap
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/example/fvvapplication/class-use/R.string.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.example.fvvapplication.R.string 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Class
com.github.rtoshiro.example.fvvapplication.R.string

67 |
68 |
No usage of com.github.rtoshiro.example.fvvapplication.R.string
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/example/fvvapplication/class-use/R.style.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.example.fvvapplication.R.style 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Class
com.github.rtoshiro.example.fvvapplication.R.style

67 |
68 |
No usage of com.github.rtoshiro.example.fvvapplication.R.style
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/example/fvvapplication/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.github.rtoshiro.example.fvvapplication 7 | 8 | 9 | 10 | 11 |

com.github.rtoshiro.example.fvvapplication

12 |
13 |

Classes

14 | 28 |
29 | 30 | 31 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/example/fvvapplication/package-use.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Package com.github.rtoshiro.example.fvvapplication 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Package
com.github.rtoshiro.example.fvvapplication

67 |
68 |
No usage of com.github.rtoshiro.example.fvvapplication
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.github.rtoshiro 7 | 8 | 9 | 10 | 11 |

com.github.rtoshiro

12 |
13 |

Classes

14 | 17 |
18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/package-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.github.rtoshiro 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 35 |
36 | 63 | 64 |
65 |

Package com.github.rtoshiro

66 |
67 |
68 | 87 |
88 | 89 |
90 | 91 | 92 | 93 | 94 | 103 |
104 | 131 | 132 | 133 | 134 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.github.rtoshiro Class Hierarchy 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 35 |
36 | 63 | 64 |
65 |

Hierarchy For Package com.github.rtoshiro

66 | Package Hierarchies: 67 | 70 |
71 |
72 |

Class Hierarchy

73 | 84 |
85 | 86 |
87 | 88 | 89 | 90 | 91 | 100 |
101 | 128 | 129 | 130 | 131 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/view/video/class-use/BuildConfig.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.view.video.BuildConfig 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Class
com.github.rtoshiro.view.video.BuildConfig

67 |
68 |
No usage of com.github.rtoshiro.view.video.BuildConfig
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/view/video/class-use/FullscreenVideoLayout.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.view.video.FullscreenVideoLayout 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 35 |
36 | 63 | 64 |
65 |

Uses of Class
com.github.rtoshiro.view.video.FullscreenVideoLayout

66 |
67 |
No usage of com.github.rtoshiro.view.video.FullscreenVideoLayout
68 | 69 |
70 | 71 | 72 | 73 | 74 | 83 |
84 | 111 | 112 | 113 | 114 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/view/video/class-use/R.attr.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.view.video.R.attr 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 35 |
36 | 63 | 64 |
65 |

Uses of Class
com.github.rtoshiro.view.video.R.attr

66 |
67 |
No usage of com.github.rtoshiro.view.video.R.attr
68 | 69 |
70 | 71 | 72 | 73 | 74 | 83 |
84 | 111 | 112 | 113 | 114 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/view/video/class-use/R.dimen.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.view.video.R.dimen 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Class
com.github.rtoshiro.view.video.R.dimen

67 |
68 |
No usage of com.github.rtoshiro.view.video.R.dimen
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/view/video/class-use/R.drawable.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.view.video.R.drawable 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Class
com.github.rtoshiro.view.video.R.drawable

67 |
68 |
No usage of com.github.rtoshiro.view.video.R.drawable
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/view/video/class-use/R.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.view.video.R 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Class
com.github.rtoshiro.view.video.R

67 |
68 |
No usage of com.github.rtoshiro.view.video.R
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/view/video/class-use/R.id.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.view.video.R.id 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Class
com.github.rtoshiro.view.video.R.id

67 |
68 |
No usage of com.github.rtoshiro.view.video.R.id
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/view/video/class-use/R.layout.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.view.video.R.layout 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Class
com.github.rtoshiro.view.video.R.layout

67 |
68 |
No usage of com.github.rtoshiro.view.video.R.layout
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/view/video/class-use/R.menu.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.view.video.R.menu 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Class
com.github.rtoshiro.view.video.R.menu

67 |
68 |
No usage of com.github.rtoshiro.view.video.R.menu
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/view/video/class-use/R.string.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Uses of Class com.github.rtoshiro.view.video.R.string 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 |

Uses of Class
com.github.rtoshiro.view.video.R.string

67 |
68 |
No usage of com.github.rtoshiro.view.video.R.string
69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 |
86 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/view/video/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.github.rtoshiro.view.video 7 | 8 | 9 | 10 | 11 |

com.github.rtoshiro.view.video

12 |
13 |

Classes

14 | 18 |

Enums

19 | 22 |
23 | 24 | 25 | -------------------------------------------------------------------------------- /doc/com/github/rtoshiro/view/video/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.github.rtoshiro.view.video Class Hierarchy 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 35 |
36 | 63 | 64 |
65 |

Hierarchy For Package com.github.rtoshiro.view.video

66 |
67 |
68 |

Class Hierarchy

69 | 84 |

Enum Hierarchy

85 | 96 |
97 | 98 |
99 | 100 | 101 | 102 | 103 | 112 |
113 | 140 | 141 | 142 | 143 | -------------------------------------------------------------------------------- /doc/constant-values.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Constant Field Values 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 35 |
36 | 63 | 64 |
65 |

Constant Field Values

66 |

Contents

67 |
68 | 69 |
70 | 71 | 72 | 73 | 74 | 83 |
84 | 111 | 112 | 113 | 114 | -------------------------------------------------------------------------------- /doc/deprecated-list.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Deprecated List 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 35 |
36 | 63 | 64 |
65 |

Deprecated API

66 |

Contents

67 | 70 |
71 |
72 | 73 | 74 | 91 |
92 | 93 |
94 | 95 | 96 | 97 | 98 | 107 |
108 | 135 | 136 | 137 | 138 | -------------------------------------------------------------------------------- /doc/index-files/index-1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | A-Index 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 35 |
36 | 63 | 64 |
A C D E F G H I L M O P R S T U V  65 | 66 | 67 |

A

68 |
69 |
activity - Variable in class com.github.rtoshiro.view.video.FullscreenVideoView
70 |
 
71 |
72 | A C D E F G H I L M O P R S T U V 
73 | 74 |
75 | 76 | 77 | 78 | 79 | 88 |
89 | 116 | 117 | 118 | 119 | -------------------------------------------------------------------------------- /doc/index-files/index-10.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | M-Index 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 35 |
36 | 63 | 64 |
A C D E F G H I L M O P R S T U V  65 | 66 | 67 |

M

68 |
69 |
mediaPlayer - Variable in class com.github.rtoshiro.view.video.FullscreenVideoView
70 |
 
71 |
72 | A C D E F G H I L M O P R S T U V 
73 | 74 |
75 | 76 | 77 | 78 | 79 | 88 |
89 | 116 | 117 | 118 | 119 | -------------------------------------------------------------------------------- /doc/index-files/index-3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | D-Index 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 35 |
36 | 63 | 64 |
A C D E F G H I L M O P R S T U V  65 | 66 | 67 |

D

68 |
69 |
detachedByFullscreen - Variable in class com.github.rtoshiro.view.video.FullscreenVideoView
70 |
 
71 |
72 | A C D E F G H I L M O P R S T U V 
73 | 74 |
75 | 76 | 77 | 78 | 79 | 88 |
89 | 116 | 117 | 118 | 119 | -------------------------------------------------------------------------------- /doc/index-files/index-4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | E-Index 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 35 |
36 | 63 | 64 |
A C D E F G H I L M O P R S T U V  65 | 66 | 67 |

E

68 |
69 |
errorListener - Variable in class com.github.rtoshiro.view.video.FullscreenVideoView
70 |
 
71 |
72 | A C D E F G H I L M O P R S T U V 
73 | 74 |
75 | 76 | 77 | 78 | 79 | 88 |
89 | 116 | 117 | 118 | 119 | -------------------------------------------------------------------------------- /doc/index-files/index-7.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | H-Index 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 35 |
36 | 63 | 64 |
A C D E F G H I L M O P R S T U V  65 | 66 | 67 |

H

68 |
69 |
hideControls() - Method in class com.github.rtoshiro.view.video.FullscreenVideoLayout
70 |
 
71 |
72 | A C D E F G H I L M O P R S T U V 
73 | 74 |
75 | 76 | 77 | 78 | 79 | 88 |
89 | 116 | 117 | 118 | 119 | -------------------------------------------------------------------------------- /doc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Generated Documentation (Untitled) 7 | 52 | 53 | 54 | 55 | 56 | 57 | <noscript> 58 | <div>JavaScript is disabled on your browser.</div> 59 | </noscript> 60 | <h2>Frame Alert</h2> 61 | <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="com/github/rtoshiro/view/video/package-summary.html">Non-frame version</a>.</p> 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /doc/overview-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Overview List 7 | 8 | 9 | 10 | 11 |
All Classes
12 |
13 |

Packages

14 | 18 |
19 |

 

20 | 21 | 22 | -------------------------------------------------------------------------------- /doc/overview-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Overview 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 36 |
37 | 64 | 65 |
66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 |
Packages 
PackageDescription
com.github.rtoshiro.example.fvvapplication 
com.github.rtoshiro.view.video 
83 |
84 | 85 |
86 | 87 | 88 | 89 | 90 | 100 |
101 | 128 | 129 | 130 | 131 | -------------------------------------------------------------------------------- /doc/overview-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Class Hierarchy 7 | 8 | 9 | 10 | 11 | 17 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 35 |
36 | 63 | 64 |
65 |

Hierarchy For All Packages

66 | Package Hierarchies: 67 | 70 |
71 |
72 |

Class Hierarchy

73 | 88 |

Enum Hierarchy

89 | 100 |
101 | 102 |
103 | 104 | 105 | 106 | 107 | 116 |
117 | 144 | 145 | 146 | 147 | -------------------------------------------------------------------------------- /doc/package-list: -------------------------------------------------------------------------------- 1 | com.github.rtoshiro.view.video 2 | -------------------------------------------------------------------------------- /doc/resources/background.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/doc/resources/background.gif -------------------------------------------------------------------------------- /doc/resources/tab.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/doc/resources/tab.gif -------------------------------------------------------------------------------- /doc/resources/titlebar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/doc/resources/titlebar.gif -------------------------------------------------------------------------------- /doc/resources/titlebar_end.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/doc/resources/titlebar_end.gif -------------------------------------------------------------------------------- /fullscreenvideoview/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /fullscreenvideoview/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | android { 4 | lintOptions { 5 | abortOnError false 6 | } 7 | compileSdkVersion 23 8 | buildToolsVersion '23.0.3' 9 | 10 | defaultConfig { 11 | minSdkVersion 7 12 | targetSdkVersion 23 13 | versionCode 11 14 | versionName "1.1.3" 15 | } 16 | buildTypes { 17 | release { 18 | minifyEnabled false 19 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 20 | } 21 | } 22 | } 23 | 24 | dependencies { 25 | compile fileTree(dir: 'libs', include: ['*.jar']) 26 | } 27 | 28 | //apply from: '../maven_push.gradle' -------------------------------------------------------------------------------- /fullscreenvideoview/gradle.properties: -------------------------------------------------------------------------------- 1 | POM_NAME=FullscreenVideoView Library 2 | POM_ARTIFACT_ID=fullscreenvideoview 3 | POM_PACKAGING=aar -------------------------------------------------------------------------------- /fullscreenvideoview/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Applications/ADT/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /fullscreenvideoview/src/androidTest/java/com/github/rtoshiro/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package com.github.rtoshiro; 2 | 3 | import android.app.Application; 4 | import android.test.ApplicationTestCase; 5 | 6 | /** 7 | * Testing Fundamentals 8 | */ 9 | public class ApplicationTest extends ApplicationTestCase { 10 | public ApplicationTest() { 11 | super(Application.class); 12 | } 13 | } -------------------------------------------------------------------------------- /fullscreenvideoview/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_control_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_control_disabled.png -------------------------------------------------------------------------------- /fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_control_focused.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_control_focused.png -------------------------------------------------------------------------------- /fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_control_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_control_normal.png -------------------------------------------------------------------------------- /fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_control_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_control_pressed.png -------------------------------------------------------------------------------- /fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_fullscreen_reader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_fullscreen_reader.png -------------------------------------------------------------------------------- /fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_fullscreen_reader_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_fullscreen_reader_white.png -------------------------------------------------------------------------------- /fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_pause_reader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_pause_reader.png -------------------------------------------------------------------------------- /fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_pause_reader_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_pause_reader_white.png -------------------------------------------------------------------------------- /fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_play_reader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_play_reader.png -------------------------------------------------------------------------------- /fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_play_reader_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_play_reader_white.png -------------------------------------------------------------------------------- /fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_primary.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_primary.9.png -------------------------------------------------------------------------------- /fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_secondary.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_secondary.9.png -------------------------------------------------------------------------------- /fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_track.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/fullscreenvideoview/src/main/res/drawable-xxhdpi/fvl_track.9.png -------------------------------------------------------------------------------- /fullscreenvideoview/src/main/res/drawable/fvl_progress.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 19 | 20 | 22 | 23 | 24 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /fullscreenvideoview/src/main/res/drawable/fvl_selector_fullscreen.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /fullscreenvideoview/src/main/res/drawable/fvl_selector_pause.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /fullscreenvideoview/src/main/res/drawable/fvl_selector_play.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /fullscreenvideoview/src/main/res/layout/view_videocontrols.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 18 | 19 | 27 | 28 | 36 | 37 | 45 | 46 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /fullscreenvideoview/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | VideoLayout 3 | 4 | Hello world! 5 | Settings 6 | 7 | -------------------------------------------------------------------------------- /fvvapplication/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /fvvapplication/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 23 5 | buildToolsVersion '23.0.3' 6 | 7 | defaultConfig { 8 | applicationId "com.github.rtoshiro.example.fvvapplication" 9 | minSdkVersion 9 10 | targetSdkVersion 23 11 | versionCode 2 12 | versionName "1.1" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | lintOptions { 21 | abortOnError false 22 | } 23 | } 24 | 25 | dependencies { 26 | compile fileTree(dir: 'libs', include: ['*.jar']) 27 | compile project(':fullscreenvideoview') 28 | compile 'com.android.support:recyclerview-v7:25.0.1' 29 | } 30 | -------------------------------------------------------------------------------- /fvvapplication/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Applications/ADT/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /fvvapplication/src/androidTest/java/com/github/rtoshiro/example/fvvapplication/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package com.github.rtoshiro.example.fvvapplication; 2 | 3 | import android.app.Application; 4 | import android.test.ApplicationTestCase; 5 | 6 | /** 7 | * Testing Fundamentals 8 | */ 9 | public class ApplicationTest extends ApplicationTestCase { 10 | public ApplicationTest() { 11 | super(Application.class); 12 | } 13 | } -------------------------------------------------------------------------------- /fvvapplication/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 12 | 16 | 17 | 18 | 19 | 20 | 21 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /fvvapplication/src/main/java/com/github/rtoshiro/example/fvvapplication/ListActivity.java: -------------------------------------------------------------------------------- 1 | package com.github.rtoshiro.example.fvvapplication; 2 | 3 | import android.app.Activity; 4 | import android.content.Context; 5 | import android.content.res.Configuration; 6 | import android.net.Uri; 7 | import android.os.Bundle; 8 | import android.support.v7.widget.LinearLayoutManager; 9 | import android.support.v7.widget.RecyclerView; 10 | import android.util.Log; 11 | import android.view.LayoutInflater; 12 | import android.view.View; 13 | import android.view.ViewGroup; 14 | 15 | import com.github.rtoshiro.view.video.FullscreenVideoLayout; 16 | 17 | import java.io.IOException; 18 | import java.util.ArrayList; 19 | 20 | public class ListActivity extends Activity { 21 | RecyclerView recyclerView; 22 | ItemAdapter adapter; 23 | RecyclerView.LayoutManager layoutManager; 24 | 25 | @Override 26 | protected void onCreate(Bundle savedInstanceState) { 27 | super.onCreate(savedInstanceState); 28 | setContentView(R.layout.activity_list); 29 | this.recyclerView = (RecyclerView) findViewById(R.id.recyclerview); 30 | 31 | recyclerView.setHasFixedSize(true); 32 | 33 | ArrayList items = new ArrayList<>(); 34 | items.add("http://techslides.com/demos/sample-videos/small.mp4"); 35 | items.add("http://techslides.com/demos/sample-videos/small.mp4"); 36 | items.add("http://techslides.com/demos/sample-videos/small.mp4"); 37 | items.add("http://techslides.com/demos/sample-videos/small.mp4"); 38 | items.add("http://techslides.com/demos/sample-videos/small.mp4"); 39 | items.add("http://techslides.com/demos/sample-videos/small.mp4"); 40 | 41 | this.adapter = new ItemAdapter(this); 42 | this.adapter.setItems(items); 43 | this.recyclerView.setAdapter(adapter); 44 | 45 | // use a linear layout manager 46 | layoutManager = new LinearLayoutManager(this); 47 | recyclerView.setLayoutManager(layoutManager); 48 | 49 | } 50 | 51 | @Override 52 | public void onConfigurationChanged(Configuration newConfig) { 53 | super.onConfigurationChanged(newConfig); 54 | } 55 | 56 | public class ItemAdapter extends RecyclerView.Adapter { 57 | private ArrayList items; 58 | private Context context; 59 | 60 | public ItemAdapter(Context context) { 61 | this.context = context; 62 | } 63 | 64 | public ArrayList getItems() { 65 | return items; 66 | } 67 | 68 | public void setItems(ArrayList items) { 69 | this.items = items; 70 | } 71 | 72 | @Override 73 | public ItemAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, 74 | int viewType) { 75 | View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.recycler_item, parent, false); 76 | 77 | ViewHolder vh = new ViewHolder(v); 78 | return vh; 79 | } 80 | 81 | @Override 82 | public void onBindViewHolder(ViewHolder holder, int position) { 83 | if (items != null) { 84 | String item = items.get(position); 85 | if (item != null) { 86 | holder.itemView.setTag(position); 87 | 88 | Uri videoUri = Uri.parse(item); 89 | try { 90 | Log.i("ListActivity", "Reseting"); 91 | holder.videoLayout.reset(); 92 | holder.videoLayout.setVideoURI(videoUri); 93 | } catch (IOException e) { 94 | e.printStackTrace(); 95 | } 96 | } 97 | } 98 | } 99 | 100 | public long getItemId(int position) { 101 | return position; 102 | } 103 | 104 | @Override 105 | public int getItemCount() { 106 | return (items != null) ? items.size() : 0; 107 | } 108 | 109 | public class ViewHolder extends RecyclerView.ViewHolder { 110 | public View itemView; 111 | public FullscreenVideoLayout videoLayout; 112 | 113 | public ViewHolder(View v) { 114 | super(v); 115 | this.itemView = v; 116 | this.videoLayout = (FullscreenVideoLayout) v.findViewById(R.id.videoview); 117 | 118 | } 119 | } 120 | } 121 | 122 | } 123 | -------------------------------------------------------------------------------- /fvvapplication/src/main/java/com/github/rtoshiro/example/fvvapplication/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.github.rtoshiro.example.fvvapplication; 2 | 3 | import android.app.Activity; 4 | import android.content.res.Configuration; 5 | import android.net.Uri; 6 | import android.os.Bundle; 7 | import android.view.View; 8 | import android.widget.Button; 9 | import android.widget.TextView; 10 | 11 | import com.github.rtoshiro.view.video.FullscreenVideoLayout; 12 | 13 | import java.io.IOException; 14 | 15 | public class MainActivity extends Activity { 16 | private android.widget.TextView textview; 17 | private android.widget.Button button; 18 | private FullscreenVideoLayout videoLayout; 19 | 20 | @Override 21 | protected void onCreate(Bundle savedInstanceState) { 22 | super.onCreate(savedInstanceState); 23 | setContentView(R.layout.activity_main); 24 | this.button = (Button) findViewById(R.id.button); 25 | this.textview = (TextView) findViewById(R.id.textview); 26 | this.videoLayout = (FullscreenVideoLayout) findViewById(R.id.videoview); 27 | 28 | videoLayout.setActivity(this); 29 | videoLayout.setShouldAutoplay(false); 30 | 31 | loadVideo(); 32 | } 33 | 34 | @Override 35 | public void onConfigurationChanged(Configuration newConfig) { 36 | super.onConfigurationChanged(newConfig); 37 | 38 | videoLayout.resize(); 39 | } 40 | 41 | public void loadVideo() { 42 | Uri videoUri = Uri.parse("http://techslides.com/demos/sample-videos/small.mp4"); 43 | try { 44 | videoLayout.setVideoURI(videoUri); 45 | 46 | } catch (IOException e) { 47 | e.printStackTrace(); 48 | } 49 | } 50 | 51 | public void reset(View v) { 52 | if (this.videoLayout != null) { 53 | this.videoLayout.reset(); 54 | loadVideo(); 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /fvvapplication/src/main/res/layout/activity_list.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /fvvapplication/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | 13 |