/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | CriteriaTest.java | 17 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...] |
/external/chromium_org/components/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/ |
H A D | CriteriaHelper.java | 12 * Helper methods for creating and managing criteria. 14 * If possible, use callbacks or testing delegates instead of criteria as they 20 /** The default maximum time to wait for a criteria to become valid. */ 25 * criteria. 31 * either the criteria is satisfied, or the specified maxTimeoutMs number of 34 * @param criteria The Criteria that will be checked. 38 * @return true iff checking has ended with the criteria being satisfied. 41 public static boolean pollForCriteria(Criteria criteria, long maxTimeoutMs, argument 43 boolean isSatisfied = criteria.isSatisfied(); 48 isSatisfied = criteria 62 pollForCriteria(Criteria criteria) argument 74 runUntilCriteria(Runnable runnable, Criteria criteria, int maxAttempts, long maxTimeoutMs, long checkIntervalMs) argument [all...] |
/external/chromium_org/components/cronet/android/test/javatests/src/org/chromium/cronet_test_apk/ |
H A D | CriteriaHelper.java | 12 * Helper methods for creating and managing criteria. 14 * If possible, use callbacks or testing delegates instead of criteria as they 20 /** The default maximum time to wait for a criteria to become valid. */ 25 * criteria. 31 * either the criteria is satisfied, or the specified maxTimeoutMs number of 34 * @param criteria The Criteria that will be checked. 38 * @return true iff checking has ended with the criteria being satisfied. 41 public static boolean pollForCriteria(Criteria criteria, long maxTimeoutMs, argument 43 boolean isSatisfied = criteria.isSatisfied(); 48 isSatisfied = criteria 62 pollForCriteria(Criteria criteria) argument 74 runUntilCriteria(Runnable runnable, Criteria criteria, int maxAttempts, long maxTimeoutMs, long checkIntervalMs) argument [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowCriteria.java | 17 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 D | ShadowLocationManager.java | 67 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/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/ |
H A D | CallbackHelper.java | 201 * Blocks until the criteria is satisfied or throws an exception 206 public void waitUntilCriteria(Criteria criteria, long timeout, TimeUnit unit) argument 210 boolean isSatisfied = criteria.isSatisfied(); 214 isSatisfied = criteria.isSatisfied(); 220 public void waitUntilCriteria(Criteria criteria) argument 222 waitUntilCriteria(criteria, WAIT_TIMEOUT_SECONDS, TimeUnit.SECONDS);
|
H A D | CriteriaHelper.java | 16 * Helper methods for creating and managing criteria. 19 * If possible, use callbacks or testing delegates instead of criteria as they 25 /** The default maximum time to wait for a criteria to become valid. */ 27 /** The default polling interval to wait between checking for a satisfied criteria. */ 32 * the criteria is satisfied, or the specified maxTimeoutMs number of ms has elapsed. 33 * @param criteria The Criteria that will be checked. 37 * @return true iff checking has ended with the criteria being satisfied. 40 public static boolean pollForCriteria(Criteria criteria, long maxTimeoutMs, argument 42 boolean isSatisfied = criteria.isSatisfied(); 46 isSatisfied = criteria 59 pollForCriteria(Criteria criteria) argument 71 pollForUIThreadCriteria(final Criteria criteria) argument 93 runUntilCriteria(Runnable runnable, Criteria criteria, int maxAttempts, long maxTimeoutMs, long checkIntervalMs) argument [all...] |
/external/opencv/cv/src/ |
H A D | cvcamshift.cpp | 62 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 D | cvposit.cpp | 113 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 D | cvsnakes.cpp | 63 // 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 D | cvlkpyramid.cpp | 76 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...] |
/external/apache-http/src/org/apache/commons/codec/language/ |
H A D | DoubleMetaphone.java | 946 * Shortcut method with 1 criteria 949 String criteria) { 951 new String[] { criteria }); 955 * Shortcut method with 2 criteria 964 * Shortcut method with 3 criteria 974 * Shortcut method with 4 criteria 985 * Shortcut method with 5 criteria 997 * Shortcut method with 6 criteria 1009 * Determines whether <code>value</code> contains any of the criteria 1014 String[] criteria) { 948 contains(String value, int start, int length, String criteria) argument 1013 contains(String value, int start, int length, String[] criteria) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/egl/main/ |
H A D | eglconfig.c | 126 /* criteria */ 422 * Return true if a config matches the criteria. This and 430 _eglMatchConfig(const _EGLConfig *conf, const _EGLConfig *criteria) argument 441 cmp = _eglGetConfigKey(criteria, attr); 474 "the value (0x%x) of attribute 0x%04x did not meet the criteria (0x%x)", 500 * Initialize a criteria config from the given attribute list. 561 * Decide the ordering of conf1 and conf2, under the given criteria. 575 const _EGLConfig *criteria, EGLBoolean compare_id) 604 if (criteria) { 607 if (criteria 574 _eglCompareConfigs(const _EGLConfig *conf1, const _EGLConfig *conf2, const _EGLConfig *criteria, EGLBoolean compare_id) argument 779 _EGLConfig criteria; local [all...] |
/external/deqp/modules/egl/ |
H A D | teglChooseConfigReference.cpp | 60 Criteria criteria; member in struct:deqp::egl::AttribRule 66 , criteria (CRITERIA_LAST) 74 , criteria (criteria_) 314 switch (rule.criteria) 319 default: TCU_FAIL("Unknown criteria");
|
/external/mesa3d/src/egl/main/ |
H A D | eglconfig.c | 126 /* criteria */ 422 * Return true if a config matches the criteria. This and 430 _eglMatchConfig(const _EGLConfig *conf, const _EGLConfig *criteria) argument 441 cmp = _eglGetConfigKey(criteria, attr); 474 "the value (0x%x) of attribute 0x%04x did not meet the criteria (0x%x)", 500 * Initialize a criteria config from the given attribute list. 561 * Decide the ordering of conf1 and conf2, under the given criteria. 575 const _EGLConfig *criteria, EGLBoolean compare_id) 604 if (criteria) { 607 if (criteria 574 _eglCompareConfigs(const _EGLConfig *conf1, const _EGLConfig *conf2, const _EGLConfig *criteria, EGLBoolean compare_id) argument 779 _EGLConfig criteria; local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | org.eclipse.help_3.5.0.v20100524.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
H A D | org.apache.commons.codec_1.3.0.v20100518-1140.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
H A D | org.eclipse.help.base_3.5.2.v201011171123.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/ |
H A D | egl_g3d_api.c | 90 _EGLConfig criteria; member in struct:egl_g3d_choose_config_data 100 const _EGLConfig *criteria = &data->criteria;; local 103 return _eglCompareConfigs(conf1, conf2, criteria, EGL_TRUE); 117 return _eglMatchConfig(conf, &data->criteria); 126 if (!_eglParseConfigAttribList(&data.criteria, dpy, attribs)) 130 if (data.criteria.MatchNativePixmap != EGL_NONE && 131 data.criteria.MatchNativePixmap != EGL_DONT_CARE) { 135 (EGLNativePixmapType) data.criteria.MatchNativePixmap,
|
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
H A D | egl_g3d_api.c | 90 _EGLConfig criteria; member in struct:egl_g3d_choose_config_data 100 const _EGLConfig *criteria = &data->criteria;; local 103 return _eglCompareConfigs(conf1, conf2, criteria, EGL_TRUE); 117 return _eglMatchConfig(conf, &data->criteria); 126 if (!_eglParseConfigAttribList(&data.criteria, dpy, attribs)) 130 if (data.criteria.MatchNativePixmap != EGL_NONE && 131 data.criteria.MatchNativePixmap != EGL_DONT_CARE) { 135 (EGLNativePixmapType) data.criteria.MatchNativePixmap,
|
/external/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/ |
H A D | egl_dri2.c | 101 dri2_match_config(const _EGLConfig *conf, const _EGLConfig *criteria) argument 103 if (_eglCompareConfigs(conf, criteria, NULL, EGL_FALSE) != 0) 106 if (!_eglMatchConfig(conf, criteria))
|
/external/mesa3d/src/egl/drivers/dri2/ |
H A D | egl_dri2.c | 101 dri2_match_config(const _EGLConfig *conf, const _EGLConfig *criteria) argument 103 if (_eglCompareConfigs(conf, criteria, NULL, EGL_FALSE) != 0) 106 if (!_eglMatchConfig(conf, criteria))
|
/external/opencv/cv/include/ |
H A D | cv.hpp | 373 CvLevMarq( int nparams, int nerrs, CvTermCriteria criteria= 377 void init( int nparams, int nerrs, CvTermCriteria criteria= 399 CvTermCriteria criteria; member in struct:CvLevMarq
|
/external/opencv/cvaux/src/ |
H A D | cvhmm.cpp | 387 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 D | cxarray.cpp | 3654 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...] |