Home
last modified time | relevance | path

Searched refs:high (Results 1 – 25 of 63) sorted by relevance

123

/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkStatsUtils.java90 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/
DNotificationUtils.java224 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/
DIconPalette.java135 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/
DDelaunay.cpp77 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/
Dscorecard.proto200 // 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/
DAutoResizeTextView.java221 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/
Dpixel6.config20 cpuset:camera-daemon-high-group=0-7
26 cpuset:camera-daemon-mid-high-group=0-7
31 case:6high
D8155.config29 case:6high
41 case:3high
/packages/providers/MediaProvider/src/com/android/providers/media/playlist/
DPlaylist.java139 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/
DBrightnessUtils.java204 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/
Dattribution_scope_information_gain.json9 // Rejected due to information gain too high.
46 // Rejected due to information gain too high.
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DIsoInterface.java131 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/
DDigitalAppWidgetProvider.kt434 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/
DSignalsScriptEngine.java183 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/
DNotificationEntry.java337 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/
DStorageUtils.java417 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/
DScoringParams.java158 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/
DNfcRoutingTableParseTest.java255 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/
Dstyle_guide.md29 * `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/
DWifiNetworkSelectionConfig.java180 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/
DScrollController.java241 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/
Dmain.aconfig25 description: "Reorder IKE and Child SA security transforms with high secured as prioritized"
/packages/modules/Virtualization/vmbase/
DAndroid.bp7 // 0. rlibs may be used to provide high-level code (see "vmbase_rlib_defaults");
/packages/modules/Connectivity/framework/
Djarjar-excludes.txt30 # ServiceConnectivityResources (callers need high permissions to find/query the resource apk anyway)
/packages/modules/GeoTZ/
DREADME.md21 - A high-level API for performing time zone ID lookups for a location using

123