Searched defs:drawableHeight (Results 1 - 4 of 4) sorted by relevance
/frameworks/support/compat/src/androidTest/java/android/support/v4/testutils/ |
H A D | TestUtils.java | 42 int drawableHeight = drawable.getIntrinsicHeight(); 44 if ((drawableWidth <= 0) || (drawableHeight <= 0)) { 48 assertAllPixelsOfColor(failMessagePrefix, drawable, drawableWidth, drawableHeight, color, 61 int drawableWidth, int drawableHeight, @ColorInt int color, 64 Bitmap bitmap = Bitmap.createBitmap(drawableWidth, drawableHeight, Bitmap.Config.ARGB_8888); 68 drawable.setBounds(0, 0, drawableWidth, drawableHeight); 74 for (int row = 0; row < drawableHeight; row++) { 60 assertAllPixelsOfColor(String failMessagePrefix, @NonNull Drawable drawable, int drawableWidth, int drawableHeight, @ColorInt int color, boolean throwExceptionIfFails) argument
|
/frameworks/support/viewpager/src/androidTest/java/android/support/v4/testutils/ |
H A D | TestUtils.java | 42 int drawableHeight = drawable.getIntrinsicHeight(); 44 if ((drawableWidth <= 0) || (drawableHeight <= 0)) { 48 assertAllPixelsOfColor(failMessagePrefix, drawable, drawableWidth, drawableHeight, color, 61 int drawableWidth, int drawableHeight, @ColorInt int color, 64 Bitmap bitmap = Bitmap.createBitmap(drawableWidth, drawableHeight, Bitmap.Config.ARGB_8888); 68 drawable.setBounds(0, 0, drawableWidth, drawableHeight); 74 for (int row = 0; row < drawableHeight; row++) { 60 assertAllPixelsOfColor(String failMessagePrefix, @NonNull Drawable drawable, int drawableWidth, int drawableHeight, @ColorInt int color, boolean throwExceptionIfFails) argument
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
H A D | GlifPatternDrawable.java | 107 int drawableHeight = bounds.height(); 120 } else if (drawableHeight > bitmapHeight 130 bitmap = createBitmapCache(drawableWidth, drawableHeight); 150 public Bitmap createBitmapCache(int drawableWidth, int drawableHeight) { argument 152 float scaleY = drawableHeight / VIEWBOX_HEIGHT;
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/testutils/ |
H A D | TestUtils.java | 120 int drawableWidth, int drawableHeight, boolean callSetBounds, @ColorInt int color, 123 Bitmap bitmap = Bitmap.createBitmap(drawableWidth, drawableHeight, 129 drawable.setBounds(0, 0, drawableWidth, drawableHeight); 135 assertAllPixelsOfColor(failMessagePrefix, bitmap, drawableWidth, drawableHeight, color, 185 int drawableWidth, int drawableHeight, boolean callSetBounds, @ColorInt int color, 188 Bitmap bitmap = Bitmap.createBitmap(drawableWidth, drawableHeight, Bitmap.Config.ARGB_8888); 193 drawable.setBounds(0, 0, drawableWidth, drawableHeight); 119 assertAllPixelsOfColor(String failMessagePrefix, @NonNull Drawable drawable, int drawableWidth, int drawableHeight, boolean callSetBounds, @ColorInt int color, int allowedComponentVariance, boolean throwExceptionIfFails) argument 184 assertCenterPixelOfColor(String failMessagePrefix, @NonNull Drawable drawable, int drawableWidth, int drawableHeight, boolean callSetBounds, @ColorInt int color, int allowedComponentVariance, boolean throwExceptionIfFails) argument
|
Completed in 108 milliseconds