Home
last modified time | relevance | path

Searched refs:ScaleGestureDetector (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/view/
DScaleGestureDetector.java41 public class ScaleGestureDetector { class
71 public boolean onScale(ScaleGestureDetector detector); in onScale()
85 public boolean onScaleBegin(ScaleGestureDetector detector); in onScaleBegin()
98 public void onScaleEnd(ScaleGestureDetector detector); in onScaleEnd()
113 public boolean onScale(ScaleGestureDetector detector) { in onScale()
117 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin()
121 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd()
181 public ScaleGestureDetector(Context context, OnScaleGestureListener listener) { in ScaleGestureDetector() method in ScaleGestureDetector
196 public ScaleGestureDetector(Context context, OnScaleGestureListener listener, in ScaleGestureDetector() method in ScaleGestureDetector
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
DTransformTestActivity.java28 import android.view.ScaleGestureDetector;
70 private ScaleGestureDetector mDetector;
75 private class Listener implements ScaleGestureDetector.OnScaleGestureListener {
77 public boolean onScale(ScaleGestureDetector detector) { in onScale()
115 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin()
119 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd()
128 mDetector = new ScaleGestureDetector(context, new Listener()); in TransformView()
/frameworks/support/compat/kitkat/android/support/v4/view/
DScaleGestureDetectorCompatKitKat.java19 import android.view.ScaleGestureDetector;
33 ((ScaleGestureDetector) scaleGestureDetector).setQuickScaleEnabled(enabled); in setQuickScaleEnabled()
37 return ((ScaleGestureDetector) scaleGestureDetector).isQuickScaleEnabled(); in isQuickScaleEnabled()
/frameworks/base/docs/html/training/gestures/
Dscale.jd110 // 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 …]
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DCropView.java25 import android.view.ScaleGestureDetector;
26 import android.view.ScaleGestureDetector.OnScaleGestureListener;
36 private ScaleGestureDetector mScaleGestureDetector;
65 mScaleGestureDetector = new ScaleGestureDetector(context, this); in CropView()
174 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin()
179 public boolean onScale(ScaleGestureDetector detector) { in onScale()
189 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java28 import android.view.ScaleGestureDetector;
29 import android.view.ScaleGestureDetector.OnScaleGestureListener;
92 private ScaleGestureDetector mSGD;
111 = new ScaleGestureDetector.SimpleOnScaleGestureListener() {
113 public boolean onScaleBegin(ScaleGestureDetector detector) {
123 public boolean onScale(ScaleGestureDetector detector) {
129 public void onScaleEnd(ScaleGestureDetector detector) {
175 mSGD = new ScaleGestureDetector(context, mScaleGestureListener); in ExpandHelper()
619 mSGD = new ScaleGestureDetector(mContext, mScaleGestureListener); in cancel()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java31 import android.view.ScaleGestureDetector;
84 private ScaleGestureDetector mScaleGestureDetector;
232 mScaleGestureDetector = new ScaleGestureDetector(mContext, mOnScaleGestureListener); in createWindow()
374 private final ScaleGestureDetector.OnScaleGestureListener mOnScaleGestureListener =
375 new ScaleGestureDetector.SimpleOnScaleGestureListener() {
377 public boolean onScale(ScaleGestureDetector detector) {
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/
DVrView.java28 import android.view.ScaleGestureDetector;
71 private ScaleGestureDetector mScaleDetector;
144 mScaleDetector = new ScaleGestureDetector(context, in setup()
145 new ScaleGestureDetector.OnScaleGestureListener() { in setup()
147 public boolean onScale(ScaleGestureDetector detector) { in setup()
156 public boolean onScaleBegin(ScaleGestureDetector detector) { in setup()
163 public void onScaleEnd(ScaleGestureDetector detector) { in setup()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DOverlayDisplayWindow.java32 import android.view.ScaleGestureDetector;
198 private ScaleGestureDetector mScaleGestureDetector;
313 mScaleGestureDetector = new ScaleGestureDetector(mContext, mOnScaleGestureListener); in createWindow()
466 private final ScaleGestureDetector.OnScaleGestureListener mOnScaleGestureListener =
467 new ScaleGestureDetector.SimpleOnScaleGestureListener() {
469 public boolean onScale(ScaleGestureDetector detector) {
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationGestureHandler.java32 import android.view.ScaleGestureDetector;
33 import android.view.ScaleGestureDetector.OnScaleGestureListener;
335 private final ScaleGestureDetector mScaleGestureDetector;
351 mScaleGestureDetector = new ScaleGestureDetector(context, this); in MagnifiedContentInteractionStateHandler()
390 public boolean onScale(ScaleGestureDetector detector) { in onScale()
431 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin()
436 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java37 import android.view.ScaleGestureDetector;
48 OnDoubleTapListener, ScaleGestureDetector.OnScaleGestureListener,
132 private ScaleGestureDetector mScaleGetureDetector;
370 public boolean onScale(ScaleGestureDetector detector) { in onScale()
381 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin()
390 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd()
1149 mScaleGetureDetector = new ScaleGestureDetector(context, this); in initialize()
/frameworks/base/docs/html/about/versions/
Dandroid-2.2.jd185 <li>New {@link android.view.ScaleGestureDetector} that lets Views detect and handle transformation …
/frameworks/base/
Dcompiled-classes-phone4349 android.view.ScaleGestureDetector
4350 android.view.ScaleGestureDetector$1
4351 android.view.ScaleGestureDetector$OnScaleGestureListener
4352 android.view.ScaleGestureDetector$SimpleOnScaleGestureListener
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt33102 public class ScaleGestureDetector {
33103 …ctor public ScaleGestureDetector(android.content.Context, android.view.ScaleGestureDetector.OnScal…
33104 …ctor public ScaleGestureDetector(android.content.Context, android.view.ScaleGestureDetector.OnScal…
33122 public static abstract interface ScaleGestureDetector.OnScaleGestureListener {
33123 method public abstract boolean onScale(android.view.ScaleGestureDetector);
33124 method public abstract boolean onScaleBegin(android.view.ScaleGestureDetector);
33125 method public abstract void onScaleEnd(android.view.ScaleGestureDetector);
33128 …public static class ScaleGestureDetector.SimpleOnScaleGestureListener implements android.view.Scal…
33129 ctor public ScaleGestureDetector.SimpleOnScaleGestureListener();
33130 method public boolean onScale(android.view.ScaleGestureDetector);
[all …]
/frameworks/base/api/
Dcurrent.txt42113 public class ScaleGestureDetector {
42114 …ctor public ScaleGestureDetector(android.content.Context, android.view.ScaleGestureDetector.OnScal…
42115 …ctor public ScaleGestureDetector(android.content.Context, android.view.ScaleGestureDetector.OnScal…
42135 public static abstract interface ScaleGestureDetector.OnScaleGestureListener {
42136 method public abstract boolean onScale(android.view.ScaleGestureDetector);
42137 method public abstract boolean onScaleBegin(android.view.ScaleGestureDetector);
42138 method public abstract void onScaleEnd(android.view.ScaleGestureDetector);
42141 …public static class ScaleGestureDetector.SimpleOnScaleGestureListener implements android.view.Scal…
42142 ctor public ScaleGestureDetector.SimpleOnScaleGestureListener();
42143 method public boolean onScale(android.view.ScaleGestureDetector);
[all …]
Dsystem-current.txt45290 public class ScaleGestureDetector {
45291 …ctor public ScaleGestureDetector(android.content.Context, android.view.ScaleGestureDetector.OnScal…
45292 …ctor public ScaleGestureDetector(android.content.Context, android.view.ScaleGestureDetector.OnScal…
45312 public static abstract interface ScaleGestureDetector.OnScaleGestureListener {
45313 method public abstract boolean onScale(android.view.ScaleGestureDetector);
45314 method public abstract boolean onScaleBegin(android.view.ScaleGestureDetector);
45315 method public abstract void onScaleEnd(android.view.ScaleGestureDetector);
45318 …public static class ScaleGestureDetector.SimpleOnScaleGestureListener implements android.view.Scal…
45319 ctor public ScaleGestureDetector.SimpleOnScaleGestureListener();
45320 method public boolean onScale(android.view.ScaleGestureDetector);
[all …]
Dtest-current.txt42199 public class ScaleGestureDetector {
42200 …ctor public ScaleGestureDetector(android.content.Context, android.view.ScaleGestureDetector.OnScal…
42201 …ctor public ScaleGestureDetector(android.content.Context, android.view.ScaleGestureDetector.OnScal…
42221 public static abstract interface ScaleGestureDetector.OnScaleGestureListener {
42222 method public abstract boolean onScale(android.view.ScaleGestureDetector);
42223 method public abstract boolean onScaleBegin(android.view.ScaleGestureDetector);
42224 method public abstract void onScaleEnd(android.view.ScaleGestureDetector);
42227 …public static class ScaleGestureDetector.SimpleOnScaleGestureListener implements android.view.Scal…
42228 ctor public ScaleGestureDetector.SimpleOnScaleGestureListener();
42229 method public boolean onScale(android.view.ScaleGestureDetector);
[all …]