Home
last modified time | relevance | path

Searched refs:targetWidth (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DBitmapDrawableTest.java353 int sourceWidth, targetWidth; in testSetTargetDensity() local
367 targetWidth = DrawableTestUtils.scaleBitmapFromDensity( in testSetTargetDensity()
371 assertEquals(targetWidth, bitmapDrawable.getIntrinsicWidth()); in testSetTargetDensity()
381 targetWidth = DrawableTestUtils.scaleBitmapFromDensity( in testSetTargetDensity()
385 assertEquals(targetWidth, bitmapDrawable.getIntrinsicWidth()); in testSetTargetDensity()
396 targetWidth = DrawableTestUtils.scaleBitmapFromDensity( in testSetTargetDensity()
400 assertEquals(targetWidth, bitmapDrawable.getIntrinsicWidth()); in testSetTargetDensity()
DNinePatchDrawableTest.java340 int targetWidth = DrawableTestUtils.scaleBitmapFromDensity( in testInflate() local
344 assertEquals(targetWidth, ninePatchDrawable.getIntrinsicWidth()); in testInflate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java389 int targetWidth = w; in getOptimalPreviewSize() local
402 Math.abs(size.width - targetWidth); in getOptimalPreviewSize()
405 && size.width <= targetWidth) { in getOptimalPreviewSize()
/cts/hostsidetests/services/activitymanager/src/android/server/cts/
DActivityAndWindowManagersState.java476 int targetWidth = (int) Math.max(aTaskMinWidth, in assertValidBounds() local
480 targetWidth, (int) wTaskBounds.getWidth()); in assertValidBounds()