HomeSort by relevance Sort by last modified time
    Searched full:activity (Results 1 - 25 of 2496) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/Provision/
proguard.flags 1 -keep class * extends android.app.Activity
  /external/quake/src/com/android/quake/
PreconditionActivityHelper.java 3 import android.app.Activity;
10 * activity, WaitActivity.class);
15 * // And in the wait activity:
22 * Create a precondition activity intent.
23 * @param activity the original activity
24 * @param preconditionActivityClazz the precondition activity's class
25 * @return an intent which will launch the precondition activity.
27 public static Intent createPreconditionIntent(Activity activity,
    [all...]
  /frameworks/base/native/android/
native_activity.cpp 24 void ANativeActivity_finish(ANativeActivity* activity) {
25 android_NativeActivity_finish(activity);
28 void ANativeActivity_setWindowFormat(ANativeActivity* activity, int32_t format) {
29 android_NativeActivity_setWindowFormat(activity, format);
32 void ANativeActivity_setWindowFlags(ANativeActivity* activity,
34 android_NativeActivity_setWindowFlags(activity, addFlags, addFlags|removeFlags);
37 void ANativeActivity_showSoftInput(ANativeActivity* activity, uint32_t flags) {
38 android_NativeActivity_showSoftInput(activity, flags);
41 void ANativeActivity_hideSoftInput(ANativeActivity* activity, uint32_t flags) {
42 android_NativeActivity_hideSoftInput(activity, flags)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestResult.java 19 import android.app.Activity;
23 * Object representing the result of a test activity like whether it succeeded or failed.
24 * Use {@link #setPassedResult(Activity)} or {@link #setFailedResult(Activity)} from a test
25 * activity like you would {@link Activity#setResult(int)} so that {@link TestListActivity} will
41 /** Sets the test activity's result to pass. */
42 public static void setPassedResult(Activity activity) {
43 activity.setResult(Activity.RESULT_OK, createResult(activity, TEST_RESULT_PASSED))
    [all...]
PassFailButtons.java 32 * {@link Activity}s to handle clicks to the pass and fail buttons of the pass fail buttons layout.
40 * <li>Make sure to call setResult(RESULT_CANCEL) in your Activity initially.</li>
53 * Call from {@link Activity#onCreate} after {@link Activity #setContentView(int)}.
58 * Adds an initial informational dialog that appears when entering the test activity for
62 * Call from {@link Activity#onCreate} after {@link Activity #setContentView(int)}.
72 public static class Activity extends android.app.Activity implements PassFailActivity {
102 private static void setPassFailClickListeners(final android.app.Activity activity)
    [all...]
  /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...]
  /device/google/accessory/demokit/app/src/com/google/android/DemoKit/
DemoKitLaunch.java 3 import android.app.Activity;
10 public class DemoKitLaunch extends Activity {
13 static Intent createIntent(Activity activity) {
14 Display display = activity.getWindowManager().getDefaultDisplay();
20 intent = new Intent(activity, DemoKitTablet.class);
23 intent = new Intent(activity, DemoKitPhone.class);
39 Log.e(TAG, "unable to start DemoKit activity", e);
AccessoryController.java 10 public AccessoryController(DemoKitActivity activity) {
11 mHostActivity = activity;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/templates/
activity.template 0 <activity android:name=".ACTIVITY_NAME"
7 </activity
java_file.template 3 import android.app.Activity;
6 public class ACTIVITY_NAME extends Activity {
7 /** Called when the activity is first created. */
  /cts/tests/tests/view/src/android/view/cts/
GestureDetectorTestUtil.java 28 * @param activity GestureDetectorStubActivity
31 GestureDetectorStubActivity activity) {
32 View view = activity.getView();
35 TouchUtils.scrollToBottom(testcase, activity, activity.getViewGroup());
44 InstrumentationTestCase.assertTrue(activity.isDown);
45 InstrumentationTestCase.assertTrue(activity.isScroll);
46 InstrumentationTestCase.assertTrue(activity.isFling);
47 InstrumentationTestCase.assertTrue(activity.isSingleTapUp);
48 InstrumentationTestCase.assertTrue(activity.onLongPress)
    [all...]
  /sdk/templates/
java_file.template 3 import android.app.Activity;
6 public class ACTIVITY_CLASS_NAME extends Activity
8 /** Called when the activity is first created. */
  /packages/apps/Gallery3D/src/com/cooliris/media/
MonitoredActivity.java 19 import android.app.Activity;
24 public class MonitoredActivity extends Activity {
29 public void onActivityCreated(MonitoredActivity activity);
31 public void onActivityDestroyed(MonitoredActivity activity);
33 public void onActivityPaused(MonitoredActivity activity);
35 public void onActivityResumed(MonitoredActivity activity);
37 public void onActivityStarted(MonitoredActivity activity);
39 public void onActivityStopped(MonitoredActivity activity);
43 public void onActivityCreated(MonitoredActivity activity) {
46 public void onActivityDestroyed(MonitoredActivity activity) {
    [all...]
  /frameworks/base/test-runner/src/android/test/
ActivityUnitTestCase.java 19 import android.app.Activity;
31 * This class provides isolated testing of a single activity. The activity under test will
33 * wrappered versions of many of Activity's dependencies. Most of the work is handled
38 * <p>It must be noted that, as a true unit test, your Activity will not be running in the
43 * <li>{@link android.app.Activity#createPendingResult(int, Intent, int)}</li>
44 * <li>{@link android.app.Activity#startActivityIfNeeded(Intent, int)}</li>
45 * <li>{@link android.app.Activity#startActivityFromChild(Activity, Intent, int)}</li>
46 * <li>{@link android.app.Activity#startNextMatchingActivity(Intent)}</li
    [all...]
SingleLaunchActivityTestCase.java 19 import android.app.Activity;
24 * If you would like to test a single activity with an
26 * launch and finish the activity in {@link #setUp} and {@link #tearDown}.
28 * This launches the activity only once for the entire class instead of doing it
31 public abstract class SingleLaunchActivityTestCase<T extends Activity>
41 * package hosting the activity to be launched, which is specified in the AndroidManifest.xml
44 * @param pkg The package hosting the activity to be launched.
45 * @param activityClass The activity to test.
54 * The activity that will be set up for use in each test method.
56 private static Activity sActivity
    [all...]
  /development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/
FixedGridLayoutTest.java 3 import android.app.Activity;
6 public class FixedGridLayoutTest extends Activity
8 /** Called when the activity is first created. */
  /development/apps/FontLab/
AndroidManifest.xml 3 <activity android:name="FontLab">
9 </activity>
10 <activity android:name="BackgroundPicker"/>
11 <activity android:name="FontPicker"/>
  /frameworks/base/core/tests/coretests/
AndroidManifest.xml 99 <activity android:name="StubTestBrowserActivity" android:label="Stubbed Test Browser">
104 </activity>
106 <activity android:name="android.test.TestBrowserTests" android:label="Test Browser Tests">
111 </activity>
113 <activity android:name="android.widget.focus.DescendantFocusability" android:label="DescendantFocusability">
118 </activity>
120 <activity android:name="android.widget.focus.FocusAfterRemoval" android:label="FocusAfterRemoval">
125 </activity>
127 <activity android:name="android.widget.focus.RequestFocus" android:label="RequestFocus">
132 </activity>
    [all...]
  /frameworks/base/core/tests/coretests/src/android/view/
RunQueueTest.java 34 final RunQueue activity = getActivity(); local
36 assertTrue("The runnable did not run", activity.runnableRan);
41 final RunQueue activity = getActivity(); local
43 assertTrue("The runnable was not cancelled", activity.runnableCancelled);
48 final RunQueue activity = getActivity(); local
50 assertTrue("The global layout listener did not fire", activity.globalLayout);
55 final RunQueue activity = getActivity(); local
57 assertFalse("The view tree observer is still alive", activity.viewTreeObserver.isAlive());
  /frameworks/base/core/java/android/app/
Instrumentation.java 104 * begin the appropriate first activity of the application.
144 * Application, Activity, BroadcastReceiver, Service, or null.
343 * Start a new activity and wait for it to begin running before returning.
346 * activity component is resolved before talking with the activity manager
351 * select an activity, an exception will be thrown.
353 * <p>The function returns as soon as the activity goes idle following the
354 * call to its {@link Activity#onCreate}. Generally this means it has gone
355 * through the full initialization including {@link Activity#onResume} and
358 * @param intent Description of the activity to start
684 Activity activity = monitor.waitForActivity(); local
703 Activity activity = monitor.waitForActivityWithTimeout(timeOut); local
736 private final Activity activity; field in class:Instrumentation.MenuRunnable
799 private final Activity activity; field in class:Instrumentation.ContextMenuRunnable
998 Activity activity = (Activity)clazz.newInstance(); local
1487 public Activity activity; field in class:Instrumentation.ActivityWaiter
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
LocalSampleInstrumentation.java 19 import android.app.Activity;
35 public final Activity activity; field in class:LocalSampleInstrumentation.ActivityRunnable
36 public ActivityRunnable(Activity _activity) {
37 activity = _activity;
54 // First start the activity we are instrumenting -- the save/restore
60 SaveRestoreState activity = (SaveRestoreState)startActivitySync(intent); local
62 // This is the Activity object that was started, to do with as we want.
64 "Initial text: " + activity.getSavedText());
67 runOnMainSync(new ActivityRunnable(activity) {
    [all...]
  /device/google/accessory/demokit/app/
AndroidManifest.xml 11 <activity android:name=".DemoKitLaunch" android:label="@string/app_name">
16 </activity>
17 <activity android:name=".DemoKitActivity" android:label="@string/app_name"
19 </activity>
20 <activity android:name=".DemoKitPhone" android:label="@string/app_name"
22 </activity>
23 <activity android:name=".DemoKitTablet" android:label="@string/app_name"
25 </activity>
26 <activity android:name="UsbAccessoryActivity" android:label="DemoKit"
34 </activity>
    [all...]
  /frameworks/base/tests/StatusBar/
AndroidManifest.xml 10 <activity android:name="StatusBarTest" android:label="_StatusBar">
16 </activity>
17 <activity android:name="NotificationTestList" android:label="_Notifications">
23 </activity>
24 <activity android:name="ToastTest" android:label="_Toasts">
30 </activity>
31 <activity android:name="PowerTest" android:label="_Power">
37 </activity>
38 <activity android:name="TestAlertActivity" android:theme="@android:style/Theme.Dialog">
39 </activity>
    [all...]
  /development/samples/ApiDemos/
AndroidManifest.xml 53 <activity android:name="ApiDemos">
59 </activity>
65 <!-- Activity Samples -->
67 <activity android:name=".app.HelloWorld" android:label="@string/activity_hello_world">
72 </activity>
74 <activity android:name=".app.DialogActivity"
81 </activity>
83 <activity android:name=".app.CustomDialogActivity"
90 </activity>
92 <activity android:name=".app.QuickContactsDemo
    [all...]
  /frameworks/base/tests/LotsOfApps/
AndroidManifest.xml 10 <activity android:name="00" android:icon="@drawable/ic_launcher_add_folder">
16 </activity>
17 <activity android:name="01" android:icon="@drawable/ic_launcher_alarmclock">
23 </activity>
24 <activity android:name="02" android:icon="@drawable/ic_launcher_application">
30 </activity>
31 <activity android:name="03" android:icon="@drawable/ic_launcher_browser">
37 </activity>
38 <activity android:name="04" android:icon="@drawable/ic_launcher_camera">
44 </activity>
    [all...]

Completed in 1044 milliseconds

1 2 3 4 5 6 7 8 91011>>