how?
On Jul 9, 5:51 pm, hackbod <[EMAIL PROTECTED]> wrote:
> > if I want to take a window (with a dialog in it) and do some
> > transformations on it (which will have to be done in s/w since android
> > doesnt yet support h/w accleleration of its 2D animations) how do I
> > do that?
>
> Window animations can be fully hardware accelerated. And as Romain
> says, after M5 there are also APIs to use hardware acceleration for
> rendering inside of a window.
>
> > lets say I want to rotate the window and scale it.. maybe throw some
> > transparency effect in there. you know, like with a compositing
> > window manager, how do I do it? even slwoly in s/w, can I do it?
>
> Just like with views, you can apply animations to windows, which can
> apply both alpha and 2d transformations to the window surface. This
> is how the window animations you currently see are implemented: they
> are just animation resources describing how to slide and fade (as in
> menus) or other 2d transformations such as the zoom when opening an
> activity window.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---