Searched defs:allowedComponentVariance (Results 1 - 6 of 6) sorted by relevance

/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
H A DAppCompatBaseImageViewTest.java53 @ColorInt int color, int allowedComponentVariance) {
57 true, color, allowedComponentVariance, false);
168 final int allowedComponentVariance = 2;
181 emeraldDefault, allowedComponentVariance);
187 emeraldDisabled, allowedComponentVariance);
201 allowedComponentVariance);
208 allowedComponentVariance);
311 final int allowedComponentVariance = 2;
316 allowedComponentVariance);
323 allowedComponentVariance);
52 verifyImageSourceIsColoredAs(String description, @NonNull ImageView imageView, @ColorInt int color, int allowedComponentVariance) argument
[all...]
H A DAppCompatBaseViewTest.java91 @ColorInt int color, int allowedComponentVariance) {
95 color, allowedComponentVariance, false);
377 final int allowedComponentVariance = 2;
388 emeraldDefault, allowedComponentVariance);
394 emeraldDisabled, allowedComponentVariance);
407 allowedComponentVariance);
414 allowedComponentVariance);
446 final int allowedComponentVariance = 2;
457 emeraldDefault, allowedComponentVariance);
463 emeraldDisabled, allowedComponentVariance);
90 verifyBackgroundIsColoredAs(String description, @NonNull View view, @ColorInt int color, int allowedComponentVariance) argument
[all...]
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DTestUtils.java42 int allowedComponentVariance, boolean throwExceptionIfFails) {
44 callSetBounds, color, null, allowedComponentVariance, throwExceptionIfFails);
49 Rect checkArea, int allowedComponentVariance, boolean throwExceptionIfFails) {
90 boolean isColorMatch = (varianceAlpha <= allowedComponentVariance)
91 && (varianceRed <= allowedComponentVariance)
92 && (varianceGreen <= allowedComponentVariance)
93 && (varianceBlue <= allowedComponentVariance);
40 assertAllPixelsOfColor(String failMessagePrefix, @NonNull Drawable drawable, int drawableWidth, int drawableHeight, boolean callSetBounds, @ColorInt int color, int allowedComponentVariance, boolean throwExceptionIfFails) argument
47 assertAllPixelsOfColor(String failMessagePrefix, @NonNull Drawable drawable, int drawableWidth, int drawableHeight, boolean callSetBounds, @ColorInt int color, Rect checkArea, int allowedComponentVariance, boolean throwExceptionIfFails) argument
H A DTestUtilsMatchers.java169 final int allowedComponentVariance) {
192 fillColor, allowedComponentVariance, true);
206 public static Matcher drawable(@ColorInt final int color, final int allowedComponentVariance) { argument
229 view.getHeight(), true, color, allowedComponentVariance, true);
168 withStartDrawableFilledWith(final @ColorInt int fillColor, final int allowedComponentVariance) argument
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DAppCompatMenuItemIconTintingTest.java108 @ColorInt int color, int allowedComponentVariance) {
111 color, allowedComponentVariance, false);
247 final int allowedComponentVariance = 2;
252 allowedComponentVariance);
260 allowedComponentVariance);
107 verifyIconIsColoredAs(String description, @NonNull Drawable icon, @ColorInt int color, int allowedComponentVariance) argument
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
H A DTestUtils.java120 int allowedComponentVariance, boolean throwExceptionIfFails) {
135 allowedComponentVariance, throwExceptionIfFails);
151 int allowedComponentVariance, boolean throwExceptionIfFails) {
158 allowedComponentVariance)) {
185 int allowedComponentVariance, boolean throwExceptionIfFails) {
198 assertCenterPixelOfColor(failMessagePrefix, bitmap, color, allowedComponentVariance,
214 @ColorInt int color, int allowedComponentVariance, boolean throwExceptionIfFails) {
219 allowedComponentVariance)) {
247 @ColorInt int actualColor, int allowedComponentVariance) {
263 boolean isColorMatch = (varianceAlpha <= allowedComponentVariance)
118 assertAllPixelsOfColor(String failMessagePrefix, @NonNull Drawable drawable, int drawableWidth, int drawableHeight, boolean callSetBounds, @ColorInt int color, int allowedComponentVariance, boolean throwExceptionIfFails) argument
149 assertAllPixelsOfColor(String failMessagePrefix, @NonNull Bitmap bitmap, int bitmapWidth, int bitmapHeight, @ColorInt int color, int allowedComponentVariance, boolean throwExceptionIfFails) argument
183 assertCenterPixelOfColor(String failMessagePrefix, @NonNull Drawable drawable, int drawableWidth, int drawableHeight, boolean callSetBounds, @ColorInt int color, int allowedComponentVariance, boolean throwExceptionIfFails) argument
213 assertCenterPixelOfColor(String failMessagePrefix, @NonNull Bitmap bitmap, @ColorInt int color, int allowedComponentVariance, boolean throwExceptionIfFails) argument
246 areColorsTheSameWithTolerance(@olorInt int expectedColor, @ColorInt int actualColor, int allowedComponentVariance) argument
[all...]

Completed in 138 milliseconds