Lines Matching refs:activityName
2059 ComponentName activityName = searchManager.getGlobalSearchActivity();
2062 if (activityName != null) {
2063 intent.setPackage(activityName.getPackageName());
3038 private Drawable getExternalPackageToolbarIcon(ComponentName activityName, String resourceName) {
3043 activityName, PackageManager.GET_META_DATA).metaData;
3047 Resources res = packageManager.getResourcesForActivity(activityName);
3053 Log.w(TAG, "Failed to load toolbar icon; " + activityName.flattenToShortString() +
3057 Log.w(TAG, "Failed to load toolbar icon from " + activityName.flattenToShortString(),
3065 int buttonId, ComponentName activityName, int fallbackDrawableId,
3067 Drawable toolbarIcon = getExternalPackageToolbarIcon(activityName, toolbarResourceName);
3092 int buttonId, ComponentName activityName, int fallbackDrawableId,
3095 Drawable toolbarIcon = getExternalPackageToolbarIcon(activityName, toolbarResourceName);
3140 ComponentName activityName = searchManager.getGlobalSearchActivity();
3141 if (activityName != null) {
3144 R.id.search_button, activityName, R.drawable.ic_home_search_normal_holo,
3148 R.id.search_button, activityName, R.drawable.ic_home_search_normal_holo,
3186 ComponentName activityName = null;
3191 activityName = intent.resolveActivity(getPackageManager());
3194 if (activityName == null) {
3198 activityName = intent.resolveActivity(getPackageManager());
3200 if (searchVisible && activityName != null) {
3203 R.id.voice_button, activityName, R.drawable.ic_home_voice_search_holo,
3207 R.id.voice_button, activityName, R.drawable.ic_home_voice_search_holo,
3242 ComponentName activityName = intent.resolveActivity(getPackageManager());
3243 if (activityName != null) {
3247 R.id.market_button, activityName, R.drawable.ic_launcher_market_holo,