Searched refs:targetHeight (Results 1 – 4 of 4) sorted by relevance
354 int sourceHeight, targetHeight; in testSetTargetDensity() local369 targetHeight = DrawableTestUtils.scaleBitmapFromDensity( in testSetTargetDensity()372 assertEquals(targetHeight, bitmapDrawable.getIntrinsicHeight()); in testSetTargetDensity()383 targetHeight = DrawableTestUtils.scaleBitmapFromDensity( in testSetTargetDensity()386 assertEquals(targetHeight, bitmapDrawable.getIntrinsicHeight()); in testSetTargetDensity()398 targetHeight = DrawableTestUtils.scaleBitmapFromDensity( in testSetTargetDensity()401 assertEquals(targetHeight, bitmapDrawable.getIntrinsicHeight()); in testSetTargetDensity()
342 int targetHeight = DrawableTestUtils.scaleBitmapFromDensity( in testInflate() local345 assertEquals(targetHeight, ninePatchDrawable.getIntrinsicHeight()); in testInflate()
388 int targetHeight = h; in getOptimalPreviewSize() local401 curDiff = Math.abs(size.height - targetHeight) + in getOptimalPreviewSize()404 && size.height <= targetHeight in getOptimalPreviewSize()
481 int targetHeight = (int) Math.max(aTaskMinHeight, in assertValidBounds() local485 targetHeight, (int) wTaskBounds.getHeight()); in assertValidBounds()