Searched refs:threshold (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
H A DIMediaContainerService.aidl30 PackageInfoLite getMinimalPackageInfo(in Uri fileUri, in int flags, in long threshold);
31 boolean checkInternalFreeStorage(in Uri fileUri, in long threshold);
/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/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/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/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/core/java/com/android/internal/widget/
H A DDrawableHolder.java128 final float threshold = 1.0f / 256.0f; // contribution less than 1 LSB of RGB byte
129 if (mAlpha <= threshold) // don't bother if it won't show up
/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/services/java/com/android/server/
H A DDeviceStorageMonitorService.java43 * than a tunable threshold value (a secure settings parameter;
54 * storage differential goes below a threshold (again a secure
169 // Read the reporting threshold from secure settings
170 long threshold = Settings.Secure.getLong(mContentResolver,
175 if (delta > threshold || delta < -threshold) {
266 * just query settings to retrieve the memory threshold.
281 //evaluate threshold value
286 * just query settings to retrieve the memory full threshold.
300 * Constructor to run service. initializes the disk space threshold valu
[all...]
H A DThrottleService.java431 // check for new policy info (threshold limit/value/etc)
445 long threshold = Settings.Secure.getLong(mContext.getContentResolver(),
450 mPolicyThreshold.set(threshold);
482 mPolicyPollPeriodSec + ", threshold=" + mPolicyThreshold.get() +
588 long threshold = mPolicyThreshold.get();
589 if (threshold == 0) {
602 if (currentTotal > threshold) {
605 if (DBG) Slog.d(TAG, "Threshold " + threshold + " exceeded!");
645 long warningThreshold = 2*threshold*timeUsed/(timeUsed+periodLength);
646 if ((currentTotal > warningThreshold) && (currentTotal > threshold/
[all...]
/frameworks/base/core/java/android/webkit/
H A DJniUtil.java190 long leftToAllocate = memInfo.availMem - memInfo.threshold;
/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.java1584 public void setThreshold(int threshold) { argument
1585 super.setThreshold(threshold);
1586 mThreshold = threshold;
1641 * We override this method so that we can allow a threshold of zero,
/frameworks/base/media/libstagefright/codecs/aacenc/src/
H A Dtns.c187 tC->threshold = TNS_GAIN_THRESH;
254 tC->threshold = TNS_GAIN_THRESH;
302 temp = predictionGain - tC.threshold;
320 temp = predictionGain - tC.threshold;
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...]
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A DImageProcessingActivity.java239 mScript = new ScriptC_threshold(mRS, getResources(), R.raw.threshold);
/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/services/java/com/android/server/net/
H A DNetworkStatsService.java365 * {@link INetworkManagementEventObserver} once a threshold amount of data
821 final long threshold = mSettings.getPersistThreshold();
856 final boolean networkOverThreshold = persistNetworkDevDelta > threshold
857 || persistNetworkXtDelta > threshold;
868 if (persistForce || (persistUid && persistUidDelta > threshold)) {
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java5076 outInfo.threshold = homeAppMem;

Completed in 489 milliseconds