HomeSort by relevance Sort by last modified time
    Searched full:activity (Results 1 - 25 of 3538) 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/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;
  /packages/apps/Calendar/src/com/android/calendar/
AbstractCalendarActivity.java 3 import android.app.Activity;
5 public abstract class AbstractCalendarActivity extends 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. */
  /development/tools/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. */
  /sdk/layoutlib_api/sample/testproject/src/com/example/layoutlib/testproject/
Main.java 3 import android.app.Activity;
6 public class Main extends Activity
8 /** Called when the activity is first created. */
  /sdk/testapps/basicLib/src/com/android/tests/basiclib/
Main.java 3 import android.app.Activity;
6 public class Main extends Activity
8 /** Called when the activity is first created. */
  /sdk/testapps/basicProject/src/com/android/tests/basicproject/
Main.java 3 import android.app.Activity;
6 public class Main extends Activity
8 /** Called when the activity is first created. */
  /sdk/testapps/basicProjectWithAidl/src/com/android/tests/basicprojectwithaidl/
Main.java 3 import android.app.Activity;
6 public class Main extends Activity
8 /** 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...]
  /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...]
  /cts/tests/tests/view/src/android/view/cts/
GestureDetectorTestUtil.java 30 * @param activity GestureDetectorStubActivity
33 GestureDetectorStubActivity activity) {
34 View view = activity.getView();
37 TouchUtils.scrollToBottom(testcase, activity, activity.getViewGroup());
41 Window window = activity.getWindow();
53 InstrumentationTestCase.assertTrue(activity.isDown);
54 InstrumentationTestCase.assertTrue(activity.isScroll);
55 InstrumentationTestCase.assertTrue(activity.isFling);
56 InstrumentationTestCase.assertTrue(activity.isSingleTapUp)
    [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/java/android/app/
Application.java 53 void onActivityCreated(Activity activity, Bundle savedInstanceState);
54 void onActivityStarted(Activity activity);
55 void onActivityResumed(Activity activity);
56 void onActivityPaused(Activity activity);
57 void onActivityStopped(Activity activity);
    [all...]
Instrumentation.java 103 * begin the appropriate first activity of the application.
143 * Application, Activity, BroadcastReceiver, Service, or null.
342 * Start a new activity and wait for it to begin running before returning.
345 * activity component is resolved before talking with the activity manager
350 * select an activity, an exception will be thrown.
352 * <p>The function returns as soon as the activity goes idle following the
353 * call to its {@link Activity#onCreate}. Generally this means it has gone
354 * through the full initialization including {@link Activity#onResume} and
357 * @param intent Description of the activity to start
685 Activity activity = monitor.waitForActivity(); local
704 Activity activity = monitor.waitForActivityWithTimeout(timeOut); local
737 private final Activity activity; field in class:Instrumentation.MenuRunnable
800 private final Activity activity; field in class:Instrumentation.ContextMenuRunnable
998 Activity activity = (Activity)clazz.newInstance(); local
1590 public Activity activity; field in class:Instrumentation.ActivityWaiter
    [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, String, String)} or
25 * {@link #setFailedResult(Activity, String, String)} from a test activity like you would
26 * {@link Activity#setResult(int)} so that {@link TestListActivity}
43 /** Sets the test activity's result to pass. */
44 public static void setPassedResult(Activity activity, String testId, String testDetails) {
45 activity.setResult(Activity.RESULT_OK, createResult(activity, TEST_RESULT_PASSED, testId
    [all...]
  /frameworks/base/core/tests/coretests/
AndroidManifest.xml 107 <activity android:name="android.view.ViewAttachTestActivity" android:label="View Attach Test">
112 </activity>
113 <activity android:name="StubTestBrowserActivity" android:label="Stubbed Test Browser">
118 </activity>
120 <activity android:name="android.test.TestBrowserTests" android:label="Test Browser Tests">
125 </activity>
127 <activity android:name="android.widget.focus.DescendantFocusability" android:label="DescendantFocusability">
132 </activity>
134 <activity android:name="android.widget.focus.FocusAfterRemoval" android:label="FocusAfterRemoval">
139 </activity>
    [all...]
  /packages/apps/Camera/src/com/android/camera/
MenuHelper.java 19 import android.app.Activity;
100 private static void startCameraActivity(Activity activity, Intent intent,
104 intent.setClassName(activity.getPackageName(), className);
111 activity.startActivity(intent);
114 activity.startActivity(intent);
116 activity.overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out);
119 public static void gotoMode(int mode, Activity activity) {
138 startCameraActivity(activity, new Intent(action), className)
    [all...]

Completed in 494 milliseconds

1 2 3 4 5 6 7 8 91011>>