[android-developers] Re: Pixel Format Conversion in SF

2009-11-27 Thread android-newbie
Thanks Dianne so much for your reply. So let's say in my example I am working with SurfaceView for my CameraSurfaceView. I have a few questions, hope you can help me. 1. When this SurfaceView gets created (I assume via final CameraSurfaceView cameraView = new CameraSurfaceView

Re: [android-developers] Re: Pixel Format Conversion in SF

2009-11-27 Thread Dianne Hackborn
Yes, you set the format and such by the setters you mentioned. The relation with surfaceChanged() is that this gets called after any such parameters have changed to provide a surface with the new configuration. On Fri, Nov 27, 2009 at 8:20 AM, android-newbie k...@itsaver.com wrote: Thanks

[android-developers] Re: Pixel Format Conversion in SF

2009-11-27 Thread android-newbie
Thank you Dianne. But if I set my CameraSurfaceView is of type mHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS) for the purpose of pushing the preview frame onto the surface for display, does this surface also serve as my UI window? Thanks alot for your help! On Nov 27, 1:52 pm, Dianne