Home
last modified time | relevance | path

Searched refs:guess (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/
DTimeUtilsTest.java43 TimeZone guess; in testMainstream() local
46 guess = guess(c, "us"); in testMainstream()
47 assertEquals(name, guess.getID()); in testMainstream()
50 guess = guess(c, "us"); in testMainstream()
51 assertEquals(name, guess.getID()); in testMainstream()
64 TimeZone guess; in testWeird() local
67 guess = guess(c, "us"); in testWeird()
68 assertEquals(name, guess.getID()); in testWeird()
80 TimeZone guess; in testOld() local
83 guess = guess(c, "us"); in testOld()
[all …]
/frameworks/base/core/java/android/util/
DSparseIntArray.java217 int high = start + len, low = start - 1, guess; in binarySearch() local
220 guess = (high + low) / 2; in binarySearch()
222 if (a[guess] < key) in binarySearch()
223 low = guess; in binarySearch()
225 high = guess; in binarySearch()
DSparseBooleanArray.java211 int high = start + len, low = start - 1, guess; in binarySearch() local
214 guess = (high + low) / 2; in binarySearch()
216 if (a[guess] < key) in binarySearch()
217 low = guess; in binarySearch()
219 high = guess; in binarySearch()
DLongSparseArray.java308 int high = start + len, low = start - 1, guess; in binarySearch() local
311 guess = (high + low) / 2; in binarySearch()
313 if (a[guess] < key) in binarySearch()
314 low = guess; in binarySearch()
316 high = guess; in binarySearch()
DSparseArray.java306 int high = start + len, low = start - 1, guess; in binarySearch() local
309 guess = (high + low) / 2; in binarySearch()
311 if (a[guess] < key) in binarySearch()
312 low = guess; in binarySearch()
314 high = guess; in binarySearch()
/frameworks/base/core/java/android/text/
DLayout.java666 int high = getLineCount(), low = -1, guess; in getLineForVertical() local
669 guess = (high + low) / 2; in getLineForVertical()
671 if (getLineTop(guess) > vertical) in getLineForVertical()
672 high = guess; in getLineForVertical()
674 low = guess; in getLineForVertical()
689 int high = getLineCount(), low = -1, guess; in getLineForOffset() local
692 guess = (high + low) / 2; in getLineForOffset()
694 if (getLineStart(guess) > offset) in getLineForOffset()
695 high = guess; in getLineForOffset()
697 low = guess; in getLineForOffset()
[all …]
DStaticLayout.java915 int high = end + 1, low = start - 1, guess; in getFit() local
918 guess = (high + low) / 2; in getFit()
921 text, start, guess, null, true, null) > wid) in getFit()
922 high = guess; in getFit()
924 low = guess; in getFit()
1173 int guess; in getLineForVertical() local
1176 guess = (high + low) >> 1; in getLineForVertical()
1177 if (lines[mColumns * guess + TOP] > vertical){ in getLineForVertical()
1178 high = guess; in getLineForVertical()
1180 low = guess; in getLineForVertical()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaServiceStateTracker.java1107 TimeZone guess = findTimeZone(offset, dst, when); in getNitzTimeZone() local
1108 if (guess == null) { in getNitzTimeZone()
1110 guess = findTimeZone(offset, !dst, when); in getNitzTimeZone()
1112 if (DBG) log("getNitzTimeZone returning " + (guess == null ? guess : guess.getID())); in getNitzTimeZone()
1113 return guess; in getNitzTimeZone()
1122 TimeZone guess = null; in findTimeZone() local
1128 guess = tz; in findTimeZone()
1133 return guess; in findTimeZone()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmServiceStateTracker.java995 TimeZone guess = findTimeZone(offset, dst, when); in getNitzTimeZone() local
996 if (guess == null) { in getNitzTimeZone()
998 guess = findTimeZone(offset, !dst, when); in getNitzTimeZone()
1002 + (guess == null ? guess : guess.getID())); in getNitzTimeZone()
1004 return guess; in getNitzTimeZone()
1013 TimeZone guess = null; in findTimeZone() local
1019 guess = tz; in findTimeZone()
1024 return guess; in findTimeZone()
/frameworks/base/docs/html/guide/topics/views/
Dui-xml.jd18 …respondence is often so direct that you can guess what XML attribute corresponds to a class method…
/frameworks/base/libs/surfaceflinger/
DSurfaceFlinger.cpp88 const sp<LayerBase>& key, size_t guess) const in indexOf()
90 if (guess<size() && lookup.keyAt(guess) == key) in indexOf()
91 return guess; in indexOf()
DSurfaceFlinger.h227 ssize_t indexOf(const sp<LayerBase>& key, size_t guess=0) const;
/frameworks/base/docs/html/guide/topics/ui/
Ddeclaring-layout.jd62 …respondence is often so direct that you can guess what XML attribute corresponds to a class method…