Methods Summary |
---|
protected void | onFinishInflate()
mImageView = (ImageView) findViewById(R.id.image_content);
|
public void | pauseAudio()
// TODO Auto-generated method stub
|
public void | pauseVideo()
// TODO Auto-generated method stub
|
public void | reset()
mImageView.setImageDrawable(null);
|
public void | seekAudio(int seekTo)
// TODO Auto-generated method stub
|
public void | seekVideo(int seekTo)
// TODO Auto-generated method stub
|
public void | setAudio(android.net.Uri audio, java.lang.String name, java.util.Map extras)
// TODO Auto-generated method stub
|
public void | setImage(java.lang.String name, android.graphics.Bitmap bitmap)
if (null == bitmap) {
bitmap = BitmapFactory.decodeResource(getResources(),
R.drawable.ic_missing_thumbnail_picture);
}
mImageView.setImageBitmap(bitmap);
|
public void | setImageRegionFit(java.lang.String fit)
// TODO Auto-generated method stub
|
public void | setImageVisibility(boolean visible)
// TODO Auto-generated method stub
|
public void | setText(java.lang.String name, java.lang.String text)
// TODO Auto-generated method stub
|
public void | setTextVisibility(boolean visible)
// TODO Auto-generated method stub
|
public void | setVideo(java.lang.String name, android.net.Uri video)
// TODO Auto-generated method stub
|
public void | setVideoVisibility(boolean visible)
// TODO Auto-generated method stub
|
public void | setVisibility(boolean visible)
setVisibility(visible ? View.VISIBLE : View.GONE);
|
public void | startAudio()
// TODO Auto-generated method stub
|
public void | startVideo()
// TODO Auto-generated method stub
|
public void | stopAudio()
// TODO Auto-generated method stub
|
public void | stopVideo()
// TODO Auto-generated method stub
|