/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/view/ |
D | ScaleGestureDetector.java | 72 public boolean onScale(ScaleGestureDetector detector); in onScale() argument 86 public boolean onScaleBegin(ScaleGestureDetector detector); in onScaleBegin() argument 99 public void onScaleEnd(ScaleGestureDetector detector); in onScaleEnd() argument 114 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument 118 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument 122 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 | FBOSyncView.java | 137 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument 138 mRender.onActionScale(detector.getScaleFactor()); in onScale()
|
D | FBOTestView.java | 137 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument 138 mRender.onActionScale(detector.getScaleFactor()); in onScale()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | CropView.java | 175 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument 180 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument 183 mRenderer.scale *= detector.getScaleFactor(); in onScale() 190 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd() argument
|
/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 | 545 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument 548 mInitialScaleFactor = detector.getScaleFactor(); in onScale() 550 final float deltaScale = detector.getScaleFactor() - mInitialScaleFactor; in onScale() 559 * detector.getScaleFactor(); in onScale() 564 mMagnificationController.setScale(normalizedNewScale, detector.getFocusX(), in onScale() 565 detector.getFocusY(), false); in onScale() 570 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument 575 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd() argument
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 330 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument 334 float newScale = currentScale * detector.getScaleFactor(); in onScale() 335 scale(newScale, detector.getFocusX(), detector.getFocusY()); in onScale() 341 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument 350 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd() argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CallerInfo.java | 566 CountryDetector detector = (CountryDetector) context.getSystemService( in getCurrentCountryIso() local 568 if (detector != null) { in getCurrentCountryIso() 569 Country country = detector.detectCountry(); in getCurrentCountryIso()
|
/frameworks/base/services/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 362 public boolean onScale(ScaleGestureDetector detector) { 363 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/telephony/java/android/telephony/ |
D | PhoneNumberUtils.java | 1806 CountryDetector detector = (CountryDetector) context.getSystemService( in isLocalEmergencyNumberInternal() local 1808 if (detector != null && detector.detectCountry() != null) { in isLocalEmergencyNumberInternal() 1809 countryIso = detector.detectCountry().getCountryIso(); in isLocalEmergencyNumberInternal()
|
/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/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
|
D | kitkat.jd | 388 the hardware step-detector to offer long-running, low-power services. 392 <h4 id="44-step-detector">Step Detector and Step Counter</h4> 396 support for two new composite sensors — step detector 403 The step detector analyzes accelerometer input to recognize when the user has 412 Step detector and counter sensors are available on Nexus 5, and we're working
|
D | android-4.4.jd | 565 <dd>The device includes a hardware step detector.</dd>
|
/frameworks/base/docs/html/guide/topics/connectivity/ |
D | bluetooth-le.jd | 71 detector.</li>
|