/packages/modules/NeuralNetworks/runtime/test/fuzzing/operation_signatures/ |
D | OperationSignatureUtils.h | 104 inline T getUniformValue(int valueProperties, T low, T up, T zeroPoint) { 107 low = std::max(low, zeroPoint); 110 return getUniformNonZero(low, up, zeroPoint); 112 return getUniform(low, up); 121 inline void uniform(T low, T up, T zeroPoint, RandomOperand* op) { 125 data[i] = getUniformValue<T>(op->valueProperties, low, up, zeroPoint); 379 #define PARAMETER_VEC_RANGE(opType, len, low, up) \ 383 PARAMETER_FILL_BUFFER_HELPER(opType, len, getUniform, low, up); \ 388 #define PARAMETER_RANGE(opType, low, up) PARAMETER_VEC_RANGE(opType, 1, low, up) 393 #define PARAMETER_FLOAT_RANGE(low, up) \ [all …]
|
D | BoundingBox.cpp | 79 T low = getUniform<T>(0, maxW); in fillRoiTensor() local 80 op->value<T>(i * 4) = low; in fillRoiTensor() 81 op->value<T>(i * 4 + 2) = getUniform<T>(low, maxW); in fillRoiTensor() 82 low = getUniform<T>(0, maxH); in fillRoiTensor() 83 op->value<T>(i * 4 + 1) = low; in fillRoiTensor() 84 op->value<T>(i * 4 + 3) = getUniform<T>(low, maxH); in fillRoiTensor()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | NotificationUtils.java | 206 double low = MIN_LIGHTNESS; in findContrastColorAgainstLightBackground() local 210 for (int i = 0; i < MAX_FIND_COLOR_STEPS && high - low > MIN_COLOR_CONTRAST; i++) { in findContrastColorAgainstLightBackground() 211 double l = (low + high) / 2; in findContrastColorAgainstLightBackground() 214 low = l; in findContrastColorAgainstLightBackground() 219 return ColorUtils.LABToColor(low, a, b); in findContrastColorAgainstLightBackground() 241 float low = hsl[2]; in findContrastColorAgainstDarkBackground() local 243 for (int i = 0; i < MAX_FIND_COLOR_STEPS && high - low > MIN_COLOR_CONTRAST; i++) { in findContrastColorAgainstDarkBackground() 244 float l = (low + high) / 2; in findContrastColorAgainstDarkBackground() 251 low = l; in findContrastColorAgainstDarkBackground()
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Delaunay.cpp | 77 int low, high; in build() local 79 low = lo; in build() 82 if ( low < (high-2) ) { in build() 84 minx = sp[low]; in build() 87 spsorty( sp, low, high); in build() 91 split = low - 1 + (int) in build() 92 (0.5 + ((double)(high-low+1) * ((double)lowrows / (double)rows))); in build() 93 build( low, split, &ldo, &ldi, lowrows ); in build() 105 else if (low >= (high - 1)) { // two or one points in build() 106 a = makeEdge(sp[low], sp[high]); in build() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | IconPalette.java | 137 double low = isBgDark ? fgL : 0, high = isBgDark ? 100 : fgL; in findContrastColor() 139 for (int i = 0; i < 15 && high - low > 0.00001; i++) { in findContrastColor() 140 final double l = (low + high) / 2; in findContrastColor() 143 if (isBgDark) high = l; else low = l; in findContrastColor() 145 if (isBgDark) low = l; else high = l; in findContrastColor() 148 return ColorUtils.LABToColor(low, a, b); in findContrastColor()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/ |
D | TemperatureColorStore.java | 177 int low = 0; in binarySearch() local 180 while (low <= high) { in binarySearch() 181 int mid = (low + high) >>> 1; in binarySearch() 185 low = mid + 1; // Neither val is NaN, thisVal is smaller in binarySearch() 194 low = mid + 1; in binarySearch() 200 return -(low + 1); // key not found. in binarySearch()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ScoringParams.java | 133 int low = WifiInfo.MIN_RSSI; in validateRssiArray() local 136 validateRange(rssi[i], low, high); in validateRssiArray() 137 low = rssi[i]; in validateRssiArray() 141 private void validateRange(int k, int low, int high) throws IllegalArgumentException { in validateRange() argument 142 if (k < low || k > high) { in validateRange() 148 int low = 0; in validateOrderedNonNegativeArray() local 150 if (a[i] < low) { in validateOrderedNonNegativeArray() 153 low = a[i]; in validateOrderedNonNegativeArray()
|
D | WifiScoreCard.java | 2495 long low = bucket.getLow(); in merge() local 2497 if (low != (int) low || count != (int) count || count < 0) { in merge() 2502 intHistogram.add((int) low, (int) count); in merge()
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | DigitalAppWidgetProvider.kt | 440 var low = measure(template, template.smallestClockFontSizePx, sizer) in <lambda>() variable 441 if (low.hasViolations()) { in <lambda>() 442 return low in <lambda>() 446 while (low.clockFontSizePx != high.clockFontSizePx) { in <lambda>() 447 val midFontSize: Int = (low.clockFontSizePx + high.clockFontSizePx) / 2 in <lambda>() 448 if (midFontSize == low.clockFontSizePx) { in <lambda>() 449 return low in <lambda>() 455 low = midSize in <lambda>() 459 return low in <lambda>()
|
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/ |
D | AutoResizeTextView.java | 220 int low = minSize + 1; in binarySearchSizes() local 223 while (low <= high) { in binarySearchSizes() 224 sizeToTry = (low + high) / 2; in binarySearchSizes() 227 bestSize = low; in binarySearchSizes() 228 low = sizeToTry + 1; in binarySearchSizes()
|
/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/providers/MediaProvider/src/com/android/providers/media/util/ |
D | IsoInterface.java | 131 final long low = (((long) readInt(fd)) << 32L) | (((long) readInt(fd)) & 0xffffffffL); in readUuid() local 132 return new UUID(high, low); in readUuid() 154 long low = readInt(fd); in parseNextBox() local 155 len = (high << 32L) | (low & 0xffffffffL); in parseNextBox()
|
/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/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
D | biginteger.h | 251 uint64_t low = _umul128(a, b, outHigh) + k; in MulAdd64() local 252 if (low < k) in MulAdd64() 254 return low; in MulAdd64()
|
/packages/modules/Wifi/apex/ |
D | Android.bp | 98 max_target_o_low_priority: ["hiddenapi/hiddenapi-max-target-o-low-priority.txt"], 99 max_target_r_low_priority: ["hiddenapi/hiddenapi-max-target-r-low-priority.txt"],
|
/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 243 mLow = low; in setValue() 245 mCenter = (low + high) / 2; in setValue()
|
D | ScrollAdapterView.java | 2297 int low = Integer.MAX_VALUE; 2333 if (viewLow < low) { 2334 low = viewLow; 2340 int maxHigh = low + maxSize; 2343 int viewStart = low; 2462 low = maxHigh + mSpace;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageCrop.java | 206 int low = (mout << times) & mask; in bitCycleLeft() local 208 ret |= low; in bitCycleLeft()
|
D | GeometryMathUtils.java | 98 public static float clamp(float i, float low, float high) { in clamp() argument 99 return Math.max(Math.min(i, high), low); in clamp()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropView.java | 264 int low = (mout << times) & mask; in bitCycleLeft() local 266 ret |= low; in bitCycleLeft()
|
/packages/providers/MediaProvider/apex/ |
D | Android.bp | 65 max_target_o_low_priority: ["hiddenapi/hiddenapi-max-target-o-low-priority.txt"],
|
/packages/modules/NeuralNetworks/tools/test_generator/ |
D | test_generator.py | 929 self.low = ActivationConverter.actMap[self.act][1] 946 if self.low is not None: 947 low = Quantize(self.low, op.type) 948 v = np.maximum(v, low)
|
/packages/modules/Connectivity/Tethering/apex/ |
D | Android.bp | 95 max_target_o_low_priority: ["hiddenapi/hiddenapi-max-target-o-low-priority.txt"],
|
/packages/modules/StatsD/apex/ |
D | Android.bp | 125 max_target_o_low_priority: ["hiddenapi/hiddenapi-max-target-o-low-priority.txt"],
|
/packages/modules/RuntimeI18n/apex/ |
D | Android.bp | 93 "hiddenapi/hiddenapi-max-target-o-low-priority.txt",
|