From f996d3a95430084a44101b7d4a1afdc2bf4bc1fa Mon Sep 17 00:00:00 2001 From: Sergey Solovyev Date: Sun, 15 Jan 2012 02:40:08 +0400 Subject: [PATCH] refactor --- res/layout-land/main_calculator.xml | 4 ++-- res/layout-land/main_cellphone.xml | 4 ++-- res/layout/calc_division_button.xml | 2 +- res/layout/calc_dot_button.xml | 2 +- res/layout/calc_eight_digit_button.xml | 2 +- res/layout/calc_empty_button.xml | 2 +- res/layout/calc_equals_button.xml | 2 +- res/layout/calc_five_digit_button.xml | 2 +- res/layout/calc_four_digit_button.xml | 2 +- res/layout/calc_functions_button.xml | 2 +- res/layout/calc_history_button.xml | 2 +- res/layout/calc_left_button.xml | 2 +- res/layout/calc_multiplication_button.xml | 2 +- res/layout/calc_nine_digit_button.xml | 2 +- res/layout/calc_one_digit_button.xml | 2 +- res/layout/calc_operators_button.xml | 2 +- res/layout/calc_plus_button.xml | 2 +- res/layout/calc_right_button.xml | 2 +- res/layout/calc_round_brackets_button.xml | 2 +- res/layout/calc_seven_digit_button.xml | 2 +- res/layout/calc_subtraction_button.xml | 2 +- res/layout/calc_three_digit_button.xml | 2 +- res/layout/calc_two_digit_button.xml | 2 +- res/layout/calc_vars_button.xml | 2 +- res/layout/calc_zero_digit_button.xml | 2 +- res/layout/drag_button_calibration.xml | 4 ++-- .../solovyev/android/calculator/CalculatorActivity.java | 4 +++- .../org/solovyev/android/calculator/CalculatorModel.java | 2 +- .../solovyev/android/calculator/CursorDragProcessor.java | 8 ++++---- .../android/calculator/DigitButtonDragProcessor.java | 8 ++++---- .../solovyev/android/calculator/EvalDragProcessor.java | 8 ++++---- .../android/calculator/view/AngleUnitsButton.java | 2 +- .../android/calculator/view/NumeralBasesButton.java | 2 +- 33 files changed, 47 insertions(+), 45 deletions(-) diff --git a/res/layout-land/main_calculator.xml b/res/layout-land/main_calculator.xml index d56dee19..c466d2d5 100644 --- a/res/layout-land/main_calculator.xml +++ b/res/layout-land/main_calculator.xml @@ -24,7 +24,7 @@ - - - - - - - - \ No newline at end of file diff --git a/res/layout/calc_equals_button.xml b/res/layout/calc_equals_button.xml index 188d3ab8..6d35f0b3 100644 --- a/res/layout/calc_equals_button.xml +++ b/res/layout/calc_equals_button.xml @@ -5,7 +5,7 @@ ~ For more information, please, contact se.solovyev@gmail.com ~ or visit http://se.solovyev.org --> - - - - - - - - - - - - - - - - - - - - -