Home
last modified time | relevance | path

Searched refs:low (Results 1 – 25 of 31) 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/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()
DDigitalAppWidgetProvider.kt436 var low = measure(template, template.smallestClockFontSizePx, sizer) in <lambda>() variable
437 if (low.hasViolations()) { in <lambda>()
438 return low in <lambda>()
442 while (low.clockFontSizePx != high.clockFontSizePx) { in <lambda>()
443 val midFontSize: Int = (low.clockFontSizePx + high.clockFontSizePx) / 2 in <lambda>()
444 if (midFontSize == low.clockFontSizePx) { in <lambda>()
445 return low in <lambda>()
451 low = midSize in <lambda>()
455 return low in <lambda>()
/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/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/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/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/crop/
DCropView.java264 int low = (mout << times) & mask; in bitCycleLeft() local
266 ret |= low; in bitCycleLeft()
/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/Car/libs/car-messenger-common/proto/
Dnotification_msg.proto183 // Sender's low-resolution thumbnail
/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.gz
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...

12