Home
last modified time | relevance | path

Searched refs:proportion (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/core/java/android/text/style/
H A DRelativeSizeSpan.java46 public RelativeSizeSpan(@FloatRange(from = 0) float proportion) { in RelativeSizeSpan()
47 mProportion = proportion; in RelativeSizeSpan()
H A DScaleXSpan.java49 public ScaleXSpan(@FloatRange(from = 0) float proportion) { in ScaleXSpan()
50 mProportion = proportion; in ScaleXSpan()
/aosp14/frameworks/base/packages/SystemUI/monet/src/com/android/systemui/monet/
H A DColorScheme.kt531 var proportion = 0.0 regex
533 proportion += hueProportions[wrapDegrees(i)]
535 proportion
545 val proportion = intToHueProportion[it.key]!! regex
547 (totalPopulationMeaningless || proportion > 0.01)
636 private fun score(cam: Cam, proportion: Double): Double {
637 val proportionScore = 0.7 * 100.0 * proportion
/aosp14/frameworks/base/core/java/android/app/
H A DWallpaperColors.java342 double proportion = mapEntry.getValue(); in WallpaperColors() local
343 double score = score(colorToCam.get(color), proportion); in WallpaperColors()
378 private static double score(Cam cam, double proportion) { in score() argument
379 return cam.getChroma() + (proportion * 100); in score()
387 double proportion = 0.0; in colorToHueProportion() local
389 proportion += hueProportions[wrapDegrees(i)]; in colorToHueProportion()
391 colorToHueProportion.put(color, proportion); in colorToHueProportion()
/aosp14/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/
H A DPowerMetricsCollector.java266 double proportion = metric.total != 0 ? metric.value * 100 / metric.total : 0;
271 metric.value, proportion));
276 (long) metric.value, proportion));
/aosp14/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
H A DBatteryStatsViewerActivity.java373 final double proportion = entry.value2 != 0 ? entry.value1 * 100 / entry.value2 : 0; in setProportionText() local
375 String.format(Locale.getDefault(), "%.1f%%", proportion)); in setProportionText() local
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...