Searched refs:targetWidth (Results 1 – 4 of 4) sorted by relevance
353 int sourceWidth, targetWidth; in testSetTargetDensity() local367 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()
340 int targetWidth = DrawableTestUtils.scaleBitmapFromDensity( in testInflate() local344 assertEquals(targetWidth, ninePatchDrawable.getIntrinsicWidth()); in testInflate()
389 int targetWidth = w; in getOptimalPreviewSize() local402 Math.abs(size.width - targetWidth); in getOptimalPreviewSize()405 && size.width <= targetWidth) { in getOptimalPreviewSize()
476 int targetWidth = (int) Math.max(aTaskMinWidth, in assertValidBounds() local480 targetWidth, (int) wTaskBounds.getWidth()); in assertValidBounds()