Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android usage of the flinger term?

Android uses the term flinger in e.g. the Android Surface Flinger library, which purpose is to combine different surfaces from different apps to the fully composed image that is rendered on the screen.

But what does the term flinger actually mean?

Update

Looking at the Anatomy - Physiology of an Android slides, the term flinger is used both in Surface Flinger and Audio Flinger, as the "device" that combines either the visual surfaces or the audio output from multiple applications into a common stream that is sent to hardware. Thus is seems the flinger term is unrelated to the word finger, despite the similarity.

like image 402
Bjarke Freund-Hansen Avatar asked Aug 03 '11 12:08

Bjarke Freund-Hansen


1 Answers

I asked the same question on the Android platform mailing list and got the follow reply:

By the definition in the dictionary, a flinger is someone that flings. In the case of the SurfaceFlinger, it's flinging visual data to the surface and AudioFlinger is flinging audio data to the appropriate recipient. They're just "cute" words..:)

Looking up to fling gives the following result (among others):

  1. to throw, cast, or hurl with force or violence: to fling a stone.

So I guess the original term flinger in Surface Flinger is inspired by the waving action performed by the finger/hand when navigating a touch-screen. And then possibly just used because it was a cute word also for Audio Flinger. But that is just my speculation.

like image 193
Bjarke Freund-Hansen Avatar answered Sep 28 '22 04:09

Bjarke Freund-Hansen