premultiplied alpha

by hackerEnthusiast » Thu, 09 Apr 2009 20:44:23 GMT

Sponsored Links
 Hey there,

Is it possible to have the android framework output unmultiplied
alpha? If so, could it be done in the current framework by simply
changing the config? I understand that this change would mean a big
hit in performance, just wondering how flexible is the current
framework. Thanks!

premultiplied alpha

by Mike Reed » Mon, 13 Apr 2009 13:33:32 GMT

 As you say, there is a performance hit, but today you can get this by
calling Bitmap.getPixels(). It always returns unpremultiplied pixels.
If you want the system to native draw in unpremul, that's a
different/harder story.

On Thu, Apr 9, 2009 at 4:44 PM, hackerEnthusiast


Sponsored Links

Other Threads

1. Activity not found in AndroidManifest.xml exception???

Hi all,

        I am raising intent when preferenceScreen item is clicked from
xml file as follows.

          android:targetClass="" />

     Here my application package is

     When i try to click the test_label PreferenceScreen , iam getting
ActivityNotFoundException .

     What's wrong here.



2. how to compile a helloworld in AOSP- Entire android source code..!! Couldnt see apk generated.

I wanted to run a helloworld application with the AOSP and see it in
[ Not through Android SDK setup]

I followed the steps in
and compiled successfully the full code from / directory.

I could see contacts.apk, camera.apk all applications apk in

 I tried two things.

1 - Went to /package/apps folder. Took a helloworld
application( helloworld folder which was created in android-sdk), and
copied a '' file from Launcher2 folder, kept my new name for
application 'LOCAL_PACKAGE_NAME := helloworld'
and placed the folder in packages/app folder and compiled at /.
     I couldnt see .apk file created for helloworld in ~/mydroid/out/

2 - I went to Launcher2 folde /package/apps/Launcher2. I changed the
package name for Launcher2 in packages/app folder in 'Android,mk' file
and compiled at root. I couldnt see a new apk created on the new
packaged name( i gave) under

I tried several times with changes in activity names, application
names in manifest.xml file. Nothing reflects.But it is sure, both
helloworld, and change in package name is getting picked up while
compiling. I could see intermediate classes getting created.
android/mani    --> manifirst is like a helloworld which i created and

Could anyone please share the steps of compiling a simple Helloworld
program in AOSP.?



3. how do i get the sensor data on mapoverlay?

4. users report paid app doesn't download/install

5. Opening control to my app to other developers

6. "IllegalArgumentException: parameter must be a descendant of this view" related issue

7. Loading XML data to arr ay 鈥済ives up鈥?if XML is too big