Searched refs:ComponentName (Results 1 - 25 of 326) sorted by last modified time

1234567891011>>

/frameworks/support/v4/honeycomb/android/support/v4/content/
H A DIntentCompatHoneycomb.java19 import android.content.ComponentName;
23 public static Intent makeMainActivity(ComponentName mainActivity) {
27 public static Intent makeRestartActivityTask(ComponentName mainActivity) {
/frameworks/support/v4/honeycomb/android/support/v4/widget/
H A DSearchViewCompatHoneycomb.java20 import android.content.ComponentName;
45 public static void setSearchableInfo(View searchView, ComponentName searchableComponent) {
/frameworks/support/v4/java/android/support/v4/app/
H A DNavUtils.java20 import android.content.ComponentName;
57 final ComponentName target = new ComponentName(activity, parentName);
227 * @throws NameNotFoundException if the ComponentName for sourceActivityClass is invalid
232 new ComponentName(context, sourceActivityClass));
236 final ComponentName target = new ComponentName(context, parentActivity);
250 * @param componentName ComponentName for the source Activity
252 * @throws NameNotFoundException if the ComponentName for sourceActivityClass is invalid
254 public static Intent getParentActivityIntent(Context context, ComponentName componentNam
[all...]
H A DNotificationManagerCompat.java22 import android.content.ComponentName;
242 ComponentName componentName = ComponentName.unflattenFromString(component);
290 private final Map<ComponentName, ListenerRecord> mRecordMap =
291 new HashMap<ComponentName, ListenerRecord>();
320 handleServiceDisconnected((ComponentName) msg.obj);
323 handleRetryListenerQueue((ComponentName) msg.obj);
337 private void handleServiceConnected(ComponentName componentName, IBinder iBinder) {
346 private void handleServiceDisconnected(ComponentName componentName) {
353 private void handleRetryListenerQueue(ComponentName componentNam
[all...]
H A DShareCompat.java20 import android.content.ComponentName;
72 * Intent extra that stores the {@link ComponentName} of the calling activity for
182 * Retrieve the ComponentName of the activity that launched calledActivity from a share intent.
191 * @return ComponentName of the calling activity
193 public static ComponentName getCallingActivity(Activity calledActivity) {
194 ComponentName result = calledActivity.getCallingActivity();
256 * to share content. The ComponentName and package name of the calling activity
661 private ComponentName mCallingActivity;
875 * Get the {@link ComponentName} of the Activity that invoked this sharing intent.
883 * @return ComponentName o
[all...]
H A DTaskStackBuilder.java21 import android.content.ComponentName;
169 * <p>This is equivalent to calling {@link #addParentStack(ComponentName) addParentStack}
170 * with the resolved ComponentName of nextIntent (if it can be resolved), followed by
178 ComponentName target = nextIntent.getComponent();
208 ComponentName target = parent.getComponent();
226 return addParentStack(new ComponentName(mSourceContext, sourceActivityClass));
237 public TaskStackBuilder addParentStack(ComponentName sourceActivityName) {
246 Log.e(TAG, "Bad ComponentName while traversing activity parent metadata");
/frameworks/support/v4/java/android/support/v4/content/
H A DIntentCompat.java19 import android.content.ComponentName;
31 Intent makeMainActivity(ComponentName componentName);
33 Intent makeRestartActivityTask(ComponentName mainActivity);
38 public Intent makeMainActivity(ComponentName componentName) {
57 public Intent makeRestartActivityTask(ComponentName mainActivity) {
67 public Intent makeMainActivity(ComponentName componentName) {
71 public Intent makeRestartActivityTask(ComponentName componentName) {
220 public static Intent makeMainActivity(ComponentName mainActivity) {
254 * in its base state. This is like {@link #makeMainActivity(ComponentName)},
265 public static Intent makeRestartActivityTask(ComponentName mainActivit
[all...]
H A DWakefulBroadcastReceiver.java20 import android.content.ComponentName;
80 public static ComponentName startWakefulService(Context context, Intent intent) {
89 ComponentName comp = context.startService(intent);
/frameworks/support/v4/java/android/support/v4/widget/
H A DSearchViewCompat.java20 import android.content.ComponentName;
34 void setSearchableInfo(View searchView, ComponentName searchableComponent);
61 public void setSearchableInfo(View searchView, ComponentName searchableComponent) {
143 public void setSearchableInfo(View searchView, ComponentName searchableComponent) {
289 public static void setSearchableInfo(View searchView, ComponentName searchableComponent) {
489 * if a SearchableInfo has been specified with {@link #setSearchableInfo(View, ComponentName)}
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuBuilder.java19 import android.content.ComponentName;
495 public int addIntentOptions(int group, int id, int categoryOrder, ComponentName caller,
510 rintent.setComponent(new ComponentName(
H A DMenuWrapperICS.java19 import android.content.ComponentName;
75 public int addIntentOptions(int groupId, int itemId, int order, ComponentName caller,
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActivityChooserModel.java19 import android.content.ComponentName;
470 ComponentName chosenName = new ComponentName(
551 ComponentName defaultName = new ComponentName(
767 public final ComponentName activity;
787 this(ComponentName.unflattenFromString(activityName), time, weight);
797 public HistoricalRecord(ComponentName activityName, long time, float weight) {
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java24 import android.content.ComponentName;
1448 ComponentName searchActivity = searchable.getSearchActivity();
1463 ComponentName searchActivity = searchable.getSearchActivity();
H A DSuggestionsAdapter.java21 import android.content.ComponentName;
593 private Drawable getActivityIconWithCache(ComponentName component) {
616 private Drawable getActivityIcon(ComponentName component) {
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProvider.java19 import android.content.ComponentName;
89 mMetadata = new ProviderMetadata(new ComponentName(context, getClass()));
264 private final ComponentName mComponentName;
266 ProviderMetadata(ComponentName componentName) {
283 public ComponentName getComponentName() {
H A DMediaRouter.java20 import android.content.ComponentName;
1285 public ComponentName getComponentName() {
H A DRegisteredMediaRouteProvider.java19 import android.content.ComponentName;
49 private final ComponentName mComponentName;
58 public RegisteredMediaRouteProvider(Context context, ComponentName componentName) {
187 public void onServiceConnected(ComponentName name, IBinder service) {
212 public void onServiceDisconnected(ComponentName name) {
H A DRegisteredMediaRouteProviderWatcher.java20 import android.content.ComponentName;
104 new ComponentName(serviceInfo.packageName, serviceInfo.name));
H A DSystemMediaRouteProvider.java20 import android.content.ComponentName;
47 super(context, new ProviderMetadata(new ComponentName(PACKAGE_NAME,
/frameworks/testing/app-tests/AppLaunchTest/src/com/android/applaunchtest/
H A DAppLaunchTest.java21 import android.content.ComponentName;
187 final ComponentName component = new ComponentName(app.activityInfo.packageName,
/frameworks/testing/support/src/android/support/test/runner/
H A DAndroidJUnitRunner.java22 import android.content.ComponentName;
544 // ActivityUnitTestCase defaults to building the ComponentName via
562 ComponentName intentComponentName = intent.getComponent();
566 new ComponentName(contextPackageName, intentComponentName.getClassName()));
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestRunner.java22 import android.content.ComponentName;
186 public void instrumentationStatus(ComponentName name, int resultCode, Bundle results) {
209 public void instrumentationFinished(ComponentName name, int resultCode, Bundle results) {
/frameworks/testing/uiautomator/utils/SleepUtils/SleepHelper/src/com/android/testing/sleephelper/
H A DSetAlarm.java21 import android.content.ComponentName;
51 public void onServiceDisconnected(ComponentName name) {
58 public void onServiceConnected(ComponentName name, IBinder service) {
111 ComponentName cn = getContext().startService(mServceIntent);
/frameworks/opt/telephony/src/java/android/provider/
H A DTelephony.java21 import android.content.ComponentName;
287 ComponentName component = SmsApplication.getDefaultSmsApplication(context, false);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DInboundSmsHandler.java25 import android.content.ComponentName;
839 ComponentName componentName = SmsApplication.getDefaultSmsApplication(mContext, true);

Completed in 1239 milliseconds

1234567891011>>