Home
last modified time | relevance | path

Searched refs:pixelCount (Results 1 – 11 of 11) sorted by relevance

/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DASurfaceControlTest.java332 public boolean checkPixels(int pixelCount, int width, int height) { in testSurfaceControl_createFromWindow()
333 return pixelCount > 9000 && pixelCount < 11000; in testSurfaceControl_createFromWindow()
350 public boolean checkPixels(int pixelCount, int width, int height) { in testSurfaceControl_create()
351 return pixelCount > 9000 && pixelCount < 11000; in testSurfaceControl_create()
376 public boolean checkPixels(int pixelCount, int width, int height) { in testSurfaceControl_fromJava()
377 return pixelCount > 9000 && pixelCount < 11000; in testSurfaceControl_fromJava()
399 public boolean checkPixels(int pixelCount, int width, int height) { in testSurfaceTransaction_fromJava()
400 return pixelCount > 9000 && pixelCount < 11000; in testSurfaceTransaction_fromJava()
423 public boolean checkPixels(int pixelCount, int width, int height) { in testSurfaceControl_acquire()
424 return pixelCount > 9000 && pixelCount < 11000; in testSurfaceControl_acquire()
[all …]
DSurfaceControlTest.java310 public boolean checkPixels(int pixelCount, int width, int height) { in testSurfaceControl_createFromWindow()
311 return pixelCount > 9000 && pixelCount < 11000; in testSurfaceControl_createFromWindow()
328 public boolean checkPixels(int pixelCount, int width, int height) { in testSurfaceControl_create()
329 return pixelCount > 9000 && pixelCount < 11000; in testSurfaceControl_create()
347 public boolean checkPixels(int pixelCount, int width, int height) { in testSurfaceControl_acquire()
348 return pixelCount > 9000 && pixelCount < 11000; in testSurfaceControl_acquire()
366 public boolean checkPixels(int pixelCount, int width, int height) { in testSurfaceTransaction_setBuffer()
367 return pixelCount > 9000 && pixelCount < 11000; in testSurfaceTransaction_setBuffer()
389 public boolean checkPixels(int pixelCount, int width, int height) { in testSurfaceTransaction_setBuffer_parentAndChild()
390 return pixelCount > 9000 && pixelCount < 11000; in testSurfaceTransaction_setBuffer_parentAndChild()
[all …]
DASurfaceControlBackPressureTest.java236 public boolean checkPixels(int pixelCount, int width, int height) { in testSurfaceTransaction_setEnableBackPressure()
237 return pixelCount > 2000 && pixelCount < 3000; in testSurfaceTransaction_setEnableBackPressure()
266 public boolean checkPixels(int pixelCount, int width, int height) { in testSurfaceTransaction_defaultBackPressureDisabled()
267 return pixelCount > 2000 && pixelCount < 3000; in testSurfaceTransaction_defaultBackPressureDisabled()
DSurfacePackageFlickerTest.java142 public boolean checkPixels(int pixelCount, int width, int height) { in testSurfacePackageNoFlicker()
143 return pixelCount == DEFAULT_LAYOUT_WIDTH*DEFAULT_LAYOUT_HEIGHT; in testSurfacePackageNoFlicker()
/cts/tests/mediapc/src/android/mediapc/cts/
DTextureRender.java277 int pixelCount = width * height; in saveFrame() local
278 int[] colors = new int[pixelCount]; in saveFrame()
280 for (int i = 0; i < pixelCount; i++) { in saveFrame()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DCtsMediaTextureRender.java281 int pixelCount = width * height; in saveFrame() local
282 int[] colors = new int[pixelCount]; in saveFrame()
284 for (int i = 0; i < pixelCount; i++) { in saveFrame()
/cts/tests/tests/media/common/src/android/media/cts/
DTextureRender.java288 int pixelCount = width * height; in saveFrame() local
289 int[] colors = new int[pixelCount]; in saveFrame()
291 for (int i = 0; i < pixelCount; i++) { in saveFrame()
/cts/tests/media/common/src/android/mediav2/common/cts/
DTextureRender.java311 int pixelCount = width * height; in saveFrame() local
312 int[] colors = new int[pixelCount]; in saveFrame()
314 for (int i = 0; i < pixelCount; i++) { in saveFrame()
/cts/tests/tests/opengl/src/android/opengl/cts/
DFramebufferTest.java608 int pixelCount = mWidth * mHeight; in saveFrame() local
609 int[] colors = new int[pixelCount]; in saveFrame()
611 for (int i = 0; i < pixelCount; i++) { in saveFrame()
/cts/tests/tests/assist/service/src/android/assist/service/
DMainInteractionSession.java294 int pixelCount = displayAreaScreenshot.getWidth() * displayAreaScreenshot.getHeight(); in compareScreenshot() local
295 double colorRatio = (double) expectedColor / pixelCount; in compareScreenshot()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapFactoryTest.java493 private Bitmap createBitmapForReuse(int pixelCount) { in createBitmapForReuse() argument
494 Bitmap bitmap = Bitmap.createBitmap(pixelCount, 1, Config.ARGB_8888); in createBitmapForReuse()
517 final int pixelCount = bitmapSize * bitmapSize; in testDecodeReuseHasAlpha() local
520 Bitmap bitmap = createBitmapForReuse(pixelCount); in testDecodeReuseHasAlpha()
525 bitmap = createBitmapForReuse(pixelCount); in testDecodeReuseHasAlpha()
530 bitmap = createBitmapForReuse(pixelCount); in testDecodeReuseHasAlpha()