Home
last modified time | relevance | path

Searched refs:low (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/Car/Notification/src/com/android/car/notification/template/
DNotificationColorUtil.java78 double low = MIN_LIGHTNESS; in findContrastColorAgainstLightBackground() local
82 for (int i = 0; i < MAX_FIND_COLOR_STEPS && high - low > MIN_COLOR_CONTRAST; i++) { in findContrastColorAgainstLightBackground()
83 double l = (low + high) / 2; in findContrastColorAgainstLightBackground()
86 low = l; in findContrastColorAgainstLightBackground()
91 return ColorUtils.LABToColor(low, a, b); in findContrastColorAgainstLightBackground()
113 float low = hsl[2]; in findContrastColorAgainstDarkBackground() local
115 for (int i = 0; i < MAX_FIND_COLOR_STEPS && high - low > MIN_COLOR_CONTRAST; i++) { in findContrastColorAgainstDarkBackground()
116 float l = (low + high) / 2; in findContrastColorAgainstDarkBackground()
123 low = l; in findContrastColorAgainstDarkBackground()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DDelaunay.cpp77 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/
DIconPalette.java137 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/UnifiedEmail/src/org/apache/commons/io/
DEndianUtils.java185 long low = ( ( ( data[ offset + 0 ] & 0xff ) << 0 ) + in readSwappedUnsignedInteger() local
191 return (high << 24) + (0xffffffffL & low); in readSwappedUnsignedInteger()
220 long low = in readSwappedLong() local
230 return (high << 32) + (0xffffffffL & low); in readSwappedLong()
374 long low = ( ( ( value1 & 0xff ) << 0 ) + in readSwappedUnsignedInteger() local
380 return (high << 24) + (0xffffffffL & low); in readSwappedUnsignedInteger()
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.java323 Sizes low = measure(template, template.getSmallestClockFontSizePx(), sizer); in optimizeSizes() local
324 if (low.hasViolations()) { in optimizeSizes()
325 return low; in optimizeSizes()
329 while (low.getClockFontSizePx() != high.getClockFontSizePx()) { in optimizeSizes()
330 final int midFontSize = (low.getClockFontSizePx() + high.getClockFontSizePx()) / 2; in optimizeSizes()
331 if (midFontSize == low.getClockFontSizePx()) { in optimizeSizes()
332 return low; in optimizeSizes()
339 low = midSize; in optimizeSizes()
343 return low; in optimizeSizes()
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/
DAutoResizeTextView.java220 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/apps/UnifiedEmail/src/com/android/mail/utils/
DSparseLongArray.java226 int high = start + len, low = start - 1, guess; in binarySearch() local
228 while (high - low > 1) { in binarySearch()
229 guess = (high + low) / 2; in binarySearch()
232 low = guess; in binarySearch()
/packages/modules/ExtServices/src/android/ext/services/notification/
DNotificationEntry.java346 private int clamp(int x, int low, int high) { in clamp() argument
347 return (x < low) ? low : ((x > high) ? high : x); in clamp()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Dbiginteger.h251 uint64_t low = _umul128(a, b, outHigh) + k; in MulAdd64() local
252 if (low < k) in MulAdd64()
254 return low; in MulAdd64()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/
DQuotedPrintableInputStream.java183 byte low = asciiCharToNumericValue(b); in fillBuffer()
185 byteq.enqueue((byte)((msd << 4) | low)); in fillBuffer()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DIsoInterface.java129 final long low = (((long) readInt(fd)) << 32L) | ((long) readInt(fd)) & 0xffffffffL; in readUuid() local
130 return new UUID(high, low); in readUuid()
/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
243 mLow = low; in setValue()
245 mCenter = (low + high) / 2; in setValue()
DScrollAdapterView.java2297 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/
DImageCrop.java206 int low = (mout << times) & mask; in bitCycleLeft() local
208 ret |= low; in bitCycleLeft()
DGeometryMathUtils.java98 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/
DCropView.java264 int low = (mout << times) & mask; in bitCycleLeft() local
266 ret |= low; in bitCycleLeft()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dfaq.md255 …ance. These may reduce user-friendliness of APIs. Besides, it also employs low-level optimizations…
/packages/inputmethods/LatinIME/dictionaries/
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Dnl_wordlist.combined.gz
Den_wordlist.combined.gz
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...
Dit_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...

12