Home
last modified time | relevance | path

Searched refs:detector (Results 1 – 25 of 44) sorted by relevance

12

/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DZoomManager.java36 long getEventTime(ScaleGestureDetector detector) { in getEventTime() argument
39 assert detector.getEventTime() == 0 || detector.getEventTime() == mCurrentEventTime; in getEventTime()
60 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument
68 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd() argument
70 mContentViewCore.getContentViewGestureHandler().pinchEnd(getEventTime(detector)); in onScaleEnd()
75 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument
84 mContentViewCore.getContentViewGestureHandler().pinchBegin(getEventTime(detector), in onScale()
85 (int) detector.getFocusX(), (int) detector.getFocusY()); in onScale()
89 getEventTime(detector), (int) detector.getFocusX(), (int) detector.getFocusY(), in onScale()
90 detector.getScaleFactor()); in onScale()
/external/chromium/base/i18n/
Dicu_encoding_detection.cc21 UCharsetDetector* detector = ucsdet_open(&status); in DetectEncoding() local
22 ucsdet_setText(detector, text.data(), static_cast<int32_t>(text.length()), in DetectEncoding()
24 const UCharsetMatch* match = ucsdet_detect(detector, &status); in DetectEncoding()
28 ucsdet_close(detector); in DetectEncoding()
40 UCharsetDetector* detector = ucsdet_open(&status); in DetectAllEncodings() local
41 ucsdet_setText(detector, text.data(), static_cast<int32_t>(text.length()), in DetectAllEncodings()
44 const UCharsetMatch** matches = ucsdet_detectAll(detector, in DetectAllEncodings()
48 ucsdet_close(detector); in DetectAllEncodings()
86 UEnumeration* detectable_encodings = ucsdet_getAllDetectableCharsets(detector, in DetectAllEncodings()
100 ucsdet_close(detector); in DetectAllEncodings()
/external/chromium_org/base/i18n/
Dicu_encoding_detection.cc21 UCharsetDetector* detector = ucsdet_open(&status); in DetectEncoding() local
22 ucsdet_setText(detector, text.data(), static_cast<int32_t>(text.length()), in DetectEncoding()
24 const UCharsetMatch* match = ucsdet_detect(detector, &status); in DetectEncoding()
28 ucsdet_close(detector); in DetectEncoding()
40 UCharsetDetector* detector = ucsdet_open(&status); in DetectAllEncodings() local
41 ucsdet_setText(detector, text.data(), static_cast<int32_t>(text.length()), in DetectAllEncodings()
44 const UCharsetMatch** matches = ucsdet_detectAll(detector, in DetectAllEncodings()
48 ucsdet_close(detector); in DetectAllEncodings()
86 UEnumeration* detectable_encodings = ucsdet_getAllDetectableCharsets(detector, in DetectAllEncodings()
100 ucsdet_close(detector); in DetectAllEncodings()
/external/chromium_org/third_party/WebKit/Source/platform/text/
DTextEncodingDetector.cpp46 UCharsetDetector* detector = ucsdet_open(&status); in detectTextEncoding() local
49 ucsdet_enableInputFilter(detector, true); in detectTextEncoding()
50 ucsdet_setText(detector, data, static_cast<int32_t>(length), &status); in detectTextEncoding()
64 const UCharsetMatch** matches = ucsdet_detectAll(detector, &matchesCount, &status); in detectTextEncoding()
66 ucsdet_close(detector); in detectTextEncoding()
109 ucsdet_close(detector); in detectTextEncoding()
112 ucsdet_close(detector); in detectTextEncoding()
/external/chromium_org/chrome/browser/captive_portal/
Dtesting_utils.cc35 detector()->set_time_for_testing(time); in SetTime()
39 detector()->advance_time_for_testing(delta); in AdvanceTime()
43 return detector()->FetchingURL(); in FetchingURL()
63 detector()->OnURLFetchComplete(fetcher()); in CompleteURLFetch()
Dtesting_utils.h42 void set_detector(CaptivePortalDetector* detector) { detector_ = detector; } in set_detector() argument
44 CaptivePortalDetector* detector() { return detector_; } in detector() function
Dcaptive_portal_detector_unittest.cc69 CaptivePortalClient client(detector()); in RunTest()
71 detector()->DetectCaptivePortal(url, in RunTest()
93 CaptivePortalClient client(detector()); in RunCancelTest()
95 detector()->DetectCaptivePortal(url, in RunCancelTest()
102 detector()->Cancel(); in RunCancelTest()
/external/chromium_org/content/renderer/android/
Dphone_number_detector_unittest.cc19 PhoneNumberDetector detector(region); in FindNumber() local
21 if (detector.FindContent(content_16.begin(), content_16.end(), in FindNumber()
32 PhoneNumberDetector detector(region); in FindAndFormatNumber() local
34 detector.FindContent(content_16.begin(), content_16.end(), in FindAndFormatNumber()
Demail_detector_unittest.cc19 EmailDetector detector; in FindAndCheckEmail() local
21 if (detector.FindContent(content_16.begin(), content_16.end(), in FindAndCheckEmail()
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
DTrackingInputHandler.java387 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument
392 if (Math.abs(detector.getScaleFactor() - 1) < MIN_ZOOM_DELTA) { in onScale()
396 float scaleFactor = detector.getScaleFactor(); in onScale()
399 scaleFactor, scaleFactor, detector.getFocusX(), detector.getFocusY()); in onScale()
416 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument
422 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd() argument
423 onScale(detector); in onScaleEnd()
/external/chromium_org/ash/system/chromeos/power/
Dvideo_activity_notifier.cc21 VideoActivityNotifier::VideoActivityNotifier(VideoDetector* detector) in VideoActivityNotifier() argument
22 : detector_(detector) { in VideoActivityNotifier()
Duser_activity_notifier.cc25 UserActivityNotifier::UserActivityNotifier(UserActivityDetector* detector) in UserActivityNotifier() argument
26 : detector_(detector) { in UserActivityNotifier()
Dvideo_activity_notifier.h19 explicit VideoActivityNotifier(VideoDetector* detector);
Duser_activity_notifier.h22 explicit UserActivityNotifier(UserActivityDetector* detector);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/
Ddetection_unittest.py43 detector = SCMDetector(filesystem, executive)
49 …scm = OutputCapture().assert_outputs(self, detector.detect_scm_system, ["/"], expected_logs=expect…
/external/chromium/chrome/browser/
Dintranet_redirect_detector.cc51 const IntranetRedirectDetector* const detector = in RedirectOrigin() local
53 return detector ? detector->redirect_origin_ : GURL(); in RedirectOrigin()
/external/chromium_org/chrome/browser/
Dintranet_redirect_detector.cc53 const IntranetRedirectDetector* const detector = in RedirectOrigin() local
55 return detector ? detector->redirect_origin_ : GURL(); in RedirectOrigin()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/
Dhost.py126 detector = SCMDetector(self.filesystem, self.executive)
127 self._scm = detector.default_scm(patch_directories)
/external/chromium_org/chrome/browser/chromeos/login/
Doauth2_login_verifier.cc73 NetworkPortalDetector* detector = NetworkPortalDetector::Get(); in VerifyProfileTokens() local
76 (detector && detector->GetCaptivePortalState(default_network).status != in VerifyProfileTokens()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/webgl/
Dupdate_webgl_conformance_tests.py95 detector = scm.SCMDetector(FileSystem(), Executive())
96 current_scm = detector.detect_scm_system(os.path.dirname(sys.argv[0]))
/external/chromium_org/chrome/browser/ui/ash/
Dsystem_tray_delegate_win.cc292 UpgradeDetector* detector = in Observe() local
296 switch (detector->upgrade_notification_stage()) { in Observe()
/external/clang/docs/
DLeakSanitizer.rst11 LeakSanitizer is a heap leak detector which is designed to be used on top of
/external/jmonkeyengine/engine/src/android/com/jme3/input/android/
DAndroidInput.java47 private GestureDetector detector; field in AndroidInput
153 detector = new GestureDetector(null, this, null, false); in AndroidInput()
160 detector = new GestureDetector(null, this, null, false); in AndroidInput()
288 this.detector.onTouchEvent(event); in onTouchEvent()
/external/valgrind/main/
DREADME23 tools: a memory error detector, two thread error detectors, a cache
26 three experimental tools: a heap/stack/global array overrun detector,
/external/valgrind/main/helgrind/
DREADME_YARD.txt8 The YARD race detector lives in svn://svn.valgrind.org/branches/YARD.

12