/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() argument 91 if (low > high) throw new IllegalArgumentException("low(" + low + ") > high(" + high + ")"); in constrain() 92 return amount < low ? low : (amount > high ? high : amount); in constrain() 98 public static long constrain(long amount, long low, long high) { in constrain() argument 99 if (low > high) throw new IllegalArgumentException("low(" + low + ") > high(" + high + ")"); in constrain() 100 return amount < low ? low : (amount > high ? high : amount); in constrain()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | NotificationUtils.java | 224 double high = lab[0]; in findContrastColorAgainstLightBackground() local 227 for (int i = 0; i < MAX_FIND_COLOR_STEPS && high - low > MIN_COLOR_CONTRAST; i++) { in findContrastColorAgainstLightBackground() 228 double l = (low + high) / 2; in findContrastColorAgainstLightBackground() 233 high = l; in findContrastColorAgainstLightBackground() 259 float high = MAX_LIGHTNESS; in findContrastColorAgainstDarkBackground() local 260 for (int i = 0; i < MAX_FIND_COLOR_STEPS && high - low > MIN_COLOR_CONTRAST; i++) { in findContrastColorAgainstDarkBackground() 261 float l = (low + high) / 2; in findContrastColorAgainstDarkBackground() 266 high = l; in findContrastColorAgainstDarkBackground()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | IconPalette.java | 135 double low = isBgDark ? fgL : 0, high = isBgDark ? 100 : fgL; in findContrastColor() 137 for (int i = 0; i < 15 && high - low > 0.00001; i++) { in findContrastColor() 138 final double l = (low + high) / 2; in findContrastColor() 141 if (isBgDark) high = l; else low = l; in findContrastColor() 143 if (isBgDark) low = l; else high = l; in findContrastColor()
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Delaunay.cpp | 77 int low, high; in build() local 80 high = hi; in build() 82 if ( low < (high-2) ) { in build() 85 maxx = sp[high]; in build() 87 spsorty( sp, low, high); in build() 92 (0.5 + ((double)(high-low+1) * ((double)lowrows / (double)rows))); in build() 94 build( split+1, high, &rdi, &rdo, (rows-lowrows) ); in build() 105 else if (low >= (high - 1)) { // two or one points in build() 106 a = makeEdge(sp[low], sp[high]); in build() 112 b = makeEdge(s2, (s3 = sp[high])); in build() [all …]
|
/packages/modules/Wifi/service/proto/src/ |
D | scorecard.proto | 200 // Number of connection attempts at high RSSI 202 // Number of connection failures at high RSSI 207 // Number of association rejections at high RSSI 209 // Number of association timeouts at high RSSI 211 // Number of authentication failures (excluding wrong password) at high RSSI 213 // Number of short connections caused by nonlocal disconnection at high RSSI 214 // or at high Tx speed with a recent RSSI poll 216 // Number of non-local disconnections after L3 connection at high RSSI 221 // Number of non-local disconnections during the connecting state at high RSSI
|
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/ |
D | AutoResizeTextView.java | 221 int high = maxSize; in binarySearchSizes() local 223 while (low <= high) { in binarySearchSizes() 224 sizeToTry = (low + high) / 2; in binarySearchSizes() 230 high = sizeToTry - 1; in binarySearchSizes() 231 bestSize = high; in binarySearchSizes()
|
/packages/services/Car/tools/cpu_perf/ |
D | pixel6.config | 20 cpuset:camera-daemon-high-group=0-7 26 cpuset:camera-daemon-mid-high-group=0-7 31 case:6high
|
D | 8155.config | 29 case:6high 41 case:3high
|
/packages/providers/MediaProvider/src/com/android/providers/media/playlist/ |
D | Playlist.java | 139 private static int constrain(int amount, int low, int high) { in constrain() argument 140 return amount < low ? low : (amount > high ? high : amount); in constrain()
|
/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() argument 205 return amount < low ? low : (amount > high ? high : amount); in constrain()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/msmt_e2e_tests/attribution_scope/ |
D | attribution_scope_information_gain.json | 9 // Rejected due to information gain too high. 46 // Rejected due to information gain too high.
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | IsoInterface.java | 131 final long high = (((long) readInt(fd)) << 32L) | (((long) readInt(fd)) & 0xffffffffL); in readUuid() local 133 return new UUID(high, low); in readUuid() 154 long high = readInt(fd); in parseNextBox() local 156 len = (high << 32L) | (low & 0xffffffffL); in parseNextBox()
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | DigitalAppWidgetProvider.kt | 434 var high = measure(template, template.largestClockFontSizePx, sizer) in <lambda>() variable 435 if (!high.hasViolations()) { in <lambda>() 436 return high in <lambda>() 446 while (low.clockFontSizePx != high.clockFontSizePx) { in <lambda>() 447 val midFontSize: Int = (low.clockFontSizePx + high.clockFontSizePx) / 2 in <lambda>() 453 high = midSize in <lambda>()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/ |
D | SignalsScriptEngine.java | 183 int high = Character.digit(highNibble, 16); in byteValue() local 184 Preconditions.checkArgument(high >= 0, "Invalid value for HEX string char"); in byteValue() 188 return (byte) (high << 4 | low); in byteValue()
|
/packages/modules/ExtServices/java/src/android/ext/services/notification/ |
D | NotificationEntry.java | 337 private int clamp(int x, int low, int high) { in clamp() argument 338 return (x < low) ? low : ((x > high) ? high : x); in clamp()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/utils/ |
D | StorageUtils.java | 417 long high = byteBuffer.getLong(); in convertBytesToUUID() local 419 return new UUID(high, low); in convertBytesToUUID() 520 long high = byteBuffer.getLong(); in bytesToUuids() local 522 uuidList.add(new UUID(high, low)); in bytesToUuids()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ScoringParams.java | 158 int high = Math.min(WifiInfo.MAX_RSSI, -1); // Stricter than Wifiinfo in validateRssiArray() local 160 validateRange(rssi[i], low, high); in validateRssiArray() 165 private void validateRange(int k, int low, int high) throws IllegalArgumentException { in validateRange() argument 166 if (k < low || k > high) { in validateRange()
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/ |
D | NfcRoutingTableParseTest.java | 255 int high = Character.digit(hex[i * 2], 16); in hexStrToByteArray() local 257 int value = (high << 4) | low; in hexStrToByteArray()
|
/packages/modules/Bluetooth/system/gd/rust/linux/docs/ |
D | style_guide.md | 29 * `mux` is a very common shortening of “multiplexer” and shows up high on 32 up high in search results and should be documented (not to be confused 90 high-level information about:
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiNetworkSelectionConfig.java | 180 int high = Math.min(WifiInfo.MAX_RSSI, -1); in isValidRssiThresholdArray() local 182 if (thresholds[i] <= low || thresholds[i] > high) { in isValidRssiThresholdArray()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollController.java | 241 final public void setValue(int index, int low, int high) { in setValue() argument 244 mHigh = high; in setValue() 245 mCenter = (low + high) / 2; in setValue()
|
/packages/services/Iwlan/flags/ |
D | main.aconfig | 25 description: "Reorder IKE and Child SA security transforms with high secured as prioritized"
|
/packages/modules/Virtualization/vmbase/ |
D | Android.bp | 7 // 0. rlibs may be used to provide high-level code (see "vmbase_rlib_defaults");
|
/packages/modules/Connectivity/framework/ |
D | jarjar-excludes.txt | 30 # ServiceConnectivityResources (callers need high permissions to find/query the resource apk anyway)
|
/packages/modules/GeoTZ/ |
D | README.md | 21 - A high-level API for performing time zone ID lookups for a location using
|