Lines Matching defs:label
61 public static View initSnippet(View snippetView, CharSequence label, Drawable icon) {
63 ((TextView)snippetView.findViewById(R.id.app_name)).setText(label);
120 ((TextView)appSnippet.findViewById(R.id.app_name)).setText(as.label);
138 CharSequence label;
140 public AppSnippet(CharSequence label, Drawable icon) {
141 this.label = label;
147 * Utility method to load application label
160 CharSequence label = null;
161 // Try to load the label from the package's resources. If an app has not explicitly
162 // specified any label, just use the package name.
165 label = res.getText(appInfo.labelRes);
169 if (label == null) {
170 label = (appInfo.nonLocalizedLabel != null) ?
185 return new PackageUtil.AppSnippet(label, icon);