Home
last modified time | relevance | path

Searched refs:safeWidth (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/java/android/media/
DClosedCaptionRenderer.java1459 int safeWidth = getMeasuredWidth(); in onMeasure() local
1463 if (safeWidth * 3 >= safeHeight * 4) { in onMeasure()
1464 safeWidth = safeHeight * 4 / 3; in onMeasure()
1466 safeHeight = safeWidth * 3 / 4; in onMeasure()
1468 safeWidth *= SAFE_AREA_RATIO; in onMeasure()
1475 safeWidth, MeasureSpec.EXACTLY); in onMeasure()
1487 int safeWidth, safeHeight; in onLayout() local
1490 safeWidth = viewPortHeight * 4 / 3; in onLayout()
1493 safeWidth = viewPortWidth; in onLayout()
1496 safeWidth *= SAFE_AREA_RATIO; in onLayout()
[all …]
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperCropper.java708 final int safeWidth = !multiCrop() in generateCropInternal() local
725 Slog.v(TAG, " targetSize=" + safeWidth + "x" + safeHeight); in generateCropInternal()
758 : Bitmap.createScaledBitmap(cropped, safeWidth, safeHeight, true); in generateCropInternal()