Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/style/
DRelativeSizeSpan.java46 public RelativeSizeSpan(@FloatRange(from = 0) float proportion) { in RelativeSizeSpan()
47 mProportion = proportion; in RelativeSizeSpan()
DScaleXSpan.java49 public ScaleXSpan(@FloatRange(from = 0) float proportion) { in ScaleXSpan()
50 mProportion = proportion; in ScaleXSpan()
/frameworks/libs/systemui/monet/src/com/android/systemui/monet/
DColorScheme.java245 double proportion = 0.0; in getSeedColors()
247 proportion += hueProportions.get(wrapDegrees(i)); in getSeedColors()
249 return proportion; in getSeedColors()
260 double proportion = intToHueProportion.get(entry.getKey()); in getSeedColors()
261 return hct.getChroma() >= MIN_CHROMA && proportion > 0.01; in getSeedColors()
352 private static double score(Hct hct, double proportion) { in score() argument
353 double proportionScore = 0.7 * 100.0 * proportion; in score()
/frameworks/base/core/java/android/app/
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()
/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/
DPowerMetricsCollector.java266 double proportion = metric.total != 0 ? metric.value * 100 / metric.total : 0;
271 metric.value, proportion));
276 (long) metric.value, proportion));
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
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
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...