HomeSort by relevance Sort by last modified time
    Searched defs:detector (Results 1 - 25 of 48) sorted by null

1 2

  /external/chromium_org/chrome/browser/captive_portal/
testing_utils.h 29 // Sets test time for captive portal detector.
32 // Advances test time for captive portal detector.
37 // Sets URL fetcher state and notifies portal detector.
42 void set_detector(CaptivePortalDetector* detector) { detector_ = detector; }
44 CaptivePortalDetector* detector() { return detector_; } function in class:captive_portal::CaptivePortalDetectorTestBase
  /external/chromium_org/content/renderer/android/
email_detector_unittest.cc 19 EmailDetector detector; local
21 if (detector.FindContent(content_16.begin(), content_16.end(),
  /external/chromium_org/third_party/WebKit/Source/core/platform/text/
TextEncodingDetectorICU.cpp 47 UCharsetDetector* detector = ucsdet_open(&status); local
50 ucsdet_enableInputFilter(detector, true);
51 ucsdet_setText(detector, data, static_cast<int32_t>(len), &status);
56 // the ICU detector itself.
61 // encoding with a highest confidence among the detector-specific
65 const UCharsetMatch** matches = ucsdet_detectAll(detector, &matchesCount, &status);
67 ucsdet_close(detector);
110 ucsdet_close(detector);
113 ucsdet_close(detector);
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
ZoomManager.java 25 // Bypass events through the detector to maintain its state. Used when
38 // gesture detector not to emit further scaling notifications
39 // related to this gesture. Thus, if detector events are enabled in
49 public boolean onScaleBegin(ScaleGestureDetector detector) {
57 public void onScaleEnd(ScaleGestureDetector detector) {
59 mContentViewCore.getContentViewGestureHandler().pinchEnd(detector.getEventTime());
64 public boolean onScale(ScaleGestureDetector detector) {
73 mContentViewCore.getContentViewGestureHandler().pinchBegin(detector.getEventTime(),
74 (int) detector.getFocusX(), (int) detector.getFocusY())
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/location/
LocationBasedCountryDetectorTest.java 186 TestCountryDetector detector = new TestCountryDetector(country, provider); local
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.getTimer())
223 TestCountryDetector detector = new TestCountryDetector(country, provider); local
248 TestCountryDetector detector = new TestCountryDetector(country, provider); local
266 TestCountryDetector detector = new TestCountryDetector(country, provider, timeout) { local
288 TestCountryDetector detector = new TestCountryDetector(country, provider) { local
326 TestCountryDetector detector = new TestCountryDetector(country, provider, timeout); local
    [all...]
  /external/chromium/chrome/browser/
intranet_redirect_detector.cc 51 const IntranetRedirectDetector* const detector = local
53 return detector ? detector->redirect_origin_ : GURL();
69 // The detector is not needed in Chrome Frame since we have no omnibox there.
175 // hostname with the right number of characters is likely from the detector
  /packages/apps/ContactsCommon/src/com/android/contacts/common/
GeoUtil.java 40 final CountryDetector detector = local
42 if (detector != null) {
43 final Country country = detector.detectCountry();
  /external/chromium/base/i18n/
icu_encoding_detection.cc 21 UCharsetDetector* detector = ucsdet_open(&status); local
22 ucsdet_setText(detector, text.data(), static_cast<int32_t>(text.length()),
24 const UCharsetMatch* match = ucsdet_detect(detector, &status);
28 ucsdet_close(detector);
40 UCharsetDetector* detector = ucsdet_open(&status); local
41 ucsdet_setText(detector, text.data(), static_cast<int32_t>(text.length()),
44 const UCharsetMatch** matches = ucsdet_detectAll(detector,
48 ucsdet_close(detector);
86 UEnumeration* detectable_encodings = ucsdet_getAllDetectableCharsets(detector,
100 ucsdet_close(detector);
    [all...]
  /external/chromium_org/base/i18n/
icu_encoding_detection.cc 21 UCharsetDetector* detector = ucsdet_open(&status); local
22 ucsdet_setText(detector, text.data(), static_cast<int32_t>(text.length()),
24 const UCharsetMatch* match = ucsdet_detect(detector, &status);
28 ucsdet_close(detector);
40 UCharsetDetector* detector = ucsdet_open(&status); local
41 ucsdet_setText(detector, text.data(), static_cast<int32_t>(text.length()),
44 const UCharsetMatch** matches = ucsdet_detectAll(detector,
48 ucsdet_close(detector);
86 UEnumeration* detectable_encodings = ucsdet_getAllDetectableCharsets(detector,
100 ucsdet_close(detector);
    [all...]
  /external/chromium_org/chrome/browser/
intranet_redirect_detector.cc 53 const IntranetRedirectDetector* const detector = local
55 return detector ? detector->redirect_origin_ : GURL();
71 // The detector is not needed in Chrome Frame since we have no omnibox there.
181 // hostname with the right number of characters is likely from the detector
  /external/chromium_org/chrome/browser/ui/webui/chromeos/login/
error_screen_handler.cc 28 NetworkPortalDetector* detector = NetworkPortalDetector::GetInstance(); local
29 if (NetworkPortalDetector::IsEnabledInCommandLine() && detector)
30 detector->EnableLazyDetection();
34 NetworkPortalDetector* detector = NetworkPortalDetector::GetInstance(); local
35 if (NetworkPortalDetector::IsEnabledInCommandLine() && detector)
36 detector->DisableLazyDetection();
  /development/samples/CrossCompatibility/src/com/example/android/touchexample/
VersionedGestureDetector.java 32 VersionedGestureDetector detector = null; local
34 detector = new CupcakeDetector();
36 detector = new EclairDetector();
38 detector = new FroyoDetector(context);
41 Log.d(TAG, "Created new " + detector.getClass());
42 detector.mListener = listener;
44 return detector;
147 @Override public boolean onScale(ScaleGestureDetector detector) {
148 mListener.onScale(detector.getScaleFactor());
  /frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
FBOSyncView.java 137 public boolean onScale(ScaleGestureDetector detector) {
138 mRender.onActionScale(detector.getScaleFactor());
FBOTestView.java 137 public boolean onScale(ScaleGestureDetector detector) {
138 mRender.onActionScale(detector.getScaleFactor());
  /frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
TestAppView.java 146 public boolean onScale(ScaleGestureDetector detector) {
147 mRender.onActionScale(detector.getScaleFactor());
  /frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
ShadersTestView.java 131 public boolean onScale(ScaleGestureDetector detector) {
132 mRender.onActionScale(detector.getScaleFactor());
  /prebuilts/devtools/tools/lib/
lint-api.jar 
  /external/chromium_org/chrome/browser/chromeos/
chrome_browser_main_chromeos.cc 306 // Likewise, initialize the upgrade detector for Chrome OS. The upgrade
307 // detector starts to monitor changes from the update engine.
628 // Initialize the network portal detector for Chrome OS. The network
629 // portal detector starts to listen for notifications from
632 NetworkPortalDetector* detector = NetworkPortalDetector::GetInstance(); local
633 if (NetworkPortalDetector::IsEnabledInCommandLine() && detector) {
634 detector->Init();
640 // Enable portal detector if EULA was previously accepted or if
643 detector->Enable(true);
715 // Shutdown the upgrade detector for Chrome OS. The upgrade detecto
726 NetworkPortalDetector* detector = NetworkPortalDetector::GetInstance(); local
    [all...]
  /external/chromium_org/chrome/browser/chromeos/login/managed/
locally_managed_user_creation_screen.cc 97 NetworkPortalDetector* detector = NetworkPortalDetector::GetInstance(); local
98 if (detector && !on_error_screen_)
99 detector->AddAndFireObserver(this);
138 NetworkPortalDetector* detector = NetworkPortalDetector::GetInstance(); local
139 if (detector && !on_error_screen_)
140 detector->RemoveObserver(this);
  /external/chromium_org/chrome/browser/chromeos/login/screens/
update_screen.cc 261 NetworkPortalDetector* detector = NetworkPortalDetector::GetInstance(); local
266 base::Unretained(detector)));
292 NetworkPortalDetector* detector = NetworkPortalDetector::GetInstance(); local
294 // If portal detector is enabled and portal detection before AU is
297 if (!NetworkPortalDetector::IsEnabledInCommandLine() || !detector ||
305 detector->AddAndFireObserver(this);
491 NetworkPortalDetector* detector = NetworkPortalDetector::GetInstance(); local
492 if (detector)
493 detector->RemoveObserver(this);
  /frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
SimpleModelView.java 164 public boolean onScale(ScaleGestureDetector detector) {
165 mRender.onActionScale(detector.getScaleFactor());
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
NfcImportVCardActivity.java 89 VCardSourceDetector detector = null; local
97 detector = new VCardSourceDetector();
99 parser.addInterpreter(detector);
107 detector = new VCardSourceDetector();
109 parser.addInterpreter(detector);
133 getString(R.string.nfc_vcard_file_name), detector.getEstimatedType(),
134 detector.getEstimatedCharset(), vcardVersion, counter.getCount());
  /frameworks/base/telephony/java/com/android/internal/telephony/
CallerInfo.java 566 CountryDetector detector = (CountryDetector) context.getSystemService( local
568 if (detector != null) {
569 Country country = detector.detectCountry();
  /packages/apps/InCallUI/src/com/android/incallui/
CallerInfo.java 564 CountryDetector detector = (CountryDetector) context.getSystemService( local
566 if (detector != null) {
567 Country country = detector.detectCountry();
  /external/jmonkeyengine/engine/src/android/com/jme3/input/android/
AndroidInput.java 47 private GestureDetector detector; field in class:AndroidInput
153 detector = new GestureDetector(null, this, null, false);
160 detector = new GestureDetector(null, this, null, false);
288 this.detector.onTouchEvent(event);

Completed in 1229 milliseconds

1 2