Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DClosedCaptionRenderer.java1460 int safeHeight = getMeasuredHeight(); 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()
1469 safeHeight *= SAFE_AREA_RATIO; in onMeasure()
1471 int lineHeight = safeHeight / MAX_ROWS; in onMeasure()
1487 int safeWidth, safeHeight; in onLayout() local
1491 safeHeight = viewPortHeight; in onLayout()
1494 safeHeight = viewPortWidth * 3 / 4; in onLayout()
1497 safeHeight *= SAFE_AREA_RATIO; in onLayout()
[all …]
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java723 final int safeHeight = (int) (estimateCrop.height() * hRatio); in generateCrop() local
732 Slog.v(TAG, " safe=" + safeWidth + "x" + safeHeight); in generateCrop()
744 safeWidth, safeHeight, true); in generateCrop()