1. In Slideshowview.java
2. @Override
public void apply (GLCanvas canvas) {
int viewwidth = GetWidth ();
int viewheight = GetHeight ();
float Initscale = math.min (float)
Viewwidth/mwidth, (float) viewheight/mheight);
M:if Special Sub_type, display by original size
/************************************** Edit Start **********************************************/
if (0! = (Msubtype & mediaobject.subtype_drm_no_right)) {
/***************************************edit End ***********************************************/
This logic was familar with that of Positioncontroller.java
float Minscale = Mediatekfeature.getminimalscale (Viewwidth,
Viewheight, Mwidth, Mheight, Msubtype);
float Tempscalelimit = Mediatekfeature.minscalelimit (Msubtype);
float Scalelimit = tempscalelimit > 0.0f? tempscalelimit:2.0f;
Minscale = Math.min (Scalelimit, Minscale);
Initscale = Minscale/(1 + scale_speed);
}
FLOAT scale = Initscale * (1 + scale_speed * mprogress);
The picture does not display full screen when Android is playing a slideshow in the gallery