/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/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/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/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/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/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/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/av/media/libstagefright/ |
H A D | StagefrightMetadataRetriever.cpp | 476 CharacterEncodingDetector *detector = new CharacterEncodingDetector(); local 482 // add to charset detector 483 detector->addTag(kMap[i].name, value); 491 detector->detectAndConvert(); 492 int size = detector->size(); 497 detector->getTag(i, &name, &value); 505 delete detector;
|
/frameworks/base/core/java/android/provider/ |
H A D | CallLog.java | 622 final CountryDetector detector = (CountryDetector) context.getSystemService( 624 if (detector != null) { 625 final Country country = detector.detectCountry();
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | ScreenMagnifier.java | 534 public boolean onScale(ScaleGestureDetector detector) { argument 537 mInitialScaleFactor = detector.getScaleFactor(); 539 final float deltaScale = detector.getScaleFactor() - mInitialScaleFactor; 548 * detector.getScaleFactor(); 553 mMagnificationController.setScale(normalizedNewScale, detector.getFocusX(), 554 detector.getFocusY(), false); 559 public boolean onScaleBegin(ScaleGestureDetector detector) { argument 564 public void onScaleEnd(ScaleGestureDetector detector) { argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | CallerInfo.java | 590 CountryDetector detector = (CountryDetector) context.getSystemService( 592 if (detector != null) { 593 Country country = detector.detectCountry();
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | OverlayDisplayWindow.java | 364 public boolean onScale(ScaleGestureDetector detector) { 365 mLiveScale *= detector.getScaleFactor();
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | PhotoView.java | 127 /** Gesture detector */ 129 /** Gesture detector that detects pinch gestures */ 368 public boolean onScale(ScaleGestureDetector detector) { argument 372 float newScale = currentScale * detector.getScaleFactor(); 373 scale(newScale, detector.getFocusX(), detector.getFocusY()); 379 public boolean onScaleBegin(ScaleGestureDetector detector) { argument 388 public void onScaleEnd(ScaleGestureDetector detector) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ExpandHelper.java | 123 public boolean onScaleBegin(ScaleGestureDetector detector) { 131 public boolean onScale(ScaleGestureDetector detector) { 137 public void onScaleEnd(ScaleGestureDetector detector) { 584 // reset the gesture detector
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberUtils.java | 2019 CountryDetector detector = (CountryDetector) context.getSystemService( 2021 if (detector != null && detector.detectCountry() != null) { 2022 countryIso = detector.detectCountry().getCountryIso();
|
/frameworks/base/docs/html/training/ |
H A D | training_toc.cs | 1419 <li><a href="<?cs var:toroot ?>training/gestures/detector.html">
|