/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
H A D | TrackerListHelper.java | 37 public TrackerListHelper(ListActivity activity) {
argument 38 super(activity, TrackerDataHelper.CSV_FORMATTER);
39 mActivity = activity;
|
/frameworks/base/core/java/android/widget/ |
H A D | ShareActionProvider.java | 151 * 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 D | ActivityChooserModel.java | 63 * 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 D | ClearTop.java | 17 package android.app.activity;
|
H A D | LaunchpadTabActivity.java | 17 package android.app.activity;
|
H A D | LocalDeniedReceiver.java | 17 package android.app.activity;
|
H A D | LocalGrantedReceiver.java | 17 package android.app.activity;
|
H A D | RemoteDeniedReceiver.java | 17 package android.app.activity;
|
H A D | RemoteGrantedReceiver.java | 17 package android.app.activity;
|
H A D | RemoteSubActivityScreen.java | 1 /* //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 D | AbortReceiver.java | 17 package android.app.activity;
|
H A D | RemoteReceiver.java | 17 package android.app.activity;
|
H A D | SetTimeZonePermissionsTest.java | 17 package android.app.activity;
|
H A D | TestedActivity.java | 17 package android.app.activity;
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityThread.java | 125 * 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 D | LocalActivityManager.java | 54 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 D | BaselineAlignmentZeroWidthAndWeightTest.java | 40 final Activity activity = getActivity(); 41 mShowButton = (Button) activity.findViewById(R.id.show);
|
/frameworks/base/services/java/com/android/server/pm/ |
H A D | PreferredActivity.java | 39 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 D | JavaBridgeTestBase.java | 84 // 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 D | ThinPatchesActivity.java | 50 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 D | EffectsVideoCapture.java | 78 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 D | LoadTestsAutoTest.java | 104 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 D | AppNotRespondingDialog.java | 43 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 D | TouchUtils.java | 53 * @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 D | AccountManager.java | 172 * 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...] |