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. About rotate screen use G-SENSOR

Hi all,
  I'm debuging my gsensor in my devices.And now in my sensor HAL layer
code ,I return two types data.(ID_ACCELERATION and ID_ORIENTATION).I'm
confused how covert x,y,z data to pitch,roll.....In my code I use
                  pitch = atan(sensors.acceleration.y/
sensors.acceleration.z)*360/M_PI;
                  roll = atan(sensors.acceleration.x/
sensors.acceleration.z)*180/M_PI;
                  sensors.orientation.azimuth = 0.0;
But it seems have some error.Now I can not rotate my screen
automaitic,but can play some g-sensor game,like(labyrinthfull.apk).So
my question is that ,if I want to rotate screen automatic,which data
the system need to use?x,y,z? or pitch roll azimuth? or antoher data?
Can somebody show me some example,thanks.Any suggestion is appracite.

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. How to set text size and color in CheckBoxPreference

Hello everyone,
I want to reset the text size and color in settings

For example , the code is from wifi_settings.xml
 <CheckBoxPreference
           android:key="wifi_enabled"
           android:title="@string/wifi"
           android:summary="@string/wifi_quick_toggle_summary"
           android:persistent="false"
           android:textSize="15sp"
           android:textColor="#ffff"/>

I want to increase the text size of
           android:title="@string/wifi"
           android:summary="@string/wifi_quick_toggle_summary"
So I add
           android:textSize="15sp"
           android:textColor="#ffff"
But it not work, can anyone tell me how to set the property of
android:title and android:textColor

-- 

3. How to implement the type-to-search UI as in the built-in contacts app

4. How the security works in android

5. Is it possible to set up a boot password

6. Unable to Install EAP TLS certificates for WiF

7. why launch is cancelled