Home
last modified time | relevance | path

Searched defs:activity (Results 1 – 25 of 154) sorted by relevance

1234567

/frameworks/base/core/java/android/app/
DApplication.java55 void onActivityCreated(Activity activity, Bundle savedInstanceState); in onActivityCreated()
56 void onActivityStarted(Activity activity); in onActivityStarted()
57 void onActivityResumed(Activity activity); in onActivityResumed()
58 void onActivityPaused(Activity activity); in onActivityPaused()
59 void onActivityStopped(Activity activity); in onActivityStopped()
60 void onActivitySaveInstanceState(Activity activity, Bundle outState); in onActivitySaveInstanceState()
61 void onActivityDestroyed(Activity activity); in onActivityDestroyed()
76 public void onProvideAssistData(Activity activity, Bundle data); in onProvideAssistData()
185 /* package */ void dispatchActivityCreated(Activity activity, Bundle savedInstanceState) { in dispatchActivityCreated()
195 /* package */ void dispatchActivityStarted(Activity activity) { in dispatchActivityStarted()
[all …]
DInstrumentation.java569 Activity activity, in match()
698 Activity activity = monitor.waitForActivity(); in waitForMonitor() local
717 Activity activity = monitor.waitForActivityWithTimeout(timeOut); in waitForMonitorWithTimeout() local
750 private final Activity activity; in invokeMenuActionSync() field in Instrumentation.MenuRunnable
813 private final Activity activity; in invokeContextMenuAction() field in Instrumentation.ContextMenuRunnable
1040 Activity activity = (Activity)clazz.newInstance(); in newActivity() local
1068 private void prePerformCreate(Activity activity) { in prePerformCreate()
1084 private void postPerformCreate(Activity activity) { in postPerformCreate()
1103 public void callActivityOnCreate(Activity activity, Bundle icicle) { in callActivityOnCreate()
1116 public void callActivityOnCreate(Activity activity, Bundle icicle, in callActivityOnCreate()
[all …]
DActivityTransitionState.java152 public void setEnterActivityOptions(Activity activity, ActivityOptions options) { in setEnterActivityOptions()
169 public void enterReady(Activity activity) { in enterReady()
255 public boolean startExitBackTransition(Activity activity) { in startExitBackTransition()
284 public void startExitOutTransition(Activity activity, Bundle options) { in startExitOutTransition()
/frameworks/base/core/java/android/nfc/
DNfcActivityManager.java110 Activity activity; field in NfcActivityManager.NfcActivityState
122 public NfcActivityState(Activity activity) { in NfcActivityState()
161 synchronized NfcActivityState findActivityState(Activity activity) { in findActivityState()
171 synchronized NfcActivityState getActivityState(Activity activity) { in getActivityState()
189 synchronized void destroyActivityState(Activity activity) { in destroyActivityState()
204 public void enableReaderMode(Activity activity, ReaderCallback callback, int flags, in enableReaderMode()
221 public void disableReaderMode(Activity activity) { in disableReaderMode()
247 public void setNdefPushContentUri(Activity activity, Uri[] uris) { in setNdefPushContentUri()
260 public void setNdefPushContentUriCallback(Activity activity, in setNdefPushContentUriCallback()
273 public void setNdefPushMessage(Activity activity, NdefMessage message, int flags) { in setNdefPushMessage()
[all …]
DNfcAdapter.java805 public void setBeamPushUris(Uri[] uris, Activity activity) { in setBeamPushUris()
881 public void setBeamPushUrisCallback(CreateBeamUrisCallback callback, Activity activity) { in setBeamPushUrisCallback()
959 public void setNdefPushMessage(NdefMessage message, Activity activity, in setNdefPushMessage()
989 public void setNdefPushMessage(NdefMessage message, Activity activity, int flags) { in setNdefPushMessage()
1061 public void setNdefPushMessageCallback(CreateNdefMessageCallback callback, Activity activity, in setNdefPushMessageCallback()
1090 public void setNdefPushMessageCallback(CreateNdefMessageCallback callback, Activity activity, in setNdefPushMessageCallback()
1136 Activity activity, Activity ... activities) { in setOnNdefPushCompleteCallback()
1194 public void enableForegroundDispatch(Activity activity, PendingIntent intent, in enableForegroundDispatch()
1230 public void disableForegroundDispatch(Activity activity) { in disableForegroundDispatch()
1243 void disableForegroundDispatchInternal(Activity activity, boolean force) { in disableForegroundDispatchInternal()
[all …]
/frameworks/base/native/android/
Dnative_activity.cpp24 void ANativeActivity_finish(ANativeActivity* activity) { in ANativeActivity_finish()
28 void ANativeActivity_setWindowFormat(ANativeActivity* activity, int32_t format) { in ANativeActivity_setWindowFormat()
32 void ANativeActivity_setWindowFlags(ANativeActivity* activity, in ANativeActivity_setWindowFlags()
37 void ANativeActivity_showSoftInput(ANativeActivity* activity, uint32_t flags) { in ANativeActivity_showSoftInput()
41 void ANativeActivity_hideSoftInput(ANativeActivity* activity, uint32_t flags) { in ANativeActivity_hideSoftInput()
/frameworks/support/v4/java/android/support/v4/app/
DActivityCompat.java71 public static boolean invalidateOptionsMenu(Activity activity) { in invalidateOptionsMenu()
96 public static void startActivity(Activity activity, Intent intent, @Nullable Bundle options) { in startActivity()
124 public static void startActivityForResult(Activity activity, Intent intent, int requestCode, in startActivityForResult()
140 public static void finishAffinity(Activity activity) { in finishAffinity()
157 public static void finishAfterTransition(Activity activity) { in finishAfterTransition()
173 public static void setEnterSharedElementCallback(Activity activity, in setEnterSharedElementCallback()
189 public static void setExitSharedElementCallback(Activity activity, in setExitSharedElementCallback()
196 public static void postponeEnterTransition(Activity activity) { in postponeEnterTransition()
202 public static void startPostponedEnterTransition(Activity activity) { in startPostponedEnterTransition()
DNavUtils.java43 Intent getParentActivityIntent(Activity activity); in getParentActivityIntent()
44 boolean shouldUpRecreateTask(Activity activity, Intent targetIntent); in shouldUpRecreateTask()
45 void navigateUpTo(Activity activity, Intent upIntent); in navigateUpTo()
52 public Intent getParentActivityIntent(Activity activity) { in getParentActivityIntent()
72 public boolean shouldUpRecreateTask(Activity activity, Intent targetIntent) { in shouldUpRecreateTask()
78 public void navigateUpTo(Activity activity, Intent upIntent) { in navigateUpTo()
99 public Intent getParentActivityIntent(Activity activity) { in getParentActivityIntent()
109 Intent superGetParentActivityIntent(Activity activity) { in superGetParentActivityIntent()
114 public boolean shouldUpRecreateTask(Activity activity, Intent targetIntent) { in shouldUpRecreateTask()
119 public void navigateUpTo(Activity activity, Intent upIntent) { in navigateUpTo()
DActionBarDrawerToggle.java106 Drawable getThemeUpIndicator(Activity activity); in getThemeUpIndicator()
107 Object setActionBarUpIndicator(Object info, Activity activity, in setActionBarUpIndicator()
109 Object setActionBarDescription(Object info, Activity activity, int contentDescRes); in setActionBarDescription()
114 public Drawable getThemeUpIndicator(Activity activity) { in getThemeUpIndicator()
119 public Object setActionBarUpIndicator(Object info, Activity activity, in setActionBarUpIndicator()
126 public Object setActionBarDescription(Object info, Activity activity, int contentDescRes) { in setActionBarDescription()
134 public Drawable getThemeUpIndicator(Activity activity) { in getThemeUpIndicator()
139 public Object setActionBarUpIndicator(Object info, Activity activity, in setActionBarUpIndicator()
146 public Object setActionBarDescription(Object info, Activity activity, int contentDescRes) { in setActionBarDescription()
155 public Drawable getThemeUpIndicator(Activity activity) { in getThemeUpIndicator()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DRunQueueTest.java34 final RunQueue activity = getActivity(); in testRunnableRan() local
41 final RunQueue activity = getActivity(); in testRunnableCancelled() local
48 final RunQueue activity = getActivity(); in testListenerFired() local
55 final RunQueue activity = getActivity(); in testTreeObserverKilled() local
DViewStubTest.java40 final StubbedView activity = getActivity(); in testStubbed() local
49 final StubbedView activity = getActivity(); in testInflated() local
60 final StubbedView activity = getActivity(); in testInflatedId() local
73 final StubbedView activity = getActivity(); in testInflatedLayoutParams() local
DIncludeTest.java39 final Include activity = getActivity(); in testIncluded() local
50 final Include activity = getActivity(); in testIncludedWithLayoutParams() local
63 final Include activity = getActivity(); in testIncludedWithVisibility() local
72 final Include activity = getActivity(); in testIncludedWithSize() local
/frameworks/support/v4/jellybean/android/support/v4/app/
DNavUtilsJB.java24 public static Intent getParentActivityIntent(Activity activity) { in getParentActivityIntent()
28 public static boolean shouldUpRecreateTask(Activity activity, Intent targetIntent) { in shouldUpRecreateTask()
32 public static void navigateUpTo(Activity activity, Intent upIntent) { in navigateUpTo()
DActivityCompatJB.java29 …public static void startActivityForResult(Activity activity, Intent intent, int requestCode, Bundl… in startActivityForResult()
33 public static void finishAffinity(Activity activity) { in finishAffinity()
/frameworks/testing/support/src/android/support/test/runner/
DMonitoringInstrumentation.java335 public void callActivityOnDestroy(Activity activity) { in callActivityOnDestroy()
341 public void callActivityOnRestart(Activity activity) { in callActivityOnRestart()
347 public void callActivityOnCreate(Activity activity, Bundle bundle) { in callActivityOnCreate()
358 public void callActivityOnStart(Activity activity) { in callActivityOnStart()
370 public void callActivityOnStop(Activity activity) { in callActivityOnStop()
380 public void callActivityOnResume(Activity activity) { in callActivityOnResume()
386 public void callActivityOnPause(Activity activity) { in callActivityOnPause()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBarDrawerToggleHoneycomb.java49 public static SetIndicatorInfo setActionBarUpIndicator(SetIndicatorInfo info, Activity activity, in setActionBarUpIndicator()
70 public static SetIndicatorInfo setActionBarDescription(SetIndicatorInfo info, Activity activity, in setActionBarDescription()
91 public static Drawable getThemeUpIndicator(Activity activity) { in getThemeUpIndicator()
103 SetIndicatorInfo(Activity activity) { in SetIndicatorInfo()
/frameworks/support/v4/honeycomb/android/support/v4/app/
DActionBarDrawerToggleHoneycomb.java48 public static Object setActionBarUpIndicator(Object info, Activity activity, in setActionBarUpIndicator()
70 public static Object setActionBarDescription(Object info, Activity activity, in setActionBarDescription()
92 public static Drawable getThemeUpIndicator(Activity activity) { in getThemeUpIndicator()
104 SetIndicatorInfo(Activity activity) { in SetIndicatorInfo()
DActivityCompatHoneycomb.java28 static void invalidateOptionsMenu(Activity activity) { in invalidateOptionsMenu()
32 static void dump(Activity activity, String prefix, FileDescriptor fd, in dump()
/frameworks/support/v4/jellybean-mr2/android/support/v4/app/
DActionBarDrawerToggleJellybeanMR2.java35 public static Object setActionBarUpIndicator(Object info, Activity activity, in setActionBarUpIndicator()
45 public static Object setActionBarDescription(Object info, Activity activity, in setActionBarDescription()
54 public static Drawable getThemeUpIndicator(Activity activity) { in getThemeUpIndicator()
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/action/
DClearTextActionIntegrationTest.java47 Activity activity = getActivity(); in testClearTextActionPerform() local
56 Activity activity = getActivity(); in testClearTextActionPerformWithTypeText() local
/frameworks/support/v4/api21/android/support/v4/app/
DActivityCompat21.java34 public static void finishAfterTransition(Activity activity) { in finishAfterTransition()
38 public static void setEnterSharedElementCallback(Activity activity, in setEnterSharedElementCallback()
43 public static void setExitSharedElementCallback(Activity activity, in setExitSharedElementCallback()
48 public static void postponeEnterTransition(Activity activity) { in postponeEnterTransition()
52 public static void startPostponedEnterTransition(Activity activity) { in startPostponedEnterTransition()
DActivityOptionsCompat21.java29 public static ActivityOptionsCompat21 makeSceneTransitionAnimation(Activity activity, in makeSceneTransitionAnimation()
36 public static ActivityOptionsCompat21 makeSceneTransitionAnimation(Activity activity, in makeSceneTransitionAnimation()
/frameworks/base/core/tests/coretests/src/android/widget/
DRadioGroupPreCheckedTest.java36 final RadioGroupActivity activity = getActivity(); in testRadioButtonPreChecked() local
48 final RadioGroupActivity activity = getActivity(); in testRadioButtonChangePreChecked() local
/frameworks/base/core/java/android/hardware/location/
DActivityRecognitionHardware.java49 public int activity; field in ActivityRecognitionHardware.Event
82 public boolean isActivitySupported(String activity) { in isActivitySupported()
101 public boolean enableActivityEvent(String activity, int eventType, long reportLatencyNs) { in enableActivityEvent()
114 public boolean disableActivityEvent(String activity, int eventType) { in disableActivityEvent()
180 private int getActivityType(String activity) { in getActivityType()
/frameworks/base/location/lib/java/com/android/location/provider/
DActivityRecognitionProvider.java70 public boolean isActivitySupported(String activity) throws RemoteException { in isActivitySupported()
90 public boolean enableActivityEvent(String activity, int eventType, long reportLatencyNs) in enableActivityEvent()
95 public boolean disableActivityEvent(String activity, int eventType) throws RemoteException { in disableActivityEvent()

1234567