/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
H A D | ProximityEvaluator.java | 22 float threshold = 0.1f; 23 if (value >= threshold) {
|
/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/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/Dialer/java/com/android/incallui/ |
H A D | InCallOrientationEventListener.java | 60 * our threshold is x degrees. We will only notify UI when our current rotation is within x 66 // Rotation threshold is 10 degrees. So if the rotation angle is within 10 degrees of any of 83 private static boolean isWithinThreshold(int value, int center, int threshold) { argument 84 return isWithinRange(value, center - threshold, center + threshold); 87 private static boolean isInLeftRange(int value, int center, int threshold) { argument 88 return isWithinRange(value, center - threshold, center); 91 private static boolean isInRightRange(int value, int center, int threshold) { argument 92 return isWithinRange(value, center, center + threshold); 175 * within threshold t [all...] |
H A D | CallCardPresenter.java | 846 long threshold = 853 "percent charged: " + batteryPercent + ", min required charge: " + threshold); 854 return batteryPercent < threshold;
|
/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/Dialer/java/com/android/incallui/answer/impl/hint/ |
H A D | AnswerHintFactory.java | 97 long threshold = 101 "answerCount: %d, threshold: %d", 103 threshold); 104 return answeredCount < threshold;
|
/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/apps/Launcher3/src/com/android/launcher3/ |
H A D | PinchAnimationManager.java | 39 * - At some threshold 1, hotseat and QSB fade out (full animation) 40 * - At a later threshold 2, panel buttons fade in and scrim fades in 41 * - At a final threshold 3, snap to overview 45 * - At threshold 1, panel buttons fade out 46 * - At threshold 2, hotseat and QSB fade in and scrim fades out 47 * - At threshold 3, snap to workspace 138 * Animates certain properties based on which threshold was passed, and in what direction. The 141 * @param threshold One of {@link PinchThresholdManager#THRESHOLD_ONE}, 148 public void animateThreshold(float threshold, Workspace.State startState, argument 150 if (threshold [all...] |
/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. 420 long threshold = isActionEnabled(TIME_SHIFT_ACTION_ID_REWIND) 423 - mPlayController.mRecordStartTimeMs > threshold; 427 threshold = isActionEnabled(TIME_SHIFT_ACTION_ID_FAST_FORWARD) 430 > 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/ ... |