HomeSort by relevance Sort by last modified time
    Searched refs:Activity (Results 326 - 350 of 1444) sorted by null

<<11121314151617181920>>

  /packages/experimental/LoaderApp/src/com/android/loaderapp/
ViewContact.java 19 import android.app.Activity;
24 public class ViewContact extends Activity {
  /sdk/testapps/basicLibWithJar/src/com/android/tests/basiclibwithjar/
Main.java 5 import android.app.Activity;
9 public class Main extends Activity
11 /** Called when the activity is first created. */
  /sdk/testapps/basicProjectWithJar/src/com/android/tests/basicprojectwithjar/
Main.java 5 import android.app.Activity;
9 public class Main extends Activity {
10 /** Called when the activity is first created. */
  /sdk/testapps/basicProjectWithJava/src/com/android/tests/basicProjectWithJava/
Main.java 5 import android.app.Activity;
9 public class Main extends Activity {
10 /** Called when the activity is first created. */
  /sdk/testapps/basicProjectWithJavaFolder/src/com/android/tests/basicProjectWithJava/
Main.java 5 import android.app.Activity;
9 public class Main extends Activity {
10 /** Called when the activity is first created. */
  /frameworks/base/core/java/android/nfc/
NfcActivityManager.java 19 import android.app.Activity;
26 * Manages NFC API's that are coupled to the life-cycle of an Activity.
41 final WeakHashMap<Activity, NfcActivityState> mNfcState; // contents protected by this
45 * NFC state associated with an {@link Activity}
48 boolean resumed = false; // is the activity resumed
63 mNfcState = new WeakHashMap<Activity, NfcActivityState>();
68 * onResume hook from fragment attached to activity
70 public synchronized void onResume(Activity activity) {
71 NfcActivityState state = mNfcState.get(activity);
    [all...]
NfcFragment.java 19 import android.app.Activity;
24 * Used by {@link NfcActivityManager} to attach to activity life-cycle.
35 * Attach NfcFragment to an activity (if not already attached).
37 public static void attach(Activity activity) {
38 FragmentManager manager = activity.getFragmentManager();
45 * Remove NfcFragment from activity.
47 public static void remove(Activity activity) {
48 FragmentManager manager = activity.getFragmentManager()
    [all...]
NfcAdapter.java 23 import android.app.Activity;
50 * Intent to start an activity when a tag with NDEF payload is discovered.
57 * most specific intent filters possible to avoid the activity chooser dialog, which can
68 * Intent to start an activity when a tag is discovered and activities are registered for the
71 * <p>To receive this intent an activity must include an intent filter
75 * &lt;activity android:name=".nfc.TechFilter" android:label="NFC/TechFilter"&gt;
84 * &lt;/activity&gt;
94 * activity is considered a match is any single <code>tech-list</code> matches the tag that was
126 * Intent to start an activity when a tag is discovered.
135 * Broadcast to only the activity that handles ACTION_TAG_DISCOVERE
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
LocalSampleInstrumentation.java 19 import android.app.Activity;
33 public final Activity activity; field in class:LocalSampleInstrumentation.ActivityRunnable
34 public ActivityRunnable(Activity _activity) {
35 activity = _activity;
52 // First start the activity we are instrumenting -- the save/restore
58 SaveRestoreState activity = (SaveRestoreState)startActivitySync(intent); local
60 // This is the Activity object that was started, to do with as we want.
62 "Initial text: " + activity.getSavedText());
65 runOnMainSync(new ActivityRunnable(activity) {
    [all...]
  /frameworks/base/core/tests/coretests/src/android/app/activity/
LocalActivity.java 17 package android.app.activity;
21 import android.app.Activity;
LocalDialog.java 17 package android.app.activity;
21 import android.app.Activity;
LocalScreen.java 17 package android.app.activity;
21 import android.app.Activity;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
UsbDisconnectedReceiver.java 19 import android.app.Activity;
31 private final Activity mActivity;
35 public UsbDisconnectedReceiver(Activity activity, UsbDevice device) {
36 mActivity = activity;
40 activity.registerReceiver(this, filter);
43 public UsbDisconnectedReceiver(Activity activity, UsbAccessory accessory) {
44 mActivity = activity;
48 activity.registerReceiver(this, filter)
    [all...]
  /frameworks/base/test-runner/src/android/test/
ActivityInstrumentationTestCase2.java 19 import android.app.Activity;
25 * This class provides functional testing of a single activity. The activity under test will
27 * and you will then be able to manipulate your Activity directly.
32 * <li>You can inject custom Intents into your Activity (see
41 public abstract class ActivityInstrumentationTestCase2<T extends Activity>
51 * @param activityClass The activity to test. This must be a class in the instrumentation
64 * @param activityClass The activity to test. This must be a class in the instrumentation
72 * Get the Activity under test, starting it if necessary.
74 * For each test method invocation, the Activity will not actually be created until the firs
    [all...]
  /packages/apps/Camera/src/com/android/camera/
MenuHelper.java 19 import android.app.Activity;
80 private static void startCameraActivity(Activity activity, Intent intent,
84 intent.setClassName(activity.getPackageName(), className);
91 activity.startActivity(intent);
94 activity.startActivity(intent);
96 activity.overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out);
99 public static void gotoMode(int mode, Activity activity) {
118 startCameraActivity(activity, new Intent(action), className)
    [all...]
  /packages/apps/Camera/tests/src/com/android/camera/functional/
CameraTest.java 23 import android.app.Activity;
67 ArrayList<WeakReference<Activity>> refs =
68 new ArrayList<WeakReference<Activity>>();
70 Activity activity = getInstrumentation().startActivitySync(intent); local
71 refs.add(new WeakReference<Activity>(activity));
72 activity.finish();
74 activity = null;
80 for (WeakReference<Activity> c: refs)
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
UiUtilities.java 17 package com.android.email.activity;
21 import android.app.Activity;
70 /** Generics version of {@link Activity#findViewById} */
72 public static <T extends View> T getViewOrNull(Activity parent, int viewId) {
83 * Same as {@link Activity#findViewById}, but crashes if there's no view.
86 public static <T extends View> T getView(Activity parent, int viewId) {
117 public static void setVisibilitySafe(Activity parent, int viewId, int visibility) {
129 * Used by an {@link Fragment} to install itself to the host activity.
134 final Activity a = fragment.getActivity();
141 * Used by an {@link Fragment} to uninstall itself from the host activity
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
CtsVerifierActivity.java 19 import android.app.Activity;
27 /** {@link Activity} that displays an introduction to the verifier. */
28 public class CtsVerifierActivity extends Activity {
30 /** Called when the activity is first created. */
  /cts/tests/src/android/app/cts/
ActivityManagerMemoryClassLaunchActivity.java 18 import android.app.Activity;
26 * {@link Activity} that just launches {@link ActivityManagerMemoryClassTestActivity} and
27 * returns the result of that activity.
29 public class ActivityManagerMemoryClassLaunchActivity extends Activity {
43 // Start the activity that runs in a separate process to do the actual testing,
44 // since the test itself cannot start an activity in a separate process. A separate
  /cts/tests/src/android/hardware/cts/
CameraStubActivity.java 19 import android.app.Activity;
26 public class CameraStubActivity extends Activity {
  /cts/tests/src/android/text/method/cts/
KeyListenerStubActivity.java 21 import android.app.Activity;
34 * This Activity is used for testing:
56 public class KeyListenerStubActivity extends Activity {
  /cts/tests/src/android/view/cts/
FocusFinderStubActivity.java 21 import android.app.Activity;
28 public class FocusFinderStubActivity extends Activity {
  /cts/tests/src/android/widget/cts/
AdapterViewStubActivity.java 22 import android.app.Activity;
33 public class AdapterViewStubActivity extends Activity {
37 * Called with the activity is first created.
  /cts/tests/tests/permission/src/android/permission/cts/
NoActivityRelatedPermissionTest.java 21 import android.app.Activity;
32 * Verify the Activity related operations require specific permissions.
34 @TestTargetClass(Activity.class)
61 fail("Activity.getRunningTasks did not throw SecurityException as expected");
68 fail("Activity.getRunningTasks did not throw SecurityException as expected");
  /development/ndk/platforms/android-8/samples/bitmap-plasma/src/com/example/plasma/
Plasma.java 18 import android.app.Activity;
25 public class Plasma extends Activity
27 /** Called when the activity is first created. */

Completed in 2950 milliseconds

<<11121314151617181920>>