/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 | 71 public boolean onScale(ScaleGestureDetector detector); in onScale() argument 85 public boolean onScaleBegin(ScaleGestureDetector detector); in onScaleBegin() argument 98 public void onScaleEnd(ScaleGestureDetector detector); in onScaleEnd() argument 113 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument 117 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument 121 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd() argument
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/ |
D | VrView.java | 147 public boolean onScale(ScaleGestureDetector detector) { in setup() 148 … double width = mState1.mTransform.getScreenWidth() / detector.getScaleFactor(); in setup() 150 panMove(detector.getFocusX(), detector.getFocusY()); in setup() 156 public boolean onScaleBegin(ScaleGestureDetector detector) { in setup() 157 panDown(detector.getFocusX(), detector.getFocusY()); in setup() 163 public void onScaleEnd(ScaleGestureDetector detector) { in setup()
|
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/ |
D | SoundTriggerTestService.java | 202 if (modelInfo.detector != null) { in stopAllRecognitions() 205 modelInfo.detector.stopRecognition(); in stopAllRecognitions() 220 public SoundTriggerDetector detector; field in SoundTriggerTestService.ModelInfo 267 modelInfo.detector = null; in unloadModel() 310 if (modelInfo.detector == null) { in startRecognition() 312 modelInfo.detector = mSoundTriggerUtil.createSoundTriggerDetector( in startRecognition() 317 if (modelInfo.detector.startRecognition(modelInfo.captureAudio ? in startRecognition() 335 if (modelInfo.detector == null) { in stopRecognition() 342 if (modelInfo.detector.stopRecognition()) { in stopRecognition()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MagnificationGestureHandler.java | 390 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument 393 mInitialScaleFactor = detector.getScaleFactor(); in onScale() 395 final float deltaScale = detector.getScaleFactor() - mInitialScaleFactor; in onScale() 405 final float targetScale = initialScale * detector.getScaleFactor(); in onScale() 423 final float pivotX = detector.getFocusX(); in onScale() 424 final float pivotY = detector.getFocusY(); in onScale() 431 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument 436 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd() argument
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | CropView.java | 174 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument 179 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument 182 mRenderer.scale *= detector.getScaleFactor(); in onScale() 189 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd() argument
|
/frameworks/av/media/libstagefright/ |
D | StagefrightMetadataRetriever.cpp | 614 CharacterEncodingDetector *detector = new CharacterEncodingDetector(); in parseMetaData() local 621 detector->addTag(kMap[i].name, value); in parseMetaData() 629 detector->detectAndConvert(); in parseMetaData() 630 int size = detector->size(); in parseMetaData() 635 detector->getTag(i, &name, &value); in parseMetaData() 643 delete detector; in parseMetaData()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CallerInfo.java | 616 CountryDetector detector = (CountryDetector) context.getSystemService( in getCurrentCountryIso() local 618 if (detector != null) { in getCurrentCountryIso() 619 Country country = detector.detectCountry(); in getCurrentCountryIso()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 370 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument 374 float newScale = currentScale * detector.getScaleFactor(); in onScale() 375 scale(newScale, detector.getFocusX(), detector.getFocusY()); in onScale() 381 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument 390 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd() argument
|
/frameworks/base/core/java/android/provider/ |
D | CallLog.java | 900 final CountryDetector detector = (CountryDetector) context.getSystemService( in getCurrentCountryIso() local 902 if (detector != null) { in getCurrentCountryIso() 903 final Country country = detector.detectCountry(); in getCurrentCountryIso()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 113 public boolean onScaleBegin(ScaleGestureDetector detector) { 123 public boolean onScale(ScaleGestureDetector detector) { 129 public void onScaleEnd(ScaleGestureDetector detector) {
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 377 public boolean onScale(ScaleGestureDetector detector) { 378 mLiveScale *= detector.getScaleFactor();
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
D | OverlayDisplayWindow.java | 469 public boolean onScale(ScaleGestureDetector detector) { 470 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 | 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 | index.jd | 60 <strong><a href="detector.html">Detecting Common Gestures</a></strong>
|
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 | 2062 CountryDetector detector = (CountryDetector) context.getSystemService( in isLocalEmergencyNumberInternal() local 2064 if (detector != null && detector.detectCountry() != null) { in isLocalEmergencyNumberInternal() 2065 countryIso = detector.detectCountry().getCountryIso(); in isLocalEmergencyNumberInternal()
|
/frameworks/base/docs/html-intl/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/training/wearables/ui/ |
D | exit.jd | 100 // Configure a gesture detector
|
/frameworks/base/docs/html/guide/topics/sensors/ |
D | sensors_motion.jd | 567 accuracy than the step detector sensor. The following code shows you how to get an instance of 581 <p>The step detector sensor triggers an event each time the user takes a step. The latency is 583 default step detector sensor:</p>
|
/frameworks/base/docs/html/about/versions/ |
D | kitkat.jd | 387 the hardware step-detector to offer long-running, low-power services. 391 <h4 id="44-step-detector">Step Detector and Step Counter</h4> 395 support for two new composite sensors — step detector 402 The step detector analyzes accelerometer input to recognize when the user has 411 Step detector and counter sensors are available on Nexus 5, and we're working
|
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/topic/arc/ |
D | manifest.jd | 170 <code>android.hardware.sensor.stepdetector</code> – Step detector
|