how surface flinger support MSM7210 BGRA8888 format

2009-04-09 Thread tom

my h/w platform is MSM7210 which has BGRA format, not RGB565,
however surface flinger only support RGB565 format.

how do I get it work?

and more, how does the color conversion work? it is in copybit? or in
pixelflinger?


thanks
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Question about android graphics.

2009-04-14 Thread tom



On 3月31日, 下午5时27分, Dianne Hackborn hack...@android.com wrote:
 2009/3/31 waterblood guoyin.c...@gmail.com

  if so, the Layer must have information about its position in display.
  But I only see it is created as the code below:
 Layer* layer = new Layer(this, display, client, id);
 status_t err = layer-setBuffers(client, w, h, format, flags);

  so layer only knows the windows size w,h, and format. How it knows it
  is relative position in display?

 Well there are APIs to change the layer's values.  Just look at the Surface
 APIs to see them at the Java level.

refer to LayerBase::setPosition(x, y)

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



how to get focus window in inputmethod's view

2009-05-23 Thread tom

I add a fullscreen view which has no focus flag, in inputmethod for
chinese handwrite.

now, I want to get the focus window under my fullscreen view when I
touch screen.

thanks
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---