package paths changed

This commit is contained in:
serso
2011-09-19 12:36:12 +04:00
parent 862824537a
commit fe2436161e
23 changed files with 136 additions and 78 deletions

View File

@@ -21,6 +21,7 @@ import bsh.EvalError;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.solovyev.android.view.*;
import org.solovyev.android.view.widgets.*;
import org.solovyev.common.utils.Announcer;
import org.solovyev.common.utils.history.HistoryAction;

View File

@@ -8,6 +8,10 @@ package org.solovyev.android.calculator;
import android.view.MotionEvent;
import org.jetbrains.annotations.NotNull;
import org.solovyev.android.view.*;
import org.solovyev.android.view.widgets.DirectionDragButton;
import org.solovyev.android.view.widgets.DragButton;
import org.solovyev.android.view.widgets.DragDirection;
import org.solovyev.android.view.widgets.SimpleOnDragListener;
import org.solovyev.common.utils.Point2d;
/**

View File

@@ -7,10 +7,10 @@ package org.solovyev.android.calculator;
import android.view.MotionEvent;
import org.jetbrains.annotations.NotNull;
import org.solovyev.android.view.DirectionDragButton;
import org.solovyev.android.view.DragButton;
import org.solovyev.android.view.DragDirection;
import org.solovyev.android.view.SimpleOnDragListener;
import org.solovyev.android.view.widgets.DirectionDragButton;
import org.solovyev.android.view.widgets.DragButton;
import org.solovyev.android.view.widgets.DragDirection;
import org.solovyev.android.view.widgets.SimpleOnDragListener;
import org.solovyev.common.utils.Point2d;
/**

View File

@@ -17,7 +17,7 @@ import android.view.MotionEvent;
import android.view.View;
import android.widget.ImageView;
import org.jetbrains.annotations.NotNull;
import org.solovyev.android.view.*;
import org.solovyev.android.view.widgets.*;
import org.solovyev.common.collections.ManyValuedHashMap;
import org.solovyev.common.collections.ManyValuedMap;
import org.solovyev.common.utils.Interval;

View File

@@ -0,0 +1,48 @@
package org.solovyev.android.view.prefs;
import android.content.Context;
import android.preference.DialogPreference;
import android.util.AttributeSet;
import android.view.Gravity;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.SeekBar;
import android.widget.TextView;
import org.jetbrains.annotations.NotNull;
import org.solovyev.android.view.widgets.NumberPicker;
/**
* User: serso
* Date: 9/19/11
* Time: 12:27 PM
*/
public class IntervalPreference extends DialogPreference implements NumberPicker.OnChangedListener {
@NotNull
private final Context context;
public IntervalPreference(@NotNull Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
this.context = context;
}
public IntervalPreference(@NotNull Context context, AttributeSet attrs) {
super(context, attrs);
this.context = context;
}
@Override
public void onChanged(NumberPicker picker, int oldVal, int newVal) {
//To change body of implemented methods use File | Settings | File Templates.
}
@Override
protected View onCreateDialogView() {
LinearLayout.LayoutParams params;
LinearLayout layout = new LinearLayout(context);
layout.setOrientation(LinearLayout.VERTICAL);
layout.setPadding(6, 6, 6, 6);
return layout;
}
}

View File

@@ -4,7 +4,7 @@
* or visit http://se.solovyev.org
*/
package org.solovyev.android.view;
package org.solovyev.android.view.prefs;
import android.preference.DialogPreference;
import android.content.Context;

View File

@@ -19,7 +19,7 @@
* For more information, please, contact se.solovyev@gmail.com
*/
package org.solovyev.android.view;
package org.solovyev.android.view.widgets;
import android.content.Context;
import android.content.res.Resources;
@@ -30,6 +30,7 @@ import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.Button;
import org.jetbrains.annotations.NotNull;
import org.solovyev.android.view.FontSizeAdjuster;
import org.solovyev.common.utils.Point2d;
/**

View File

@@ -3,7 +3,7 @@
* For more information, please, contact se.solovyev@gmail.com
*/
package org.solovyev.android.view;
package org.solovyev.android.view.widgets;
import android.content.Context;
import android.content.res.TypedArray;
@@ -13,6 +13,8 @@ import android.text.TextPaint;
import android.util.AttributeSet;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.solovyev.android.view.widgets.DragButton;
import org.solovyev.android.view.widgets.DragDirection;
import org.solovyev.common.utils.Point2d;
import org.solovyev.common.utils.StringUtils;

View File

@@ -3,7 +3,7 @@
* For more information, please, contact se.solovyev@gmail.com
*/
package org.solovyev.android.view;
package org.solovyev.android.view.widgets;
import android.content.Context;
import android.os.Handler;

View File

@@ -3,7 +3,7 @@
* For more information, please, contact se.solovyev@gmail.com
*/
package org.solovyev.android.view;
package org.solovyev.android.view.widgets;
public enum DragDirection {

View File

@@ -3,7 +3,7 @@
* For more information, please, contact se.solovyev@gmail.com
*/
package org.solovyev.android.view;
package org.solovyev.android.view.widgets;
import android.view.MotionEvent;
import org.jetbrains.annotations.NotNull;

View File

@@ -3,7 +3,7 @@
* For more information, please, contact se.solovyev@gmail.com
*/
package org.solovyev.android.view;
package org.solovyev.android.view.widgets;
import org.jetbrains.annotations.NotNull;
import org.solovyev.android.calculator.DragButtonCalibrationActivity;

View File

@@ -3,12 +3,12 @@
* For more information, please, contact se.solovyev@gmail.com
*/
package org.solovyev.android.view;
package org.solovyev.android.view.widgets;
import android.util.Log;
import android.view.MotionEvent;
import org.jetbrains.annotations.NotNull;
import org.solovyev.android.view.*;
import org.solovyev.android.view.HistoryControl;
import org.solovyev.common.utils.Point2d;
import org.solovyev.common.utils.StringUtils;
import org.solovyev.common.utils.history.HistoryAction;

View File

@@ -4,7 +4,7 @@
* or visit http://se.solovyev.org
*/
package org.solovyev.android.view;
package org.solovyev.android.view.widgets;
/**
* User: serso

View File

@@ -4,7 +4,7 @@
* or visit http://se.solovyev.org
*/
package org.solovyev.android.view;
package org.solovyev.android.view.widgets;
/**
* User: serso

View File

@@ -3,9 +3,11 @@
* For more information, please, contact se.solovyev@gmail.com
*/
package org.solovyev.android.view;
package org.solovyev.android.view.widgets;
import org.jetbrains.annotations.NotNull;
import org.solovyev.android.view.widgets.DragButton;
import org.solovyev.android.view.widgets.DragEvent;
import java.util.EventListener;

View File

@@ -3,7 +3,7 @@
* For more information, please, contact se.solovyev@gmail.com
*/
package org.solovyev.android.view;
package org.solovyev.android.view.widgets;
import android.util.Log;
import android.view.MotionEvent;