Searched defs:getActivity (Results 1 - 25 of 39) sorted by path

12

/frameworks/base/core/java/android/app/
H A DActivityThread.java2618 public final Activity getActivity(IBinder token) { method in class:ActivityThread
H A DFragment.java843 final public Activity getActivity() { method in class:Fragment
844 return mHost == null ? null : mHost.getActivity();
857 * Return <code>getActivity().getResources()</code>.
902 * before {@link #getActivity()}, during the time from when the fragment is
1299 * if (getActivity().checkSelfPermission(Manifest.permission.READ_CONTACTS)
1530 final Activity hostActivity = mHost == null ? null : mHost.getActivity();
1565 final Activity hostActivity = mHost == null ? null : mHost.getActivity();
2028 getActivity().onCreateContextMenu(menu, v, menuInfo);
H A DFragmentHostCallback.java124 * object returned from {@link Fragment#getActivity()}.
223 Activity getActivity() { method in class:FragmentHostCallback
H A DLocalActivityManager.java433 public Activity getActivity(String id) { method in class:LocalActivityManager
H A DMediaRouteButton.java157 DialogFragment f = MediaRouteDialogPresenter.showDialogFragment(getActivity(),
162 private Activity getActivity() { method in class:MediaRouteButton
H A DPendingIntent.java43 * of this class are created with {@link #getActivity}, {@link #getActivities},
85 * request code integers supplied to {@link #getActivity}, {@link #getActivities},
120 * For use with {@link #getActivity}, {@link #getBroadcast}, and
129 * For use with {@link #getActivity}, {@link #getBroadcast}, and
136 * For use with {@link #getActivity}, {@link #getBroadcast}, and
148 * Intent. For use with {@link #getActivity}, {@link #getBroadcast}, and
301 public static PendingIntent getActivity(Context context, int requestCode, method in class:PendingIntent
303 return getActivity(context, requestCode, intent, flags, null);
334 public static PendingIntent getActivity(Context context, int requestCode, method in class:PendingIntent
380 * Like {@link #getActivity(Contex
[all...]
H A DVoiceInteractor.java60 * {@link Request#getActivity() Request.getActivity} to get back to the activity of a
254 public Activity getActivity() { method in class:VoiceInteractor.Request
/frameworks/base/core/java/android/companion/
H A DCompanionDeviceManager.java259 private Activity getActivity() { method in class:CompanionDeviceManager
278 getActivity().getApplication().registerActivityLifecycleCallbacks(this);
293 if (activity != getActivity()) return;
299 getActivity().getApplication().unregisterActivityLifecycleCallbacks(this);
/frameworks/base/core/java/android/content/pm/
H A DShortcutInfo.java811 * @see ShortcutInfo#getActivity()
1081 public ComponentName getActivity() { method in class:ShortcutInfo
1244 * {@link #getActivity} for each of the two types of shortcuts (static and dynamic).
1499 * <li>{@link #getActivity()}
/frameworks/base/core/java/android/hardware/location/
H A DActivityRecognitionEvent.java38 public String getActivity() { method in class:ActivityRecognitionEvent
/frameworks/base/core/java/android/preference/
H A DPreferenceManager.java61 * @see #getActivity()
729 Activity getActivity() { method in class:PreferenceManager
734 * Returns the context. This is preferred over {@link #getActivity()} when
/frameworks/base/core/java/android/widget/
H A DActivityChooserModel.java423 public ResolveInfo getActivity(int index) { method in class:ActivityChooserModel
523 * @see #getActivity(int)
/frameworks/base/core/tests/coretests/src/android/print/
H A DBasePrintTest.java157 PrintManager printManager = (PrintManager) getActivity()
190 protected PrintTestActivity getActivity() { method in class:BasePrintTest
191 return mActivityRule.getActivity();
/frameworks/base/core/tests/coretests/src/android/view/
H A DRenderNodeAnimatorTest.java41 private Activity getActivity() { method in class:RenderNodeAnimatorTest
42 return mActivityRule.getActivity();
51 getActivity().setContentView(view);
H A DViewInvalidateTest.java69 getActivity().setContentView(mParent);
87 Activity getActivity() { method in class:ViewInvalidateTest
88 return mActivityRule.getActivity();
/frameworks/base/location/lib/java/com/android/location/provider/
H A DActivityRecognitionEvent.java33 public String getActivity() { method in class:ActivityRecognitionEvent
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
H A DBasePrintTest.java113 PrintManager printManager = (PrintManager) getActivity()
121 protected PrintTestActivity getActivity() { method in class:BasePrintTest
122 return mActivityRule.getActivity();
/frameworks/base/test-runner/src/android/test/
H A DActivityInstrumentationTestCase.java66 public T getActivity() { method in class:ActivityInstrumentationTestCase
67 return (T) super.getActivity();
81 getActivity().finish();
93 assertNotNull("activity should be launched successfully", getActivity());
H A DActivityInstrumentationTestCase2.java85 * before your first call to getActivity(). Calling them after your Activity has
96 public T getActivity() { method in class:ActivityInstrumentationTestCase2
97 Activity a = super.getActivity();
114 * Call this method before the first call to {@link #getActivity} to inject a customized Intent
136 * Call this method before the first call to {@link #getActivity} to set the initial touch
163 Activity a = super.getActivity();
187 getActivity();
H A DActivityTestCase.java43 protected Activity getActivity() { method in class:ActivityTestCase
H A DActivityUnitTestCase.java98 public T getActivity() { method in class:ActivityUnitTestCase
99 return (T) super.getActivity();
165 T result = getActivity();
167 getInstrumentation().callActivityOnCreate(getActivity(), savedInstanceState);
H A DSingleLaunchActivityTestCase.java62 public T getActivity() { method in class:SingleLaunchActivityTestCase
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewController.java233 public PhotoViewController.ActivityInterface getActivity() { method in class:PhotoViewController
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTracker.java997 public DctConstants.Activity getActivity() { method in class:DcTracker
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DDcTrackerMock.java52 public DctConstants.Activity getActivity() { method in class:DcTrackerMock

Completed in 479 milliseconds

12