diff --git a/library/src/main/java/com/heinrichreimersoftware/materialintro/view/parallax/ParallaxFrameLayout.java b/library/src/main/java/com/heinrichreimersoftware/materialintro/view/parallax/ParallaxFrameLayout.java index c1dca4f..6e2b20a 100644 --- a/library/src/main/java/com/heinrichreimersoftware/materialintro/view/parallax/ParallaxFrameLayout.java +++ b/library/src/main/java/com/heinrichreimersoftware/materialintro/view/parallax/ParallaxFrameLayout.java @@ -72,36 +72,36 @@ public LayoutParams(int width, int height) { super(width, height); } - public LayoutParams(int width, int height, float pFactor) { + public LayoutParams(int width, int height, float parallaxFactor) { super(width, height); - parallaxFactor = pFactor; + this.parallaxFactor = parallaxFactor; } public LayoutParams(int width, int height, int gravity) { super(width, height, gravity); } - public LayoutParams(int width, int height, int gravity, float pFactor) { + public LayoutParams(int width, int height, int gravity, float parallaxFactor) { super(width, height, gravity); - parallaxFactor = pFactor; + this.parallaxFactor = parallaxFactor; } public LayoutParams(ViewGroup.LayoutParams source) { super(source); } - public LayoutParams(ViewGroup.LayoutParams source, float pFactor) { + public LayoutParams(ViewGroup.LayoutParams source, float parallaxFactor) { super(source); - parallaxFactor = pFactor; + this.parallaxFactor = parallaxFactor; } public LayoutParams(MarginLayoutParams source) { super(source); } - public LayoutParams(MarginLayoutParams source, float pFactor) { + public LayoutParams(MarginLayoutParams source, float parallaxFactor) { super(source); - parallaxFactor = pFactor; + this.parallaxFactor = parallaxFactor; } } diff --git a/library/src/main/java/com/heinrichreimersoftware/materialintro/view/parallax/ParallaxLinearLayout.java b/library/src/main/java/com/heinrichreimersoftware/materialintro/view/parallax/ParallaxLinearLayout.java index 1d4cb36..cd8eb40 100644 --- a/library/src/main/java/com/heinrichreimersoftware/materialintro/view/parallax/ParallaxLinearLayout.java +++ b/library/src/main/java/com/heinrichreimersoftware/materialintro/view/parallax/ParallaxLinearLayout.java @@ -72,36 +72,36 @@ public LayoutParams(int width, int height) { super(width, height); } - public LayoutParams(int width, int height, float pFactor) { + public LayoutParams(int width, int height, float parallaxFactor) { super(width, height); - parallaxFactor = pFactor; + this.parallaxFactor = parallaxFactor; } public LayoutParams(int width, int height, int gravity) { super(width, height, gravity); } - public LayoutParams(int width, int height, int gravity, float pFactor) { + public LayoutParams(int width, int height, int gravity, float parallaxFactor) { super(width, height, gravity); - parallaxFactor = pFactor; + this.parallaxFactor = parallaxFactor; } public LayoutParams(ViewGroup.LayoutParams source) { super(source); } - public LayoutParams(ViewGroup.LayoutParams source, float pFactor) { + public LayoutParams(ViewGroup.LayoutParams source, float parallaxFactor) { super(source); - parallaxFactor = pFactor; + this.parallaxFactor = parallaxFactor; } public LayoutParams(MarginLayoutParams source) { super(source); } - public LayoutParams(MarginLayoutParams source, float pFactor) { + public LayoutParams(MarginLayoutParams source, float parallaxFactor) { super(source); - parallaxFactor = pFactor; + this.parallaxFactor = parallaxFactor; } } diff --git a/library/src/main/java/com/heinrichreimersoftware/materialintro/view/parallax/ParallaxRelativeLayout.java b/library/src/main/java/com/heinrichreimersoftware/materialintro/view/parallax/ParallaxRelativeLayout.java index eab5050..11175cb 100644 --- a/library/src/main/java/com/heinrichreimersoftware/materialintro/view/parallax/ParallaxRelativeLayout.java +++ b/library/src/main/java/com/heinrichreimersoftware/materialintro/view/parallax/ParallaxRelativeLayout.java @@ -72,27 +72,27 @@ public LayoutParams(int width, int height) { super(width, height); } - public LayoutParams(int width, int height, float pFactor) { + public LayoutParams(int width, int height, float parallaxFactor) { super(width, height); - parallaxFactor = pFactor; + this.parallaxFactor = parallaxFactor; } public LayoutParams(ViewGroup.LayoutParams source) { super(source); } - public LayoutParams(ViewGroup.LayoutParams source, float pFactor) { + public LayoutParams(ViewGroup.LayoutParams source, float parallaxFactor) { super(source); - parallaxFactor = pFactor; + this.parallaxFactor = parallaxFactor; } public LayoutParams(MarginLayoutParams source) { super(source); } - public LayoutParams(MarginLayoutParams source, float pFactor) { + public LayoutParams(MarginLayoutParams source, float parallaxFactor) { super(source); - parallaxFactor = pFactor; + this.parallaxFactor = parallaxFactor; } }