Home
last modified time | relevance | path

Searched refs:threshold (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/
DThresholdingOutputStream.java51 private int threshold; field in ThresholdingOutputStream
75 public ThresholdingOutputStream(int threshold) in ThresholdingOutputStream() argument
77 this.threshold = threshold; in ThresholdingOutputStream()
175 return threshold; in getThreshold()
199 return (written > threshold); in isThresholdExceeded()
218 if (!thresholdExceeded && (written + count > threshold)) in checkThreshold()
DDeferredFileOutputStream.java102 public DeferredFileOutputStream(int threshold, File outputFile) in DeferredFileOutputStream() argument
104 super(threshold); in DeferredFileOutputStream()
123 public DeferredFileOutputStream(int threshold, String prefix, String suffix, File directory) in DeferredFileOutputStream() argument
125 this(threshold, (File)null); in DeferredFileOutputStream()
/packages/apps/Dialer/java/com/android/incallui/
DInCallOrientationEventListener.java83 private static boolean isWithinThreshold(int value, int center, int threshold) { in isWithinThreshold() argument
84 return isWithinRange(value, center - threshold, center + threshold); in isWithinThreshold()
87 private static boolean isInLeftRange(int value, int center, int threshold) { in isInLeftRange() argument
88 return isWithinRange(value, center - threshold, center); in isInLeftRange()
91 private static boolean isInRightRange(int value, int center, int threshold) { in isInRightRange() argument
92 return isWithinRange(value, center, center + threshold); in isInRightRange()
DCallCardPresenter.java846 long threshold = in isBatteryTooLowForEmergencyLocation() local
853 "percent charged: " + batteryPercent + ", min required charge: " + threshold); in isBatteryTooLowForEmergencyLocation()
854 return batteryPercent < threshold; in isBatteryTooLowForEmergencyLocation()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DContactMatcher.java232 float threshold = emailBased in matchName() local
235 if (distance > threshold) { in matchName()
284 public List<Long> prepareSecondaryMatchCandidates(int threshold) { in prepareSecondaryMatchCandidates() argument
294 if (s >= threshold) { in prepareSecondaryMatchCandidates()
311 public long pickBestMatch(int threshold, boolean allowMultipleMatches) { in pickBestMatch() argument
329 if (s >= threshold) { in pickBestMatch()
347 public List<MatchScore> pickBestMatches(int threshold) { in pickBestMatches() argument
348 int scaledThreshold = threshold * MatchScore.SCORE_SCALE; in pickBestMatches()
DRawContactMatcher.java230 float threshold = emailBased in matchName() local
233 if (distance > threshold) { in matchName()
334 public List<MatchScore> pickBestMatches(int threshold) { in pickBestMatches() argument
335 int scaledThreshold = threshold * SCORE_SCALE; in pickBestMatches()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DProximityInfo.java248 final int threshold = (int) (defaultWidth * SEARCH_DISTANCE); in computeNearestNeighbors() local
249 final int thresholdSquared = threshold * threshold; in computeNearestNeighbors()
330 final int topPixelWithinThreshold = keyY - threshold; in computeNearestNeighbors()
335 final int yEnd = Math.min(lastPixelYCoordinate, keyY + key.getHeight() + threshold); in computeNearestNeighbors()
337 final int leftPixelWithinThreshold = keyX - threshold; in computeNearestNeighbors()
342 final int xEnd = Math.min(lastPixelXCoordinate, keyX + key.getWidth() + threshold); in computeNearestNeighbors()
/packages/apps/Launcher3/src/com/android/launcher3/
DPinchAnimationManager.java148 public void animateThreshold(float threshold, Workspace.State startState, in animateThreshold() argument
150 if (threshold == PinchThresholdManager.THRESHOLD_ONE) { in animateThreshold()
156 } else if (threshold == PinchThresholdManager.THRESHOLD_TWO) { in animateThreshold()
164 } else if (threshold == PinchThresholdManager.THRESHOLD_THREE) { in animateThreshold()
179 Log.e(TAG, "Received unknown threshold to animate: " + threshold); in animateThreshold()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
DFileFilterUtils.java252 public static IOFileFilter sizeFileFilter(long threshold) { in sizeFileFilter() argument
253 return new SizeFileFilter(threshold); in sizeFileFilter()
264 public static IOFileFilter sizeFileFilter(long threshold, boolean acceptLarger) { in sizeFileFilter() argument
265 return new SizeFileFilter(threshold, acceptLarger); in sizeFileFilter()
/packages/apps/Camera2/src/com/android/camera/app/
DMemoryQuery.java73 long threshold = memoryInfo.threshold / BYTES_IN_MEGABYTE; in queryMemory() local
117 outputData.put(KEY_THRESHOLD, new Long(threshold)); in queryMemory()
124 threshold, lowMemory)); in queryMemory()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessageTextStats.java63 final int threshold = mmsConfig.getSmsToMmsTextThreshold(); in updateMessageTextStats() local
64 mMessageLengthRequiresMms = threshold > 0 && mMessageCount > threshold; in updateMessageTextStats()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DAutoCorrectionUtils.java33 final String consideredWord, final float threshold) { in suggestionExceedsThreshold() argument
51 + "(" + threshold + ")"); in suggestionExceedsThreshold()
53 if (normalizedScore >= threshold) { in suggestionExceedsThreshold()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_feature_detection.cpp1424 …sFromChunk(float **strength,int left,int top,int right,int bottom,float threshold,double *x_temp,d… in db_CornersFromChunk() argument
1434 if(s>=threshold && in db_CornersFromChunk()
1498 float threshold,double *temp_d, in db_ExtractCornersSaturated() argument
1537 nr=db_CornersFromChunk(strength,x,y,last_x,last_y,threshold,x_temp,y_temp,s_temp); in db_ExtractCornersSaturated()
1541 else loc_thresh=threshold; in db_ExtractCornersSaturated()
1631 float max_val,threshold; in DetectCorners() local
1638 threshold= (float) db_maxd(m_a_thresh,max_val*m_r_thresh); in DetectCorners()
1640 else threshold= (float) m_a_thresh; in DetectCorners()
1642 …nersSaturated(m_strength,BORDER,BORDER,m_w-BORDER-1,m_h-BORDER-1,m_bw,m_bh,m_area_factor,threshold, in DetectCorners()
1730 float max_val,threshold; in DetectCorners() local
[all …]
/packages/apps/Dialer/java/com/android/incallui/answer/impl/hint/
DAnswerHintFactory.java97 long threshold = in shouldShowAnswerHint() local
103 threshold); in shouldShowAnswerHint()
104 return answeredCount < threshold; in shouldShowAnswerHint()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSuggest.java81 public void setAutoCorrectionThreshold(final float threshold) { in setAutoCorrectionThreshold() argument
82 mAutoCorrectionThreshold = threshold; in setAutoCorrectionThreshold()
90 public void setPlausibilityThreshold(final float threshold) { in setPlausibilityThreshold() argument
91 mPlausibilityThreshold = threshold; in setPlausibilityThreshold()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
DProximityEvaluator.java22 float threshold = 0.1f; in evaluate() local
23 if (value >= threshold) { in evaluate()
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
DMostRecentImageSaver.java96 private void closeOlderImages(long threshold, Map<Long, ? extends ImageProxy> imageMap) { in closeOlderImages() argument
99 if (imageTimestamp < threshold) { in closeOlderImages()
/packages/apps/TV/src/com/android/tv/
DTimeShiftManager.java420 long threshold = isActionEnabled(TIME_SHIFT_ACTION_ID_REWIND) in updateActions() local
423 - mPlayController.mRecordStartTimeMs > threshold; in updateActions()
427 threshold = isActionEnabled(TIME_SHIFT_ACTION_ID_FAST_FORWARD) in updateActions()
430 > threshold; in updateActions()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java1589 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/
DConversationItemView.java1454 final int threshold = (isRtl) ? mCoordinates.contactImagesX - sSenderImageTouchSlop : in isTouchInContactPhoto() local
1468 && ((isRtl) ? x > (threshold - extra) : x < (threshold + extra)); in isTouchInContactPhoto()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
DDoxyfile.in2186 # become too big to be useful. The UML_LIMIT_NUM_FIELDS threshold limits the
2188 # for no limit. Note that the threshold may be exceeded by 50% before the limit
2189 # is enforced. So when you set the threshold to 10, up to 15 fields may appear,
/packages/apps/Browser2/test/webexposed/
Dglobal-interface-listing-expected.txt922 getter threshold
/packages/apps/TV/res/raw/
Dthird_party_licenses3116 threshold for this to be true is not precisely defined by law.
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...

12