Searched refs:activity (Results 51 - 75 of 134) sorted by relevance

123456

/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerListHelper.java37 public TrackerListHelper(ListActivity activity) { argument
38 super(activity, TrackerDataHelper.CSV_FORMATTER);
39 mActivity = activity;
/frameworks/base/core/java/android/widget/
H A DShareActionProvider.java151 * not rely on the default behavior which is to launch the activity.
213 ResolveInfo activity = dataModel.getActivity(i);
214 subMenu.add(0, i, i, activity.loadLabel(packageManager))
215 .setIcon(activity.loadIcon(packageManager))
225 ResolveInfo activity = dataModel.getActivity(i);
226 expandedSubMenu.add(0, i, i, activity.loadLabel(packageManager))
227 .setIcon(activity.loadIcon(packageManager))
313 * Set the activity chooser policy of the model backed by the current
H A DActivityChooserModel.java63 * For example, choosing a share activity can be implemented by a single backing
84 * // Set an intent to choose a an activity for.
131 * Listener for choosing an activity.
136 * Called when an activity has been chosen. The client can decide whether
137 * an activity can be chosen and if so the caller of
146 * @param intent The intent for launching the chosen activity.
175 * Attribute for the activity.
177 private static final String ATTRIBUTE_ACTIVITY = "activity";
201 * The amount with which to inflate a chosen activity when set as default.
262 * The intent for which a activity i
434 getActivityIndex(ResolveInfo activity) argument
775 public final ComponentName activity; field in class:ActivityChooserModel.HistoricalRecord
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DClearTop.java17 package android.app.activity;
H A DLaunchpadTabActivity.java17 package android.app.activity;
H A DLocalDeniedReceiver.java17 package android.app.activity;
H A DLocalGrantedReceiver.java17 package android.app.activity;
H A DRemoteDeniedReceiver.java17 package android.app.activity;
H A DRemoteGrantedReceiver.java17 package android.app.activity;
H A DRemoteSubActivityScreen.java1 /* //device/apps/AndroidTests/src/com.android.unit_tests/activity/TestedScreen.java
18 package android.app.activity;
35 // We are running in a remote process, so want to have the sub-activity
H A DAbortReceiver.java17 package android.app.activity;
H A DRemoteReceiver.java17 package android.app.activity;
H A DSetTimeZonePermissionsTest.java17 package android.app.activity;
H A DTestedActivity.java17 package android.app.activity;
/frameworks/base/core/java/android/app/
H A DActivityThread.java125 * broadcasts, and other operations on it as the activity
190 // NOTE: The activity and window managers need to call in to
192 // which means this lock gets held while the activity and window managers
193 // holds their own lock. Thus you MUST NEVER call back into the activity manager
232 Activity activity; field in class:ActivityThread.ActivityClientRecord
273 if (activity != null) {
274 return activity.getApplicationInfo().targetSdkVersion
555 // we use token to identify this activity without having to send the
556 // activity itself back to the activity manage
1843 registerOnActivityPausedListener(Activity activity, OnActivityPausedListener listener) argument
1855 unregisterOnActivityPausedListener(Activity activity, OnActivityPausedListener listener) argument
2865 ActivityClientRecord activity; field in class:ActivityThread.StopInfo
[all...]
H A DLocalActivityManager.java54 Intent intent; // Which activity to run here.
55 ActivityInfo activityInfo; // Package manager info about activity.
56 Activity activity; // Currently instantiated activity. field in class:LocalActivityManager.LocalActivityRecord
59 int curState = RESTORED; // Current state the activity is in.
71 /** The containing activity that owns the activities we create. */
74 /** The activity that is currently resumed. */
83 /** True if only one activity can be resumed at a time */
102 * of one activity resumed
117 // Get the lastNonConfigurationInstance for the activity
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DBaselineAlignmentZeroWidthAndWeightTest.java40 final Activity activity = getActivity();
41 mShowButton = (Button) activity.findViewById(R.id.show);
/frameworks/base/services/java/com/android/server/pm/
H A DPreferredActivity.java39 PreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) { argument
41 mPref = new PreferredComponent(this, match, set, activity);
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
H A DJavaBridgeTestBase.java84 // This starts the activity, so must be called on the test thread.
85 final WebViewStubActivity activity = getActivity();
92 WebView webView = activity.getWebView();
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DThinPatchesActivity.java50 public PatchView(Activity activity) { argument
51 super(activity);
53 final Resources resources = activity.getResources();
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/
H A DEffectsVideoCapture.java78 private void verify(CameraEffectsRecordingSample activity, Uri uri) throws Exception { argument
82 retriever.setDataSource(activity, uri);
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DLoadTestsAutoTest.java104 final TestShellActivity activity = (TestShellActivity) getActivity();
110 runTestAndWaitUntilDone(activity, runner.mTestPath, runner.mTimeoutInMillis);
116 activity.clearCache();
129 // Kill activity
130 activity.finish();
217 // A convenient method to be called by another activity.
218 private void runTestAndWaitUntilDone(TestShellActivity activity, String url, int timeout) { argument
219 activity.setCallback(new TestShellCallback() {
255 intent.setClass(activity, TestShellActivity.class);
260 activity
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DAppNotRespondingDialog.java43 ProcessRecord app, ActivityRecord activity) {
53 CharSequence name1 = activity != null
54 ? activity.info.loadLabel(context.getPackageManager())
42 AppNotRespondingDialog(ActivityManagerService service, Context context, ProcessRecord app, ActivityRecord activity) 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
162 scrollToTop(InstrumentationTestCase test, Activity activity, ViewGroup v) argument
200 dragViewToBottom(InstrumentationTestCase test, Activity activity, View v) argument
229 dragViewToBottom(InstrumentationTestCase test, Activity activity, View v, int stepCount) argument
[all...]
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java172 * be used to start the corresponding user interface activity.
836 * @param activity The {@link Activity} context to use for launching a new
866 final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) {
874 return new AmsTask(activity, handler, callback) {
1071 * @param activity The {@link Activity} context to use for launching a new
1081 * these fields if activity was specified and an account was created:
1087 * If no activity was specified, the returned Bundle contains only
1103 final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) {
1111 return new AmsTask(activity, handler, callback) {
1114 requiredFeatures, activity !
864 getAuthToken( final Account account, final String authTokenType, final Bundle options, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
1100 addAccount(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
1173 confirmCredentials(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1233 updateCredentials(final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1284 editProperties(final String accountType, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1343 AmsTask(Activity activity, Handler handler, AccountManagerCallback<Bundle> callback) argument
1809 getAuthTokenByFeatures( final String accountType, final String authTokenType, final String[] features, final Activity activity, final Bundle addAccountOptions, final Bundle getAuthTokenOptions, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
[all...]

Completed in 370 milliseconds

123456