Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DBitmapDrawableTest.java402 int sourceWidth, targetWidth; in testSetTargetDensity() local
416 targetWidth = DrawableTestUtils.scaleBitmapFromDensity( in testSetTargetDensity()
420 assertEquals(targetWidth, bitmapDrawable.getIntrinsicWidth()); in testSetTargetDensity()
430 targetWidth = DrawableTestUtils.scaleBitmapFromDensity( in testSetTargetDensity()
434 assertEquals(targetWidth, bitmapDrawable.getIntrinsicWidth()); in testSetTargetDensity()
445 targetWidth = DrawableTestUtils.scaleBitmapFromDensity( in testSetTargetDensity()
449 assertEquals(targetWidth, bitmapDrawable.getIntrinsicWidth()); in testSetTargetDensity()
DNinePatchDrawableTest.java384 int targetWidth = DrawableTestUtils.scaleBitmapFromDensity( in testInflate() local
388 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/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityAndWindowManagersState.java803 int targetWidth = Math.max(taskWidth, defaultMinimalTaskSize); in assertDockedTaskBounds() local
806 assertEquals(new Rect(0, 0, targetWidth, targetHeight), in assertDockedTaskBounds()
933 int targetWidth = Math.max(aTaskMinWidth, aStackBounds.width()); in assertValidBounds() local
936 targetWidth, wTaskBounds.width()); in assertValidBounds()
/cts/tests/tests/keystore/src/android/server/am/
DActivityAndWindowManagersState.java529 int targetWidth = (int) Math.max(aTaskMinWidth, in assertValidBounds() local
533 targetWidth, (int) wTaskBounds.width()); in assertValidBounds()