/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/Dialer/InCallUI/src/com/android/incallui/ |
H A D | InCallOrientationEventListener.java | 50 * Say for e.g our threshold is x degrees. We will only notify UI when our current rotation is 56 // Rotation threshold is 10 degrees. So if the rotation angle is within 10 degrees of any of 117 * within threshold to identify zones where orientation change should not be trigerred. 140 private static boolean isWithinThreshold(int value, int center, int threshold) { argument 141 return isWithinRange(value, center - threshold, center + threshold); 144 private static boolean isInLeftRange(int value, int center, int threshold) { argument 145 return isWithinRange(value, center - threshold, center); 148 private static boolean isInRightRange(int value, int center, int threshold) { argument 149 return isWithinRange(value, center, center + threshold); [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
H A D | MessageTextStats.java | 63 final int threshold = mmsConfig.getSmsToMmsTextThreshold(); 64 mMessageLengthRequiresMms = threshold > 0 && mMessageCount > threshold; 79 * we know we should count threshold in double-byte, so divide the threshold by 2. 80 * In this way, we will count Korean text correctly with regard to the length threshold.
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | AutoCorrectionUtils.java | 33 final String consideredWord, final float threshold) { 51 + "(" + threshold + ")"); 53 if (normalizedScore >= threshold) { 55 Log.d(TAG, "Exceeds threshold."); 32 suggestionExceedsThreshold(final SuggestedWordInfo suggestion, final String consideredWord, final float threshold) argument
|
/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/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
H A D | ContactMatcher.java | 34 // Suggest to aggregate contacts if their match score is equal or greater than this threshold 37 // Automatically aggregate contacts if their match score is equal or greater than this threshold 40 // Automatically aggregate contacts if the match score is equal or greater than this threshold 82 * between the strings is below the threshold. 232 float threshold = emailBased 235 if (distance > threshold) { 284 public List<Long> prepareSecondaryMatchCandidates(int threshold) { argument 294 if (s >= threshold) { 306 * Returns the contactId with the best match score over the specified threshold or -1 311 public long pickBestMatch(int threshold, boolea argument 347 pickBestMatches(int threshold) argument [all...] |
H A D | RawContactMatcher.java | 33 // Suggest to aggregate contacts if their match score is equal or greater than this threshold 38 // Automatically aggregate contacts if their match score is equal or greater than this threshold 41 // Automatically aggregate contacts if the match score is equal or greater than this threshold 86 * between the strings is below the threshold. 230 float threshold = emailBased 233 if (distance > threshold) { 307 * Returns the list of raw contact Ids with the match score over threshold. 334 public List<MatchScore> pickBestMatches(int threshold) { argument 335 int scaledThreshold = threshold * SCORE_SCALE;
|
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | ProximityInfo.java | 248 final int threshold = (int) (defaultWidth * SEARCH_DISTANCE); 249 final int thresholdSquared = threshold * threshold; 274 We want to select the cells which center falls between the top of the key minus the threshold, 275 and the bottom of the key plus the threshold. 276 topPixelWithinThreshold is key.mY - threshold, and bottomPixelWithinThreshold is 277 key.mY + key.mHeight + threshold. 291 v |---+---+--threshold--|-+---+---+---+---+---| | 294 | | | |***|**########------------------- key.mY | within the threshold. We align that on 330 final int topPixelWithinThreshold = keyY - threshold; [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/ |
H A D | MostRecentImageSaver.java | 96 private void closeOlderImages(long threshold, Map<Long, ? extends ImageProxy> imageMap) { argument 99 if (imageTimestamp < threshold) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | Suggest.java | 77 * Set the normalized-score threshold for a suggestion to be considered strong enough that we 79 * @param threshold the threshold 81 public void setAutoCorrectionThreshold(final float threshold) { argument 82 mAutoCorrectionThreshold = threshold; 86 * Set the normalized-score threshold for what we consider a "plausible" suggestion, in 87 * the same dimension as the auto-correction threshold. 88 * @param threshold the threshold 90 public void setPlausibilityThreshold(final float threshold) { 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/TV/src/com/android/tv/ |
H A D | TimeShiftManager.java | 117 * this threshold from the program start time, the play position moves to the start of the 136 * Enable threshold and disable threshold must be different because the current position 144 * So the boundary threshold is necessary. 427 long threshold = isActionEnabled(TIME_SHIFT_ACTION_ID_REWIND) 430 - mPlayController.mRecordStartTimeMs > threshold; 434 threshold = isActionEnabled(TIME_SHIFT_ACTION_ID_FAST_FORWARD) 437 > threshold;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | PhotoView.java | 1565 // exceeds the threshold, slide to the next / previous image. 1587 // Setting the move threshold proportional to the width of the view 1589 int threshold = moveThreshold + gapToSide(r.width(), viewW); 1592 if (viewW - r.right > threshold) { 1594 } else if (r.left > threshold) {
|
/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/Messaging/build/gcheckstyle/ |
H A D | google-style-checker_deploy.jar | META-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ... |
/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/ ... |