/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
D | LocationBasedCountryDetectorTest.java | 186 TestCountryDetector detector = new TestCountryDetector(country, provider); in testFindingCountryCommon() local 189 detector.setAcceptableProvider(acceptableProviders); in testFindingCountryCommon() 192 detector.setCountryListener(countryListener); in testFindingCountryCommon() 193 detector.detectCountry(); in testFindingCountryCommon() 196 assertEquals(acceptableProviders.size(), detector.getListenersCount()); in testFindingCountryCommon() 197 Map<String, LocationListener> listeners = detector.getListeners(); in testFindingCountryCommon() 202 assertEquals(TestCountryDetector.TOTAL_PROVIDERS, detector.getListenersCount()); in testFindingCountryCommon() 205 detector.notifyLocationFound(); in testFindingCountryCommon() 207 assertEquals(0, detector.getListenersCount()); in testFindingCountryCommon() 208 assertNull(detector.getTimer()); in testFindingCountryCommon() [all …]
|
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
D | TransformTestActivity.java | 77 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument 78 float scale = detector.getScaleFactor(); in onScale() 97 float centerX = detector.getFocusX(); in onScale() 98 float centerY = detector.getFocusY(); in onScale() 115 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument 119 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd() argument 120 mLastX = detector.getFocusX(); in onScaleEnd() 121 mLastY = detector.getFocusY(); in onScaleEnd()
|
/frameworks/base/core/java/android/webkit/ |
D | ZoomManager.java | 818 public boolean onScaleBegin(ScaleGestureDetector detector) { 822 mFocusX = detector.getFocusX(); 823 mFocusY = detector.getFocusY(); 832 public boolean isPanningOnly(ScaleGestureDetector detector) { 835 mFocusX = detector.getFocusX(); 836 mFocusY = detector.getFocusY(); 841 float deltaSpan = detector.getCurrentSpan() - detector.getPreviousSpan() + 852 public boolean handleScale(ScaleGestureDetector detector) { 853 float scale = detector.getScaleFactor() * mActualScale; 876 setZoomCenter(detector.getFocusX(), detector.getFocusY()); [all …]
|
D | WebViewClassic.java | 1373 final ScaleGestureDetector detector = in onHandleUiTouchEvent() local 1403 if (detector != null) { in onHandleUiTouchEvent() 1404 detector.onTouchEvent(ev); in onHandleUiTouchEvent() 1405 if (detector.isInProgress()) { in onHandleUiTouchEvent() 4446 final ScaleGestureDetector detector = mZoomManager.getScaleGestureDetector(); in performLongClick() 4447 if (detector != null && detector.isInProgress()) { in performLongClick() 5782 void onPinchToZoomAnimationEnd(ScaleGestureDetector detector) { in onPinchToZoomAnimationEnd() argument 5789 startTouch(detector.getFocusX(), detector.getFocusY(), mLastTouchTime); in onPinchToZoomAnimationEnd() 5858 ScaleGestureDetector detector = mZoomManager.getScaleGestureDetector(); in handleTouchEventCommon() local 6020 if ((detector == null || !detector.isInProgress()) in handleTouchEventCommon()
|
/frameworks/base/core/java/android/view/ |
D | ScaleGestureDetector.java | 70 public boolean onScale(ScaleGestureDetector detector); in onScale() argument 84 public boolean onScaleBegin(ScaleGestureDetector detector); in onScaleBegin() argument 97 public void onScaleEnd(ScaleGestureDetector detector); in onScaleEnd() argument 112 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument 116 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument 120 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd() argument
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
D | ShadersTestView.java | 131 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument 132 mRender.onActionScale(detector.getScaleFactor()); in onScale()
|
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
D | FBOTestView.java | 137 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument 138 mRender.onActionScale(detector.getScaleFactor()); in onScale()
|
D | FBOSyncView.java | 137 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument 138 mRender.onActionScale(detector.getScaleFactor()); in onScale()
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
D | TestAppView.java | 146 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument 147 mRender.onActionScale(detector.getScaleFactor()); in onScale()
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
D | SimpleModelView.java | 164 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument 165 mRender.onActionScale(detector.getScaleFactor()); in onScale()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 115 public boolean onScaleBegin(ScaleGestureDetector detector) { 117 float focusX = detector.getFocusX(); 118 float focusY = detector.getFocusY(); 128 public boolean onScale(ScaleGestureDetector detector) { 134 public void onScaleEnd(ScaleGestureDetector detector) {
|
/frameworks/base/services/java/com/android/server/accessibility/ |
D | ScreenMagnifier.java | 544 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument 547 mInitialScaleFactor = detector.getScaleFactor(); in onScale() 549 final float deltaScale = detector.getScaleFactor() - mInitialScaleFactor; in onScale() 558 * detector.getScaleFactor(); in onScale() 563 mMagnificationController.setScale(normalizedNewScale, detector.getFocusX(), in onScale() 564 detector.getFocusY(), false); in onScale() 569 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument 574 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd() argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CallerInfo.java | 569 CountryDetector detector = (CountryDetector) context.getSystemService( in getCurrentCountryIso() local 571 if (detector != null) { in getCurrentCountryIso() 572 countryIso = detector.detectCountry().getCountryIso(); in getCurrentCountryIso()
|
D | CallerInfoAsyncQuery.java | 274 CountryDetector detector = (CountryDetector) mQueryContext.getSystemService( in onQueryComplete() local 278 detector.detectCountry().getCountryIso()); in onQueryComplete()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 266 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument 270 float newScale = currentScale * detector.getScaleFactor(); in onScale() 271 scale(newScale, detector.getFocusX(), detector.getFocusY()); in onScale() 277 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument 286 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd() argument
|
/frameworks/base/services/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 352 public boolean onScale(ScaleGestureDetector detector) { 353 mLiveScale *= detector.getScaleFactor();
|
/frameworks/base/docs/html/training/gestures/ |
D | detector.jd | 185 and pass along all observed events to the detector instance.</p> 210 // Instantiate the gesture detector with the 214 // Set the gesture detector as the double tap
|
D | index.jd | 60 <strong><a href="detector.html">Detecting Common Gestures</a></strong>
|
D | scale.jd | 266 <p>As discussed in <a href="detector.html">Detecting Common Gestures</a>, 317 public boolean onScale(ScaleGestureDetector detector) { 318 mScaleFactor *= detector.getScaleFactor();
|
D | movement.jd | 49 href="detector.html">Detecting Common Gestures</a>, all of these events are
|
/frameworks/base/docs/html-intl/es/training/multiscreen/ |
D | adaptui.jd | 67 …el nivel 11 del API y en niveles superiores). Por tanto, para añadir el detector de eventos para e… 165 <p>A continuación, cuando el usuario selecciona un encabezado, el fragmento notifica el detector es…
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberUtils.java | 1801 CountryDetector detector = (CountryDetector) context.getSystemService( in isLocalEmergencyNumberInternal() local 1803 if (detector != null) { in isLocalEmergencyNumberInternal() 1804 countryIso = detector.detectCountry().getCountryIso(); in isLocalEmergencyNumberInternal()
|
/frameworks/base/docs/html/about/versions/ |
D | android-2.2-highlights.jd | 287 for these situations. A scale gesture detector API provides improved definition of multi-touch
|
/frameworks/base/docs/html/training/ |
D | training_toc.cs | 871 <li><a href="<?cs var:toroot ?>training/gestures/detector.html">
|