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

12

/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/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
/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/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/nsd/
H A DDnsSdTxtRecord.java150 public boolean contains(String key) { method in class:DnsSdTxtRecord
/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/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/core/java/android/util/
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])) {
H A DMapCollections.java186 public boolean contains(Object o) { method in class:MapCollections.EntrySet
202 if (!contains(it.next())) {
285 public boolean contains(Object object) { method in class:MapCollections.KeySet
373 public boolean contains(Object object) { method in class:MapCollections.ValuesCollection
381 if (!contains(it.next())) {
414 if (collection.contains(cur)) {
430 if (!collection.contains(cur)) {
479 if (!collection.contains(it.next())) {
H A DRange.java111 public boolean contains(T value) { method in class:Range
131 public boolean contains(Range<T> range) { method in class:Range
/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
H A DRegion.java122 * Return true if the region contains a single rectangle
127 * Return true if the region contains more than one rectangle
171 * Return true if the region contains the specified point
173 public native boolean contains(int x, int y); method in class:Region
177 * contains the specified rectangle. Returning false is not a guarantee
187 * contains the specified rectangle. Returning false is not a guarantee
/frameworks/base/keystore/java/android/security/
H A DKeyStore.java135 public boolean contains(String key, int uid) { method in class:KeyStore
144 public boolean contains(String key) { method in class:KeyStore
145 return contains(key, UID_SELF);
/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/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/Keyguard/src/com/android/keyguard/
H A DKeyguardHostView.java207 if (!contains(appWidgetIdsInKeyguardSettings, appWidgetId)) {
215 private static boolean contains(int[] array, int target) { method in class:KeyguardHostView
/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/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTaskStack.java93 if (mFilteredTasks.contains(t)) {
114 /** Returns whether the filtered list contains this task */
115 boolean contains(Task t) { method in class:FilteredTaskList
158 * The task stack contains a list of multiple tasks.
219 if (mTaskList.contains(t)) {
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageRenderer.java313 || !range[level - fromLevel].contains(tile.mX, tile.mY)) {
763 if (contains(tile)) {
773 private boolean contains(Tile tile) { method in class:TiledImageRenderer.TileQueue
/frameworks/base/services/core/java/com/android/server/
H A DLockSettingsStorage.java399 return contains(CacheKey.TYPE_KEY_VALUE, key, userId);
415 return contains(CacheKey.TYPE_FILE, fileName, -1 /* userId */);
431 return contains(CacheKey.TYPE_FETCHED, "", userId);
443 if (!contains(type, key, userId) && mVersion == version) {
448 private synchronized boolean contains(int type, String key, int userId) { method in class:LockSettingsStorage.Cache
/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);

Completed in 481 milliseconds

12