thanks. you mean i can't use the Animation object anymore, and i should do the "blur" in my code . but the problem is i don't use the "blur" separately: i want to mix the blur , scale and alpha , so i need to code the "scale" and "alpha" myself ? the android use Skia to draw bitmap, so weather i can modify the framework to invoke a blurfilter in skia? it seems a big workload, any advice is appreciated !
On 9月2日, 上午10时29分, Dianne Hackborn <hack...@android.com> wrote: > You'll need to take a snapshot of the thing you are blurring, perform a blur > operation on that bitmap (which you will need to write yourself), and then > you can draw the bitmap. > > On Tue, Sep 1, 2009 at 7:14 PM, LemonDev <lem...@gmail.com> wrote: > > > as we known we can use predefined animations in android > > developing, they are : alpha animation, scale animation, rotate > > animation, translate animation and skew animation(extend animation > > using Matrix's setSkew function). though ,we can implement other > > effect using the Matrix, but it can only realize some shape > > transformations(i think the real color pixels don't changed). > > If i want to make some effects like "blur" , it can't work,because > > animation only give the transformation matrix . we can't not > > manipulate the color pixels. > > Please do me a favor, how can i realize effect like "blur" ? > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---