Searched refs:criteria (Results 1 - 25 of 31) sorted by relevance

12

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DCriteriaTest.java17 private Criteria criteria; field in class:CriteriaTest
21 criteria = new Criteria();
26 criteria.setAccuracy(Criteria.ACCURACY_COARSE);
27 assertThat(Criteria.ACCURACY_COARSE, IsEqual.equalTo(criteria.getAccuracy()));
32 criteria.setPowerRequirement(Criteria.POWER_HIGH);
33 assertThat(Criteria.POWER_HIGH, IsEqual.equalTo(criteria.getPowerRequirement()));
38 criteria.setPowerRequirement(Criteria.POWER_HIGH);
39 criteria.setAccuracy(Criteria.ACCURACY_COARSE);
41 Criteria criteria1 = new Criteria(criteria);
42 Assert.assertTrue(criteria1.equals(criteria));
[all...]
H A DLocationManagerTest.java185 Criteria criteria = new Criteria();
186 criteria.setAccuracy(Criteria.ACCURACY_FINE);
188 locationManager.requestLocationUpdates(0, 0, criteria, someLocationListenerPendingIntent);
189 locationManager.requestLocationUpdates(0, 0, criteria, someOtherLocationListenerPendingIntent);
194 expectedCriteria.put(someOtherLocationListenerPendingIntent, criteria);
236 Criteria criteria = new Criteria();
237 assertNull(locationManager.getBestProvider(criteria, true));
238 assertSame(criteria, shadowLocationManager.getLastBestProviderCriteria());
244 Criteria criteria = new Criteria();
247 assertNull(locationManager.getBestProvider(criteria, fals
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowCriteria.java17 public void __constructor__(Criteria criteria) { argument
18 accuracy = criteria.getAccuracy();
19 powerRequirement = criteria.getPowerRequirement();
48 Criteria criteria = (Criteria) obj;
49 if (criteria.getAccuracy() == accuracy && criteria.getPowerRequirement() == powerRequirement) {
H A DShadowLocationManager.java67 public void setProviderEnabled(String provider, boolean isEnabled, List<Criteria> criteria) { argument
73 providerEntry.criteria = criteria;
133 * Returns the best provider with respect to the passed criteria (if any) and its status. If no criteria are passed
138 * @param criteria
143 public String getBestProvider(Criteria criteria, boolean enabled) { argument
144 lastBestProviderCriteria = criteria;
147 if (criteria == null) {
151 return getBestProviderWithCriteria(criteria, enable
154 getBestProviderWithCriteria(Criteria criteria, boolean enabled) argument
224 requestLocationUpdates(long minTime, float minDistance, Criteria criteria, PendingIntent pendingIntent) argument
293 setBestProvider(String provider, boolean enabled, List<Criteria> criteria) argument
371 private List<Criteria> criteria; field in class:ShadowLocationManager.LocationProviderEntry
384 setValue(List<Criteria> criteria) argument
[all...]
/external/opencv/cv/src/
H A Dcvposit.cpp113 float focalLength, CvTermCriteria criteria,
119 float diff = (float)criteria.epsilon;
139 if( (criteria.type == 0) || (criteria.type > (CV_TERMCRIT_ITER | CV_TERMCRIT_EPS)))
141 if( (criteria.type & CV_TERMCRIT_EPS) && criteria.epsilon < 0 )
143 if( (criteria.type & CV_TERMCRIT_ITER) && criteria.max_iter <= 0 )
233 converged = ((criteria.type & CV_TERMCRIT_EPS) && (diff < criteria
112 icvPOSIT( CvPOSITObject *pObject, CvPoint2D32f *imagePoints, float focalLength, CvTermCriteria criteria, CvMatr32f rotation, CvVect32f translation ) argument
352 cvPOSIT( CvPOSITObject * pObject, CvPoint2D32f * imagePoints, double focalLength, CvTermCriteria criteria, CvMatr32f rotation, CvVect32f translation ) argument
[all...]
H A Dcvcamshift.cpp62 CvTermCriteria criteria, CvConnectedComp* comp )
91 CV_CALL( criteria = cvCheckTermCriteria( criteria, 1., 100 ));
93 eps = cvRound( criteria.epsilon * criteria.epsilon );
95 for( i = 0; i < criteria.max_iter; i++ )
153 // criteria - criteria of stop finding window
166 CvTermCriteria criteria,
190 CV_CALL( itersUsed = cvMeanShift( mat, windowIn, criteria,
61 cvMeanShift( const void* imgProb, CvRect windowIn, CvTermCriteria criteria, CvConnectedComp* comp ) argument
165 cvCamShift( const void* imgProb, CvRect windowIn, CvTermCriteria criteria, CvConnectedComp* _comp, CvBox2D* box ) argument
[all...]
H A Dcvcornersubpix.cpp46 CvTermCriteria criteria )
95 switch( criteria.type )
99 max_iters = criteria.max_iter;
102 eps = criteria.epsilon;
106 eps = criteria.epsilon;
107 max_iters = criteria.max_iter;
H A Dcvsnakes.cpp63 // criteria - termination criteria.
79 int coeffUsage, CvSize win, CvTermCriteria criteria, int scheme )
388 if( (criteria.type & CV_TERMCRIT_ITER) && (iteration >= criteria.max_iter) )
390 if( (criteria.type & CV_TERMCRIT_EPS) && (moved <= criteria.epsilon) )
413 CvTermCriteria criteria, int calcGradient )
433 alpha, beta, gamma, coeffUsage, win, criteria,
71 icvSnake8uC1R( unsigned char *src, int srcStep, CvSize roi, CvPoint * pt, int n, float *alpha, float *beta, float *gamma, int coeffUsage, CvSize win, CvTermCriteria criteria, int scheme ) argument
409 cvSnakeImage( const IplImage* src, CvPoint* points, int length, float *alpha, float *beta, float *gamma, int coeffUsage, CvSize win, CvTermCriteria criteria, int calcGradient ) argument
H A Dcvoptflowhs.cpp70 // criteria - criteria of termination processmaximum number of iterations
95 CvTermCriteria criteria )
378 if( criteria.type & CV_TERMCRIT_EPS )
404 if( criteria.type & CV_TERMCRIT_EPS )
434 if( criteria.type & CV_TERMCRIT_EPS )
459 if( (criteria.type & CV_TERMCRIT_ITER) && (iter == criteria.max_iter) )
461 if( (criteria.type & CV_TERMCRIT_EPS) && (Eps < criteria
[all...]
H A Dcvcontourtree.cpp673 // criteria - criteria for the definition threshold value
679 CvTermCriteria criteria )
709 criteria = cvCheckTermCriteria( criteria, 0., 100 );
716 log_iter = (char) (criteria.type == CV_TERMCRIT_ITER ||
717 (criteria.type == CV_TERMCRIT_ITER + CV_TERMCRIT_EPS));
718 log_eps = (char) (criteria.type == CV_TERMCRIT_EPS ||
719 (criteria.type == CV_TERMCRIT_ITER + CV_TERMCRIT_EPS));
752 threshold = criteria
[all...]
H A Dcvlkpyramid.cpp76 int level, CvTermCriteria * criteria,
107 switch( criteria->type )
110 criteria->epsilon = 0.f;
113 criteria->max_iter = max_iters;
119 CV_ERROR( CV_StsBadArg, "Invalid termination criteria" );
123 criteria->epsilon *= criteria->epsilon;
270 CvTermCriteria criteria, int flags )
370 level, &criteria, MAX_ITERS, flags,
406 winSize.width*2 + 1, level, criteria
74 icvInitPyramidalAlgorithm( const CvMat* imgA, const CvMat* imgB, CvMat* pyrA, CvMat* pyrB, int level, CvTermCriteria * criteria, int max_iters, int flags, uchar *** imgI, uchar *** imgJ, int **step, CvSize** size, double **scale, uchar ** buffer ) argument
264 cvCalcOpticalFlowPyrLK( const void* arrA, const void* arrB, void* pyrarrA, void* pyrarrB, const CvPoint2D32f * featuresA, CvPoint2D32f * featuresB, int count, CvSize winSize, int level, char *status, float *error, CvTermCriteria criteria, int flags ) argument
655 cvCalcAffineFlowPyrLK( const void* arrA, const void* arrB, void* pyrarrA, void* pyrarrB, const CvPoint2D32f * featuresA, CvPoint2D32f * featuresB, float *matrices, int count, CvSize winSize, int level, char *status, float *error, CvTermCriteria criteria, int flags ) argument
[all...]
H A Dcvcalibration.cpp57 criteria = cvTermCriteria(0,0,0);
107 criteria = criteria0;
108 if( criteria.type & CV_TERMCRIT_ITER )
109 criteria.max_iter = MIN(MAX(criteria.max_iter,1),1000);
111 criteria.max_iter = 30;
112 if( criteria.type & CV_TERMCRIT_EPS )
113 criteria.epsilon = MAX(criteria.epsilon, 0);
115 criteria
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.help_3.5.0.v20100524.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.help.base_3.5.2.v201011171123.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.apache.commons.codec_1.3.0.v20100518-1140.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/opencv/cv/include/
H A Dcv.hpp373 CvLevMarq( int nparams, int nerrs, CvTermCriteria criteria=
377 void init( int nparams, int nerrs, CvTermCriteria criteria=
399 CvTermCriteria criteria; member in struct:CvLevMarq
H A Dcv.h476 double lambda, CvTermCriteria criteria );
497 CvTermCriteria criteria,
510 CvTermCriteria criteria, int flags );
577 CvTermCriteria criteria, CvConnectedComp* comp,
583 CvTermCriteria criteria, CvConnectedComp* comp );
769 CvTermCriteria criteria );
922 CvTermCriteria criteria, int calc_gradient CV_DEFAULT(1));
1017 CvTermCriteria criteria );
1352 double focal_length, CvTermCriteria criteria,
/external/apache-http/src/org/apache/commons/codec/language/
H A DDoubleMetaphone.java941 * Shortcut method with 1 criteria
944 String criteria) {
946 new String[] { criteria });
950 * Shortcut method with 2 criteria
959 * Shortcut method with 3 criteria
969 * Shortcut method with 4 criteria
980 * Shortcut method with 5 criteria
992 * Shortcut method with 6 criteria
1004 * Determines whether <code>value</code> contains any of the criteria
1009 String[] criteria) {
943 contains(String value, int start, int length, String criteria) argument
1008 contains(String value, int start, int length, String[] criteria) argument
[all...]
/external/opencv/cvaux/src/
H A Dcvhmm1d.cpp329 CvTermCriteria criteria = cvTermCriteria( CV_TERMCRIT_EPS|CV_TERMCRIT_ITER,
407 obs_info_array[0]->obs_size, criteria, a_class[i] );
H A Dcvhmm.cpp387 CvTermCriteria criteria = cvTermCriteria( CV_TERMCRIT_EPS|CV_TERMCRIT_ITER, local
475 obs_info_array[0]->obs_size, criteria, a_class[i] );
/external/opencv/cxcore/src/
H A Dcxarray.cpp3654 cvCheckTermCriteria( CvTermCriteria criteria, double default_eps, argument
3667 if( (criteria.type & ~(CV_TERMCRIT_EPS | CV_TERMCRIT_ITER)) != 0 )
3669 "Unknown type of term criteria" );
3671 if( (criteria.type & CV_TERMCRIT_ITER) != 0 )
3673 if( criteria.max_iter <= 0 )
3676 crit.max_iter = criteria.max_iter;
3679 if( (criteria.type & CV_TERMCRIT_EPS) != 0 )
3681 if( criteria.epsilon < 0 )
3684 crit.epsilon = criteria.epsilon;
3687 if( (criteria
[all...]
/external/libvpx/libvpx/examples/includes/ASCIIMathPHP-2.0/
H A DASCIIMathPHP-2.0.class.php701 // Checking each node in node array for matrix criteria
/external/robolectric/lib/main/
H A Dcommons-codec-1.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/codec/ ...
/external/webkit/PerformanceTests/SunSpider/tests/parse-only/
H A Dprototype-1.6.0.3.js770 criteria: iterator.call(context, value, index)
773 var a = left.criteria, b = right.criteria;
2777 c = Selector.criteria, le, p, m;
3005 criteria: {
/external/opencv/ml/include/
H A Dml.h337 CvTermCriteria term_crit; // termination criteria
623 CvMat* labels, CvTermCriteria criteria,
1082 // Splitting criteria
1401 // termination criteria

Completed in 2687 milliseconds

12