Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DBitmapDrawableTest.java403 int sourceHeight, targetHeight; in testSetTargetDensity() local
418 targetHeight = DrawableTestUtils.scaleBitmapFromDensity( in testSetTargetDensity()
421 assertEquals(targetHeight, bitmapDrawable.getIntrinsicHeight()); in testSetTargetDensity()
432 targetHeight = DrawableTestUtils.scaleBitmapFromDensity( in testSetTargetDensity()
435 assertEquals(targetHeight, bitmapDrawable.getIntrinsicHeight()); in testSetTargetDensity()
447 targetHeight = DrawableTestUtils.scaleBitmapFromDensity( in testSetTargetDensity()
450 assertEquals(targetHeight, bitmapDrawable.getIntrinsicHeight()); in testSetTargetDensity()
DNinePatchDrawableTest.java386 int targetHeight = DrawableTestUtils.scaleBitmapFromDensity( in testInflate() local
389 assertEquals(targetHeight, ninePatchDrawable.getIntrinsicHeight()); in testInflate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java388 int targetHeight = h; in getOptimalPreviewSize() local
401 curDiff = Math.abs(size.height - targetHeight) + in getOptimalPreviewSize()
404 && size.height <= targetHeight in getOptimalPreviewSize()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityAndWindowManagersState.java804 int targetHeight = Math.max(taskHeight, defaultMinimalTaskSize); in assertDockedTaskBounds() local
806 assertEquals(new Rect(0, 0, targetWidth, targetHeight), in assertDockedTaskBounds()
937 int targetHeight = Math.max(aTaskMinHeight, aStackBounds.height()); in assertValidBounds() local
940 targetHeight, wTaskBounds.height()); in assertValidBounds()
/cts/tests/tests/keystore/src/android/server/am/
DActivityAndWindowManagersState.java534 int targetHeight = (int) Math.max(aTaskMinHeight, in assertValidBounds() local
538 targetHeight, (int) wTaskBounds.height()); in assertValidBounds()