/**
* Used to set the scale for Facebook WebPosts.
*
* @return the integer scale value.
* @deprecated Facebook WebPosts are deprecated. This isn't needed for Facebook Posts.
*/
private int getScale() {
WindowManager wm = (WindowManager) mContext.getSystemService(Context.WINDOW_SERVICE);
Display display = wm.getDefaultDisplay();
Point size = new Point();
display.getSize(size);
int width = size.x;
Double val = (double) width / 484d;
val = val * 100d;
return val.intValue();
}
SocialJournalAdapter.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:social-journal
作者:
评论列表
文章目录