/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | LauncherActivity.java | 40 * Requires that {@code documentLaunchMode="intoExisting"} be set on target activity. 100 static final Intent createLaunchIntent(Activity activity) { argument 101 Intent intent = new Intent(activity, FilesActivity.class); 105 Intent original = activity.getIntent();
|
H A D | CreateDirectoryFragment.java | 109 final BaseActivity activity = (BaseActivity) getActivity(); 110 final DocumentInfo cwd = activity.getCurrentDirectory(); 112 new CreateDirectoryTask(activity, cwd, name).executeOnExecutor( 122 BaseActivity activity, DocumentInfo cwd, String displayName) { 123 mActivity = activity; 121 CreateDirectoryTask( BaseActivity activity, DocumentInfo cwd, String displayName) argument
|
/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/core/tests/coretests/src/android/app/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/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PrinterRegistry.java | 55 public PrinterRegistry(Activity activity, Runnable readyCallback, int loaderId, argument 58 mActivity = activity; 60 mHandler = new MyHandler(activity.getMainLooper()); 65 activity.getLoaderManager().initLoader(loaderId, loaderData, mLoaderCallbacks);
|
H A D | PrintErrorFragment.java | 89 Activity activity = getActivity(); 90 if (activity instanceof OnActionListener) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | RecentsDebugFlags.java | 22 import com.android.systemui.recents.events.activity.DebugFlagsChangedEvent; 58 * We read the prefs once when we start the activity, then update them as the tuner changes
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/ |
H A D | LaunchTaskEvent.java | 17 package com.android.systemui.recents.events.activity;
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
H A D | AppBarLayoutBaseTest.java | 103 final AppCompatActivity activity = mActivityTestRule.getActivity(); 107 activity.setSupportActionBar(mToolbar); 111 final CharSequence activityTitle = activity.getString(titleResId); 112 activity.setTitle(activityTitle);
|
/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/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbDebuggingSecondaryUserActivity.java | 56 public UsbDisconnectedReceiver(Activity activity) { argument 57 mActivity = activity;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PersistentPreferredActivity.java | 41 PersistentPreferredActivity(IntentFilter filter, ComponentName activity) { argument 43 mComponent = activity; 52 "Bad activity name " + shortComponent +
|
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/ |
H A D | SamplesList.java | 36 static Map<String,?> makeSample(String name, Class<?> activity, int resourceId) { argument 39 ret.put(KEY_CLASS, activity);
|
/frameworks/base/core/java/android/app/ |
H A D | FragmentHostCallback.java | 57 this(null /*activity*/, context, handler, windowAnimations); 60 FragmentHostCallback(Activity activity) { argument 61 this(activity, activity /*context*/, activity.mHandler, 0 /*windowAnimations*/); 64 FragmentHostCallback(Activity activity, Context context, Handler handler, argument 66 mActivity = activity; 115 * Invalidates the activity's options menu. 129 "Starting activity with a requestCode requires a FragmentActivity host");
|
/frameworks/base/core/java/android/nfc/cardemulation/ |
H A D | NfcFCardEmulation.java | 312 * @param activity The activity which prefers this service to be invoked 313 * @param service The service to be preferred while this activity is in the foreground 316 public boolean enableService(Activity activity, ComponentName service) throws RuntimeException { argument 317 if (activity == null || service == null) { 318 throw new NullPointerException("activity or service is null"); 320 // Verify the activity is in the foreground before calling into NfcService 321 if (!activity.isResumed()) { 350 * @param activity The activity whic 353 disableService(Activity activity) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ShareActionProvider.java | 146 * not rely on the default behavior which is to launch the activity. 210 ResolveInfo activity = dataModel.getActivity(i); 211 subMenu.add(0, i, i, activity.loadLabel(packageManager)) 212 .setIcon(activity.loadIcon(packageManager)) 222 ResolveInfo activity = dataModel.getActivity(i); 223 expandedSubMenu.add(0, i, i, activity.loadLabel(packageManager)) 224 .setIcon(activity.loadIcon(packageManager)) 315 * Set the activity chooser policy of the model backed by the current
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | FragmentHostCallback.java | 58 this(null /*activity*/, context, handler, windowAnimations); 61 FragmentHostCallback(FragmentActivity activity) { argument 62 this(activity, activity /*context*/, activity.mHandler, 0 /*windowAnimations*/); 65 FragmentHostCallback(Activity activity, Context context, Handler handler, argument 67 mActivity = activity; 109 * Invalidates the activity's options menu. 131 "Starting activity with a requestCode requires a FragmentActivity host");
|
/frameworks/support/v4/tests/java/android/support/v4/app/test/ |
H A D | FragmentTestActivity.java | 38 * A simple activity used for Fragment Transitions and lifecycle event ordering 126 public void onAttach(Activity activity) { argument 127 super.onAttach(activity); 238 public void onAttach(Context activity) { argument 239 super.onAttach(activity); 242 mOnAttachListener.onAttach(activity, this); 251 void onAttach(Context activity, ChildFragment fragment); argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ShareActionProvider.java | 36 * Provides a share action, which is suitable for an activity's app bar. Creates 43 * <p>To add a "share" action to your activity, put a 60 * <p>Next, set up the intent that contains the content your activity is 78 * action, and attach the content shared by the activity. For example, the 115 * example, if the activity sometimes shares images and sometimes shares 202 * not rely on the default behavior which is to launch the activity. 267 ResolveInfo activity = dataModel.getActivity(i); 268 subMenu.add(0, i, i, activity.loadLabel(packageManager)) 269 .setIcon(activity.loadIcon(packageManager)) 279 ResolveInfo activity [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | PendingIntentRecord.java | 60 final ActivityRecord activity; field in class:PendingIntentRecord.Key 78 activity = _a; 127 if (activity != other.activity) { 239 // Cannot start a child activity if the parent is not resumed. 310 if (key.activity.task.stack != null) { 311 key.activity.task.stack.sendActivityResultLocked(-1, key.activity, 385 if (key.activity != null || key.who != null) { 386 pw.print(prefix); pw.print("activity [all...] |
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
H A D | DataBindingUtil.java | 255 * @param activity The Activity whose content View should change. 260 public static <T extends ViewDataBinding> T setContentView(Activity activity, int layoutId) { argument 261 return setContentView(activity, layoutId, sDefaultComponent); 269 * @param activity The Activity whose content View should change. 274 public static <T extends ViewDataBinding> T setContentView(Activity activity, int layoutId, argument 276 activity.setContentView(layoutId); 277 View decorView = activity.getWindow().getDecorView();
|
/frameworks/support/v7/gridlayout/tests/src/android/support/v7/widget/ |
H A D | GridLayoutTest.java | 56 final Activity activity = mActivityTestRule.getActivity(); 57 activity.setContentView(layoutId); 59 mLeftView = activity.findViewById(R.id.leftView); 60 mRightView = activity.findViewById(R.id.rightView); 61 mGridView = activity.findViewById(R.id.gridView);
|