Lines Matching full:appsnippet
90 * appSnippet view should include R.id.app_icon and R.id.app_name
109 * appSnippet view should include R.id.app_icon and R.id.app_name
116 public static View initSnippetForNewApp(Activity pContext, AppSnippet as,
118 View appSnippet = pContext.findViewById(snippetId);
119 ((ImageView)appSnippet.findViewById(R.id.app_icon)).setImageDrawable(as.icon);
120 ((TextView)appSnippet.findViewById(R.id.app_name)).setText(as.label);
121 return appSnippet;
137 static public class AppSnippet {
140 public AppSnippet(CharSequence label, Drawable icon) {
152 public static AppSnippet getAppSnippet(Activity pContext, ApplicationInfo appInfo,
184 return new PackageUtil.AppSnippet(label, icon);