Searched refs:activity (Results 126 - 150 of 227) sorted by relevance

12345678910

/frameworks/base/services/core/java/com/android/server/am/
H A DAppNotRespondingDialog.java41 ProcessRecord app, ActivityRecord activity, boolean aboveSystem) {
51 CharSequence name1 = activity != null
52 ? activity.info.loadLabel(context.getPackageManager())
40 AppNotRespondingDialog(ActivityManagerService service, Context context, ProcessRecord app, ActivityRecord activity, boolean aboveSystem) argument
/frameworks/base/test-runner/src/android/test/
H A DTouchUtils.java53 * @param activity The activity that is in the foreground of the test case
55 public static void dragQuarterScreenDown(InstrumentationTestCase test, Activity activity) { argument
56 Display display = activity.getWindowManager().getDefaultDisplay();
83 * @param activity The activity that is in the foreground of the test case
85 public static void dragQuarterScreenUp(InstrumentationTestCase test, Activity activity) { argument
86 Display display = activity.getWindowManager().getDefaultDisplay();
118 * @param activity The activity tha
121 scrollToBottom(InstrumentationTestCase test, Activity activity, ViewGroup v) argument
156 scrollToTop(InstrumentationTestCase test, Activity activity, ViewGroup v) argument
188 dragViewToBottom(InstrumentationTestCase test, Activity activity, View v) argument
217 dragViewToBottom(InstrumentationTestCase test, Activity activity, View v, int stepCount) argument
[all...]
/frameworks/opt/setupwizard/navigationbar/src/com/android/setupwizard/navigationbar/
H A DSetupWizardNavBar.java62 public void onAttach(Activity activity) { argument
63 super.onAttach(activity);
64 mCallback = (NavigationBarListener) activity;
88 // undetectable times, like transitioning from a finishing activity that had a keyboard
/frameworks/base/core/java/android/nfc/cardemulation/
H A DCardEmulation.java442 * @param activity The activity which prefers this service to be invoked
443 * @param service The service to be preferred while this activity is in the foreground
446 public boolean setPreferredService(Activity activity, ComponentName service) { argument
447 // Verify the activity is in the foreground before calling into NfcService
448 if (activity == null || service == null) {
449 throw new NullPointerException("activity or service or category is null");
451 if (!activity.isResumed()) {
479 * @param activity The activity whic
482 unsetPreferredService(Activity activity) argument
[all...]
/frameworks/base/keystore/java/android/security/
H A DKeyChain.java226 * <p>The device or profile owner can intercept this before the activity
240 * @param activity The {@link Activity} context to use for
257 public static void choosePrivateKeyAlias(@NonNull Activity activity, argument
267 choosePrivateKeyAlias(activity, response, keyTypes, issuers, uri, alias);
276 * <p>The device or profile owner can intercept this before the activity
290 * @param activity The {@link Activity} context to use for
305 public static void choosePrivateKeyAlias(@NonNull Activity activity, argument
325 if (activity == null) {
326 throw new NullPointerException("activity == null");
337 intent.putExtra(EXTRA_SENDER, PendingIntent.getActivity(activity,
[all...]
/frameworks/base/docs/html/ndk/samples/
H A Dsamples_toc.cs22 <li><a href="<?cs var:toroot ?>ndk/samples/sample_na.html">native-activity</a></li>
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DScreenshotTest.java52 // launch the activity.
53 ScreenshotStubActivity activity = getActivity();
54 assertNotNull(activity);
115 // 'volume adjustment' UI, instead of this test's activity
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/
H A DTestJobService.java77 Log.e(TAG, "Error passing service object back to activity.");
115 public void setUiCallback(MainActivity activity) { argument
116 mActivity = activity;
/frameworks/base/tools/aapt2/
H A DManifestMerger_test.cpp32 <activity android:name="com.android.example.MainActivity">
37 </activity>
/frameworks/opt/photoviewer/
H A DAndroid.mk46 activity_res_dirs := activity/res res
54 $(call all-java-files-under, activity/src) \
66 activity_res_dirs := activity/res res
83 activity_res_dirs := activity/res res
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLaunchTest.java17 package android.app.activity;
H A DLifecycleTest.java17 package android.app.activity;
H A DIntentSenderTest.java17 package android.app.activity;
H A DLocalReceiver.java17 package android.app.activity;
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DSingleUserProvider.java17 package com.google.android.test.activity;
27 static final String AUTHORITY = "com.google.android.test.activity.single_user";
/frameworks/base/core/java/android/app/
H A DExitTransitionCoordinator.java74 public ExitTransitionCoordinator(Activity activity, ArrayList<String> names, argument
76 super(activity.getWindow(), names, getListener(activity, isReturning), isReturning);
80 mActivity = activity;
83 private static SharedElementCallback getListener(Activity activity, boolean isReturning) { argument
84 return isReturning ? activity.mEnterTransitionListener : activity.mExitTransitionListener;
268 // activity to have options since we're essentially canceling the
H A DActivityOptions.java46 public static final String EXTRA_USAGE_TIME_REPORT = "android.activity.usage_time";
59 public static final String KEY_PACKAGE_NAME = "android:activity.packageName";
65 public static final String KEY_ANIM_TYPE = "android:activity.animType";
71 public static final String KEY_ANIM_ENTER_RES_ID = "android:activity.animEnterRes";
77 public static final String KEY_ANIM_EXIT_RES_ID = "android:activity.animExitRes";
83 public static final String KEY_ANIM_IN_PLACE_RES_ID = "android:activity.animInPlaceRes";
89 public static final String KEY_ANIM_THUMBNAIL = "android:activity.animThumbnail";
95 public static final String KEY_ANIM_START_X = "android:activity.animStartX";
101 public static final String KEY_ANIM_START_Y = "android:activity.animStartY";
107 public static final String KEY_ANIM_WIDTH = "android:activity
515 makeSceneTransitionAnimation(Activity activity, View sharedElement, String sharedElementName) argument
539 makeSceneTransitionAnimation(Activity activity, Pair<View, String>... sharedElements) argument
578 makeSceneTransitionAnimation(Activity activity, ExitTransitionCoordinator exitCoordinator, ArrayList<String> sharedElementNames, int resultCode, Intent resultData) argument
[all...]
/frameworks/base/core/java/android/print/
H A DPrintManager.java78 * PrintAttributes)} from an activity which results in bringing up the system print
113 * The action for launching the print dialog activity.
380 * your activity is finished. The rationale is that once the activity that
382 * state as it may depend on the UI presented by the activity.
397 * activity has to be recreated and the old adapter may be invalid in this context,
398 * hence a new adapter instance is required. As a consequence, if your activity
400 * state that you were printing and call this method again when your activity
421 throw new IllegalStateException("Can print only from an activity");
444 Log.e(LOG_TAG, "Couldn't start print job config activity
522 PrintDocumentAdapterDelegate(Activity activity, PrintDocumentAdapter documentAdapter) argument
648 onActivityPaused(Activity activity) argument
653 onActivityCreated(Activity activity, Bundle savedInstanceState) argument
658 onActivityStarted(Activity activity) argument
663 onActivityResumed(Activity activity) argument
668 onActivityStopped(Activity activity) argument
673 onActivitySaveInstanceState(Activity activity, Bundle outState) argument
678 onActivityDestroyed(Activity activity) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp171 void android_NativeActivity_finish(ANativeActivity* activity) { argument
172 NativeCode* code = static_cast<NativeCode*>(activity);
177 ANativeActivity* activity, int32_t format) {
178 NativeCode* code = static_cast<NativeCode*>(activity);
183 ANativeActivity* activity, int32_t values, int32_t mask) {
184 NativeCode* code = static_cast<NativeCode*>(activity);
189 ANativeActivity* activity, int32_t flags) {
190 NativeCode* code = static_cast<NativeCode*>(activity);
195 ANativeActivity* activity, int32_t flags) {
196 NativeCode* code = static_cast<NativeCode*>(activity);
176 android_NativeActivity_setWindowFormat( ANativeActivity* activity, int32_t format) argument
182 android_NativeActivity_setWindowFlags( ANativeActivity* activity, int32_t values, int32_t mask) argument
188 android_NativeActivity_showSoftInput( ANativeActivity* activity, int32_t flags) argument
194 android_NativeActivity_hideSoftInput( ANativeActivity* activity, int32_t flags) argument
[all...]
/frameworks/base/services/core/java/com/android/server/search/
H A DSearchables.java91 * Look up, or construct, based on the activity.
96 * <li>The activity itself implements search. This is indicated by the
99 * <li>A related activity implements search. This is indicated by the
101 * The value is a string naming the activity implementing search. In this
109 * and every activity.
114 * @param activity The name of the current activity, or null if the
115 * activity does not define any explicit searchable metadata.
117 public SearchableInfo getSearchableInfo(ComponentName activity) { argument
121 result = mSearchablesMap.get(activity);
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DDetailsOverviewSharedElementHelper.java164 void setSharedElementEnterTransition(Activity activity, String sharedElementName, argument
166 if (activity == null && !TextUtils.isEmpty(sharedElementName) ||
167 activity != null && TextUtils.isEmpty(sharedElementName)) {
170 if (activity == mActivityToRunTransition &&
177 mActivityToRunTransition = activity;
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/
H A DAndroid.mk16 # Build activity
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbDebuggingActivity.java86 public UsbDisconnectedReceiver(Activity activity) { argument
87 mActivity = activity;
/frameworks/compile/libbcc/tests/debuginfo/
H A Dbuild_test_apk.sh84 --activity)
135 echo " --activity <name> Name for your default Activity class"
154 # Compute activity, appname, and java package, if not specified via parameters
168 run $SDK/tools/android create project --target $TARGET --name $NAME --path $OUT_DIR --activity $ACTIVITY --package $PACKAGE
/frameworks/support/v7/gridlayout/tests/src/android/support/v7/widget/test/
H A DGridLayoutTest.java40 final Activity activity = getActivity();
44 activity.setContentView(layoutId);

Completed in 4805 milliseconds

12345678910