Home
last modified time | relevance | path

Searched refs:upper (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/core/java/android/util/
DRange.java54 public Range(final T lower, final T upper) { in Range() argument
56 mUpper = checkNotNull(upper, "upper must not be null"); in Range()
58 if (lower.compareTo(upper) > 0) { in Range()
77 public static <T extends Comparable<? super T>> Range<T> create(final T lower, final T upper) { in create() argument
78 return new Range<T>(lower, upper); in create()
236 public Range<T> intersect(T lower, T upper) { in intersect() argument
238 checkNotNull(upper, "upper must not be null"); in intersect()
241 int cmpUpper = upper.compareTo(mUpper); in intersect()
249 cmpUpper >= 0 ? mUpper : upper); in intersect()
304 public Range<T> extend(T lower, T upper) { in extend() argument
[all …]
/frameworks/base/core/java/com/android/internal/util/
DPreconditions.java170 public static float checkArgumentInRange(float value, float lower, float upper, in checkArgumentInRange() argument
177 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper)); in checkArgumentInRange()
178 } else if (value > upper) { in checkArgumentInRange()
181 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper)); in checkArgumentInRange()
199 public static int checkArgumentInRange(int value, int lower, int upper, in checkArgumentInRange() argument
204 "%s is out of range of [%d, %d] (too low)", valueName, lower, upper)); in checkArgumentInRange()
205 } else if (value > upper) { in checkArgumentInRange()
208 "%s is out of range of [%d, %d] (too high)", valueName, lower, upper)); in checkArgumentInRange()
306 public static float[] checkArrayElementsInRange(float[] value, float lower, float upper, in checkArrayElementsInRange() argument
318 valueName, i, lower, upper)); in checkArrayElementsInRange()
[all …]
/frameworks/base/core/tests/coretests/src/android/database/
DNewDatabasePerformanceTests.java193 int upper = (i + 10) * 100; in setUp() local
194 where[i] = "b >= " + lower + " AND b < " + upper; in setUp()
270 int upper = (i + 10) * 100; in setUp() local
271 where[i] = "b >= " + lower + " AND b < " + upper; in setUp()
434 int upper = (i + 10) * 100; in setUp() local
437 + " AND t2.b < " + upper + ")"; in setUp()
738 int upper = (i + 10) * 100; in setUp() local
739 where[i] = "b >= " + lower + " AND b < " + upper; in setUp()
775 int upper = (i + 10) * 100; in setUp() local
776 where[i] = "b >= " + lower + " AND b < " + upper; in setUp()
[all …]
DDatabasePerformanceTests.java286 int upper = (i + 10) * 100; in setUp() local
287 where[i] = "b >= " + lower + " AND b < " + upper; in setUp()
365 int upper = (i + 10) * 100; in setUp() local
366 where[i] = "b >= " + lower + " AND b < " + upper; in setUp()
533 int upper = (i + 10) * 100; in setUp() local
536 + " AND t2.b < " + upper + ")"; in setUp()
852 int upper = (i + 10) * 100; in setUp() local
853 where[i] = "b >= " + lower + " AND b < " + upper; in setUp()
890 int upper = (i + 10) * 100; in setUp() local
891 where[i] = "b >= " + lower + " AND b < " + upper; in setUp()
[all …]
/frameworks/rs/cpu_ref/linkloader/utils/
Dhelper.cpp33 size_t upper = (end & (~0xfUL)) ? end : ((end + 16UL) & (~0xfUL)); in dump_hex() local
35 for (size_t i = lower; i < upper; i += 16) { in dump_hex()
/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp183 Range(uint32_t lower, uint32_t upper) : _l(lower), _u(upper) {} in Range() argument
185 uint32_t upper(void) { return _u; } in upper() function in Range
218 Rational& lower, Rational& upper);
1121 Rational lower, upper, selected; in scHScale() local
1132 lower, upper); in scHScale()
1133 if (((lower == best) && (upper == minBad))) { in scHScale()
1138 selected = (lower != best) ? lower : upper; in scHScale()
1220 Rational lower, upper, selected; in scVScale() local
1231 lower, upper); in scVScale()
1232 if (((lower == best) && (upper == minBad))) { in scVScale()
[all …]
/frameworks/base/media/mca/
Dstructgen.py89 upper = [c.title() for c in lower]
90 return "".join(lower[:start_upper_at] + upper[start_upper_at:])
96 return "%s_%s" % (pname.replace(".", "_").upper(), cname.upper())
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableRange.java87 T upper = mNestedTypeMarshaler.unmarshal(buffer); in unmarshal() local
90 return mConstructor.newInstance(lower, upper); in unmarshal()
/frameworks/base/obex/javax/obex/
DObexHelper.java904 int upper = b[2 * i]; in convertToUnicode() local
906 if (upper < 0) { in convertToUnicode()
907 upper += 256; in convertToUnicode()
914 if (upper == 0 && lower == 0) { in convertToUnicode()
918 c[i] = (char)((upper << 8) | lower); in convertToUnicode()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java1308 private ArrayList<Integer> getVisibleWindow(int lower, int upper, int count) { in getVisibleWindow() argument
1312 if ((lower == 0 && upper == 0) || lower < 0 || upper < 0) { in getVisibleWindow()
1316 if (lower <= upper) { in getVisibleWindow()
1317 for (int i = lower; i <= upper; i++){ in getVisibleWindow()
1326 for (int i = 0; i <= upper; i++) { in getVisibleWindow()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
DomxVCM4P2_DecodePadMV_PVOP_s.s47 ; * macroblocks specially at the upper side of the current macroblock
50 ; * macroblocks specially at the upper-right side of the current macroblock
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
DomxVCM4P2_DecodePadMV_PVOP_s.s47 ; * macroblocks specially at the upper side of the current macroblock
50 ; * macroblocks specially at the upper-right side of the current macroblock
/frameworks/native/opengl/libs/GLES_trace/tools/
Dgenapi.py49 return self.name.upper()
/frameworks/base/docs/html/samples/
Dindex.jd49 click the <strong>Download</strong> link in the upper right of the source page.</p>
/frameworks/opt/net/ims/
DREADME.txt35 It provides the functionalities for the upper layer of IMS APIs.
/frameworks/base/docs/html/tools/testing/
Dtesting_eclipse.jd476 The test results appear in the JUnit view. This is divided into an upper summary pane,
480 The upper pane contains test information. In the pane's header, you see the following
505 The body of the upper pane contains the details of the test run. For each test case class
523 The lower pane is for stack traces. If you highlight a failed test in the upper pane, the
/frameworks/base/docs/html/guide/topics/graphics/
Dview-animation.jd81 <p>Screen coordinates (not used in this example) are (0,0) at the upper left hand corner, and
/frameworks/compile/mclinker/lib/Target/ARM/
DARMRelocator.cpp278 uint32_t upper = (s << 8) | (j2 << 7) | (j1 << 6) | (pUpper16 & 0x003fU); in helper_thumb32_cond_branch_offset() local
279 return helper_sign_extend((upper << 12) | (lower << 1), 21); in helper_thumb32_cond_branch_offset()
/frameworks/base/docs/html/guide/topics/manifest/
Dmanifest-element.jd114 upper 16 bits. Or you could simply increase the number by one each time a new
/frameworks/base/docs/html/tools/help/
DMonkeyImage.jd317 position of the upper left-hand corner of the selection. w specifies the width of the
/frameworks/base/docs/html/google/backup/
Dterms.jd85 acknowledge and agree that Google may set a fixed upper limit on the number of
89 abide by any such fixed upper limits.</p>
Dsignup.jd56upper limit on the number of backup transmissions you may send or receive through the Service or o…
/frameworks/native/opengl/tools/glgen2/registry/
Dreg.py492 tdecl += '(' + self.genOpts.apientryp + 'PFN' + text.upper() + 'PROC' + tail + ')'
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dicon_design_status_bar.jd501 image on a transparent background. Mind the safeframe, and keep the upper and
/frameworks/base/docs/html/training/location/
Dreceive-location-updates.jd141 to set an upper limit to the update rate.

12