├── .classpath ├── .gitignore ├── .project ├── AndroidManifest.xml ├── README.md ├── assets └── testtex.png ├── gen └── uk │ └── co │ └── halfninja │ └── wallpaper │ └── parallax │ └── R.java ├── lib └── GLWallpaperService.jar ├── project.properties ├── raw └── icon.svg ├── res ├── drawable │ └── icon.png ├── layout │ └── settings.xml ├── values │ └── strings.xml └── xml │ └── wallpaper.xml ├── src └── uk │ └── co │ └── halfninja │ └── wallpaper │ └── parallax │ ├── ParallaxWallpaper.java │ ├── ParallaxWallpaperRenderer.java │ ├── ParallaxWallpaperSettings.java │ └── gl │ ├── BitmapUtils.java │ ├── Capabilities.java │ ├── Quad.java │ ├── Texture.java │ ├── TextureLoader.java │ └── Utils.java └── tests ├── .classpath ├── .project ├── AndroidManifest.xml ├── gen └── uk │ └── co │ └── halfninja │ └── wallpaper │ └── parallax │ └── test │ └── R.java ├── proguard.cfg ├── project.properties ├── res ├── drawable-hdpi │ └── ic_launcher.png ├── drawable-ldpi │ └── ic_launcher.png ├── drawable-mdpi │ └── ic_launcher.png ├── layout │ └── main.xml └── values │ └── strings.xml └── src └── uk └── co └── halfninja └── wallpaper └── parallax └── test ├── BitmapUtilsTest.java └── ParallaxWallpaperTest.java /.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ParallaxWallpaper 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 | -------------------------------------------------------------------------------- /AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | 18 | 19 | 20 | 21 | 22 | 23 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Inactive project 2 | 3 | Feel free to make use of this code in any way you like, but I haven't looked at it in years and it probably doesn't work very well and will not be able to provide support for you, especially over Twitter. Have fun! 4 | 5 | # Parallax live wallpapers 6 | 7 | This is a basic Android app that provides customisable multi-layer wallpapers. 8 | Android wallpapers already have a parallax effect with the icons and the wallpaper 9 | scrolling at different rates as you swipe left and right. The main difference here 10 | is that you can have multiple images all moving at different speeds. 11 | You provide a series of images of varying widths (usually on your SD card), 12 | select them, and they will be displayed together. All the images except the back one 13 | need to have some amount of transparency or else you won't be able to see what's behind 14 | them, so they will probably be 32-bit PNG files. 15 | 16 | ## Potential improvements 17 | 18 | * Save previously used layer sets for easy re-use 19 | * Support layers packed into a single file 20 | * An online gallery to choose some nice ready made sets 21 | 22 | Done: 23 | 24 | * OpenGL acceleration 25 | * A more sensible settings screen 26 | * A proper thumbnail icon 27 | -------------------------------------------------------------------------------- /assets/testtex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfninja/android-parallax-wallpaper/c7b76b36936a98288a9fb299c437d3633c127ee4/assets/testtex.png -------------------------------------------------------------------------------- /gen/uk/co/halfninja/wallpaper/parallax/R.java: -------------------------------------------------------------------------------- 1 | /* AUTO-GENERATED FILE. DO NOT MODIFY. 2 | * 3 | * This class was automatically generated by the 4 | * aapt tool from the resource data it found. It 5 | * should not be modified by hand. 6 | */ 7 | 8 | package uk.co.halfninja.wallpaper.parallax; 9 | 10 | public final class R { 11 | public static final class attr { 12 | } 13 | public static final class drawable { 14 | public static final int icon=0x7f020000; 15 | } 16 | public static final class id { 17 | public static final int description=0x7f060001; 18 | public static final int description2=0x7f060005; 19 | public static final int description3=0x7f060002; 20 | public static final int selectLayersButton=0x7f060004; 21 | public static final int selectedImage=0x7f060003; 22 | public static final int title=0x7f060000; 23 | } 24 | public static final class layout { 25 | public static final int settings=0x7f030000; 26 | } 27 | public static final class string { 28 | /** Application name 29 | */ 30 | public static final int app_name=0x7f050000; 31 | public static final int no_image_picker_alert_message=0x7f050008; 32 | public static final int no_image_picker_alert_title=0x7f050007; 33 | public static final int settings_choose_button=0x7f050006; 34 | public static final int settings_description=0x7f050003; 35 | public static final int settings_description2=0x7f050004; 36 | public static final int settings_description3=0x7f050005; 37 | public static final int settings_title=0x7f050002; 38 | public static final int wallpaper_settings=0x7f050001; 39 | } 40 | public static final class xml { 41 | public static final int wallpaper=0x7f040000; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /lib/GLWallpaperService.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfninja/android-parallax-wallpaper/c7b76b36936a98288a9fb299c437d3633c127ee4/lib/GLWallpaperService.jar -------------------------------------------------------------------------------- /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 use, 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | 10 | # Project target. 11 | target=android-7 12 | -------------------------------------------------------------------------------- /raw/icon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 19 | 21 | 23 | 27 | 31 | 32 | 34 | 38 | 42 | 43 | 53 | 63 | 72 | 73 | 93 | 95 | 96 | 98 | image/svg+xml 99 | 101 | 102 | 103 | 104 | 105 | 110 | 119 | 122 | 130 | 136 | 137 | 140 | 148 | 156 | 161 | 162 | 163 | 164 | -------------------------------------------------------------------------------- /res/drawable/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halfninja/android-parallax-wallpaper/c7b76b36936a98288a9fb299c437d3633c127ee4/res/drawable/icon.png -------------------------------------------------------------------------------- /res/layout/settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 10 | 11 | 18 | 24 | 25 | 26 | 33 | 34 | 42 |