public void applyFromResolveInfo(PackageManager pm,ResolveInfo info,WidgetPreviewLoader loader){
  mInfo=info;
  CharSequence label=info.loadLabel(pm);
  mWidgetName.setText(label);
  mWidgetDims.setText(String.format(mDimensionsFormatString,1,1));
  mWidgetPreviewLoader=loader;
}

public void applyFromResolveInfo ( PackageManager pm , ResolveInfo info , WidgetPreviewLoader loader ) { mInfo = info ; CharSequence label = info . loadLabel ( pm ) ; mWidgetName . setText ( label ) ; mWidgetDims . setText ( String . format ( mDimensionsFormatString , 1 , 1 ) ) ; mWidgetPreviewLoader = loader ; }
apply the resolve info to the view .
