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

/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java270 private void assertEqualFuzzy(float expected, float actual, float threshold) { argument
271 boolean fuzzyEqual = actual >= expected - threshold && actual <= expected + threshold;
273 "> while accepting a variation of: <"+threshold+">", fuzzyEqual);
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java127 public PackageInfoLite getMinimalPackageInfo(final Uri fileUri, int flags, long threshold) {
162 archiveFilePath, flags, threshold);
168 public boolean checkInternalFreeStorage(Uri packageUri, long threshold)
172 return isUnderInternalThreshold(apkFile, threshold);
395 long threshold) {
460 fitsOnInternal = isUnderInternalThreshold(apkFile, threshold);
507 * Measure a file to see if it fits within the free space threshold.
510 * @param threshold byte threshold to compare against
511 * @return true if file fits under threshold
394 recommendAppInstallLocation(int installLocation, String archiveFilePath, int flags, long threshold) argument
514 isUnderInternalThreshold(File apkFile, long threshold) argument
[all...]
/frameworks/base/media/libstagefright/codecs/aacenc/inc/
H A Dtns.h71 Word16 threshold; /* min. prediction gain for using tns TABUL * 100 */ member in struct:__anon617
/frameworks/base/media/java/android/media/videoeditor/
H A DAudioTrack.java111 * @param threshold Ducking will be activated when the relative energy in
458 * @param threshold Ducking will be activated when the energy in
465 public void enableDucking(int threshold, int duckedTrackVolume) { argument
466 if (threshold < 0 || threshold > 90) {
467 throw new IllegalArgumentException("Invalid threshold value: " + threshold);
480 mDuckingThreshold = threshold;
495 * Get the ducking threshold.
497 * @return The ducking threshold
[all...]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_deblocking.c212 u8 (*threshold)[16],
220 u8 (*threshold)[8],
2178 u8 (*threshold)[16],
2191 ASSERT(threshold);
2219 threshold[i][0] = (t1) ? tc0[indexA][t1] : 0;
2221 threshold[i][1] = (t2) ? tc0[indexA][t2] : 0;
2223 threshold[i][2] = (t1) ? tc0[indexA][t1] : 0;
2225 threshold[i][3] = (t2) ? tc0[indexA][t2] : 0;
2227 threshold[i][4] = (t1) ? tc0[indexA][t1] : 0;
2229 threshold[
2174 GetLumaEdgeThresholds( mbStorage_t *mb, u8 (*alpha)[2], u8 (*beta)[2], u8 (*threshold)[16], u8 (*bs)[16], u32 filteringFlags ) argument
2304 GetChromaEdgeThresholds( mbStorage_t *mb, u8 (*alpha)[2], u8 (*beta)[2], u8 (*threshold)[8], u8 (*bs)[16], u32 filteringFlags, i32 chromaQpIndexOffset) argument
[all...]
/frameworks/base/core/java/android/app/
H A DActivityManager.java902 * The threshold of {@link #availMem} at which we consider memory to be
906 public long threshold; field in class:ActivityManager.MemoryInfo
932 dest.writeLong(threshold);
942 threshold = source.readLong();
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java54 * {@link #getThreshold() the threshold}.</p>
480 * <p>When <code>threshold</code> is less than or equals 0, a threshold of
483 * @param threshold the number of characters to type before the drop down
490 public void setThreshold(int threshold) { argument
491 if (threshold <= 0) {
492 threshold = 1;
495 mThreshold = threshold;
700 + " threshold=" + mThreshold);
H A DSearchView.java1585 public void setThreshold(int threshold) { argument
1586 super.setThreshold(threshold);
1587 mThreshold = threshold;
1642 * We override this method so that we can allow a threshold of zero,
/frameworks/base/media/libstagefright/codecs/aacenc/src/
H A Dadj_thr.c62 * description: loudness calculation (threshold to the power of redExp)
167 Word32 threshold; local
199 threshold = HOLE_THR_LONG;
201 threshold = HOLE_THR_SHORT;
225 tmpMinSnr = max(tmpMinSnr, threshold);
381 /* threshold reduction formula */
469 /* new threshold */
476 reduce threshold
484 increase threshold
1181 /* calc threshold necessar
[all...]

Completed in 5181 milliseconds