Home
last modified time | relevance | path

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

1234567

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowActivityTest.java68 private Activity activity; field in ShadowActivityTest
156 TranscriptActivity activity = Robolectric.setupActivity(TranscriptActivity.class); in startActivity_shouldDelegateToStartActivityForResult() local
208 TranscriptActivity activity = Robolectric.setupActivity(TranscriptActivity.class); in startActivityForResultAndReceiveResult_shouldSendResponsesBackToActivity() local
221 ThrowOnResultActivity activity = Robolectric.buildActivity(ThrowOnResultActivity.class).get(); in startActivityForResultAndReceiveResult_whenNoIntentMatches_shouldThrowException() local
326 … final DialogLifeCycleActivity activity = Robolectric.setupActivity(DialogLifeCycleActivity.class); in showDialog_shouldCreatePrepareAndShowDialog() local
329 new Dialog(activity) { in showDialog_shouldCreatePrepareAndShowDialog() argument
349 … final DialogLifeCycleActivity activity = Robolectric.setupActivity(DialogLifeCycleActivity.class); in showDialog_shouldCreatePrepareAndShowDialogWithBundle() local
352 new Dialog(activity) { in showDialog_shouldCreatePrepareAndShowDialogWithBundle() argument
372 … final DialogLifeCycleActivity activity = Robolectric.setupActivity(DialogLifeCycleActivity.class); in showDialog_shouldReturnFalseIfDialogDoesNotExist() local
382 final DialogCreatingActivity activity = Robolectric.setupActivity(DialogCreatingActivity.class); in showDialog_shouldReuseDialogs() local
[all …]
DShadowWindowTest.java28 Activity activity = Robolectric.buildActivity(Activity.class).create().get(); in getFlag_shouldReturnWindowFlags() local
40 Activity activity = Robolectric.buildActivity(Activity.class).create().get(); in getTitle_shouldReturnWindowTitle() local
48 Activity activity = Robolectric.buildActivity(Activity.class).create().get(); in getBackgroundDrawable_returnsSetDrawable() local
60 TestActivity activity = Robolectric.buildActivity(TestActivity.class).create().get(); in getSoftInputMode_returnsSoftInputMode() local
71 Activity activity = Robolectric.buildActivity(TestActivity.class).create().get(); in getProgressBar_returnsTheProgressBar() local
85 TestActivity activity = testActivityActivityController.get(); in getIndeterminateProgressBar_returnsTheIndeterminateProgressBar() local
DShadowNfcAdapterTest.java35 final Activity activity = Robolectric.setupActivity(Activity.class); in setNdefPushMesageCallback_shouldUseCallback() local
46 final Activity activity = Robolectric.setupActivity(Activity.class); in setOnNdefPushCompleteCallback_shouldUseCallback() local
57 final Activity activity = Robolectric.setupActivity(Activity.class); in setOnNdefPushCompleteCallback_throwsOnNullActivity() local
70 final Activity activity = Robolectric.setupActivity(Activity.class); in setOnNdefPushCompleteCallback_throwsOnNullInActivities() local
114 final Activity activity = Robolectric.setupActivity(Activity.class); in setNdefPushMessage_setsNullMessage() local
124 final Activity activity = Robolectric.setupActivity(Activity.class); in setNdefPushMessage_setsNonNullMessage() local
136 final Activity activity = Robolectric.setupActivity(Activity.class); in getNdefPushMessage_messageNotSet_throwsIllegalStateException() local
DShadowTabActivityTest.java19 TabActivity activity = Robolectric.buildActivity(TabActivity.class).create().get(); in tabActivityShouldNotMakeNewTabHostEveryGet() local
28 TabActivity activity = Robolectric.buildActivity(TabActivity.class).create().get(); in shouldGetTabWidget() local
DShadowTest.java31 Activity activity = new Activity(); in extractor() local
37 Activity activity = new Activity(); in otherDeprecated_extractor() local
DShadowThemeTest.java43 TestActivity activity = buildActivity(TestActivityWithAnotherTheme.class).create().get(); in whenExplicitlySetOnActivity_afterSetContentView_activityGetsThemeFromActivityInManifest() local
52 TestActivity activity = activityController.get(); in whenExplicitlySetOnActivity_beforeSetContentView_activityUsesNewTheme() local
61 TestActivity activity = buildActivity(TestActivityWithAnotherTheme.class).create().get(); in whenSetOnActivityInManifest_activityGetsThemeFromActivityInManifest() local
68 TestActivity activity = buildActivity(TestActivity.class).create().get(); in whenNotSetOnActivityInManifest_activityGetsThemeFromApplicationInManifest() local
75 TestActivity activity = buildActivity(TestActivityWithAnotherTheme.class).create().get(); in shouldResolveReferencesThatStartWithAQuestionMark() local
263 …TestWithStyleAttrActivity activity = buildActivity(TestWithStyleAttrActivity.class).create().get(); in shouldApplyFromStyleAttribute() local
DShadowPreferenceActivityTest.java17 private TestPreferenceActivity activity; field in ShadowPreferenceActivityTest
31 TestPreferenceActivity activity = Robolectric.buildActivity(TestPreferenceActivity.class).get(); in shouldNotInitializePreferenceScreen() local
/external/deqp/framework/platform/android/
DtcuAndroidNativeActivity.cpp29 static void onStartCallback (ANativeActivity* activity) in onStartCallback()
34 static void onResumeCallback (ANativeActivity* activity) in onResumeCallback()
39 static void* onSaveInstanceStateCallback (ANativeActivity* activity, size_t* outSize) in onSaveInstanceStateCallback()
44 static void onPauseCallback (ANativeActivity* activity) in onPauseCallback()
49 static void onStopCallback (ANativeActivity* activity) in onStopCallback()
54 static void onDestroyCallback (ANativeActivity* activity) in onDestroyCallback()
59 static void onWindowFocusChangedCallback (ANativeActivity* activity, int hasFocus) in onWindowFocusChangedCallback()
64 static void onNativeWindowCreatedCallback (ANativeActivity* activity, ANativeWindow* window) in onNativeWindowCreatedCallback()
69 static void onNativeWindowResizedCallback (ANativeActivity* activity, ANativeWindow* window) in onNativeWindowResizedCallback()
74 static void onNativeWindowRedrawNeededCallback (ANativeActivity* activity, ANativeWindow* window) in onNativeWindowRedrawNeededCallback()
[all …]
/external/deqp/external/openglcts/modules/runner/
DglcAndroidMain.cpp33 static void createCTSActivity(ANativeActivity* activity, void* savedState, size_t savedStateSize, g… in createCTSActivity()
49 JNIEXPORT void JNICALL createES2CTSActivity(ANativeActivity* activity, void* savedState, size_t sav… in createES2CTSActivity()
54 JNIEXPORT void JNICALL createES3CTSActivity(ANativeActivity* activity, void* savedState, size_t sav… in createES3CTSActivity()
59 JNIEXPORT void JNICALL createES31CTSActivity(ANativeActivity* activity, void* savedState, size_t sa… in createES31CTSActivity()
64 JNIEXPORT void JNICALL createES32CTSActivity(ANativeActivity* activity, void* savedState, size_t sa… in createES32CTSActivity()
69 JNIEXPORT void JNICALL createGL45CTSActivity(ANativeActivity* activity, void* savedState, size_t sa… in createGL45CTSActivity()
74 JNIEXPORT void JNICALL createGL46CTSActivity(ANativeActivity* activity, void* savedState, size_t sa… in createGL46CTSActivity()
DglcAndroidTestActivity.cpp45 static std::string getLogPath(ANativeActivity* activity) in getLogPath()
51 static deUint32 getFlags(ANativeActivity* activity) in getFlags()
61 TestThread::TestThread(NativeActivity& activity, tcu::Android::AssetArchive& archive, const std::st… in TestThread()
107 TestActivity::TestActivity(ANativeActivity* activity, glu::ApiType runType) in TestActivity()
/external/skia/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/
DCameraPermissionHelper.java36 public static boolean hasCameraPermission(Activity activity) { in hasCameraPermission()
44 public static void requestCameraPermission(Activity activity) { in requestCameraPermission()
52 public static boolean shouldShowRequestPermissionRationale(Activity activity) { in shouldShowRequestPermissionRationale()
59 public static void launchPermissionSettings(Activity activity) { in launchPermissionSettings()
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/
DCameraPermissionHelper.java38 public static boolean hasCameraPermission(Activity activity) { in hasCameraPermission()
46 public static void requestCameraPermission(Activity activity) { in requestCameraPermission()
54 public static boolean shouldShowRequestPermissionRationale(Activity activity) { in shouldShowRequestPermissionRationale()
61 public static void launchPermissionSettings(Activity activity) { in launchPermissionSettings()
DSnackbarHelper.java43 public void showMessage(Activity activity, String message) { in showMessage()
50 public void showMessageWithDismiss(Activity activity, String message) { in showMessageWithDismiss()
58 public void showError(Activity activity, String errorMessage) { in showError()
66 public void hide(Activity activity) { in hide()
80 final Activity activity, final String message, final DismissBehavior dismissBehavior) { in show()
/external/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/
DCameraPermissionHelper.java38 public static boolean hasCameraPermission(Activity activity) { in hasCameraPermission()
46 public static void requestCameraPermission(Activity activity) { in requestCameraPermission()
54 public static boolean shouldShowRequestPermissionRationale(Activity activity) { in shouldShowRequestPermissionRationale()
61 public static void launchPermissionSettings(Activity activity) { in launchPermissionSettings()
DSnackbarHelper.java43 public void showMessage(Activity activity, String message) { in showMessage()
50 public void showMessageWithDismiss(Activity activity, String message) { in showMessageWithDismiss()
58 public void showError(Activity activity, String errorMessage) { in showError()
66 public void hide(Activity activity) { in hide()
80 final Activity activity, final String message, final DismissBehavior dismissBehavior) { in show()
/external/skqp/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/
DCameraPermissionHelper.java36 public static boolean hasCameraPermission(Activity activity) { in hasCameraPermission()
44 public static void requestCameraPermission(Activity activity) { in requestCameraPermission()
52 public static boolean shouldShowRequestPermissionRationale(Activity activity) { in shouldShowRequestPermissionRationale()
59 public static void launchPermissionSettings(Activity activity) { in launchPermissionSettings()
/external/dagger2/examples/android-activity-graphs/src/main/java/com/example/dagger/activitygraphs/
DActivityModule.java27 private final Activity activity; field in ActivityModule
29 public ActivityModule(Activity activity) { in ActivityModule()
36 @Provides @PerActivity Activity activity() { in activity() method in ActivityModule
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DLocalActivityInvoker.java60 public void resumeActivity(Activity activity) { in resumeActivity()
81 public void pauseActivity(Activity activity) { in pauseActivity()
98 public void stopActivity(Activity activity) { in stopActivity()
119 public void recreateActivity(Activity activity) { in recreateActivity()
165 public void finishActivity(Activity activity) { in finishActivity()
/external/robolectric-shadows/shadows/playservices/src/main/java/org/robolectric/shadows/gms/
DShadowGooglePlayServicesUtil.java56 public static synchronized boolean showErrorDialogFragment(int errorCode, Activity activity, in showErrorDialogFragment()
63 public static synchronized boolean showErrorDialogFragment(int errorCode, Activity activity, in showErrorDialogFragment()
71 int errorCode, Activity activity, int requestCode, OnCancelListener cancelListener) { in showErrorDialogFragment()
77 public static synchronized Dialog getErrorDialog(int errorCode, Activity activity, in getErrorDialog()
83 public static synchronized Dialog getErrorDialog(int errorCode, Activity activity, in getErrorDialog()
115 public Dialog getErrorDialog(int errorCode, Activity activity, int requestCode) { in getErrorDialog()
119 public Dialog getErrorDialog(int errorCode, Activity activity, int requestCode, in getErrorDialog()
152 public boolean showErrorDialogFragment(int errorCode, Activity activity, in showErrorDialogFragment()
157 public boolean showErrorDialogFragment(int errorCode, Activity activity, int requestCode) { in showErrorDialogFragment()
161 public boolean showErrorDialogFragment(int errorCode, Activity activity, int requestCode, in showErrorDialogFragment()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNfcAdapter.java40 Activity activity, PendingIntent intent, IntentFilter[] filters, String[][] techLists) { in enableForegroundDispatch()
48 protected void disableForegroundDispatch(Activity activity) { in disableForegroundDispatch()
58 NdefMessage message, Activity activity, Activity... activities) { in setNdefPushMessage()
73 NfcAdapter.CreateNdefMessageCallback callback, Activity activity, Activity... activities) { in setNdefPushMessageCallback()
85 NfcAdapter.OnNdefPushCompleteCallback callback, Activity activity, Activity... activities) { in setOnNdefPushCompleteCallback()
/external/dagger2/examples/android-activity-graphs/src/main/java/com/example/dagger/activitygraphs/ui/
DActivityTitleController.java32 private final Activity activity; field in ActivityTitleController
34 @Inject public ActivityTitleController(Activity activity) { in ActivityTitleController()
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DLayoutBindBackHelper.java26 public static final String getScreenName(Activity activity) { in getScreenName()
30 public static final Bundle getExtraBundle(Activity activity) { in getExtraBundle()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DCustomizeWindow.java30 …public static void requestCustomTitle(Activity activity, String title, int contentViewLayoutResId)… in requestCustomTitle()
40 public static void toggleProgressBarVisibility(Activity activity, boolean on) { in toggleProgressBarVisibility()
/external/grpc-grpc/examples/android/helloworld/app/src/main/java/io/grpc/helloworldexample/cpp/
DHelloworldActivity.java109 private RunServerTask(HelloworldActivity activity) { in RunServerTask()
116 HelloworldActivity activity = activityReference.get(); in doInBackground() local
127 private GrpcTask(HelloworldActivity activity) { in GrpcTask()
142 HelloworldActivity activity = activityReference.get(); in onPostExecute() local
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DDecodeThread.java39 private final CaptureActivity activity; field in DecodeThread
44 DecodeThread(CaptureActivity activity, in DecodeThread()

1234567