// Path: app/src/main/java/com/gigabytedevelopersinc/app/calculator/Calculator.java
// public enum Panel {
//     GRAPH, FUNCTION, HEX, BASIC, ADVANCED, MATRIX;
// 
//     int order;
// 
//     public void setOrder(int order) {
//         this.order = order;
//     }
// 
//     public int getOrder() {
//         return order;
//     }
// }
// 
// Path: app/src/main/java/com/gigabytedevelopersinc/app/calculator/view/CalculatorViewPager.java
// public class CalculatorViewPager extends ViewPager {
//     private boolean enabled;
// 
//     public CalculatorViewPager(Context context) {
//         this(context, null);
//     }
// 
//     public CalculatorViewPager(Context context, AttributeSet attrs) {
//         super(context, attrs);
//         this.enabled = true;
//     }
// 
//     /**
//      * ViewPager inherits ViewGroup's default behavior of delayed clicks on its
//      * children, but in order to make the calc buttons more responsive we
//      * disable that here.
//      */
//     public boolean shouldDelayChildPressedState() {
//         return false;
//     }
// 
//     @Override
//     public boolean onTouchEvent(MotionEvent event) {
//         if(this.enabled) {
//             return super.onTouchEvent(event);
//         }
// 
//         return false;
//     }
// 
//     @Override
//     public boolean onInterceptTouchEvent(MotionEvent event) {
//         if(this.enabled) {
//             return super.onInterceptTouchEvent(event);
//         }
// 
//         return false;
//     }
// 
//     public void setPagingEnabled(boolean enabled) {
//         this.enabled = enabled;
//     }
// 
//     public boolean getPagingEnabled() {
//         return enabled;
//     }
// }


import org.achartengine.GraphicalView;
import android.os.Parcelable;
import android.support.v4.view.PagerAdapter;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import android.widget.LinearLayout;
import com.gigabytedevelopersinc.app.calculator.Calculator.Panel;
import com.gigabytedevelopersinc.app.calculator.view.CalculatorViewPager;
package com.gigabytedevelopersinc.app.calculator;




public class PageAdapter extends PagerAdapter {
    private View mGraphPage;
    private View mFunctionPage;
    private View mSimplePage;
    private View mAdvancedPage;
    private View mHexPage;
    View mMatrixPage;
// Path: app/src/main/java/com/gigabytedevelopersinc/app/calculator/Calculator.java
// public enum Panel {
//     GRAPH, FUNCTION, HEX, BASIC, ADVANCED, MATRIX;
// 
//     int order;
// 
//     public void setOrder(int order) {
//         this.order = order;
//     }
// 
//     public int getOrder() {
//         return order;
//     }
// }
// 
// Path: app/src/main/java/com/gigabytedevelopersinc/app/calculator/view/CalculatorViewPager.java
// public class CalculatorViewPager extends ViewPager {
//     private boolean enabled;
// 
//     public CalculatorViewPager(Context context) {
//         this(context, null);
//     }
// 
//     public CalculatorViewPager(Context context, AttributeSet attrs) {
//         super(context, attrs);
//         this.enabled = true;
//     }
// 
//     /**
//      * ViewPager inherits ViewGroup's default behavior of delayed clicks on its
//      * children, but in order to make the calc buttons more responsive we
//      * disable that here.
//      */
//     public boolean shouldDelayChildPressedState() {
//         return false;
//     }
// 
//     @Override
//     public boolean onTouchEvent(MotionEvent event) {
//         if(this.enabled) {
//             return super.onTouchEvent(event);
//         }
// 
//         return false;
//     }
// 
//     @Override
//     public boolean onInterceptTouchEvent(MotionEvent event) {
//         if(this.enabled) {
//             return super.onInterceptTouchEvent(event);
//         }
// 
//         return false;
//     }
// 
//     public void setPagingEnabled(boolean enabled) {
//         this.enabled = enabled;
//     }
// 
//     public boolean getPagingEnabled() {
//         return enabled;
//     }
// }


// Path: app/src/main/java/com/gigabytedevelopersinc/app/calculator/PageAdapter.java
import org.achartengine.GraphicalView;
import android.os.Parcelable;
import android.support.v4.view.PagerAdapter;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import android.widget.LinearLayout;
import com.gigabytedevelopersinc.app.calculator.Calculator.Panel;
import com.gigabytedevelopersinc.app.calculator.view.CalculatorViewPager;

package com.gigabytedevelopersinc.app.calculator;




public class PageAdapter extends PagerAdapter {
    private View mGraphPage;
    private View mFunctionPage;
    private View mSimplePage;
    private View mAdvancedPage;
    private View mHexPage;
    View mMatrixPage;
    private CalculatorViewPager mParent;