aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/cyanogenmod/wallpapers/photophase/TextureManager.java
diff options
context:
space:
mode:
authorJorge Ruesga <jorge@ruesga.com>2013-11-02 02:20:56 +0100
committerJorge Ruesga <jorge@ruesga.com>2013-11-02 02:20:56 +0100
commit4effddfe30fd045834232f6bb66070edf079578d (patch)
tree2e57f74d55685891a49b02ec069c118cf5b15110 /src/org/cyanogenmod/wallpapers/photophase/TextureManager.java
parentca2f0060cc367ac8174a27a3124cd0124e49c627 (diff)
downloadandroid_packages_wallpapers_PhotoPhase-4effddfe30fd045834232f6bb66070edf079578d.tar.gz
android_packages_wallpapers_PhotoPhase-4effddfe30fd045834232f6bb66070edf079578d.tar.bz2
android_packages_wallpapers_PhotoPhase-4effddfe30fd045834232f6bb66070edf079578d.zip
Multiples fixes
- Fully rewrite the album selection preference - Fix multiple style - Fix lints - Resources cleanup Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Diffstat (limited to 'src/org/cyanogenmod/wallpapers/photophase/TextureManager.java')
-rw-r--r--src/org/cyanogenmod/wallpapers/photophase/TextureManager.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/org/cyanogenmod/wallpapers/photophase/TextureManager.java b/src/org/cyanogenmod/wallpapers/photophase/TextureManager.java
index 6c8de05..3731a1b 100644
--- a/src/org/cyanogenmod/wallpapers/photophase/TextureManager.java
+++ b/src/org/cyanogenmod/wallpapers/photophase/TextureManager.java
@@ -59,8 +59,8 @@ public class TextureManager implements OnMediaPictureDiscoveredListener {
BackgroundPictureLoaderThread mBackgroundTask;
/*protected*/ final MediaPictureDiscoverer mPictureDiscoverer;
- /*package*/ Rect mScreenDimensions;
- /*package*/ Rect mDimensions;
+ Rect mScreenDimensions;
+ Rect mDimensions;
final GLESSurfaceDispatcher mDispatcher;
@@ -73,7 +73,7 @@ public class TextureManager implements OnMediaPictureDiscoveredListener {
/**
* A private runnable that will run in the GLThread
*/
- /*package*/ class PictureDispatcher implements Runnable {
+ class PictureDispatcher implements Runnable {
File mImage;
GLESTextureInfo ti = null;
final Object mWait = new Object();
@@ -428,7 +428,7 @@ public class TextureManager implements OnMediaPictureDiscoveredListener {
* @param ti The original texture information
* @param effect The effect to apply to the destination picture
*/
- /*package*/ void fixAspectRatio(TextureRequestor requestor, GLESTextureInfo ti) {
+ void fixAspectRatio(TextureRequestor requestor, GLESTextureInfo ti) {
// Check if we have to apply any correction to the image
if (Preferences.General.isFixAspectRatio()) {
// Transform requestor dimensions to screen dimensions
@@ -472,7 +472,7 @@ public class TextureManager implements OnMediaPictureDiscoveredListener {
boolean mRun;
boolean mTaskPaused;
- /*package*/ boolean mEmpty;
+ boolean mEmpty;
private final List<File> mNewImages;
private final List<File> mUsedImages;