OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:scalegesturedetector
(Results
1 - 25
of
55
) sorted by null
1
2
3
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
ScaleGestureDetectorCompat.java
21
import android.view.
ScaleGestureDetector
;
24
* A utility class for using {@link android.view.
ScaleGestureDetector
} in a backward-compatible
35
* @see android.view.
ScaleGestureDetector
#getCurrentSpanX()
38
public static float getCurrentSpanX(
ScaleGestureDetector
scaleGestureDetector
) {
40
return
scaleGestureDetector
.getCurrentSpanX();
42
return
scaleGestureDetector
.getCurrentSpan();
47
* @see android.view.
ScaleGestureDetector
#getCurrentSpanY()
50
public static float getCurrentSpanY(
ScaleGestureDetector
scaleGestureDetector
) {
[
all
...]
OverScrollerCompat.java
34
* @see android.view.
ScaleGestureDetector
#getCurrentSpanY()
InteractiveLineGraphView.java
37
import android.view.
ScaleGestureDetector
;
51
* {@link
ScaleGestureDetector
}, {@link GestureDetector}, and {@link OverScroller} classes. Note
143
private
ScaleGestureDetector
mScaleGestureDetector;
227
mScaleGestureDetector = new
ScaleGestureDetector
(context, mScaleGestureListener);
650
private final
ScaleGestureDetector
.OnScaleGestureListener mScaleGestureListener
651
= new
ScaleGestureDetector
.SimpleOnScaleGestureListener() {
661
public boolean onScaleBegin(
ScaleGestureDetector
scaleGestureDetector
) {
662
lastSpanX = ScaleGestureDetectorCompat.getCurrentSpanX(
scaleGestureDetector
);
663
lastSpanY = ScaleGestureDetectorCompat.getCurrentSpanY(
scaleGestureDetector
);
[
all
...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
GestureRecognizer.java
23
import android.view.
ScaleGestureDetector
;
26
//
ScaleGestureDetector
, and DownUpDetector.
44
private final
ScaleGestureDetector
mScaleDetector;
52
mScaleDetector = new
ScaleGestureDetector
(
102
extends
ScaleGestureDetector
.SimpleOnScaleGestureListener {
104
public boolean onScaleBegin(
ScaleGestureDetector
detector) {
110
public boolean onScale(
ScaleGestureDetector
detector) {
116
public void onScaleEnd(
ScaleGestureDetector
detector) {
/frameworks/base/docs/html/training/gestures/
scale.jd
110
// Let the
ScaleGestureDetector
inspect all events.
269
provides {@link android.view.
ScaleGestureDetector
}. {@link
270
android.view.GestureDetector} and {@link android.view.
ScaleGestureDetector
} can
274
passed to their constructors. {@link android.view.
ScaleGestureDetector
} uses
275
{@link android.view.
ScaleGestureDetector
.OnScaleGestureListener}.
277
{@link android.view.
ScaleGestureDetector
.SimpleOnScaleGestureListener}
285
<pre>private
ScaleGestureDetector
mScaleDetector;
292
mScaleDetector = new
ScaleGestureDetector
(context, new ScaleListener());
297
// Let the
ScaleGestureDetector
inspect all events.
315
extends
ScaleGestureDetector
.SimpleOnScaleGestureListener
[
all
...]
/packages/apps/Camera/src/com/android/camera/ui/
ZoomRenderer.java
25
import android.view.
ScaleGestureDetector
;
30
implements
ScaleGestureDetector
.OnScaleGestureListener {
38
private
ScaleGestureDetector
mDetector;
71
mDetector = new
ScaleGestureDetector
(ctx, this);
127
public boolean onScale(
ScaleGestureDetector
detector) {
141
public boolean onScaleBegin(
ScaleGestureDetector
detector) {
151
public void onScaleEnd(
ScaleGestureDetector
detector) {
/packages/apps/Gallery2/src/com/android/camera/ui/
ZoomRenderer.java
25
import android.view.
ScaleGestureDetector
;
30
implements
ScaleGestureDetector
.OnScaleGestureListener {
38
private
ScaleGestureDetector
mDetector;
71
mDetector = new
ScaleGestureDetector
(ctx, this);
127
public boolean onScale(
ScaleGestureDetector
detector) {
141
public boolean onScaleBegin(
ScaleGestureDetector
detector) {
151
public void onScaleEnd(
ScaleGestureDetector
detector) {
/external/jmonkeyengine/engine/src/android/com/jme3/input/android/
AndroidInput.java
9
import android.view.
ScaleGestureDetector
;
31
ScaleGestureDetector
.OnScaleGestureListener {
46
private
ScaleGestureDetector
scaledetector;
154
scaledetector = new
ScaleGestureDetector
(ctx, this);
161
scaledetector = new
ScaleGestureDetector
(ctx, this);
514
public boolean onScaleBegin(
ScaleGestureDetector
scaleGestureDetector
) {
516
touch.set(Type.SCALE_START,
scaleGestureDetector
.getFocusX(),
scaleGestureDetector
.getFocusY(), 0f, 0f);
518
touch.setTime(
scaleGestureDetector
.getEventTime());
[
all
...]
/frameworks/base/docs/html/sdk/api_diff/11/changes/
android.view.ScaleGestureDetector.html
10
android.view.
ScaleGestureDetector
74
Class android.view.<A HREF="../../../../reference/android/view/
ScaleGestureDetector
.html" target="_top"><font size="+2"><code>
ScaleGestureDetector
</code></font></A>
86
<A NAME="android.view.
ScaleGestureDetector
.getCurrentSpanX_added()"></A>
87
<nobr><code>float</code> <A HREF="../../../../reference/android/view/
ScaleGestureDetector
.html#getCurrentSpanX()" target="_top"><code>getCurrentSpanX</code></A>()</nobr>
93
<A NAME="android.view.
ScaleGestureDetector
.getCurrentSpanY_added()"></A>
94
<nobr><code>float</code> <A HREF="../../../../reference/android/view/
ScaleGestureDetector
.html#getCurrentSpanY()" target="_top"><code>getCurrentSpanY</code></A>()</nobr>
100
<A NAME="android.view.
ScaleGestureDetector
.getPreviousSpanX_added()"></A>
101
<nobr><code>float</code> <A HREF="../../../../reference/android/view/
ScaleGestureDetector
.html#getPreviousSpanX()" target="_top"><code>getPreviousSpanX</code></A>()</nobr>
107
<A NAME="android.view.
ScaleGestureDetector
.getPreviousSpanY_added()"></A
[
all
...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageTinyPlanet.java
25
import android.view.
ScaleGestureDetector
;
26
import android.view.
ScaleGestureDetector
.OnScaleGestureListener;
44
private
ScaleGestureDetector
mScaleGestureDetector = null;
51
public void onScaleEnd(
ScaleGestureDetector
detector) {
56
public boolean onScaleBegin(
ScaleGestureDetector
detector) {
63
public boolean onScale(
ScaleGestureDetector
detector) {
79
mScaleGestureDetector = new
ScaleGestureDetector
(context, mScaleGestureListener);
84
mScaleGestureDetector = new
ScaleGestureDetector
(context,mScaleGestureListener );
/development/samples/CrossCompatibility/src/com/example/android/touchexample/
VersionedGestureDetector.java
22
import android.view.
ScaleGestureDetector
;
142
private
ScaleGestureDetector
mDetector;
145
mDetector = new
ScaleGestureDetector
(context,
146
new
ScaleGestureDetector
.SimpleOnScaleGestureListener() {
147
@Override public boolean onScale(
ScaleGestureDetector
detector) {
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
FBOSyncView.java
25
import android.view.
ScaleGestureDetector
;
33
private
ScaleGestureDetector
mScaleDetector;
41
mScaleDetector = new
ScaleGestureDetector
(context, new ScaleListener());
135
private class ScaleListener extends
ScaleGestureDetector
.SimpleOnScaleGestureListener {
137
public boolean onScale(
ScaleGestureDetector
detector) {
FBOTestView.java
25
import android.view.
ScaleGestureDetector
;
33
private
ScaleGestureDetector
mScaleDetector;
41
mScaleDetector = new
ScaleGestureDetector
(context, new ScaleListener());
135
private class ScaleListener extends
ScaleGestureDetector
.SimpleOnScaleGestureListener {
137
public boolean onScale(
ScaleGestureDetector
detector) {
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
TestAppView.java
41
import android.view.
ScaleGestureDetector
;
47
mScaleDetector = new
ScaleGestureDetector
(context, new ScaleListener());
53
private
ScaleGestureDetector
mScaleDetector;
144
private class ScaleListener extends
ScaleGestureDetector
.SimpleOnScaleGestureListener {
146
public boolean onScale(
ScaleGestureDetector
detector) {
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
ShadersTestView.java
23
import android.view.
ScaleGestureDetector
;
31
private
ScaleGestureDetector
mScaleDetector;
39
mScaleDetector = new
ScaleGestureDetector
(context, new ScaleListener());
129
private class ScaleListener extends
ScaleGestureDetector
.SimpleOnScaleGestureListener {
131
public boolean onScale(
ScaleGestureDetector
detector) {
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
TransformTestActivity.java
28
import android.view.
ScaleGestureDetector
;
70
private
ScaleGestureDetector
mDetector;
75
private class Listener implements
ScaleGestureDetector
.OnScaleGestureListener {
77
public boolean onScale(
ScaleGestureDetector
detector) {
115
public boolean onScaleBegin(
ScaleGestureDetector
detector) {
119
public void onScaleEnd(
ScaleGestureDetector
detector) {
128
mDetector = new
ScaleGestureDetector
(context, new Listener());
/frameworks/base/core/java/android/view/
ScaleGestureDetector.java
33
* <li>Create an instance of the {@code
ScaleGestureDetector
} for your
40
public class
ScaleGestureDetector
{
41
private static final String TAG = "
ScaleGestureDetector
";
51
* <li>One {@link OnScaleGestureListener#onScaleBegin(
ScaleGestureDetector
)}
52
* <li>Zero or more {@link OnScaleGestureListener#onScale(
ScaleGestureDetector
)}
53
* <li>One {@link OnScaleGestureListener#onScaleEnd(
ScaleGestureDetector
)}
70
public boolean onScale(
ScaleGestureDetector
detector);
84
public boolean onScaleBegin(
ScaleGestureDetector
detector);
90
* Once a scale has ended, {@link
ScaleGestureDetector
#getFocusX()}
91
* and {@link
ScaleGestureDetector
#getFocusY()} will return focal poin
[
all
...]
/packages/apps/Camera/src/com/android/camera/
PreviewGestures.java
23
import android.view.
ScaleGestureDetector
;
35
implements
ScaleGestureDetector
.OnScaleGestureListener {
54
private
ScaleGestureDetector
mScale;
81
mScale = new
ScaleGestureDetector
(ctx, this);
306
public boolean onScale(
ScaleGestureDetector
detector) {
311
public boolean onScaleBegin(
ScaleGestureDetector
detector) {
324
public void onScaleEnd(
ScaleGestureDetector
detector) {
/packages/apps/Gallery2/src/com/android/photos/views/
TiledImageView.java
28
import android.view.
ScaleGestureDetector
;
29
import android.view.
ScaleGestureDetector
.OnScaleGestureListener;
62
private
ScaleGestureDetector
mScaleGestureDetector;
75
mScaleGestureDetector = new
ScaleGestureDetector
(context, this);
103
public boolean onScaleBegin(
ScaleGestureDetector
detector) {
108
public boolean onScale(
ScaleGestureDetector
detector) {
116
public void onScaleEnd(
ScaleGestureDetector
detector) {
/frameworks/base/docs/html/sdk/api_diff/8/changes/
pkg_android.view.html
84
<A NAME="
ScaleGestureDetector
"></A>
85
<nobr><A HREF="../../../../reference/android/view/
ScaleGestureDetector
.html" target="_top"><code>
ScaleGestureDetector
</code></A></nobr>
91
<A NAME="
ScaleGestureDetector
.OnScaleGestureListener"></A>
92
<nobr><A HREF="../../../../reference/android/view/
ScaleGestureDetector
.OnScaleGestureListener.html" target="_top"><code><I>
ScaleGestureDetector
.<br>OnScaleGestureListener</I></code></A></nobr>
98
<A NAME="
ScaleGestureDetector
.SimpleOnScaleGestureListener"></A>
99
<nobr><A HREF="../../../../reference/android/view/
ScaleGestureDetector
.SimpleOnScaleGestureListener.html" target="_top"><code>
ScaleGestureDetector
.<br>SimpleOnScaleGestureListener</code></A></nobr>
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
SimpleModelView.java
30
import android.view.
ScaleGestureDetector
;
38
private
ScaleGestureDetector
mScaleDetector;
52
mScaleDetector = new
ScaleGestureDetector
(context, new ScaleListener());
162
private class ScaleListener extends
ScaleGestureDetector
.SimpleOnScaleGestureListener {
164
public boolean onScale(
ScaleGestureDetector
detector) {
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
TimelineHorizontalScrollView.java
34
import android.view.
ScaleGestureDetector
;
55
private
ScaleGestureDetector
mScaleDetector;
148
public void setScaleListener(
ScaleGestureDetector
.SimpleOnScaleGestureListener listener) {
149
mScaleDetector = new
ScaleGestureDetector
(getContext(), listener);
/packages/apps/Gallery2/src/com/android/camera/
PreviewGestures.java
22
import android.view.
ScaleGestureDetector
;
35
implements
ScaleGestureDetector
.OnScaleGestureListener {
60
private
ScaleGestureDetector
mScale;
97
mScale = new
ScaleGestureDetector
(ctx, this);
365
public boolean onScale(
ScaleGestureDetector
detector) {
370
public boolean onScaleBegin(
ScaleGestureDetector
detector) {
383
public void onScaleEnd(
ScaleGestureDetector
detector) {
/frameworks/base/services/java/com/android/server/display/
OverlayDisplayWindow.java
31
import android.view.
ScaleGestureDetector
;
83
private
ScaleGestureDetector
mScaleGestureDetector;
210
mScaleGestureDetector = new
ScaleGestureDetector
(mContext, mOnScaleGestureListener);
349
private final
ScaleGestureDetector
.OnScaleGestureListener mOnScaleGestureListener =
350
new
ScaleGestureDetector
.SimpleOnScaleGestureListener() {
352
public boolean onScale(
ScaleGestureDetector
detector) {
/packages/apps/VideoEditor/src/com/android/videoeditor/
KenBurnsActivity.java
30
import android.view.
ScaleGestureDetector
;
32
import android.view.
ScaleGestureDetector
.OnScaleGestureListener;
73
private
ScaleGestureDetector
mScaleGestureDetector;
118
public boolean onScaleBegin(
ScaleGestureDetector
detector) {
123
public boolean onScale(
ScaleGestureDetector
detector) {
135
public void onScaleEnd(
ScaleGestureDetector
detector) {
262
mScaleGestureDetector = new
ScaleGestureDetector
(this, new MyScaleGestureListener());
Completed in 1056 milliseconds
1
2
3