/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | NetworkStatsUtilsTest.kt | 66 NetworkStatsUtils.constrain(5, 6, 3) // low > high in testConstrain() 68 assertEquals(3, NetworkStatsUtils.constrain(5, 1, 3)) in testConstrain() 69 assertEquals(3, NetworkStatsUtils.constrain(3, 1, 3)) in testConstrain() 70 assertEquals(2, NetworkStatsUtils.constrain(2, 1, 3)) in testConstrain() 71 assertEquals(1, NetworkStatsUtils.constrain(1, 1, 3)) in testConstrain() 72 assertEquals(1, NetworkStatsUtils.constrain(0, 1, 3)) in testConstrain() 74 assertEquals(11, NetworkStatsUtils.constrain(15, 11, 11)) in testConstrain() 75 assertEquals(11, NetworkStatsUtils.constrain(11, 11, 11)) in testConstrain() 76 assertEquals(11, NetworkStatsUtils.constrain(1, 11, 11)) in testConstrain()
|
/packages/providers/MediaProvider/src/com/android/providers/media/playlist/ |
D | Playlist.java | 84 index = constrain(index, 0, size); in add() 97 from = constrain(from, 0, size - 1); in move() 98 to = constrain(to, 0, size - 1); in move() 111 index = constrain(index, 0, size - 1); in remove() 139 private static int constrain(int amount, int low, int high) { in constrain() method in Playlist
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | PlaybackProgressBar.java | 101 start = constrain(start, 0, mMax); in setProgressRange() 102 end = constrain(end, start, mMax); in setProgressRange() 103 mProgress = constrain(mProgress, start, end); in setProgressRange() 113 progress = constrain(progress, mProgressStart, mProgressEnd); in setProgress() 120 private long constrain(long value, long min, long max) { in constrain() method in PlaybackProgressBar
|
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | NetworkStatsUtils.java | 90 public static int constrain(int amount, int low, int high) { in constrain() method in NetworkStatsUtils 98 public static long constrain(long amount, long low, long high) { in constrain() method in NetworkStatsUtils
|
/packages/services/Car/service/src/com/android/car/util/ |
D | BrightnessUtils.java | 204 public static float constrain(float amount, float low, float high) { in constrain() method in BrightnessUtils.MathUtils 233 return constrain(value, 0.0f, 1.0f); in saturate()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | ChartSweepView.java | 495 final float clampedTargetY = MathUtils.constrain( in onTouchEvent() 504 final float clampedTargetX = MathUtils.constrain( in onTouchEvent()
|
/packages/modules/Connectivity/framework-t/src/android/net/ |
D | NetworkStatsHistory.java | 456 return NetworkStatsUtils.constrain(index, 0, bucketCount - 1); in getIndexBefore() 471 return NetworkStatsUtils.constrain(index, 0, bucketCount - 1); in getIndexAfter()
|
D | NetworkStatsCollection.java | 271 final int bucketEstimate = (int) NetworkStatsUtils.constrain( in getHistory()
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | NetworkStatsRecorder.java | 149 mPersistThresholdBytes = NetworkStatsUtils.constrain( in setPersistThreshold()
|
D | NetworkStatsService.java | 2032 mPersistThreshold = NetworkStatsUtils.constrain(thresholdBytes,
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadThread.java | 812 retryAfter = MathUtils.constrain(retryAfter, Constants.MIN_RETRY_AFTER, in parseUnavailableHeaders()
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_GB_wordlist.combined.gz |
|
D | en_US_wordlist.combined.gz |
|
D | en_wordlist.combined.gz |
|