/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
H A D | FBOSyncView.java | 137 public boolean onScale(ScaleGestureDetector detector) { argument 138 mRender.onActionScale(detector.getScaleFactor());
|
H A D | FBOTestView.java | 137 public boolean onScale(ScaleGestureDetector detector) { argument 138 mRender.onActionScale(detector.getScaleFactor());
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | TestAppView.java | 146 public boolean onScale(ScaleGestureDetector detector) { argument 147 mRender.onActionScale(detector.getScaleFactor());
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
H A D | ShadersTestView.java | 131 public boolean onScale(ScaleGestureDetector detector) { argument 132 mRender.onActionScale(detector.getScaleFactor());
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
H A D | SimpleModelView.java | 164 public boolean onScale(ScaleGestureDetector detector) { argument 165 mRender.onActionScale(detector.getScaleFactor());
|
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
H A D | TransformTestActivity.java | 77 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 D | CropView.java | 175 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 D | LocationBasedCountryDetectorTest.java | 186 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 D | ScaleGestureDetector.java | 63 * @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 D | ScreenMagnifier.java | 545 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 D | PhotoView.java | 118 /** 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
|