/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
H A D | ThresholdingOutputStream.java | 27 * 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 D | DeferredFileOutputStream.java | 30 * 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/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
H A D | FileFilterUtils.java | 174 * @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/apps/Camera2/src/com/android/camera/app/ |
H A D | MemoryQuery.java | 43 public static final String KEY_THRESHOLD = "threshold"; 73 long threshold = memoryInfo.threshold / BYTES_IN_MEGABYTE; 117 outputData.put(KEY_THRESHOLD, new Long(threshold)); 122 "threshold=%d, lowMemory=%s", timestamp, availMem, totalMem, totalPSS, 124 threshold, lowMemory));
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
H A D | ContactMatcher.java | 37 // 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 D | ProximityInfo.java | 250 final int threshold = (int) (defaultWidth * SEARCH_DISTANCE); 251 final int thresholdSquared = threshold * threshold; 276 We want to select the cells which center falls between the top of the key minus the threshold, 277 and the bottom of the key plus the threshold. 278 topPixelWithinThreshold is key.mY - threshold, and bottomPixelWithinThreshold is 279 key.mY + key.mHeight + threshold. 293 v |---+---+--threshold--|-+---+---+---+---+---| | 296 | | | |***|**########------------------- key.mY | within the threshold. We align that on 332 final int topPixelWithinThreshold = keyY - threshold; [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | Suggest.java | 62 public void setAutoCorrectionThreshold(final float threshold) { argument 63 mAutoCorrectionThreshold = threshold;
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
H A D | db_feature_detection.cpp | 1424 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 D | db_feature_detection.cpp | 1424 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/VoiceDialer/src/com/android/voicedialer/ |
H A D | VoiceDialerActivity.java | 629 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 D | PhotoView.java | 1566 // exceeds the threshold, slide to the next / previous image. 1588 // Setting the move threshold proportional to the width of the view 1590 int threshold = moveThreshold + gapToSide(r.width(), viewW); 1593 if (viewW - r.right > threshold) { 1595 } else if (r.left > threshold) {
|
/packages/apps/Mms/src/com/android/mms/data/ |
H A D | WorkingMessage.java | 494 int threshold = MmsConfig.getSmsToMmsTextThreshold(); 495 setLengthRequiresMms(threshold > 0 && smsSegmentCount > threshold, false);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | ConversationItemView.java | 1454 final int threshold = (isRtl) ? mCoordinates.contactImagesX - sSenderImageTouchSlop : 1468 && ((isRtl) ? x > (threshold - extra) : x < (threshold + extra));
|
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | ComposeMessageActivity.java | 239 // Any change in height in the message list view greater than this threshold will not 590 int threshold = MmsConfig.getSmsToMmsTextThreshold(); 591 mWorkingMessage.setLengthRequiresMms(threshold > 0 && msgCount > threshold, true);
|
/packages/services/Telecomm/libs/ |
H A D | guava.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ... |