Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/app/
H A DWallpaperColors.java386 final int hue = wrapDegrees(Math.round(colorToCam.get(color).getHue())); in colorToHueProportion()
389 proportion += hueProportions[wrapDegrees(i)]; in colorToHueProportion()
396 private static int wrapDegrees(int degrees) { in wrapDegrees() method in WallpaperColors
419 final int hue = wrapDegrees(Math.round(cam.getHue())); in hueProportions()
/aosp14/frameworks/base/packages/SystemUI/monet/src/com/android/systemui/monet/
H A DColorScheme.kt533 proportion += hueProportions[wrapDegrees(i)]
589 private fun wrapDegrees(degrees: Int): Int { regex