Home
last modified time | relevance | path

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

12

/packages/apps/Car/Notification/src/com/android/car/notification/template/
DNotificationColorUtil.java79 double high = lab[0]; 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()
88 high = l; in findContrastColorAgainstLightBackground()
114 float high = MAX_LIGHTNESS; 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()
121 high = l; in findContrastColorAgainstDarkBackground()
/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()
234 high = guess; in binarySearch()
237 if (high == start + len) in binarySearch()
239 else if (a[high] == key) in binarySearch()
240 return high; in binarySearch()
242 return ~high; in binarySearch()
/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/apps/UnifiedEmail/src/org/apache/commons/io/
DEndianUtils.java189 long high = data[ offset + 3 ] & 0xff; in readSwappedUnsignedInteger() local
191 return (high << 24) + (0xffffffffL & low); in readSwappedUnsignedInteger()
225 long high = in readSwappedLong() local
230 return (high << 32) + (0xffffffffL & low); in readSwappedLong()
378 long high = value4 & 0xff; in readSwappedUnsignedInteger() local
380 return (high << 24) + (0xffffffffL & low); in readSwappedUnsignedInteger()
/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()
/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/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.java317 Sizes high = measure(template, template.getLargestClockFontSizePx(), sizer); in optimizeSizes() local
318 if (!high.hasViolations()) { in optimizeSizes()
319 return high; in optimizeSizes()
329 while (low.getClockFontSizePx() != high.getClockFontSizePx()) { in optimizeSizes()
330 final int midFontSize = (low.getClockFontSizePx() + high.getClockFontSizePx()) / 2; in optimizeSizes()
337 high = midSize; in optimizeSizes()
/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.java128 final long high = (((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
244 mHigh = high; in setValue()
245 mCenter = (low + high) / 2; in setValue()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
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/Test/connectivity/sl4n/rapidjson/doc/
Dfaq.md269 5. What is the purpose of being high performance?
271 …Some server-side applications need to process huge amount of JSONs. Being high performance can imp…
/packages/apps/Dialer/java/com/android/dialer/logging/
Ddialer_impression.proto531 // notifications is very high and the system may suppress future
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz
Dro_wordlist.combined.gz
Dit_wordlist.combined.gz
Dnl_wordlist.combined.gz
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...
Dhr_wordlist.combined.gz1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...

12