Android Open Source - android-animation-task Square






From Project

Back to project page android-animation-task.

License

The source code is released under:

GNU General Public License

If you think the Android project android-animation-task listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package domain;
//from w ww .j  a  va  2s .  c om

import com.google.gson.annotations.SerializedName;

public class Square {

    @SerializedName("x")
    int mX;
    @SerializedName("y")
    int mY;
    @SerializedName("colour")
    String mColour;
    @SerializedName("size")
    int mSize;

    public Square(){

    }

    public Square(int x, int y, String colour, int size){
        mX = x;
        mY = y;
        mColour = colour;
        mSize = size;
    }

    public int getX(){
        return this.mX;
    }

    public int getY(){
        return this.mY;
    }

    public String getColour(){
        return this.mColour;
    }

    public int getSize(){
        return this.mSize;
    }

    public void setX(int x) {
        mX = x;
    }

    public void setY(int y) {
        mY = y;
    }

    public void setColour(String colour) {
        mColour = colour;
    }

    public void setSize(int size) {
        mSize = size;
    }
}




Java Source Code List

com.boxsorter.tryptical.boxsorterajl.ApplicationTest.java
com.boxsorter.tryptical.boxsorterajl.BoxSorter.java
domain.Square.java
gesture.RotationGestureDetector.java
gesture.RotationGestureListener.java