Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
ozodrukh committed Feb 11, 2015
2 parents 729dade + bfdb14f commit ebbce88
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
import android.view.View;
import android.widget.LinearLayout;

public class RevealLinearLayout extends LinearLayout{
import io.codetail.animation.RevealAnimator;

public class RevealLinearLayout extends LinearLayout implements RevealAnimator{

Path mRevealPath;

Expand Down Expand Up @@ -35,13 +37,15 @@ public RevealLinearLayout(Context context, AttributeSet attrs, int defStyle) {
/**
* @hide
*/
@Override
public void setTarget(View view){
mTarget = view;
}

/**
* @hide
*/
@Override
public void setCenter(float centerX, float centerY){
mCenterX = centerX;
mCenterY = centerY;
Expand All @@ -50,13 +54,15 @@ public void setCenter(float centerX, float centerY){
/**
* @hide
*/
@Override
public void setClipOutlines(boolean clip){
mClipOutlines = clip;
}

/**
* @hide
*/
@Override
public void setRevealRadius(float radius){
mRadius = radius;
invalidate();
Expand All @@ -65,6 +71,7 @@ public void setRevealRadius(float radius){
/**
* @hide
*/
@Override
public float getRevealRadius(){
return mRadius;
}
Expand Down

0 comments on commit ebbce88

Please sign in to comment.