8
submitted 2 weeks ago by ryujin470@fedia.io to c/android@lemmy.world

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.

top 5 comments
sorted by: hot top new old
[-] masterofn001@lemmy.ca 4 points 2 weeks ago* (last edited 2 weeks ago)
[-] ryujin470@fedia.io 2 points 2 weeks ago
[-] folekaule@lemmy.world 2 points 2 weeks ago

I'm not an Android developer but is this maybe what you're looking for?

[-] Lumidaub@feddit.org 1 points 2 weeks 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?

[-] ryujin470@fedia.io 1 points 2 weeks ago

I found the commit that introduced this feature. I had to use the GitHub mirror for this because the official repo on android.googlesource.com doesn't have the feature to browse commit history for individual files anymore.

this post was submitted on 04 May 2026
8 points (83.3% liked)

Android

34060 readers
105 users here now

DROID DOES

Welcome to the Android community on Lemmy. Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


founded 2 years ago
MODERATORS