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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DAutoCorrectionUtils.java33 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/Camera2/src/com/android/camera/one/v2/imagesaver/
H A DMostRecentImageSaver.java96 private void closeOlderImages(long threshold, Map<Long, ? extends ImageProxy> imageMap) { argument
99 if (imageTimestamp < threshold) {
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/
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...]
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...]
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
H A DInCallOrientationEventListener.java50 * 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
144 * within threshold to identify zones where orientation change should not be trigerred.
167 private static boolean isWithinThreshold(int value, int center, int threshold) { argument
168 return isWithinRange(value, center - threshold, center + threshold);
171 private static boolean isInLeftRange(int value, int center, int threshold) { argument
172 return isWithinRange(value, center - threshold, center);
175 private static boolean isInRightRange(int value, int center, int threshold) { argument
176 return isWithinRange(value, center, center + threshold);
[all...]
/packages/apps/UnifiedEmail/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/apps/Launcher3/src/com/android/launcher3/
H A DPinchAnimationManager.java35 * - At some threshold 1, hotseat and QSB fade out (full animation)
36 * - At a later threshold 2, panel buttons fade in and scrim fades in
37 * - At a final threshold 3, snap to overview
41 * - At threshold 1, panel buttons fade out
42 * - At threshold 2, hotseat and QSB fade in and scrim fades out
43 * - At threshold 3, snap to workspace
136 * Animates certain properties based on which threshold was passed, and in what direction. The
139 * @param threshold One of {@link PinchThresholdManager#THRESHOLD_ONE},
146 public void animateThreshold(float threshold, Workspace.State startState, argument
148 if (threshold
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DSuggest.java77 * 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/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
H A DContactMatcher.java34 // 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 DRawContactMatcher.java33 // 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/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/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...
/packages/services/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ...

Completed in 479 milliseconds