Home
last modified time | relevance | path

Searched refs:arrayContains (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DTintManager.java142 if (arrayContains(TINT_COLOR_CONTROL_STATE_LIST, resId)) { in getDrawable()
151 } else if (arrayContains(CONTAINERS_WITH_TINT_CHILDREN, resId)) { in getDrawable()
166 if (arrayContains(TINT_COLOR_CONTROL_NORMAL, resId)) { in tintDrawable()
169 } else if (arrayContains(TINT_COLOR_CONTROL_ACTIVATED, resId)) { in tintDrawable()
172 } else if (arrayContains(TINT_COLOR_BACKGROUND_MULTIPLY, resId)) { in tintDrawable()
211 private static boolean arrayContains(int[] array, int value) { in arrayContains() method in TintManager
221 return arrayContains(TINT_COLOR_BACKGROUND_MULTIPLY, drawableId) || in isInTintList()
222 arrayContains(TINT_COLOR_CONTROL_NORMAL, drawableId) || in isInTintList()
223 arrayContains(TINT_COLOR_CONTROL_ACTIVATED, drawableId) || in isInTintList()
224 arrayContains(TINT_COLOR_CONTROL_STATE_LIST, drawableId) || in isInTintList()
[all …]
/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfigurationMap.java1090 if (!arrayContains(getInternalFormatSizes(format, /*output*/true), size)) { in getInternalFormatDuration()
1139 private static <T> boolean arrayContains(T[] array, T element) { in arrayContains() method in StreamConfigurationMap