Searched defs:detector (Results 1 - 10 of 10) 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/core/java/android/view/
H A DScaleGestureDetector.java60 * @param detector The detector reporting the event - use this to
62 * @return Whether or not the detector should consider this event
63 * as handled. If an event was not handled, the detector
69 public boolean onScale(ScaleGestureDetector detector); argument
75 * @param detector The detector reporting the event - use this to
77 * @return Whether or not the detector should continue recognizing
83 public boolean onScaleBegin(ScaleGestureDetector detector); argument
93 * @param detector Th
96 onScaleEnd(ScaleGestureDetector detector) argument
111 onScale(ScaleGestureDetector detector) argument
115 onScaleBegin(ScaleGestureDetector detector) argument
119 onScaleEnd(ScaleGestureDetector detector) argument
[all...]
/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/webkit/
H A DZoomManager.java817 public boolean onScaleBegin(ScaleGestureDetector detector) { argument
821 mFocusX = detector.getFocusX();
822 mFocusY = detector.getFocusY();
831 public boolean isPanningOnly(ScaleGestureDetector detector) { argument
834 mFocusX = detector.getFocusX();
835 mFocusY = detector.getFocusY();
840 float deltaSpan = detector.getCurrentSpan() - detector.getPreviousSpan() +
851 public boolean handleScale(ScaleGestureDetector detector) { argument
852 float scale = detector
883 onScale(ScaleGestureDetector detector) argument
891 onScaleEnd(ScaleGestureDetector detector) argument
[all...]
H A DWebViewClassic.java1338 final ScaleGestureDetector detector =
1344 if (detector != null) {
1345 detector.onTouchEvent(ev);
1346 if (detector.isInProgress()) {
1348 x = detector.getFocusX();
1349 y = detector.getFocusY();
4348 final ScaleGestureDetector detector = mZoomManager.getMultiTouchGestureDetector();
4349 if (detector != null && detector.isInProgress()) {
5673 void onPinchToZoomAnimationEnd(ScaleGestureDetector detector) { argument
[all...]

Completed in 344 milliseconds