Searched defs:contains (Results 1 - 25 of 37) 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/net/
H A DIpPrefix.java173 * Determines whether the prefix contains the specified address.
178 public boolean contains(InetAddress address) { method in class:IpPrefix
/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
298 public boolean contains(Object key) { method in class:ArraySet
322 * Return true if the array map contains no items.
331 * already contains the object.
547 if (!set.contains(mine)) {
578 * this set contains itself as a value, the string "(this Set)"
674 * Determine if the array set contains all of the values in the given collection.
676 * @return Returns true if this array set contains a value for every entry
683 if (!contains(it.next())) {
728 if (!collection.contains(mArra
[all...]
/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.java712 * <td>This program contains material that parents may find unsuitable for younger children
717 * <td>This program contains some material that many parents would find unsuitable for
930 * S(Sexual content) and V(Violence) contains TV-PG, TV-PG/S, TV-PG/V and itself.
933 * @return {@code true} if this object contains {@code rating}, {@code false} otherwise.
937 public final boolean contains(@NonNull 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.java336 * Checks whether the preferences contains a preference.
342 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/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
H A DLocation.java154 public boolean contains(Location other) { method in class:Location
/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/com/android/internal/util/
H A DArrayUtils.java32 * ArrayUtils contains some methods that you can call to find out
152 public static <T> boolean contains(T[] array, T value) { method in class:ArrayUtils
174 if (!contains(array, checkItem)) {
181 public static boolean contains(int[] array, int value) { method in class:ArrayUtils
191 public static boolean contains(long[] array, long value) { method in class:ArrayUtils
218 if (contains(array, element)) return array;
236 if (!contains(array, element)) return array;
386 public static <T> boolean contains(ArraySet<T> cur, T val) { method in class:ArrayUtils
387 return (cur != null) ? cur.contains(val) : false;
410 public static <T> boolean contains(ArrayLis method in class:ArrayUtils
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DRect.java328 * An empty rectangle never contains any point.
335 public boolean contains(int x, int y) { method in class:Rect
343 * rectangle. An empty rectangle never contains another rectangle.
352 public boolean contains(int left, int top, int right, int bottom) { method in class:Rect
362 * rectangle. An empty rectangle never contains another rectangle.
368 public boolean contains(Rect r) { method in class:Rect
H A DRectF.java278 * An empty rectangle never contains any point.
285 public boolean contains(float x, float y) { method in class:RectF
293 * rectangle. An empty rectangle never contains another rectangle.
302 public boolean contains(float left, float top, float right, float bottom) { method in class:RectF
312 * rectangle. An empty rectangle never contains another rectangle.
318 public boolean contains(RectF r) { method in class:RectF
/frameworks/base/libs/hwui/
H A DRect.h149 inline bool contains(float l, float t, float r, float b) const { function in class:android::uirenderer::Rect
153 inline bool contains(const Rect& r) const { function in class:android::uirenderer::Rect
154 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.cpp215 bool AMessage::contains(const char *name) const { function in class:android::AMessage
/frameworks/base/core/java/android/app/
H A DSharedPreferencesImpl.java268 public boolean contains(String key) { method in class:SharedPreferencesImpl

Completed in 607 milliseconds

12