Skip to content

Commit

Permalink
rename material calc package name
Browse files Browse the repository at this point in the history
  • Loading branch information
Xlythe committed Nov 13, 2016
1 parent edf9713 commit 1c305c1
Show file tree
Hide file tree
Showing 85 changed files with 219 additions and 219 deletions.
2 changes: 1 addition & 1 deletion mobile/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android {
buildToolsVersion "24.0.3"

defaultConfig {
applicationId "com.android2.calculator3"
applicationId "com.xlythe.calculator.material"
minSdkVersion 14
targetSdkVersion 25
versionCode 93
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.android2.calculator3;
package com.xlythe.calculator.material;

import android.app.Application;
import android.test.ApplicationTestCase;
Expand Down
2 changes: 1 addition & 1 deletion mobile/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android2.calculator3"
package="com.xlythe.calculator.material"
android:installLocation="auto">

<!-- For floating calculator -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android2.calculator3;
package com.xlythe.calculator.material;

import android.animation.Animator;
import android.animation.Animator.AnimatorListener;
Expand All @@ -40,13 +40,13 @@
import android.widget.Button;
import android.widget.TextView;

import com.android2.calculator3.CalculatorExpressionEvaluator.EvaluateCallback;
import com.android2.calculator3.util.TextUtil;
import com.android2.calculator3.view.CalculatorPadView;
import com.android2.calculator3.view.DisplayOverlay;
import com.android2.calculator3.view.EqualsImageButton;
import com.android2.calculator3.view.FormattedNumberEditText;
import com.android2.calculator3.view.ResizingEditText.OnTextSizeChangeListener;
import com.xlythe.calculator.material.CalculatorExpressionEvaluator.EvaluateCallback;
import com.xlythe.calculator.material.util.TextUtil;
import com.xlythe.calculator.material.view.CalculatorPadView;
import com.xlythe.calculator.material.view.DisplayOverlay;
import com.xlythe.calculator.material.view.EqualsImageButton;
import com.xlythe.calculator.material.view.FormattedNumberEditText;
import com.xlythe.calculator.material.view.ResizingEditText.OnTextSizeChangeListener;
import com.xlythe.math.Constants;
import com.xlythe.math.EquationFormatter;
import com.xlythe.math.History;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android2.calculator3;
package com.xlythe.calculator.material;

public class Calculator extends MatrixCalculator {
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android2.calculator3;
package com.xlythe.calculator.material;

import com.xlythe.math.Base;
import com.xlythe.math.Solver;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android2.calculator3;
package com.xlythe.calculator.material;

import android.content.Context;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.android2.calculator3;
package com.xlythe.calculator.material;

import android.content.Context;
import android.preference.PreferenceManager;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.android2.calculator3;
package com.xlythe.calculator.material;

import android.content.ClipData;
import android.content.ClipboardManager;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package com.android2.calculator3;
package com.xlythe.calculator.material;

import android.os.AsyncTask;
import android.os.Handler;
import android.util.Log;
import android.view.ViewTreeObserver;

import com.android2.calculator3.view.GraphView;
import com.android2.calculator3.view.GraphView.PanListener;
import com.android2.calculator3.view.GraphView.ZoomListener;
import com.xlythe.calculator.material.view.GraphView;
import com.xlythe.calculator.material.view.GraphView.PanListener;
import com.xlythe.calculator.material.view.GraphView.ZoomListener;
import com.xlythe.math.GraphModule;
import com.xlythe.math.GraphModule.OnGraphUpdatedListener;
import com.xlythe.math.Point;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android2.calculator3;
package com.xlythe.calculator.material;

import android.animation.Animator;
import android.os.Bundle;
Expand All @@ -26,9 +26,9 @@
import android.widget.ListView;
import android.widget.TextView;

import com.android2.calculator3.view.DisplayOverlay;
import com.android2.calculator3.view.FormattedNumberEditText;
import com.android2.calculator3.view.GraphView;
import com.xlythe.calculator.material.view.DisplayOverlay;
import com.xlythe.calculator.material.view.FormattedNumberEditText;
import com.xlythe.calculator.material.view.GraphView;
import com.xlythe.math.GraphModule;
import com.xlythe.view.floating.AnimationFinishedListener;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android2.calculator3;
package com.xlythe.calculator.material;

import android.os.Bundle;
import android.support.annotation.NonNull;
Expand All @@ -28,9 +28,9 @@
import android.widget.PopupMenu;
import android.widget.TextView;

import com.android2.calculator3.CalculatorExpressionEvaluator.EvaluateCallback;
import com.android2.calculator3.util.TextUtil;
import com.android2.calculator3.view.FormattedNumberEditText;
import com.xlythe.calculator.material.CalculatorExpressionEvaluator.EvaluateCallback;
import com.xlythe.calculator.material.util.TextUtil;
import com.xlythe.calculator.material.view.FormattedNumberEditText;
import com.xlythe.math.Base;

import java.util.LinkedList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.android2.calculator3;
package com.xlythe.calculator.material;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
Expand All @@ -25,8 +25,8 @@
import android.view.ViewGroup;
import android.widget.TextView;

import com.android2.calculator3.view.GraphView;
import com.android2.calculator3.view.HistoryLine;
import com.xlythe.calculator.material.view.GraphView;
import com.xlythe.calculator.material.view.HistoryLine;
import com.xlythe.math.Constants;
import com.xlythe.math.EquationFormatter;
import com.xlythe.math.GraphModule;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android2.calculator3;
package com.xlythe.calculator.material;

import android.os.Bundle;
import android.view.View;

import com.android2.calculator3.view.FormattedNumberEditText;
import com.android2.calculator3.view.MatrixComponent;
import com.xlythe.calculator.material.view.FormattedNumberEditText;
import com.xlythe.calculator.material.view.MatrixComponent;

/**
* Adds graphing and base switching to the basic calculator.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.android2.calculator3;
package com.xlythe.calculator.material;

import com.xlythe.math.Base;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android2.calculator3;
package com.xlythe.calculator.material;

import android.graphics.Rect;
import android.graphics.drawable.Animatable;
Expand All @@ -28,8 +28,8 @@
import android.view.Window;
import android.widget.Toast;

import com.android2.calculator3.drawable.AnimatingDrawable;
import com.android2.calculator3.view.CalculatorPadLayout;
import com.xlythe.calculator.material.drawable.AnimatingDrawable;
import com.xlythe.calculator.material.view.CalculatorPadLayout;
import com.xlythe.view.floating.AnimationFinishedListener;

import io.codetail.animation.SupportAnimator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.android2.calculator3.drawable;
package com.xlythe.calculator.material.drawable;

import android.animation.Animator;
import android.animation.ValueAnimator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.android2.calculator3.floating;
package com.xlythe.calculator.material.floating;

import android.app.Notification;
import android.app.PendingIntent;
Expand All @@ -17,13 +17,13 @@
import android.widget.Button;
import android.widget.ViewSwitcher;

import com.android2.calculator3.Calculator;
import com.android2.calculator3.CalculatorExpressionEvaluator;
import com.android2.calculator3.CalculatorExpressionTokenizer;
import com.android2.calculator3.Clipboard;
import com.android2.calculator3.R;
import com.android2.calculator3.view.BackspaceImageButton;
import com.android2.calculator3.view.CalculatorEditText;
import com.xlythe.calculator.material.Calculator;
import com.xlythe.calculator.material.CalculatorExpressionEvaluator;
import com.xlythe.calculator.material.CalculatorExpressionTokenizer;
import com.xlythe.calculator.material.Clipboard;
import com.xlythe.calculator.material.R;
import com.xlythe.calculator.material.view.BackspaceImageButton;
import com.xlythe.calculator.material.view.CalculatorEditText;
import com.xlythe.math.Constants;
import com.xlythe.math.EquationFormatter;
import com.xlythe.math.History;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.android2.calculator3.floating;
package com.xlythe.calculator.material.floating;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.provider.Settings;

import com.android2.calculator3.R;
import com.xlythe.calculator.material.R;

/**
* Creates the shortcut icon
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.android2.calculator3.floating;
package com.xlythe.calculator.material.floating;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.provider.Settings;

import com.android2.calculator3.R;
import com.xlythe.calculator.material.R;

/**
* When the shortcut icon is pressed, use this Activity to launch the overlay Service
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.android2.calculator3.floating;
package com.xlythe.calculator.material.floating;

import android.content.Context;
import android.os.Parcelable;
Expand All @@ -10,9 +10,9 @@
import android.widget.Button;
import android.widget.ImageButton;

import com.android2.calculator3.R;
import com.android2.calculator3.view.SolidLayout;
import com.android2.calculator3.view.SolidPadLayout;
import com.xlythe.calculator.material.R;
import com.xlythe.calculator.material.view.SolidLayout;
import com.xlythe.calculator.material.view.SolidPadLayout;
import com.xlythe.math.Constants;
import com.xlythe.math.History;
import com.xlythe.math.Solver;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android2.calculator3.floating;
package com.xlythe.calculator.material.floating;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
Expand All @@ -24,7 +24,7 @@
import android.view.ViewGroup;
import android.widget.TextView;

import com.android2.calculator3.R;
import com.xlythe.calculator.material.R;
import com.xlythe.math.Constants;
import com.xlythe.math.EquationFormatter;
import com.xlythe.math.History;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.android2.calculator3.util;
package com.xlythe.calculator.material.util;

import android.animation.Animator;
import android.animation.ObjectAnimator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.android2.calculator3.util;
package com.xlythe.calculator.material.util;

import android.widget.TextView;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
* limitations under the License.
*/

package com.android2.calculator3.view;
package com.xlythe.calculator.material.view;

import android.annotation.TargetApi;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.ImageButton;

import com.android2.calculator3.R;
import com.xlythe.calculator.material.R;

public class BackspaceImageButton extends ImageButton {
private static final int[] STATE_DELETE = {R.attr.state_delete};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.android2.calculator3.view;
package com.xlythe.calculator.material.view;

import android.content.Context;
import android.text.Editable;
Expand All @@ -29,7 +29,7 @@
import android.view.MotionEvent;
import android.widget.TextView;

import com.android2.calculator3.util.TextUtil;
import com.xlythe.calculator.material.util.TextUtil;
import com.xlythe.math.BaseModule;

import java.util.Arrays;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.android2.calculator3.view;
package com.xlythe.calculator.material.view;

import android.text.Editable;
import android.text.SpannableStringBuilder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android2.calculator3.view;
package com.xlythe.calculator.material.view;

import android.content.Context;
import android.content.res.TypedArray;
Expand Down
Loading

0 comments on commit 1c305c1

Please sign in to comment.