Searched refs:threshold (Results 1 - 13 of 13) sorted by relevance

/packages/apps/Email/src/org/apache/commons/io/output/
H A DThresholdingOutputStream.java27 * stream type when the threshold is exceeded.
33 * NOTE: This implementation may trigger the event <em>before</em> the threshold
35 * cause the threshold to be exceeded.
49 * The threshold at which the event will be triggered.
51 private int threshold; field in class:ThresholdingOutputStream
61 * Whether or not the configured threshold has been exceeded.
71 * specified threshold.
73 * @param threshold The number of bytes at which to trigger an event.
75 public ThresholdingOutputStream(int threshold) argument
77 this.threshold
[all...]
H A DDeferredFileOutputStream.java30 * threshold is reached, and only then commit it to disk. If the stream is
31 * closed before the threshold is reached, the data will not be written to
67 * The file to which output will be directed if the threshold is exceeded.
97 * specified threshold, and save data to a file beyond that point.
99 * @param threshold The number of bytes at which to trigger an event.
100 * @param outputFile The file to which data is saved beyond the threshold.
102 public DeferredFileOutputStream(int threshold, File outputFile) argument
104 super(threshold);
114 * specified threshold, and save data to a temporary file beyond that point.
116 * @param threshold Th
123 DeferredFileOutputStream(int threshold, String prefix, String suffix, File directory) argument
[all...]
/packages/apps/Email/src/org/apache/commons/io/filefilter/
H A DFileFilterUtils.java174 * @param cutoff the time threshold
185 * @param cutoff the time threshold
198 * @param cutoffDate the time threshold
209 * @param cutoffDate the time threshold
223 * time is usesd as the threshold age of the files
235 * time is usesd as the threshold age of the files
248 * @param threshold the file size threshold
252 public static IOFileFilter sizeFileFilter(long threshold) { argument
253 return new SizeFileFilter(threshold);
264 sizeFileFilter(long threshold, boolean acceptLarger) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
H A DContactMatcher.java37 // Suggest to aggregate contacts if their match score is equal or greater than this threshold
40 // Automatically aggregate contacts if their match score is equal or greater than this threshold
43 // Automatically aggregate contacts if the match score is equal or greater than this threshold
88 * between the strings is below the threshold.
320 float threshold = emailBased
323 if (distance > threshold) {
372 public List<Long> prepareSecondaryMatchCandidates(int threshold) { argument
382 if (s >= threshold) {
394 * Returns the contactId with the best match score over the specified threshold or -1
399 public long pickBestMatch(int threshold, boolea argument
435 pickBestMatches(int threshold) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DProximityInfo.java195 final int threshold = thresholdBase * thresholdBase;
207 if (key.squaredDistanceToEdge(centerX, centerY) < threshold) {
/packages/apps/Camera/jni/feature_stab/db_vlvm/
H A Ddb_feature_detection.cpp1424 inline int db_CornersFromChunk(float **strength,int left,int top,int right,int bottom,float threshold,double *x_temp,double *y_temp,double *s_temp) argument
1434 if(s>=threshold &&
1498 float threshold,double *temp_d,
1537 nr=db_CornersFromChunk(strength,x,y,last_x,last_y,threshold,x_temp,y_temp,s_temp);
1541 else loc_thresh=threshold;
1631 float max_val,threshold; local
1638 threshold= (float) db_maxd(m_a_thresh,max_val*m_r_thresh);
1640 else threshold= (float) m_a_thresh;
1642 db_ExtractCornersSaturated(m_strength,BORDER,BORDER,m_w-BORDER-1,m_h-BORDER-1,m_bw,m_bh,m_area_factor,threshold,
1730 float max_val,threshold; local
1496 db_ExtractCornersSaturated(float **strength,int left,int top,int right,int bottom, int bw,int bh,unsigned long area_factor, float threshold,double *temp_d, double *x_coord,double *y_coord,int *nr_corners) argument
[all...]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_feature_detection.cpp1424 inline int db_CornersFromChunk(float **strength,int left,int top,int right,int bottom,float threshold,double *x_temp,double *y_temp,double *s_temp) argument
1434 if(s>=threshold &&
1498 float threshold,double *temp_d,
1537 nr=db_CornersFromChunk(strength,x,y,last_x,last_y,threshold,x_temp,y_temp,s_temp);
1541 else loc_thresh=threshold;
1631 float max_val,threshold; local
1638 threshold= (float) db_maxd(m_a_thresh,max_val*m_r_thresh);
1640 else threshold= (float) m_a_thresh;
1642 db_ExtractCornersSaturated(m_strength,BORDER,BORDER,m_w-BORDER-1,m_h-BORDER-1,m_bw,m_bh,m_area_factor,threshold,
1730 float max_val,threshold; local
1496 db_ExtractCornersSaturated(float **strength,int left,int top,int right,int bottom, int bw,int bh,unsigned long area_factor, float threshold,double *temp_d, double *x_coord,double *y_coord,int *nr_corners) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DSuggest.java159 public void setAutoCorrectionThreshold(float threshold) { argument
160 mAutoCorrectionThreshold = threshold;
/packages/apps/VoiceDialer/src/com/android/voicedialer/
H A DVoiceDialerActivity.java629 private static final int THRESHOLD = 8; // absolute pseudo energy threshold
650 int threshold = THRESHOLD*sampleCount; // absolute energy threshold
678 if (energy > threshold && energy > (prevE * 2) && prevE != 0) {
679 // rising edge if energy doubled and > abs threshold
685 if (energy < threshold || energy < (prevE / 2)){
700 if (energy < threshold || energy < (peak / 2)) {
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPhotoView.java1541 // exceeds the threshold, slide to the next / previous image.
1563 // Setting the move threshold proportional to the width of the view
1565 int threshold = moveThreshold + gapToSide(r.width(), viewW);
1568 if (viewW - r.right > threshold) {
1570 } else if (r.left > threshold) {
/packages/apps/Mms/src/com/android/mms/data/
H A DWorkingMessage.java494 int threshold = MmsConfig.getSmsToMmsTextThreshold();
495 setLengthRequiresMms(threshold > 0 && smsSegmentCount > threshold, false);
/packages/apps/Mms/src/com/android/mms/ui/
H A DComposeMessageActivity.java238 // Any change in height in the message list view greater than this threshold will not
585 int threshold = MmsConfig.getSmsToMmsTextThreshold();
586 mWorkingMessage.setLengthRequiresMms(threshold > 0 && msgCount > threshold, true);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DWorkspace.java1186 float threshold = 0.08f;
1194 return Math.min(r / threshold, 1.0f);

Completed in 836 milliseconds