I’m looking for the algorithm details on Android versions 8.0 to 11, not on Android 13+ (12 doesn’t have this feature). I tried searching the Android source code on cs.android.com but couldn’t find the source code that performs this operation :-(

Edit: I found an article on this.

  • Lumidaub@feddit.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 days ago

    I have no idea and I’m nothing but an interested layperson but there are other applications that do a similar thing, no? Ambilight is the first thing that comes to mind. Or launchers that adjust accent colour according to your wallpaper. I’d assume it’s the same principle. So maybe you can find out how they do it?