/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | VelocityTest.java | 268 private void assertEqualFuzzy(float expected, float actual, float threshold) { argument 269 boolean fuzzyEqual = actual >= expected - threshold && actual <= expected + threshold; 271 "> while accepting a variation of: <"+threshold+">", fuzzyEqual);
|
/frameworks/base/libs/common_time/ |
H A D | common_time_config_service.cpp | 92 status_t CommonTimeConfigService::getPanicThreshold(int *threshold) { argument 93 return mTimeServer.getPanicThreshold(threshold); 96 status_t CommonTimeConfigService::setPanicThreshold(int threshold) { argument 97 return mTimeServer.setPanicThreshold(threshold);
|
H A D | common_time_server_api.cpp | 223 status_t CommonTimeServer::getPanicThreshold(int *threshold) { argument 225 *threshold = mPanicThresholdUsec; 229 status_t CommonTimeServer::setPanicThreshold(int threshold) { argument 232 if (threshold < 1000) // Min threshold is 1mSec 235 mPanicThresholdUsec = threshold;
|
/frameworks/av/media/common_time/ |
H A D | ICommonTimeConfig.cpp | 246 virtual status_t getPanicThreshold(int *threshold) { argument 255 *threshold = reply.readInt32(); 262 virtual status_t setPanicThreshold(int threshold) { argument 265 data.writeInt32(threshold); 462 int threshold; local 463 status_t status = getPanicThreshold(&threshold); 466 reply->writeInt32(threshold); 473 int threshold = data.readInt32(); local 474 status_t status = setPanicThreshold(threshold);
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
H A D | tns.h | 71 Word16 threshold; /* min. prediction gain for using tns TABUL * 100 */ member in struct:__anon339
|
/frameworks/base/core/java/android/os/ |
H A D | CommonTimeConfig.java | 284 * Gets the panic threshold for the estimated error level of the common time service. When the 288 * @return The threshold (in microseconds) past which the common time service will panic. 298 * Sets the panic threshold for the estimated error level of the common time service. When the 302 * @param threshold The threshold (in microseconds) past which the common time service will 307 public int setPanicThreshold(int threshold) { argument 310 return mUtils.transactSetInt(METHOD_SET_PANIC_THRESHOLD, threshold);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_deblocking.c | 212 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/native/cmds/flatland/ |
H A D | Main.cpp | 616 const double threshold = .0025; local 675 } while (fabs(result - prevResult) > threshold * result);
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | PlaylistFetcher.cpp | 533 // the remaining time is too short (within a resume threshold) stop immediately 562 // Don't resume if we would stop within a resume threshold. 1327 // arbitrary; here we use targetDurationUs as threshold. 1692 int64_t durationUs, threshold; local
|
/frameworks/base/core/java/android/widget/ |
H A D | AutoCompleteTextView.java | 53 * {@link #getThreshold() the threshold}.</p> 500 * <p>When <code>threshold</code> is less than or equals 0, a threshold of 503 * @param threshold the number of characters to type before the drop down 510 public void setThreshold(int threshold) { argument 511 if (threshold <= 0) { 512 threshold = 1; 515 mThreshold = threshold; 737 + " threshold=" + mThreshold);
|
H A D | SearchView.java | 1732 public void setThreshold(int threshold) { argument 1733 super.setThreshold(threshold); 1734 mThreshold = threshold; 1789 * We override this method so that we can allow a threshold of zero,
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiWatchdogStateMachine.java | 59 * the instant packet loss is higher than a threshold, the WiFi watchdog sends a 111 * WiFi link statistics is monitored and recorded actively below this threshold. 113 * Larger threshold is more adaptive but increases sampling cost. 170 * Good threshold must be smaller than poor threshold. 171 * Use smaller poor threshold to avoid WiFi more aggressively. 172 * Use smaller good threshold to bring back WiFi more conservatively. 175 * 50% loss threshold is a good balance between accuracy and reponsiveness. 176 * <=10% good threshold is a safe value to avoid jumping back to WiFi too easily. 189 * A smaller threshold improve 1171 findRssiTarget(int from, int to, double threshold) argument [all...] |
/frameworks/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.cpp | 2217 SLpermille threshold) { 2223 ap->mAPlayer->setBufferingUpdateThreshold(threshold / 10); 2216 android_audioPlayer_setBufferingUpdateThresholdPerMille(CAudioPlayer *ap, SLpermille threshold) argument
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | adj_thr.c | 66 * description: loudness calculation (threshold to the power of redExp) 171 Word32 threshold; local 203 threshold = HOLE_THR_LONG; 205 threshold = HOLE_THR_SHORT; 229 tmpMinSnr = max(tmpMinSnr, threshold); 385 /* threshold reduction formula */ 473 /* new threshold */ 480 reduce threshold 488 increase threshold 1186 /* calc threshold necessar [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SearchView.java | 1632 public void setThreshold(int threshold) { argument 1633 super.setThreshold(threshold); 1634 mThreshold = threshold; 1689 * We override this method so that we can allow a threshold of zero,
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityManager.java | 1619 * The threshold of {@link #availMem} at which we consider memory to be 1623 public long threshold; field in class:ActivityManager.MemoryInfo 1650 dest.writeLong(threshold); 1661 threshold = source.readLong();
|
/frameworks/webview/chromium/tests/prebuilts/ |
H A D | android-janktesthelper.jar | ... void setFrameTimeTarget (double) double value
public void setPauseThreshold (int) int threshold
public boolean dumpFrameLatency (java.lang.String) String windowName ... |