HomeSort by relevance Sort by last modified time
    Searched refs:Activity (Results 251 - 275 of 2284) sorted by null

<<11121314151617181920>>

  /sdk/testapps/jarCheckTests2/lib2/src/com/android/tests/libwithsupport2/
MyActivity.java 3 import android.app.Activity;
6 public class MyActivity extends Activity
8 /** Called when the activity is first created. */
  /sdk/testapps/jarCheckTests3/app/src/com/android/tests/projectwithsupport/
MyActivity.java 3 import android.app.Activity;
6 public class MyActivity extends Activity
8 /** Called when the activity is first created. */
  /sdk/testapps/jarCheckTests3/lib1/src/com/android/tests/libwithsupport/
MyActivity.java 3 import android.app.Activity;
6 public class MyActivity extends Activity
8 /** Called when the activity is first created. */
  /sdk/testapps/jarCheckTests3/lib2/src/com/android/tests/libwithsupport2/
MyActivity.java 3 import android.app.Activity;
6 public class MyActivity extends Activity
8 /** Called when the activity is first created. */
  /sdk/testapps/javaProjectTest/lib1/src/com/android/tests/javaprojecttest/lib1/
Main.java 3 import android.app.Activity;
6 public class Main extends Activity
8 /** Called when the activity is first created. */
  /sdk/testapps/javaProjectTest/lib2/src/com/android/tests/javaprojecttest/lib2/
Main.java 3 import android.app.Activity;
6 public class Main extends Activity
8 /** Called when the activity is first created. */
  /sdk/testapps/libsAndJarTest/lib2/src/com/android/tests/javaprojecttest/lib2/
Main.java 3 import android.app.Activity;
6 public class Main extends Activity
8 /** Called when the activity is first created. */
  /sdk/testapps/libsTest/lib2/src/com/android/tests/libstest/lib2/
MainActivity.java 3 import android.app.Activity;
6 public class MainActivity extends Activity {
7 /** Called when the activity is first created. */
  /sdk/testapps/testProjectTest/lib/src/com/android/tests/testprojecttest/lib/
LibActivity.java 3 import android.app.Activity;
6 public class LibActivity extends Activity {
7 /** Called when the activity is first created. */
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowNfcAdapter.java 3 import android.app.Activity;
18 private Activity enabledActivity;
22 private Activity disabledActivity;
42 public void enableForegroundDispatch(Activity activity, PendingIntent intent, IntentFilter[] filters, String[][] techLists) {
43 this.enabledActivity = activity;
50 public void disableForegroundDispatch(Activity activity) {
51 disabledActivity = activity;
54 public Activity getEnabledActivity()
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ActivityGroupTest.java 3 import android.app.Activity;
19 Activity activity = new Activity(); local
20 shadowOf(activityGroup).setCurrentActivity(activity);
22 assertThat(activityGroup.getCurrentActivity(), is(activity));
  /frameworks/support/v4/jellybean/android/support/v4/app/
ActivityCompatJB.java 19 import android.app.Activity;
29 public static void startActivityForResult(Activity activity, Intent intent, int requestCode, Bundle options) {
30 activity.startActivityForResult(intent, requestCode, options);
33 public static void finishAffinity(Activity activity) {
34 activity.finishAffinity();
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarProviderBroadcastReceiver.java 19 import android.app.Activity;
30 setResultCode(Activity.RESULT_CANCELED);
37 setResultCode(Activity.RESULT_OK);
  /cts/tests/src/android/app/cts/
OrientationTestUtils.java 19 import android.app.Activity;
26 * Change the activity's orientation to something different and then switch back. This is used
27 * to trigger {@link Activity#onConfigurationChanged(android.content.res.Configuration)}.
29 * @param activity whose orientation will be changed and restored
31 public static void toggleOrientation(Activity activity) {
32 toggleOrientationSync(activity, null);
36 * Same as {@link #toggleOrientation(Activity)} except {@link Instrumentation#waitForIdleSync()}
39 * @param activity whose orientation will be changed and restored
42 public static void toggleOrientationSync(final Activity activity
    [all...]
  /development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/
ActionBarHelper.java 19 import android.app.Activity;
35 protected Activity mActivity;
39 * given activity. Depending on which device the app is running, either a basic helper or
42 public static ActionBarHelper createInstance(Activity activity) {
44 return new ActionBarHelperICS(activity);
46 return new ActionBarHelperHoneycomb(activity);
48 return new ActionBarHelperBase(activity);
52 protected ActionBarHelper(Activity activity) {
    [all...]
  /development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/inject/
Injector.java 19 import android.app.Activity;
27 * Usage is very simple. In your Activity, define some fields as follows:
38 * Then, inside your Activity's onCreate() method, perform the injection like this:
50 private final Activity mActivity;
52 private Injector(Activity activity) {
53 mActivity = activity;
57 * Gets an {@link Injector} capable of injecting fields for the given Activity.
59 public static Injector get(Activity activity) {
    [all...]
  /frameworks/base/core/tests/hosttests/test-apps/ExternalLocAllPermsTestApp/src/com/android/framework/externallocallpermstestapp/
ExternalLocAllPermsTest.java 18 import android.app.Activity;
  /frameworks/base/test-runner/src/android/test/
ActivityTestCase.java 19 import android.app.Activity;
25 * This is common code used to support Activity test cases. For more useful classes, please see
32 * The activity that will be set up for use in each test method.
34 private Activity mActivity;
37 * @return Returns the activity under test.
39 protected Activity getActivity() {
44 * Set the activity under test.
45 * @param testActivity The activity under test
47 protected void setActivity(Activity testActivity) {
  /frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-int-param/
ACTIVITY.java.template 19 import android.app.Activity;
22 // Renderscript activity
23 public class %ACTIVITY% extends Activity {
32 // Create our view and set it as the content of our Activity
44 // to take appropriate action when the activity loses focus
52 // to take appropriate action when the activity loses focus
  /frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-simple/
ACTIVITY.java.template 19 import android.app.Activity;
22 // Renderscript activity
23 public class %ACTIVITY% extends Activity {
32 // Create our view and set it as the content of our Activity
40 // to take appropriate action when the activity loses focus
48 // to take appropriate action when the activity loses focus
  /frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-simple-exit/
ACTIVITY.java.template 19 import android.app.Activity;
22 // Renderscript activity
23 public class %ACTIVITY% extends Activity {
32 // Create our view and set it as the content of our Activity
44 // to take appropriate action when the activity loses focus
52 // to take appropriate action when the activity loses focus
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
FeedbackEnabledActivity.java 21 import android.app.Activity;
26 * {@link FeedbackEnabledActivity} gives access to a subset of {@link android.app.Activity}
28 * These methods match the signatures from {@link android.app.Activity}.
32 * @see android.app.Activity#getWindow()
37 * Returns the context associated with the activity. This is different from the value returned
38 * by {@link Activity#getApplicationContext()}, which is the single context of the root
39 * activity. Some components (dialogs) require the context of the activity. When implementing
40 * this, you can return this, since each activity is also a context.
41 * @return the context associated with this activity
    [all...]
  /cts/hostsidetests/sample/app/src/android/sample/app/
SampleDeviceActivity.java 19 import android.app.Activity;
26 * A simple activity which logs to Logcat.
28 public class SampleDeviceActivity extends Activity {
  /cts/libs/deviceutil/src/android/cts/util/
CtsActivityInstrumentationTestCase2.java 22 import android.app.Activity;
26 public class CtsActivityInstrumentationTestCase2<T extends Activity> extends
  /cts/libs/wrappedgtest/src/
WrappedGTestActivity.java 19 import android.app.Activity;
23 public class WrappedGTestActivity extends Activity {
41 protected static native int runTests(WrappedGTestActivity activity);

Completed in 869 milliseconds

<<11121314151617181920>>