Searched defs:getActivity (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/base/test-runner/src/android/test/
H A DActivityTestCase.java43 protected Activity getActivity() { method in class:ActivityTestCase
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 DSingleLaunchActivityTestCase.java62 public T getActivity() { method in class:SingleLaunchActivityTestCase
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);
/frameworks/base/location/lib/java/com/android/location/provider/
H A DActivityRecognitionEvent.java33 public String getActivity() { method in class:ActivityRecognitionEvent
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DBaseInstrumentationTestCase.java39 public A getActivity() { method in class:BaseInstrumentationTestCase
40 return mActivityTestRule.getActivity();
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/recyclerview/test/
H A DSameActivityTestRule.java43 public TestActivity getActivity() { method in class:SameActivityTestRule
47 return super.getActivity();
63 sTestActivity = getActivity();
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/
H A DRecyclerViewTest.java53 final Activity activity = mActivityRule.getActivity();
76 view = (RecyclerView) getActivity().findViewById(R.id.clipToPaddingUndefined);
78 view = (RecyclerView) getActivity().findViewById(R.id.clipToPaddingYes);
80 view = (RecyclerView) getActivity().findViewById(R.id.clipToPaddingNo);
83 view = (RecyclerView) getActivity().findViewById(R.id.recyclerView);
94 view = (RecyclerView) getActivity().findViewById(R.id.recyclerView2);
106 view = (RecyclerView) getActivity().findViewById(R.id.recyclerView3);
113 view = (RecyclerView) getActivity().findViewById(R.id.recyclerView4);
120 view = (RecyclerView) getActivity().findViewById(R.id.recyclerView5);
124 view = (RecyclerView) getActivity()
142 private Activity getActivity() { method in class:RecyclerViewTest
[all...]
/frameworks/base/core/java/android/hardware/location/
H A DActivityRecognitionEvent.java38 public String getActivity() { method in class:ActivityRecognitionEvent
/frameworks/base/core/java/android/app/
H A DLocalActivityManager.java433 public Activity getActivity(String id) { method in class:LocalActivityManager
H A DMediaRouteButton.java164 DialogFragment f = MediaRouteDialogPresenter.showDialogFragment(getActivity(),
169 private Activity getActivity() { method in class:MediaRouteButton
H A DFragmentHostCallback.java109 * object returned from {@link Fragment#getActivity()}.
194 Activity getActivity() { method in class:FragmentHostCallback
H A DPendingIntent.java43 * of this class are created with {@link #getActivity}, {@link #getActivities},
85 * request code integers supplied to {@link #getActivity}, {@link #getActivities},
119 * For use with {@link #getActivity}, {@link #getBroadcast}, and
128 * For use with {@link #getActivity}, {@link #getBroadcast}, and
135 * For use with {@link #getActivity}, {@link #getBroadcast}, and
147 * Intent. For use with {@link #getActivity}, {@link #getBroadcast}, and
300 public static PendingIntent getActivity(Context context, int requestCode, method in class:PendingIntent
302 return getActivity(context, requestCode, intent, flags, null);
333 public static PendingIntent getActivity(Context context, int requestCode, method in class:PendingIntent
379 * 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/tests/coretests/src/android/print/
H A DBasePrintTest.java167 getActivity().finish();
192 PrintManager printManager = (PrintManager) getActivity()
226 protected PrintTestActivity getActivity() { method in class:BasePrintTest
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DDcTrackerMock.java53 public DctConstants.Activity getActivity() { method in class:DcTrackerMock
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentHostCallback.java103 * the same object returned from {@link Fragment#getActivity()}.
192 Activity getActivity() { method in class:FragmentHostCallback
H A DShareCompat.java126 ShareCompatICS.configureMenuItem(item, shareIntent.getActivity(),
342 Activity getActivity() { method in class:ShareCompat.IntentBuilder
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteButton.java256 Activity activity = getActivity();
263 private Activity getActivity() { method in class:MediaRouteButton
/frameworks/base/core/java/android/preference/
H A DPreferenceManager.java60 * @see #getActivity()
681 Activity getActivity() { method in class:PreferenceManager
686 * 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/support/v7/appcompat/src/android/support/v7/widget/
H A DActivityChooserModel.java410 public ResolveInfo getActivity(int index) { method in class:ActivityChooserModel
510 * @see #getActivity(int)
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewController.java233 public PhotoViewController.ActivityInterface getActivity() { method in class:PhotoViewController
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseRecyclerViewInstrumentationTest.java104 protected TestActivity getActivity() { method in class:BaseRecyclerViewInstrumentationTest
105 return mActivityRule.getActivity();
163 LayoutInflater.from(getActivity()).inflate(R.layout.wrapped_test_rv,
257 getActivity().getContainer().removeAllViews();
379 getActivity().getContainer().addView(recyclerView);
385 return getActivity().getContainer();

Completed in 7361 milliseconds

12