Home
last modified time | relevance | path

Searched refs:getCurrentActivity (Results 1 – 25 of 88) sorted by relevance

1234

/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/screencapture/
H A DScreenCaptureModule.kt29 val activity = getCurrentActivity() in preventScreenCapture()
43 val activity = getCurrentActivity() in allowScreenCapture()
56 fun getCurrentActivity(): Activity { in getCurrentActivity() method
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/screencapture/
H A DScreenCaptureModule.kt29 val activity = getCurrentActivity() in preventScreenCapture()
43 val activity = getCurrentActivity() in allowScreenCapture()
56 fun getCurrentActivity(): Activity { in getCurrentActivity() method
/expo/android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/
H A DScreenOrientationModule.java39 Activity activity = getCurrentActivity(); in onHostResume()
59 Activity activity = getCurrentActivity(); in onCatalystInstanceDestroy()
67 Activity activity = getCurrentActivity(); in lockAsync()
88 Activity activity = getCurrentActivity(); in lockPlatformAsync()
107 Activity activity = getCurrentActivity(); in getOrientationAsync()
121 Activity activity = getCurrentActivity(); in getOrientationLockAsync()
135 Activity activity = getCurrentActivity(); in getPlatformOrientationLockAsync()
H A DKeepAwakeModule.java26 final Activity activity = getCurrentActivity(); in activate()
41 final Activity activity = getCurrentActivity(); in deactivate()
H A DKeyboardModule.java27 Activity activity = getCurrentActivity(); in hideAsync()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/
H A DScreenOrientationModule.java39 Activity activity = getCurrentActivity(); in onHostResume()
59 Activity activity = getCurrentActivity(); in onCatalystInstanceDestroy()
67 Activity activity = getCurrentActivity(); in lockAsync()
88 Activity activity = getCurrentActivity(); in lockPlatformAsync()
107 Activity activity = getCurrentActivity(); in getOrientationAsync()
121 Activity activity = getCurrentActivity(); in getOrientationLockAsync()
135 Activity activity = getCurrentActivity(); in getPlatformOrientationLockAsync()
H A DKeepAwakeModule.java26 final Activity activity = getCurrentActivity(); in activate()
41 final Activity activity = getCurrentActivity(); in deactivate()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/api/
H A DScreenOrientationModule.java39 Activity activity = getCurrentActivity(); in onHostResume()
59 Activity activity = getCurrentActivity(); in onCatalystInstanceDestroy()
67 Activity activity = getCurrentActivity(); in lockAsync()
88 Activity activity = getCurrentActivity(); in lockPlatformAsync()
107 Activity activity = getCurrentActivity(); in getOrientationAsync()
121 Activity activity = getCurrentActivity(); in getOrientationLockAsync()
135 Activity activity = getCurrentActivity(); in getPlatformOrientationLockAsync()
H A DKeepAwakeModule.java26 final Activity activity = getCurrentActivity(); in activate()
41 final Activity activity = getCurrentActivity(); in deactivate()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/host/exp/exponent/modules/api/
H A DScreenOrientationModule.java39 Activity activity = getCurrentActivity(); in onHostResume()
59 Activity activity = getCurrentActivity(); in onCatalystInstanceDestroy()
67 Activity activity = getCurrentActivity(); in lockAsync()
88 Activity activity = getCurrentActivity(); in lockPlatformAsync()
107 Activity activity = getCurrentActivity(); in getOrientationAsync()
121 Activity activity = getCurrentActivity(); in getOrientationLockAsync()
135 Activity activity = getCurrentActivity(); in getPlatformOrientationLockAsync()
H A DKeepAwakeModule.java26 final Activity activity = getCurrentActivity(); in activate()
41 final Activity activity = getCurrentActivity(); in deactivate()
/expo/packages/expo-dev-client/e2e/android/
H A DDetoxTest.java44 public static Activity getCurrentActivity() { in getCurrentActivity() method in DevClientDetoxHelper
66 Activity activity = getCurrentActivity(); in openMenu()
70 activity = getCurrentActivity(); in openMenu()
/expo/packages/expo-test-runner/templates/detox/android/app/src/androidTest/java/com/testrunner/
H A DDetoxTest.java44 public static Activity getCurrentActivity() { in getCurrentActivity() method in DevClientDetoxHelper
66 Activity activity = getCurrentActivity(); in openMenu()
70 activity = getCurrentActivity(); in openMenu()
/expo/packages/expo-in-app-purchases/android/src/main/java/expo/modules/inapppurchases/
H A DInAppPurchasesModule.java43 Activity activity = getCurrentActivity(); in connectAsync()
94 private Activity getCurrentActivity() { in getCurrentActivity() method in InAppPurchasesModule
96 return activityProvider != null ? activityProvider.getCurrentActivity() : null; in getCurrentActivity()
/expo/packages/expo-modules-core/android/src/main/java/expo/modules/core/interfaces/
H A DActivityProvider.java6 Activity getCurrentActivity(); in getCurrentActivity() method
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/core/interfaces/
H A DActivityProvider.java6 Activity getCurrentActivity(); in getCurrentActivity() method
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/core/interfaces/
H A DActivityProvider.java6 Activity getCurrentActivity(); in getCurrentActivity() method
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/core/interfaces/
H A DActivityProvider.java6 Activity getCurrentActivity(); in getCurrentActivity() method
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/components/webview/
H A DRNCWebViewModule.java110 …Toast.makeText(getCurrentActivity().getApplicationContext(), lackPermissionToDownloadMessage, Toas… in getWebviewFileDownloaderPermissionListener()
265 if (chooserIntent.resolveActivity(getCurrentActivity().getPackageManager()) != null) {
266 getCurrentActivity().startActivityForResult(chooserIntent, PICKER_LEGACY);
298 if (chooserIntent.resolveActivity(getCurrentActivity().getPackageManager()) != null) {
299 getCurrentActivity().startActivityForResult(chooserIntent, PICKER);
312 …DownloadManager dm = (DownloadManager) getCurrentActivity().getBaseContext().getSystemService(Cont…
321 …Toast.makeText(getCurrentActivity().getApplicationContext(), downloadingMessage, Toast.LENGTH_LONG…
330 …boolean result = ContextCompat.checkSelfPermission(getCurrentActivity(), Manifest.permission.WRITE…
342 PackageManager packageManager = getCurrentActivity().getPackageManager();
346 …&& ContextCompat.checkSelfPermission(getCurrentActivity(), Manifest.permission.CAMERA) != PackageM…
[all …]
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/api/components/webview/
H A DRNCWebViewModule.java110 …Toast.makeText(getCurrentActivity().getApplicationContext(), lackPermissionToDownloadMessage, Toas… in getWebviewFileDownloaderPermissionListener()
265 if (chooserIntent.resolveActivity(getCurrentActivity().getPackageManager()) != null) {
266 getCurrentActivity().startActivityForResult(chooserIntent, PICKER_LEGACY);
298 if (chooserIntent.resolveActivity(getCurrentActivity().getPackageManager()) != null) {
299 getCurrentActivity().startActivityForResult(chooserIntent, PICKER);
312 …DownloadManager dm = (DownloadManager) getCurrentActivity().getBaseContext().getSystemService(Cont…
321 …Toast.makeText(getCurrentActivity().getApplicationContext(), downloadingMessage, Toast.LENGTH_LONG…
330 …boolean result = ContextCompat.checkSelfPermission(getCurrentActivity(), Manifest.permission.WRITE…
342 PackageManager packageManager = getCurrentActivity().getPackageManager();
346 …&& ContextCompat.checkSelfPermission(getCurrentActivity(), Manifest.permission.CAMERA) != PackageM…
[all …]
/expo/packages/expo-secure-store/android/src/main/java/expo/modules/securestore/
H A DAuthenticationHelper.kt44 val fragmentActivity = getCurrentActivity() as? FragmentActivity in openAuthenticationPrompt()
81 private fun getCurrentActivity(): Activity? { in getCurrentActivity() method in expo.modules.securestore.AuthenticationHelper
/expo/android/vendored/sdk48/react-native-reanimated/android/src/main/java/abi48_0_0/com/swmansion/reanimated/keyboardObserver/
H A DReanimatedKeyboardEventListener.java49 return reactContext.get().getCurrentActivity().getWindow().getDecorView(); in getRootView()
55 reactContext.get().getCurrentActivity().getWindow(), false); in setupWindowInsets()
141 reactContext.get().getCurrentActivity().getWindow(), true); in bringBackWindowInsets()
/expo/android/vendored/sdk47/react-native-reanimated/android/src/main/java/abi47_0_0/com/swmansion/reanimated/keyboardObserver/
H A DReanimatedKeyboardEventListener.java49 return reactContext.get().getCurrentActivity().getWindow().getDecorView(); in getRootView()
55 reactContext.get().getCurrentActivity().getWindow(), false); in setupWindowInsets()
141 reactContext.get().getCurrentActivity().getWindow(), true); in bringBackWindowInsets()
/expo/android/vendored/sdk49/react-native-reanimated/android/src/main/java/abi49_0_0/com/swmansion/reanimated/keyboardObserver/
H A DReanimatedKeyboardEventListener.java50 return reactContext.get().getCurrentActivity().getWindow().getDecorView(); in getRootView()
56 reactContext.get().getCurrentActivity().getWindow(), false); in setupWindowInsets()
148 reactContext.get().getCurrentActivity().getWindow(), !isStatusBarTranslucent); in bringBackWindowInsets()
/expo/android/vendored/unversioned/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/keyboardObserver/
H A DReanimatedKeyboardEventListener.java50 return reactContext.get().getCurrentActivity().getWindow().getDecorView(); in getRootView()
56 reactContext.get().getCurrentActivity().getWindow(), false); in setupWindowInsets()
148 reactContext.get().getCurrentActivity().getWindow(), !isStatusBarTranslucent); in bringBackWindowInsets()

1234