Android Open Source - AdoreLib Adore Fragment






From Project

Back to project page AdoreLib.

License

The source code is released under:

MIT License

If you think the Android project AdoreLib 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 com.ylinval.adore.adorelib;
//from   w  ww  .  j  a  v  a2s  . c om
import android.graphics.Canvas;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;



/**
 * Created by jdourlens on 5/9/14.
 */
public class AdoreFragment extends Fragment {

    private int layout = 0;
    protected AdoreView view;


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View rootView = inflater.inflate(this.layout, container, false);
        this.view = (AdoreView) rootView.findViewById(R.id.adoreView);
        load();
        this.view.InitView(this);
        return rootView;
    }




    public void update(int dt) {

    }



    public void load() {

    }

    public void onScroll(MotionEvent e1, MotionEvent e2,
                         float distanceX, float distanceY)
    {

    }

    public void onTap(MotionEvent e, float x, float y)
    {

    }


    public void draw(Canvas c) {


    }



}




Java Source Code List

com.ylinval.adore.adorelib.AdoreActivity.java
com.ylinval.adore.adorelib.AdoreFragment.java
com.ylinval.adore.adorelib.AdoreLoop.java
com.ylinval.adore.adorelib.AdoreView.java
com.ylinval.adore.adorelib.AdoreGraphics.Circle.java
com.ylinval.adore.adorelib.AdoreGraphics.Image.java
com.ylinval.adore.adorelib.AdoreGraphics.Line.java
com.ylinval.adore.adorelib.AdoreGraphics.Point.java
com.ylinval.adore.adorelib.AdoreGraphics.Rectangle.java
com.ylinval.adore.adorelib.AdoreGraphics.RoundRectangle.java
com.ylinval.adore.adorelib.AdoreGraphics.RoundSquare.java
com.ylinval.adore.adorelib.AdoreGraphics.Square.java
com.ylinval.adore.adorelib.AdoreGraphics.TextOutlined.java
com.ylinval.adore.adorelib.AdoreGraphics.Text.java
com.ylinval.adore.adorelib.AndroidViews.VerticalTextView.java
com.ylinval.adore.adorelib.Libs.Atlas.Circ.java
com.ylinval.adore.adorelib.Libs.Atlas.Pos.java
com.ylinval.adore.adorelib.Libs.Atlas.Rect.java
com.ylinval.adore.adorelib.Libs.State.StateManager.java
com.ylinval.adore.adorelib.Libs.State.State.java
com.ylinval.adore.adorelib.Libs.Tween.Tween.java
com.ylinval.adore.adorelib.Mobile.Accelerometer.java
com.ylinval.adore.adorelib.Sound.Music.java
com.ylinval.adore.adorelib.Sound.SoundEffect.java