Hi All,

  I just use a 1024x768 LCD panel to check the video playback. All
Android app and UI work fine in this resolution, except the MovieView
in Gallery.

 The movie view only show at position(0,0) with width and height from
video,ie width=320,height=240 for a QVGA video. It is supposed be in
full screen. I have add log in SurfaceView.

in SurfaceView::dispatchDraw(Canvas canvas) shows the canvas.getHeight
() and canvas.getWidth(). the result is
canvas.getHeight() = 768 canvas.getWidth() = 1024.

in SurfaceView::updateWindow(boolean force)  print the layout
position. the result is Layout: x=0 y=0 w=1024 h=768, frame=Rect(0, 0
- 1024, 768).

  All the log show, it should be in full screen display. If we force
MovieView to rotation to SCREEN_ORIENTATION_PORTRAIT, then the
portrait video view's layout looks fine.


 The framework we use is Android 1.6.

 Any comments are welcome.


-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to