/frameworks/base/core/tests/coretests/src/android/app/activity/ |
LocalDeniedService.java | 17 package android.app.activity;
|
LocalGrantedService.java | 17 package android.app.activity;
|
/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...] |
/development/ndk/platforms/android-9/include/android/ |
native_activity.h | 104 * NativeActivity has started. See Java documentation for Activity.onStart() 107 void (*onStart)(ANativeActivity* activity); 110 * NativeActivity has resumed. See Java documentation for Activity.onResume() 113 void (*onResume)(ANativeActivity* activity); 117 * See Java documentation for Activity.onSaveInstanceState() for more 124 void* (*onSaveInstanceState)(ANativeActivity* activity, size_t* outSize); 127 * NativeActivity has paused. See Java documentation for Activity.onPause() 130 void (*onPause)(ANativeActivity* activity); 133 * NativeActivity has stopped. See Java documentation for Activity.onStop() 136 void (*onStop)(ANativeActivity* activity); [all...] |
/frameworks/base/native/include/android/ |
native_activity.h | 111 * NativeActivity has started. See Java documentation for Activity.onStart() 114 void (*onStart)(ANativeActivity* activity); 117 * NativeActivity has resumed. See Java documentation for Activity.onResume() 120 void (*onResume)(ANativeActivity* activity); 124 * See Java documentation for Activity.onSaveInstanceState() for more 131 void* (*onSaveInstanceState)(ANativeActivity* activity, size_t* outSize); 134 * NativeActivity has paused. See Java documentation for Activity.onPause() 137 void (*onPause)(ANativeActivity* activity); 140 * NativeActivity has stopped. See Java documentation for Activity.onStop() 143 void (*onStop)(ANativeActivity* activity); [all...] |
/prebuilt/ndk/android-ndk-r5/platforms/android-9/arch-arm/usr/include/android/ |
native_activity.h | 104 * NativeActivity has started. See Java documentation for Activity.onStart() 107 void (*onStart)(ANativeActivity* activity); 110 * NativeActivity has resumed. See Java documentation for Activity.onResume() 113 void (*onResume)(ANativeActivity* activity); 117 * See Java documentation for Activity.onSaveInstanceState() for more 124 void* (*onSaveInstanceState)(ANativeActivity* activity, size_t* outSize); 127 * NativeActivity has paused. See Java documentation for Activity.onPause() 130 void (*onPause)(ANativeActivity* activity); 133 * NativeActivity has stopped. See Java documentation for Activity.onStop() 136 void (*onStop)(ANativeActivity* activity); [all...] |
/prebuilt/ndk/android-ndk-r6/platforms/android-9/arch-arm/usr/include/android/ |
native_activity.h | 104 * NativeActivity has started. See Java documentation for Activity.onStart() 107 void (*onStart)(ANativeActivity* activity); 110 * NativeActivity has resumed. See Java documentation for Activity.onResume() 113 void (*onResume)(ANativeActivity* activity); 117 * See Java documentation for Activity.onSaveInstanceState() for more 124 void* (*onSaveInstanceState)(ANativeActivity* activity, size_t* outSize); 127 * NativeActivity has paused. See Java documentation for Activity.onPause() 130 void (*onPause)(ANativeActivity* activity); 133 * NativeActivity has stopped. See Java documentation for Activity.onStop() 136 void (*onStop)(ANativeActivity* activity); [all...] |
/prebuilt/ndk/android-ndk-r6/platforms/android-9/arch-x86/usr/include/android/ |
native_activity.h | 104 * NativeActivity has started. See Java documentation for Activity.onStart() 107 void (*onStart)(ANativeActivity* activity); 110 * NativeActivity has resumed. See Java documentation for Activity.onResume() 113 void (*onResume)(ANativeActivity* activity); 117 * See Java documentation for Activity.onSaveInstanceState() for more 124 void* (*onSaveInstanceState)(ANativeActivity* activity, size_t* outSize); 127 * NativeActivity has paused. See Java documentation for Activity.onPause() 130 void (*onPause)(ANativeActivity* activity); 133 * NativeActivity has stopped. See Java documentation for Activity.onStop() 136 void (*onStop)(ANativeActivity* activity); [all...] |
/frameworks/base/core/java/android/app/ |
OnActivityPausedListener.java | 20 * A listener that is called when an Activity is paused. Since this is tracked client side 28 * Called when the given activity is paused. 30 public void onPaused(Activity 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...] |
/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...] |
/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());
|
ViewAttachTest.java | 36 * 1. Initiate the activity 2. Perform a series of orientation changes to 37 * the activity (this will force the View hierarchy to be rebuild, 46 final ViewAttachTestActivity activity = getActivity(); local 48 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); 50 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
|
/cts/tests/ProcessTest/NoShareUidApp/src/com/android/cts/process/activity/ |
NoSharePidActivity.java | 16 package com.android.cts.process.activity; 18 import android.app.Activity; 20 public class NoSharePidActivity extends Activity {
|
/cts/tests/ProcessTest/ShareUidApp/src/com/android/cts/process/activity/ |
SharePidActivity.java | 16 package com.android.cts.process.activity; 18 import android.app.Activity; 20 public class SharePidActivity extends Activity {
|
SharePidSubActivity.java | 16 package com.android.cts.process.activity; 18 import android.app.Activity; 20 public class SharePidSubActivity extends Activity {
|
/cts/tests/tests/view/src/android/view/cts/ |
GestureDetectorTestUtil.java | 30 * @param activity GestureDetectorStubActivity 33 GestureDetectorStubActivity activity) { 41 View view = activity.getView(); 44 TouchUtils.scrollToBottom(testcase, activity, activity.getViewGroup()); 48 Window window = activity.getWindow(); 60 InstrumentationTestCase.assertTrue(activity.isDown); 61 InstrumentationTestCase.assertTrue(activity.isScroll); 62 InstrumentationTestCase.assertTrue(activity.isFling); 63 InstrumentationTestCase.assertTrue(activity.isSingleTapUp) [all...] |
/frameworks/support/v4/honeycomb/android/support/v4/app/ |
ActivityCompatHoneycomb.java | 19 import android.app.Activity; 25 * Implementation of activity compatibility that can call Honeycomb APIs. 28 static void invalidateOptionsMenu(Activity activity) { 29 activity.invalidateOptionsMenu(); 32 static void dump(Activity activity, String prefix, FileDescriptor fd, 34 activity.dump(prefix, fd, writer, args);
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayerSurfaceTest.java | 32 MediaPlayerSurfaceStubActivity activity = launchActivity("com.android.cts.stub", local 34 activity.playVideo(); 35 activity.finish();
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
FrameworkPerfTest.java | 3 import android.app.Activity; 16 final FrameworkPerfActivity activity = getActivity(); local 17 synchronized (activity.mResultNotifier) { 21 activity.startRunning(); 25 activity.mResultNotifier.wait(TEST_TIMEOUT); 31 synchronized (activity.mResults) { 32 assertTrue("test results were empty.", activity.mResults.size() > 0); 33 for (RunResult result : activity.mResults) { 39 getInstrumentation().sendStatus(Activity.RESULT_OK, testResult);
|
/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...] |
/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...] |
/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...] |
/development/ndk/sources/android/native_app_glue/ |
android_native_app_glue.c | 126 android_app->activity->assetManager); 205 AConfiguration_fromAssetManager(android_app->config, android_app->activity->assetManager); 233 // Native activity interaction (called from main thread) 236 static struct android_app* android_app_create(ANativeActivity* activity, 240 android_app->activity = activity; 328 static void onDestroy(ANativeActivity* activity) { 329 LOGI("Destroy: %p\n", activity); 330 android_app_free((struct android_app*)activity->instance); 333 static void onStart(ANativeActivity* activity) { [all...] |
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
WiFiDirectBroadcastReceiver.java | 36 private WiFiDirectActivity activity; field in class:WiFiDirectBroadcastReceiver 41 * @param activity activity associated with the receiver 44 WiFiDirectActivity activity) { 48 this.activity = activity; 65 activity.setIsWifiP2pEnabled(true); 67 activity.setIsWifiP2pEnabled(false); 68 activity.resetData(); 75 // asynchronous call and the calling activity is notified with [all...] |