The rotation parameter is intended to support portrait mode only. I'm not sure what you are trying to do with it, but I guarantee if you try to use it in landscape mode, you are going to get unexpected results.
On Apr 22, 8:17 pm, Derk <derkt...@gmail.com> wrote: > All experts > > [Problem:] > In CameraService.c, we can only confirm one param for transform. > transform = ISurface:BufferHeap:ROT_90; > > My LCD resolution is HVGA (480x320). Camera app default layout is > Landscape. > Apply the above parameter (ROT_90), the preview screen is very > strange. > > [Request] > How to support Rotation (90, 180, 270) on Camera preview ? Is it > possible to use SurfaceFlinger ? > > Please give me some hints or tips ? > > Thanks a lot. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---