Searched defs:detector (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
H A DFBOSyncView.java137 public boolean onScale(ScaleGestureDetector detector) { argument
138 mRender.onActionScale(detector.getScaleFactor());
H A DFBOTestView.java137 public boolean onScale(ScaleGestureDetector detector) { argument
138 mRender.onActionScale(detector.getScaleFactor());
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestAppView.java146 public boolean onScale(ScaleGestureDetector detector) { argument
147 mRender.onActionScale(detector.getScaleFactor());
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
H A DShadersTestView.java131 public boolean onScale(ScaleGestureDetector detector) { argument
132 mRender.onActionScale(detector.getScaleFactor());
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSimpleModelView.java164 public boolean onScale(ScaleGestureDetector detector) { argument
165 mRender.onActionScale(detector.getScaleFactor());
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
H A DTransformTestActivity.java77 public boolean onScale(ScaleGestureDetector detector) { argument
78 float scale = detector.getScaleFactor();
97 float centerX = detector.getFocusX();
98 float centerY = detector.getFocusY();
115 public boolean onScaleBegin(ScaleGestureDetector detector) { argument
119 public void onScaleEnd(ScaleGestureDetector detector) { argument
120 mLastX = detector.getFocusX();
121 mLastY = detector.getFocusY();
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DCropView.java175 public boolean onScaleBegin(ScaleGestureDetector detector) { argument
180 public boolean onScale(ScaleGestureDetector detector) { argument
183 mRenderer.scale *= detector.getScaleFactor();
190 public void onScaleEnd(ScaleGestureDetector detector) { argument
/frameworks/base/services/tests/servicestests/src/com/android/server/location/
H A DLocationBasedCountryDetectorTest.java186 TestCountryDetector detector = new TestCountryDetector(country, provider);
189 detector.setAcceptableProvider(acceptableProviders);
192 detector.setCountryListener(countryListener);
193 detector.detectCountry();
196 assertEquals(acceptableProviders.size(), detector.getListenersCount());
197 Map<String, LocationListener> listeners = detector.getListeners();
202 assertEquals(TestCountryDetector.TOTAL_PROVIDERS, detector.getListenersCount());
205 detector.notifyLocationFound();
207 assertEquals(0, detector.getListenersCount());
208 assertNull(detector
345 waitForTimerReset(TestCountryDetector detector) argument
366 waitForQueryThreadLaunched(TestCountryDetector detector) argument
[all...]
/frameworks/base/core/java/android/view/
H A DScaleGestureDetector.java63 * @param detector The detector reporting the event - use this to
65 * @return Whether or not the detector should consider this event
66 * as handled. If an event was not handled, the detector
72 public boolean onScale(ScaleGestureDetector detector); argument
78 * @param detector The detector reporting the event - use this to
80 * @return Whether or not the detector should continue recognizing
86 public boolean onScaleBegin(ScaleGestureDetector detector); argument
96 * @param detector Th
99 onScaleEnd(ScaleGestureDetector detector) argument
114 onScale(ScaleGestureDetector detector) argument
118 onScaleBegin(ScaleGestureDetector detector) argument
122 onScaleEnd(ScaleGestureDetector detector) argument
[all...]
/frameworks/base/services/java/com/android/server/accessibility/
H A DScreenMagnifier.java545 public boolean onScale(ScaleGestureDetector detector) { argument
548 mInitialScaleFactor = detector.getScaleFactor();
550 final float deltaScale = detector.getScaleFactor() - mInitialScaleFactor;
559 * detector.getScaleFactor();
564 mMagnificationController.setScale(normalizedNewScale, detector.getFocusX(),
565 detector.getFocusY(), false);
570 public boolean onScaleBegin(ScaleGestureDetector detector) { argument
575 public void onScaleEnd(ScaleGestureDetector detector) { argument
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java118 /** Gesture detector */
120 /** Gesture detector that detects pinch gestures */
330 public boolean onScale(ScaleGestureDetector detector) { argument
334 float newScale = currentScale * detector.getScaleFactor();
335 scale(newScale, detector.getFocusX(), detector.getFocusY());
341 public boolean onScaleBegin(ScaleGestureDetector detector) { argument
350 public void onScaleEnd(ScaleGestureDetector detector) { argument

Completed in 297 milliseconds