├── .gitignore ├── CapturingLib ├── .classpath ├── .project ├── .settings │ └── org.eclipse.core.resources.prefs ├── AndroidManifest.xml ├── libs │ ├── android-1.2.2415.jar │ ├── android-support-v4.jar │ └── domain-1.2.2415.jar ├── proguard-project.txt ├── project.properties └── src │ └── com │ └── jianglin │ └── util │ ├── Capturing.java │ └── VideoCapture.java ├── GLSurfaceView-Demo ├── .classpath ├── .project ├── .settings │ └── org.eclipse.core.resources.prefs ├── AndroidManifest.xml ├── COPYING ├── README.txt ├── proguard-project.txt ├── project.properties ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── drawable-ldpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── layout-land │ │ └── main.xml │ ├── layout │ │ ├── about.xml │ │ ├── main.xml │ │ ├── main1.xml │ │ └── main2.xml │ ├── values-es │ │ └── strings.xml │ └── values │ │ └── strings.xml └── src │ └── com │ └── faddensoft │ └── breakout │ ├── AboutBox.java │ ├── Ball.java │ ├── BaseRect.java │ ├── BasicAlignedRect.java │ ├── BreakoutActivity.java │ ├── Brick.java │ ├── GameActivity.java │ ├── GameState.java │ ├── GameSurfaceRenderer.java │ ├── GameSurfaceView.java │ ├── OutlineAlignedRect.java │ ├── SoundResources.java │ ├── TextResources.java │ ├── TexturedAlignedRect.java │ └── Util.java ├── LICENSE ├── README.md └── android-demo ├── .classpath ├── .project ├── AUTHORS ├── AndroidManifest.xml ├── CC-LICENSE ├── CONTRIBUTORS ├── LICENSE ├── assets └── data │ ├── 8.12.mp3 │ ├── block.obj │ ├── block.wings │ ├── droid.png │ ├── explode.png │ ├── explosion.wav │ ├── font.ttf │ ├── font10.fnt │ ├── font10.png │ ├── font16.fnt │ ├── font16.png │ ├── invader.obj │ ├── invader.png │ ├── invader.wings │ ├── knight.jpg │ ├── knight.md2 │ ├── planet.jpg │ ├── playfield.wings │ ├── shaders │ ├── color-fs.glsl │ ├── color-vs.glsl │ ├── light-tex-fs.glsl │ ├── light-tex-vs.glsl │ ├── tex-fs.glsl │ └── tex-vs.glsl │ ├── ship.obj │ ├── ship.png │ ├── ship.wings │ ├── shot.obj │ ├── shot.wav │ ├── shot.wings │ └── title.png ├── build.gradle ├── ic_launcher-web.png ├── libs ├── armeabi-v7a │ └── libgdx.so ├── armeabi │ └── libgdx.so ├── gdx-backend-android.jar ├── gdx-controllers-android.jar ├── gdx-controllers.jar └── gdx.jar ├── proguard-project.txt ├── project.properties ├── res ├── drawable-hdpi │ └── ic_launcher.png ├── drawable-xhdpi │ └── ic_launcher.png ├── drawable-xxhdpi │ └── ic_launcher.png └── values │ ├── strings.xml │ └── styles.xml └── src └── com ├── badlogic └── invaders │ ├── Invaders.java │ ├── Renderer.java │ ├── android │ └── AndroidLauncher.java │ ├── screens │ ├── GameLoop.java │ ├── GameOver.java │ ├── InvadersScreen.java │ └── MainMenu.java │ └── simulation │ ├── Block.java │ ├── Explosion.java │ ├── Invader.java │ ├── Ship.java │ ├── Shot.java │ ├── Simulation.java │ └── SimulationListener.java ├── intel └── inde │ └── mp │ ├── AudioFormat.java │ ├── CameraCapture.java │ ├── GLCapture.java │ ├── IAudioEffect.java │ ├── IProgressListener.java │ ├── IRecognitionPlugin.java │ ├── IVideoEffect.java │ ├── MediaComposer.java │ ├── MediaFile.java │ ├── MediaFileInfo.java │ ├── MediaStreamer.java │ ├── StreamingParameters.java │ ├── Uri.java │ ├── VideoFormat.java │ ├── android │ ├── AndroidMediaObjectFactory.java │ ├── AudioContentRecognition.java │ ├── AudioFormatAndroid.java │ ├── BufferInfoTranslator.java │ ├── ByteBufferTranslator.java │ ├── CameraSource.java │ ├── EGLContextWrapper.java │ ├── EffectorSurface.java │ ├── EglContextSwitcher.java │ ├── FaceRecognitionPlugin.java │ ├── GameCapturerSource.java │ ├── InputSurface.java │ ├── JNIProgressListener.java │ ├── JNIVideoEffect.java │ ├── MediaCodecAudioDecoderPlugin.java │ ├── MediaCodecDecoderPlugin.java │ ├── MediaCodecEncoderPlugin.java │ ├── MediaCodecVideoDecoderPlugin.java │ ├── MediaExtractorPlugin.java │ ├── MediaFormatTranslator.java │ ├── MediaFormatWrapper.java │ ├── MediaMuxerPlugin.java │ ├── MediaPipeline.java │ ├── MicrophoneSource.java │ ├── OutputSurface.java │ ├── PreviewRender.java │ ├── ResamplerAndroid.java │ ├── SimpleSurface.java │ ├── Surface.java │ ├── SurfaceTextureWrapper.java │ ├── SurfaceWrapper.java │ ├── VideoFormatAndroid.java │ └── graphics │ │ ├── EglUtil.java │ │ ├── FrameBuffer.java │ │ ├── FullFrameTexture.java │ │ ├── ShaderProgram.java │ │ └── VideoEffect.java │ └── domain │ ├── AudioDecoder.java │ ├── AudioEffector.java │ ├── AudioEncoder.java │ ├── AudioSample.java │ ├── CameraSource.java │ ├── CapturePipeline.java │ ├── CaptureSource.java │ ├── Command.java │ ├── CommandHandlerFactory.java │ ├── CommandProcessor.java │ ├── CommandQueue.java │ ├── ConnectedNode.java │ ├── Decoder.java │ ├── Encoder.java │ ├── EofFrame.java │ ├── Frame.java │ ├── FrameBuffer.java │ ├── IAndroidMediaObjectFactory.java │ ├── IAudioContentRecognition.java │ ├── ICameraSource.java │ ├── ICaptureSource.java │ ├── ICommandHandler.java │ ├── ICommandProcessor.java │ ├── IEffectorSurface.java │ ├── IEgl.java │ ├── IEglContext.java │ ├── IFrameAllocator.java │ ├── IFrameBuffer.java │ ├── IHandlerCreator.java │ ├── IInput.java │ ├── IInputRaw.java │ ├── IMediaCodec.java │ ├── IMediaExtractor.java │ ├── IMediaFormatWrapper.java │ ├── IMediaMuxer.java │ ├── IMediaSource.java │ ├── IMicrophoneSource.java │ ├── IOnFrameAvailableListener.java │ ├── IOnSurfaceReady.java │ ├── IOutput.java │ ├── IOutputRaw.java │ ├── IPluginOutput.java │ ├── IPreview.java │ ├── IReadyFrameProvider.java │ ├── IRunnable.java │ ├── ISpecification.java │ ├── ISurface.java │ ├── ISurfaceCreatedListener.java │ ├── ISurfaceCreator.java │ ├── ISurfaceListener.java │ ├── ISurfaceProvider.java │ ├── ISurfaceTexture.java │ ├── ISurfaceWrapper.java │ ├── ITopologyTree.java │ ├── ITransform.java │ ├── IVideoOutput.java │ ├── IWrapper.java │ ├── Input.java │ ├── IsConnectable.java │ ├── MatchingCommands.java │ ├── MediaCodecInfo.java │ ├── MediaCodecPlugin.java │ ├── MediaFormat.java │ ├── MediaFormatType.java │ ├── MediaSource.java │ ├── MicrophoneSource.java │ ├── MultipleMediaSource.java │ ├── MuxRender.java │ ├── OutputInputPair.java │ ├── Pair.java │ ├── PairCommandSpecification.java │ ├── PairQueueSpecification.java │ ├── PassThroughPlugin.java │ ├── Pipeline.java │ ├── Plugin.java │ ├── PluginState.java │ ├── PreviewContext.java │ ├── ProgressTracker.java │ ├── RecognitionPipeline.java │ ├── Render.java │ ├── Resampler.java │ ├── Resolution.java │ ├── SampleRate.java │ ├── Segments.java │ ├── SurfaceRender.java │ ├── TopologyNet.java │ ├── TopologySolver.java │ ├── VideoDecoder.java │ ├── VideoEffector.java │ ├── VideoEncoder.java │ ├── Wrapper.java │ ├── graphics │ ├── IEglUtil.java │ ├── IShaderProgram.java │ ├── Program.java │ ├── TextureRenderer.java │ └── TextureType.java │ └── pipeline │ ├── AudioPipelineOutputFormatChangeCommandHandler.java │ ├── CaptureSourcePullSurfaceCommandHandler.java │ ├── ConfigureVideoDecoderCommandHandler.java │ ├── ConfigureVideoEffectorCommandHandler.java │ ├── ConnectorFactory.java │ ├── CopyDataCommandHandler.java │ ├── DrainCommandHandler.java │ ├── DrainRenderCommandHandler.java │ ├── EncoderMediaFormatChangedCommandHandler.java │ ├── EofCommandHandler.java │ ├── IConnector.java │ ├── IOnStopListener.java │ ├── ManyToOneConnectable.java │ ├── ManyTypes.java │ ├── MicrophoneSourcePullFrameCommandHandler.java │ ├── OneToManyConnectable.java │ ├── OneToOneConnectable.java │ ├── OutputFormatChangedHandler.java │ ├── PluginConnector.java │ ├── PullDataCommandHandler.java │ ├── PushDataCommandHandler.java │ ├── PushNewDataCommandHandler.java │ ├── PushSurfaceCommandHandler.java │ ├── PushSurfaceCommandHandlerForEffector.java │ ├── PushSurfaceCommandHandlerForSurfaceRender.java │ ├── SkipOutputFormatChangeCommandHandler.java │ └── TriangleVerticesCalculator.java └── jianglin └── util ├── Capturing.java └── VideoCapture.java /.gitignore: -------------------------------------------------------------------------------- 1 | # Built application files 2 | *.apk 3 | *.ap_ 4 | 5 | # Files for the Dalvik VM 6 | *.dex 7 | 8 | # Java class files 9 | *.class 10 | 11 | # Generated files 12 | bin/ 13 | gen/ 14 | 15 | # Gradle files 16 | .gradle/ 17 | build/ 18 | 19 | # Local configuration file (sdk path, etc) 20 | local.properties 21 | 22 | # Proguard folder generated by Eclipse 23 | proguard/ 24 | 25 | # Log Files 26 | *.log 27 | -------------------------------------------------------------------------------- /CapturingLib/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /CapturingLib/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | MyCapturingLib 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /CapturingLib/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/com/jianglin/util/Capturing.java=UTF-8 3 | encoding//src/com/jianglin/util/VideoCapture.java=UTF-8 4 | encoding/=UTF-8 5 | -------------------------------------------------------------------------------- /CapturingLib/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 9 | 10 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /CapturingLib/libs/android-1.2.2415.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangerji/android-screen-recorder/b5da714dc9439b0e369aedb74515c16f440b57e5/CapturingLib/libs/android-1.2.2415.jar -------------------------------------------------------------------------------- /CapturingLib/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangerji/android-screen-recorder/b5da714dc9439b0e369aedb74515c16f440b57e5/CapturingLib/libs/android-support-v4.jar -------------------------------------------------------------------------------- /CapturingLib/libs/domain-1.2.2415.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangerji/android-screen-recorder/b5da714dc9439b0e369aedb74515c16f440b57e5/CapturingLib/libs/domain-1.2.2415.jar -------------------------------------------------------------------------------- /CapturingLib/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /CapturingLib/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-20 15 | android.library=true 16 | -------------------------------------------------------------------------------- /GLSurfaceView-Demo/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /GLSurfaceView-Demo/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Breakout 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /GLSurfaceView-Demo/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /GLSurfaceView-Demo/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 33 | 34 | 35 | 36 | 39 | 40 | 41 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /GLSurfaceView-Demo/README.txt: -------------------------------------------------------------------------------- 1 | Android Breakout v1.0.2 2 | 3 | This is a simple game intended to demonstrate various Android features. 4 | It features: 5 | 6 | - Use of OpenGL ES 2.0 for a 2D game, including flat-shaded and 7 | texture-mapped elements. 8 | - Smooth animation that isn't tied to a fixed device refresh rate. 9 | - Use of GLSurfaceView, including considerations for multiple threads. 10 | - Interaction with the Android application framework, including 11 | game state save & restore on Activity pause/resume. 12 | - Handling touch events. 13 | - GL rendering of locale-specific text. (A basic Spanish translation 14 | is included.) 15 | - Sound effect generation and playback. 16 | - Separation of core game logic from Android-specific elements. 17 | - Configurable skill levels, saved preferences, and saved high score. 18 | - Two-panel user interface that rearranges for landscape vs. portrait. 19 | 20 | It also shows some basic 2D collision detection. 21 | 22 | 23 | Some other things that could be added: 24 | 25 | - Cloud storage for preferences and scores. 26 | - Use of fancier GL features, like Vertex Buffer Objects, to improve 27 | rendering efficiency. 28 | - Better configuration UI. Could be more attractive, work better on 29 | phone-sized devices. 30 | - Custom app icon. 31 | 32 | -------------------------------------------------------------------------------- /GLSurfaceView-Demo/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /GLSurfaceView-Demo/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-18 15 | android.library=false 16 | android.library.reference.1=../CapturingLib 17 | -------------------------------------------------------------------------------- /GLSurfaceView-Demo/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangerji/android-screen-recorder/b5da714dc9439b0e369aedb74515c16f440b57e5/GLSurfaceView-Demo/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /GLSurfaceView-Demo/res/drawable-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangerji/android-screen-recorder/b5da714dc9439b0e369aedb74515c16f440b57e5/GLSurfaceView-Demo/res/drawable-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /GLSurfaceView-Demo/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangerji/android-screen-recorder/b5da714dc9439b0e369aedb74515c16f440b57e5/GLSurfaceView-Demo/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /GLSurfaceView-Demo/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiangerji/android-screen-recorder/b5da714dc9439b0e369aedb74515c16f440b57e5/GLSurfaceView-Demo/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /GLSurfaceView-Demo/res/layout-land/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /GLSurfaceView-Demo/res/layout/about.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 23 | -------------------------------------------------------------------------------- /GLSurfaceView-Demo/res/layout/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /GLSurfaceView-Demo/res/layout/main1.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 24 | 25 | 30 | 31 | 38 | 43 | 44 | 45 |