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

1 2 3 4 5 6 7 8 91011>>

  /external/webrtc/webrtc/modules/audio_coding/neteq/
delay_peak_detector_unittest.cc 20 DelayPeakDetector* detector = new DelayPeakDetector(); local
21 EXPECT_FALSE(detector->peak_found());
22 delete detector;
26 DelayPeakDetector detector; local
27 EXPECT_EQ(-1, detector.MaxPeakHeight());
28 EXPECT_EQ(-1, detector.MaxPeakPeriod());
31 // Inject a series of packet arrivals into the detector. Three of the packets
35 DelayPeakDetector detector; local
37 detector.SetPacketAudioLength(kPacketSizeMs);
60 // Load into detector
86 DelayPeakDetector detector; local
    [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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowScaleGestureDetectorTest.java 19 private ScaleGestureDetector detector; field in class:ShadowScaleGestureDetectorTest
24 detector = new ScaleGestureDetector(RuntimeEnvironment.application, null);
30 detector.onTouchEvent(motionEvent);
31 assertSame(motionEvent, shadowOf(detector).getOnTouchEventMotionEvent());
36 shadowOf(detector).setScaleFactor(2.0f);
37 assertThat(2.0f).isEqualTo(detector.getScaleFactor());
42 shadowOf(detector).setFocusXY(2.0f, 3.0f);
43 assertThat(2.0f).isEqualTo(detector.getFocusX());
44 assertThat(3.0f).isEqualTo(detector.getFocusY());
57 detector.onTouchEvent(motionEvent)
    [all...]
ShadowGestureDetectorTest.java 21 private GestureDetector detector; field in class:ShadowGestureDetectorTest
26 detector = new GestureDetector(new TestOnGestureListener());
32 detector.onTouchEvent(motionEvent);
33 assertSame(motionEvent, shadowOf(detector).getOnTouchEventMotionEvent());
38 detector.onTouchEvent(motionEvent);
39 assertSame(motionEvent, shadowOf(detector).getOnTouchEventMotionEvent());
41 shadowOf(detector).reset();
42 assertNull(shadowOf(detector).getOnTouchEventMotionEvent());
  /packages/apps/DocumentsUI/src/com/android/documentsui/selection/
TouchEventRouter.java 40 public TouchEventRouter(GestureDetector detector, OnItemTouchListener defaultDelegate) {
41 checkArgument(detector != null);
44 mDetector = detector;
48 public TouchEventRouter(GestureDetector detector) {
50 detector,
95 // continue forwarding to the GestureDetector. The detector needs to see the entire cluster
  /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/
ContentTypeDetectorTest.java 37 private ContentTypeDetector detector; field in class:ContentTypeDetectorTest
42 assertEquals(ContentTypeDetector.UNKNOWN, detector.getType());
50 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType());
57 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType());
64 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType());
71 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType());
78 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType());
85 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType());
92 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType());
99 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType())
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
GestureRecognizer.java 104 public boolean onScaleBegin(ScaleGestureDetector detector) {
106 detector.getFocusX(), detector.getFocusY());
110 public boolean onScale(ScaleGestureDetector detector) {
111 return mListener.onScale(detector.getFocusX(),
112 detector.getFocusY(), detector.getScaleFactor());
116 public void onScaleEnd(ScaleGestureDetector detector) {
  /packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/
SummaryDetectorTest.java 50 SummaryDetector detector = new SummaryDetector(mPolicy, AVERAGE_TIME_MS); local
52 assertThat(detector.detect().isVisible()).isFalse();
57 SummaryDetector detector = new SummaryDetector(mPolicy, AVERAGE_TIME_MS); local
59 assertThat(detector.detect().isVisible()).isTrue();
  /frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
TouchEventRouter.java 46 @NonNull GestureDetector detector, @NonNull OnItemTouchListener defaultDelegate) {
48 checkArgument(detector != null);
51 mDetector = detector;
55 TouchEventRouter(@NonNull GestureDetector detector) {
57 detector,
106 // continue forwarding to the GestureDetector. The detector needs to see the entire cluster
  /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());
  /external/tensorflow/tensorflow/examples/android/jni/object_tracking/
object_model.h 90 ObjectModel<DetectorType>(const DetectorType* const detector,
92 : ObjectModelBase(name), detector_(detector) {}
  /frameworks/base/core/tests/coretests/src/android/view/
ScaleGesture.java 53 public boolean onScale(ScaleGestureDetector detector) {
54 mFactor *= detector.getScaleFactor();
  /frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
TransformTestActivity.java 77 public boolean onScale(ScaleGestureDetector detector) {
78 float scale = detector.getScaleFactor();
97 float centerX = detector.getFocusX();
98 float centerY = detector.getFocusY();
115 public boolean onScaleBegin(ScaleGestureDetector detector) {
119 public void onScaleEnd(ScaleGestureDetector detector) {
120 mLastX = detector.getFocusX();
121 mLastY = detector.getFocusY();
  /packages/apps/Camera2/src/com/android/camera/ui/
FilmstripGestureRecognizer.java 138 public boolean onScaleBegin(ScaleGestureDetector detector) {
140 detector.getFocusX(), detector.getFocusY());
144 public boolean onScale(ScaleGestureDetector detector) {
145 return mListener.onScale(detector.getFocusX(),
146 detector.getFocusY(), detector.getScaleFactor());
150 public void onScaleEnd(ScaleGestureDetector detector) {
  /development/tools/checkcolor/src/main/java/com/google/checkcolor/lint/
HardcodedColorIssueRegistry.java 20 import com.android.tools.lint.detector.api.Issue;
  /packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
Utils.java 38 final CountryDetector detector = (CountryDetector) context.getSystemService( local
40 if (detector != null) {
41 final Country country = detector.detectCountry();
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-api/26.2.0-alpha16/
lint-api-26.2.0-alpha16.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-api/22.2.0/
lint-api-22.2.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-api/22.4.0/
lint-api-22.4.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-api/22.4.2/
lint-api-22.4.2.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-api/22.5.0/
lint-api-22.5.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-api/24.3.0-alpha2/
lint-api-24.3.0-alpha2.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-api/24.3.0-alpha3/
lint-api-24.3.0-alpha3.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-api/24.3.0-alpha4/
lint-api-24.3.0-alpha4.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-api/24.3.0-alpha5/
lint-api-24.3.0-alpha5.jar 

Completed in 522 milliseconds

1 2 3 4 5 6 7 8 91011>>