Home
last modified time | relevance | path

Searched refs:lower (Results 1 – 25 of 134) sorted by relevance

123456

/frameworks/base/core/java/android/util/
DRange.java54 public Range(final T lower, final T upper) { in Range() argument
55 mLower = checkNotNull(lower, "lower 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
237 checkNotNull(lower, "lower must not be null"); in intersect()
240 int cmpLower = lower.compareTo(mLower); in intersect()
248 cmpLower <= 0 ? mLower : lower, 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
174 } else if (value < lower) { in checkArgumentInRange()
177 "%s is out of range of [%f, %f] (too low)", valueName, lower, 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
201 if (value < lower) { in checkArgumentInRange()
204 "%s is out of range of [%d, %d] (too low)", valueName, lower, 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
315 } else if (v < lower) { in checkArrayElementsInRange()
[all …]
/frameworks/base/core/tests/coretests/src/android/database/
DNewDatabasePerformanceTests.java192 int lower = i * 100; in setUp() local
194 where[i] = "b >= " + lower + " AND b < " + upper; in setUp()
269 int lower = i * 100; in setUp() local
271 where[i] = "b >= " + lower + " AND b < " + upper; in setUp()
433 int lower = i * 100; in setUp() local
436 "t1.b IN (SELECT t2.b FROM t2 WHERE t2.b >= " + lower in setUp()
737 int lower = i * 100; in setUp() local
739 where[i] = "b >= " + lower + " AND b < " + upper; in setUp()
774 int lower = i * 100; in setUp() local
776 where[i] = "b >= " + lower + " AND b < " + upper; in setUp()
[all …]
DDatabasePerformanceTests.java285 int lower = i * 100; in setUp() local
287 where[i] = "b >= " + lower + " AND b < " + upper; in setUp()
364 int lower = i * 100; in setUp() local
366 where[i] = "b >= " + lower + " AND b < " + upper; in setUp()
532 int lower = i * 100; in setUp() local
535 "t1.b IN (SELECT t2.b FROM t2 WHERE t2.b >= " + lower in setUp()
851 int lower = i * 100; in setUp() local
853 where[i] = "b >= " + lower + " AND b < " + upper; in setUp()
889 int lower = i * 100; in setUp() local
891 where[i] = "b >= " + lower + " AND b < " + upper; in setUp()
[all …]
/frameworks/rs/cpu_ref/linkloader/utils/
Dhelper.cpp32 size_t lower = begin & (~0xfUL); in dump_hex() local
35 for (size_t i = lower; i < upper; i += 16) { in dump_hex()
/frameworks/base/media/mca/
Dstructgen.py88 lower = cname.split("_")
89 upper = [c.title() for c in lower]
90 return "".join(lower[:start_upper_at] + upper[start_upper_at:])
321 return jniFileTemplate % (self.structname.lower(),\
342 hfilename = "%s.h" % structspec.structname.lower()
344 jnifilename = "jni_%s.c" % structspec.structname.lower()
/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp183 Range(uint32_t lower, uint32_t upper) : _l(lower), _u(upper) {} in Range() argument
184 uint32_t lower(void) { return _l; } in lower() 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/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableRange.java86 T lower = mNestedTypeMarshaler.unmarshal(buffer); in unmarshal() local
90 return mConstructor.newInstance(lower, upper); in unmarshal()
/frameworks/base/docs/html/design/patterns/
Dnavigation-drawer.jd68 <h4>Cross-navigation from lower levels</h4>
69 <p> If your app requires cross-navigating between lower-level screens, consider using the
71 efficient navigation from lower-level screens to other important places in your app.</p>
75 The navigation drawer makes cross-navigation at lower levels possible.
98 <p> If your app’s structure is deep, you can add screens from lower levels that your users will
104 screens as well as important lower-level screens.
113 <p> All other lower-level screens show the traditional Up indicator next to the application
166 <p> When the user opens the drawer from a lower-level screen, expand the associated branch
292 <h4>System Back after cross navigation to lower hierarchy levels</h4>
293 <p>If the user navigates to a lower hierarchy screen from the navigation drawer and the screen
[all …]
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/essentials/quality/
Dcore.jd92 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
165 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
190 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
422 <ol style="margin-bottom:.25em;list-style-type:lower-alpha">
544 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
566 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
659 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
781 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
/frameworks/base/obex/javax/obex/
DObexHelper.java905 int lower = b[(2 * i) + 1]; in convertToUnicode() local
909 if (lower < 0) { in convertToUnicode()
910 lower += 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()
1323 for (int i = lower; i < count; i++) { in getVisibleWindow()
/frameworks/ex/common/tools/
Dmake-iana-tld-pattern.py138 domain = domain.lower()
/frameworks/base/tools/apilint/
Dapilint.py292 if (m.name + "Listener").lower() != clazz.name.lower():
309 if "_ACTION" in f.name or "ACTION_" in f.name or ".action." in f.value.lower():
341 if "_EXTRA" in f.name or "EXTRA_" in f.name or ".extra" in f.value.lower():
/frameworks/base/docs/html/tools/debugging/
Dsystrace.jd17 <li><a href="#running-4.2">Tracing on Android 4.2 and lower</a></li>
93 <li>Android 4.2 and lower devices: Use the {@code --set-tags} option and the {@code --disk},
122 <h3 id="running-4.2">Tracing on Android 4.2 and lower</h3>
124 <p>To use Systrace effectively with devices running Android 4.2 and lower,
266 a regular process rhythm (1). The lower section of figure 2 shows a magnified section of
306 area in the lower trace, shows that a memory operation (image buffer dequeuing and allocation) in
/frameworks/base/tools/layoutlib/rename_font/
Dbuild_font_single.py74 extension = os.path.splitext(input_path)[1].lower()
Dbuild_font.py84 extension = os.path.splitext(filename)[1].lower()
/frameworks/base/docs/html/guide/topics/data/
Dinstall-location.jd90 API Level <em>lower than</em> 8, you can choose to support this feature for devices with API Level 8
91 or greater and still be compatible with devices using an API Level lower than 8.</p>
93 <p>To allow installation on external storage and remain compatible with versions lower than API
108 <p>When your application is installed on a device with an API Level lower than 8, the {@code
/frameworks/base/docs/html/tools/help/
Dsystrace.jd106 level 18) and higher versus devices running Android 4.2 (API level 17) and lower. The following
260 <h3 id="options-pre-4.3">Android 4.2 and lower options</h3>
262 <p>Using Systrace on the command line with devices running Android 4.2 and lower is typically a
276 (API level 17) and lower.</p>
387 your Android 4.2 and lower device by navigating to <strong>Settings &gt; Developer options &gt;
/frameworks/base/docs/html/distribute/essentials/quality/
Dcore.jd109 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
193 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
221 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
485 <ol style="margin-bottom:.25em;list-style-type:lower-alpha">
625 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
651 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
757 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
899 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
/frameworks/base/docs/html/training/managing-audio/
Daudio-output.jd67 lower the volume.</p>
/frameworks/base/docs/html/training/displaying-bitmaps/
Dmanage-memory.jd47 On Android Android 2.2 (API level 8) and lower, when garbage
54 <li>On Android 2.3.3 (API level 10) and lower, the backing pixel data for a
69 <p>On Android 2.3.3 (API level 10) and lower, using
Dload-bitmap.jd33 <p>Given that you are working with limited memory, ideally you only want to load a lower resolution
34 version in memory. The lower resolution version should match the size of the UI component that
/frameworks/base/docs/html/design/building-blocks/
Dtext-fields.jd29 overflow text and scroll vertically when the cursor reaches the lower edge.</p>
/frameworks/base/docs/html/guide/webapps/
Dmigrating.jd55 targetSdkVersion}</a> is set to "18" or lower, {@link android.webkit.WebView} operates in
64 targetSdkVersion}</a> set to "18" or lower. </p>
254 >{@code targetSdkVersion}</a> is set to "18" or lower, these APIs have no effect.</p>
329 >{@code targetSdkVersion}</a> is set to "18" or lower, these APIs have no effect.</p>

123456