Searched defs:contains (Results 1 - 25 of 34) sorted by relevance

12

/frameworks/base/core/java/android/hardware/camera2/utils/
H A DArrayUtils.java160 * Returns true if the given {@code array} contains the given element.
166 public static boolean contains(int[] array, int elem) { method in class:ArrayUtils
171 * Returns true if the given {@code array} contains the given element.
177 public static <T> boolean contains(T[] array, T elem) { method in class:ArrayUtils
/frameworks/base/core/java/android/util/
H A DRange.java111 public boolean contains(T value) { method in class:Range
131 public boolean contains(Range<T> range) { method in class:Range
H A DArraySet.java31 * separate from ArrayMap, however, so the Object array contains only one item for each
300 public boolean contains(Object key) { method in class:ArraySet
324 * Return true if the array map contains no items.
333 * already contains the object.
529 if (!set.contains(mine)) {
560 * this set contains itself as a value, the string "(this Set)"
652 if (!contains(it.next())) {
682 if (!collection.contains(mArray[i])) {
/frameworks/base/core/java/android/print/
H A DPageRange.java82 * Gets whether a page range contains a a given page.
89 public boolean contains(int pageIndex) { method in class:PageRange
95 * pages it contains.
/frameworks/base/media/java/android/media/tv/
H A DTvContentRating.java621 * <td>This program contains material that parents may find unsuitable for younger children
626 * <td>This program contains some material that many parents would find unsuitable for
828 * and V(Violence) contains TV-PG, TV-PG/S, TV-PG/V and itself.
832 * @return {@code true} if this object contains {@code rating}, {@code false} otherwise.
836 public final boolean contains(TvContentRating rating) { method in class:TvContentRating
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
H A DPageRangeUtils.java26 * This class contains utility functions for working with page ranges.
44 * Gets whether page ranges contains a given page.
50 public static boolean contains(PageRange[] pageRanges, int pageIndex) { method in class:PageRangeUtils
54 if (pageRange.contains(pageIndex)) {
62 * Checks whether one page range array contains another one.
67 * @return Whether the container page ranges contains the contained ones.
69 public static boolean contains(PageRange[] ourRanges, PageRange[] otherRanges, int pageCount) { method in class:PageRangeUtils
251 } else if (PageRangeUtils.contains(writtenPages, requestedPages, pageCount)) {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeSharedPreferences.java67 public boolean contains(String key) { method in class:BridgeSharedPreferences
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
H A DCamera2RequestSettingsSet.java155 public boolean contains(Key<?> key) { method in class:Camera2RequestSettingsSet
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DContiguousFIFOAggregator.java101 if (contains(key)) {
131 if (!contains(key)) {
239 private boolean contains(final T key) { method in class:ContiguousFIFOAggregator
/frameworks/base/core/java/android/content/
H A DSharedPreferences.java334 * Checks whether the preferences contains a preference.
340 boolean contains(String key); method in interface:SharedPreferences
/frameworks/base/core/java/android/net/nsd/
H A DDnsSdTxtRecord.java150 public boolean contains(String key) { method in class:DnsSdTxtRecord
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pGroupList.java187 * Return true if this group list contains the specified network id.
195 public boolean contains(int netId) { method in class:WifiP2pGroupList
H A DWifiP2pGroup.java221 public boolean contains(WifiP2pDevice device) { method in class:WifiP2pGroup
222 if (mOwner.equals(device) || mClients.contains(device)) return true;
/frameworks/ex/common/java/com/android/common/content/
H A DSyncStateContentProviderHelper.java120 if (!contains(accounts, account)) {
136 private static <T> boolean contains(T[] array, T value) { method in class:SyncStateContentProviderHelper
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteSelector.java82 * Returns true if the selector contains the specified category.
128 * Returns true if this selector contains all of the capabilities described
132 * @return True if this selector contains all of the capabilities described
135 public boolean contains(MediaRouteSelector selector) { method in class:MediaRouteSelector
157 if (mControlCategories.contains(null)) {
252 if (!mControlCategories.contains(category)) {
/frameworks/av/drm/libdrmframework/include/
H A DPlugInManager.h119 if (!contains(rsPlugInId)) {
134 if (contains(rsPlugInPath)) {
173 if (!contains(rsPlugInPath)) {
188 * True if TPlugInManager contains rsPlugInId
190 bool contains(const String8& rsPlugInId) { function in class:android::TPlugInManager
/frameworks/base/core/java/android/os/
H A DFileUtils.java372 public static boolean contains(File dir, File file) { method in class:FileUtils
512 if (contains(beforeDir, file)) {
/frameworks/base/core/java/com/android/internal/util/
H A DArrayUtils.java29 * ArrayUtils contains some methods that you can call to find out
150 public static <T> boolean contains(T[] array, T value) { method in class:ArrayUtils
176 if (!contains(array, checkItem)) {
183 public static boolean contains(int[] array, int value) { method in class:ArrayUtils
193 public static boolean contains(long[] array, long value) { method in class:ArrayUtils
215 * @return A new array that contains all of the elements of the original array
239 * @return A new array that contains all of the elements of the original array
268 * @return A new array that contains all of the values of the original array
312 * @return A new array that contains all of the values of the original array
375 public static <T> boolean contains(ArraySe method in class:ArrayUtils
399 public static <T> boolean contains(ArrayList<T> cur, T val) { method in class:ArrayUtils
[all...]
/frameworks/base/core/tests/inputmethodtests/src/android/os/
H A DInputMethodTest.java304 private static boolean contains(final String[] textList, final String textToBeChecked) { method in class:InputMethodTest
331 final boolean isDefaultIme = contains(new String[]{ "hi", "en-rIN" }, localeString);
345 final boolean isDefaultIme = contains(new String[]{ "zh-rCN" }, localeString);
356 final boolean isDefaultIme = contains(new String[]{ "ko" }, localeString);
367 final boolean isDefaultIme = contains(
385 final boolean isDefaultIme = contains(new String[]{ "ja", "ja-rJP" }, localeString);
/frameworks/base/graphics/java/android/graphics/
H A DRect.java327 * An empty rectangle never contains any point.
334 public boolean contains(int x, int y) { method in class:Rect
342 * rectangle. An empty rectangle never contains another rectangle.
351 public boolean contains(int left, int top, int right, int bottom) { method in class:Rect
361 * rectangle. An empty rectangle never contains another rectangle.
367 public boolean contains(Rect r) { method in class:Rect
H A DRectF.java279 * An empty rectangle never contains any point.
286 public boolean contains(float x, float y) { method in class:RectF
294 * rectangle. An empty rectangle never contains another rectangle.
303 public boolean contains(float left, float top, float right, float bottom) { method in class:RectF
313 * rectangle. An empty rectangle never contains another rectangle.
319 public boolean contains(RectF r) { method in class:RectF
/frameworks/base/libs/hwui/
H A DRect.h144 inline bool contains(float l, float t, float r, float b) const { function in class:android::uirenderer::Rect
148 inline bool contains(const Rect& r) const { function in class:android::uirenderer::Rect
149 return contains(r.left, r.top, r.right, r.bottom);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java171 /*package*/ static boolean contains(Region thisRegion, int x, int y) { method in class:Region_Delegate
177 return regionDelegate.mArea.contains(x, y);
189 regionDelegate.mArea.contains(left, top, right - left, bottom - top);
/frameworks/av/media/libstagefright/foundation/
H A DAMessage.cpp193 bool AMessage::contains(const char *name) const { function in class:android::AMessage
/frameworks/base/core/java/android/app/
H A DSharedPreferencesImpl.java265 public boolean contains(String key) { method in class:SharedPreferencesImpl

Completed in 623 milliseconds

12