├── .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 |
7 |
8 |
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 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/doc/allclasses-noframe.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | All Classes
7 |
8 |
9 |
10 |
11 | All Classes
12 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.example.fvvapplication.BuildConfig
69 |
70 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.example.fvvapplication.MainActivity
69 |
70 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.example.fvvapplication.R.attr
69 |
70 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.example.fvvapplication.R.dimen
69 |
70 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.example.fvvapplication.R.drawable
69 |
70 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.example.fvvapplication.R
69 |
70 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.example.fvvapplication.R.id
69 |
70 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.example.fvvapplication.R.layout
69 |
70 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.example.fvvapplication.R.menu
69 |
70 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.example.fvvapplication.R.mipmap
69 |
70 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.example.fvvapplication.R.string
69 |
70 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.example.fvvapplication.R.style
69 |
70 |
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 |
12 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.example.fvvapplication
69 |
70 |
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 |
12 |
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 |
36 |
63 |
64 |
67 |
68 |
69 | -
70 |
71 | Class Summary
72 |
73 | Class |
74 | Description |
75 |
76 |
77 |
78 | ApplicationTest |
79 |
80 |
81 | |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
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 |
36 |
63 |
64 |
71 |
72 |
Class Hierarchy
73 |
74 | - java.lang.Object
75 |
82 |
83 |
84 |
85 |
86 |
101 |
102 |
103 | - Prev
104 | - Next
105 |
106 |
110 |
113 |
114 |
124 |
125 |
126 |
127 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.view.video.BuildConfig
69 |
70 |
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 |
36 |
63 |
64 |
67 | No usage of com.github.rtoshiro.view.video.FullscreenVideoLayout
68 |
69 |
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 |
36 |
63 |
64 |
67 | No usage of com.github.rtoshiro.view.video.R.attr
68 |
69 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.view.video.R.dimen
69 |
70 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.view.video.R.drawable
69 |
70 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.view.video.R
69 |
70 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.view.video.R.id
69 |
70 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.view.video.R.layout
69 |
70 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.view.video.R.menu
69 |
70 |
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 |
37 |
64 |
65 |
68 | No usage of com.github.rtoshiro.view.video.R.string
69 |
70 |
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 |
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 |
36 |
63 |
64 |
67 |
68 |
Class Hierarchy
69 |
70 | - java.lang.Object
71 |
72 | - RelativeLayout
73 |
80 |
81 |
82 |
83 |
84 |
Enum Hierarchy
85 |
86 | - java.lang.Object
87 |
88 | - java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
89 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
113 |
114 |
115 | - Prev
116 | - Next
117 |
118 |
122 |
125 |
126 |
136 |
137 |
138 |
139 |
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 |
36 |
63 |
64 |
68 |
69 |
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 |
36 |
63 |
64 |
71 |
92 |
93 |
108 |
109 |
110 | - Prev
111 | - Next
112 |
113 |
117 |
120 |
121 |
131 |
132 |
133 |
134 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
89 |
116 |
117 |
118 |
119 |
--------------------------------------------------------------------------------
/doc/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Generated Documentation (Untitled)
7 |
52 |
53 |
64 |
65 |
--------------------------------------------------------------------------------
/doc/overview-frame.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Overview List
7 |
8 |
9 |
10 |
11 |
12 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/doc/overview-summary.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Overview
7 |
8 |
9 |
10 |
11 |
17 |
20 |
21 |
37 |
64 |
65 |
84 |
85 |
101 |
102 |
103 | - Prev
104 | - Next
105 |
106 |
110 |
113 |
114 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
--------------------------------------------------------------------------------
/doc/overview-tree.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Class Hierarchy
7 |
8 |
9 |
10 |
11 |
17 |
20 |
21 |
36 |
63 |
64 |
71 |
72 |
Class Hierarchy
73 |
74 | - java.lang.Object
75 |
76 | - RelativeLayout
77 |
84 |
85 |
86 |
87 |
88 |
Enum Hierarchy
89 |
90 | - java.lang.Object
91 |
92 | - java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
93 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
117 |
118 |
119 | - Prev
120 | - Next
121 |
122 |
126 |
129 |
130 |
140 |
141 |
142 |
143 |
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 |
20 |
21 |
28 |
32 |
33 |
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/fvvapplication/src/main/res/layout/recycler_item.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
8 |
9 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/fvvapplication/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/fvvapplication/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/fvvapplication/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/fvvapplication/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/fvvapplication/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/fvvapplication/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/fvvapplication/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/fvvapplication/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/fvvapplication/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 |
--------------------------------------------------------------------------------
/fvvapplication/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | FVVApplication
3 |
4 | Hello world!
5 | Settings
6 | RecyclerViewActivity
7 |
8 |
--------------------------------------------------------------------------------
/fvvapplication/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
10 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
11 | # When configured, Gradle will run in incubating parallel mode.
12 | # This option should only be used with decoupled projects. More details, visit
13 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
14 | # org.gradle.parallel=true
15 | VERSION_NAME=1.1.3
16 | VERSION_CODE=11
17 | GROUP=com.github.rtoshiro.fullscreenvideoview
18 | POM_DESCRIPTION=Android library to add fullscreen feature to VideoVideo
19 | POM_URL=https://github.com/rtoshiro/FullscreenVideoView
20 | POM_SCM_URL=https://github.com/rtoshiro/FullscreenVideoView
21 | POM_SCM_CONNECTION=scm:git@github.com:rtoshiro/FullscreenVideoView.git
22 | POM_SCM_DEV_CONNECTION=scm:git@github.com:rtoshiro/FullscreenVideoView.git
23 | POM_LICENCE_NAME=The Apache Software License, Version 2.0
24 | POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
25 | POM_LICENCE_DIST=repo
26 | POM_DEVELOPER_ID=rtoshiro
27 | POM_DEVELOPER_NAME=Toshiro Sugii
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Aug 17 14:08:57 BRT 2016
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
7 |
--------------------------------------------------------------------------------
/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12 | set DEFAULT_JVM_OPTS=
13 |
14 | set DIRNAME=%~dp0
15 | if "%DIRNAME%" == "" set DIRNAME=.
16 | set APP_BASE_NAME=%~n0
17 | set APP_HOME=%DIRNAME%
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windowz variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 | if "%@eval[2+2]" == "4" goto 4NT_args
53 |
54 | :win9xME_args
55 | @rem Slurp the command line arguments.
56 | set CMD_LINE_ARGS=
57 | set _SKIP=2
58 |
59 | :win9xME_args_slurp
60 | if "x%~1" == "x" goto execute
61 |
62 | set CMD_LINE_ARGS=%*
63 | goto execute
64 |
65 | :4NT_args
66 | @rem Get arguments from the 4NT Shell from JP Software
67 | set CMD_LINE_ARGS=%$
68 |
69 | :execute
70 | @rem Setup the command line
71 |
72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73 |
74 | @rem Execute Gradle
75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76 |
77 | :end
78 | @rem End local scope for the variables with windows NT shell
79 | if "%ERRORLEVEL%"=="0" goto mainEnd
80 |
81 | :fail
82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 | rem the _cmd.exe /c_ return code!
84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85 | exit /b 1
86 |
87 | :mainEnd
88 | if "%OS%"=="Windows_NT" endlocal
89 |
90 | :omega
91 |
--------------------------------------------------------------------------------
/maven_push.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'maven'
2 | apply plugin: 'signing'
3 |
4 | def sonatypeRepositoryUrl
5 | if (isReleaseBuild()) {
6 | println 'RELEASE BUILD'
7 | sonatypeRepositoryUrl = hasProperty('RELEASE_REPOSITORY_URL') ? RELEASE_REPOSITORY_URL
8 | : "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
9 | } else {
10 | println 'DEBUG BUILD'
11 | sonatypeRepositoryUrl = hasProperty('SNAPSHOT_REPOSITORY_URL') ? SNAPSHOT_REPOSITORY_URL
12 | : "https://oss.sonatype.org/content/repositories/snapshots/"
13 | }
14 |
15 | def getRepositoryUsername() {
16 | return hasProperty('nexusUsername') ? nexusUsername : ""
17 | }
18 |
19 | def getRepositoryPassword() {
20 | return hasProperty('nexusPassword') ? nexusPassword : ""
21 | }
22 |
23 | afterEvaluate { project ->
24 | uploadArchives {
25 | repositories {
26 | mavenDeployer {
27 | beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
28 |
29 | pom.artifactId = POM_ARTIFACT_ID
30 |
31 | repository(url: sonatypeRepositoryUrl) {
32 | authentication(userName: getRepositoryUsername(), password: getRepositoryPassword())
33 | }
34 |
35 | pom.project {
36 | name POM_NAME
37 | packaging POM_PACKAGING
38 | description POM_DESCRIPTION
39 | url POM_URL
40 |
41 | scm {
42 | url POM_SCM_URL
43 | connection POM_SCM_CONNECTION
44 | developerConnection POM_SCM_DEV_CONNECTION
45 | }
46 |
47 | licenses {
48 | license {
49 | name POM_LICENCE_NAME
50 | url POM_LICENCE_URL
51 | distribution POM_LICENCE_DIST
52 | }
53 | }
54 |
55 | developers {
56 | developer {
57 | id POM_DEVELOPER_ID
58 | name POM_DEVELOPER_NAME
59 | }
60 | }
61 | }
62 | }
63 | }
64 | }
65 |
66 | signing {
67 | required { isReleaseBuild() && gradle.taskGraph.hasTask("uploadArchives") }
68 | sign configurations.archives
69 | }
70 |
71 | task androidJavadocs(type: Javadoc) {
72 | source = android.sourceSets.main.java.sourceFiles
73 | }
74 |
75 | task androidJavadocsJar(type: Jar) {
76 | classifier = 'javadoc'
77 | from androidJavadocs.destinationDir
78 | }
79 |
80 | task androidSourcesJar(type: Jar) {
81 | classifier = 'sources'
82 | from android.sourceSets.main.java.sourceFiles
83 | }
84 |
85 | artifacts {
86 | archives androidSourcesJar
87 | archives androidJavadocsJar
88 | }
89 | }
--------------------------------------------------------------------------------
/readme/01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/readme/01.png
--------------------------------------------------------------------------------
/readme/02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rtoshiro/FullscreenVideoView/5af645832ab0eb179679536af079be49abc6205e/readme/02.png
--------------------------------------------------------------------------------
/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':fvvapplication'
2 | include 'fullscreenvideoview'
3 |
--------------------------------------------------------------------------------