Home
last modified time | relevance | path

Searched refs:rootView (Results 1 – 25 of 152) sorted by relevance

1234567

/expo/packages/expo-dev-menu/ios/UITests/
H A DDevMenuUIMatchers.swift17 if matcher(rootView) {
18 return rootView
21 for subView in rootView.subviews {
22 let found = findView(rootView: subView, matcher)
36 return findView(rootView: view, matcher)
39 static func findView(rootView: UIView, tag: String) -> UIView? { in findView()
40 return DevMenuUIMatchers.findView(rootView: rootView) { in findView()
50 return findView(rootView: view, tag: tag) in findView()
63 let found = findView(rootView: view, matcher)
90 findView(rootView: rootView) { in findView()
[all …]
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/host/exp/exponent/modules/api/safeareacontext/
H A DSafeAreaUtils.kt15 rootView.rootWindowInsets?.getInsets( in getRootWindowInsetsCompatR()
32 val insets = rootView.rootWindowInsets ?: return null in getRootWindowInsetsCompatM()
48 rootView.getWindowVisibleDisplayFrame(visibleRect) in getRootWindowInsetsCompatBase()
51 right = (rootView.width - visibleRect.right).toFloat(), in getRootWindowInsetsCompatBase()
52 bottom = (rootView.height - visibleRect.bottom).toFloat(), in getRootWindowInsetsCompatBase()
61 else -> getRootWindowInsetsCompatBase(rootView) in getRootWindowInsetsCompat()
70 val rootView = view.rootView in getSafeAreaInsets() constant
74 val windowWidth = rootView.width.toFloat() in getSafeAreaInsets()
75 val windowHeight = rootView.height.toFloat() in getSafeAreaInsets()
86 fun getFrame(rootView: ViewGroup, view: View): Rect? { in getFrame()
[all …]
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/safeareacontext/
H A DSafeAreaUtils.kt15 rootView.rootWindowInsets?.getInsets( in getRootWindowInsetsCompatR()
32 val insets = rootView.rootWindowInsets ?: return null in getRootWindowInsetsCompatM()
48 rootView.getWindowVisibleDisplayFrame(visibleRect) in getRootWindowInsetsCompatBase()
51 right = (rootView.width - visibleRect.right).toFloat(), in getRootWindowInsetsCompatBase()
52 bottom = (rootView.height - visibleRect.bottom).toFloat(), in getRootWindowInsetsCompatBase()
61 else -> getRootWindowInsetsCompatBase(rootView) in getRootWindowInsetsCompat()
70 val rootView = view.rootView in getSafeAreaInsets() constant
74 val windowWidth = rootView.width.toFloat() in getSafeAreaInsets()
75 val windowHeight = rootView.height.toFloat() in getSafeAreaInsets()
86 fun getFrame(rootView: ViewGroup, view: View): Rect? { in getFrame()
[all …]
/expo/android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/safeareacontext/
H A DSafeAreaUtils.kt13 private fun getRootWindowInsetsCompatR(rootView: View): EdgeInsets? { in getRootWindowInsetsCompatR()
15 rootView.rootWindowInsets?.getInsets( in getRootWindowInsetsCompatR()
30 val insets = rootView.rootWindowInsets ?: return null in getRootWindowInsetsCompatM()
45 rootView.getWindowVisibleDisplayFrame(visibleRect) in getRootWindowInsetsCompatBase()
48 right = (rootView.width - visibleRect.right).toFloat(), in getRootWindowInsetsCompatBase()
57 else -> getRootWindowInsetsCompatBase(rootView) in getRootWindowInsetsCompat()
66 val rootView = view.rootView in getSafeAreaInsets() constant
70 val windowWidth = rootView.width.toFloat() in getSafeAreaInsets()
71 val windowHeight = rootView.height.toFloat() in getSafeAreaInsets()
81 fun getFrame(rootView: ViewGroup, view: View): Rect? { in getFrame()
[all …]
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/api/safeareacontext/
H A DSafeAreaUtils.kt15 rootView.rootWindowInsets?.getInsets( in getRootWindowInsetsCompatR()
32 val insets = rootView.rootWindowInsets ?: return null in getRootWindowInsetsCompatM()
48 rootView.getWindowVisibleDisplayFrame(visibleRect) in getRootWindowInsetsCompatBase()
51 right = (rootView.width - visibleRect.right).toFloat(), in getRootWindowInsetsCompatBase()
52 bottom = (rootView.height - visibleRect.bottom).toFloat(), in getRootWindowInsetsCompatBase()
61 else -> getRootWindowInsetsCompatBase(rootView) in getRootWindowInsetsCompat()
70 val rootView = view.rootView in getSafeAreaInsets() constant
74 val windowWidth = rootView.width.toFloat() in getSafeAreaInsets()
75 val windowHeight = rootView.height.toFloat() in getSafeAreaInsets()
86 fun getFrame(rootView: ViewGroup, view: View): Rect? { in getFrame()
[all …]
/expo/packages/expo-dev-menu/vendored/react-native-safe-area-context/android/devmenu/com/th3rdwave/safeareacontext/
H A DSafeAreaUtils.java13 private static @Nullable EdgeInsets getRootWindowInsetsCompat(View rootView) { in getRootWindowInsetsCompat() argument
15 WindowInsets insets = rootView.getRootWindowInsets(); in getRootWindowInsetsCompat()
31 rootView.getWindowVisibleDisplayFrame(visibleRect); in getRootWindowInsetsCompat()
34 rootView.getWidth() - visibleRect.right, in getRootWindowInsetsCompat()
35 rootView.getHeight() - visibleRect.bottom, in getRootWindowInsetsCompat()
45 View rootView = view.getRootView(); in getSafeAreaInsets() local
46 EdgeInsets windowInsets = getRootWindowInsetsCompat(rootView); in getSafeAreaInsets()
52 float windowWidth = rootView.getWidth(); in getSafeAreaInsets()
53 float windowHeight = rootView.getHeight(); in getSafeAreaInsets()
64 …static @Nullable devmenu.com.th3rdwave.safeareacontext.Rect getFrame(ViewGroup rootView, View view… in getFrame() argument
[all …]
/expo/packages/expo-dev-menu/android/src/debug/java/expo/modules/devmenu/
H A DDevMenuActivity.kt54 .setPrivateDeclaredFieldValue("mReactRootView", reactDelegate, rootView) in getMainComponentName()
57 (rootView.parent as? ViewGroup)?.removeView(rootView) in getMainComponentName()
76 return rootView in getMainComponentName()
79 rootView = super.createRootView().apply { setIsFabric(fabricEnabled) } in getMainComponentName()
81 return rootView in getMainComponentName()
86 return rootView in getMainComponentName()
89 rootView = super.createRootView(bundle) in getMainComponentName()
91 return rootView in getMainComponentName()
160 private lateinit var rootView: ReactRootView variable
162 private fun rootViewWasInitialized() = ::rootView.isInitialized
/expo/ios/vendored/unversioned/react-native-reanimated/ios/native/
H A DNativeMethods.mm11 UIView *rootView = view;
17 while (rootView.superview && ![rootView isReactRootView]) {
18 rootView = rootView.superview;
21 if (rootView == nil) {
26 CGRect globalBounds = [view convertRect:view.bounds toView:rootView];
/expo/ios/vendored/sdk49/react-native-reanimated/ios/native/
H A DNativeMethods.mm11 UIView *rootView = view;
17 while (rootView.superview && ![rootView isABI49_0_0ReactRootView]) {
18 rootView = rootView.superview;
21 if (rootView == nil) {
26 CGRect globalBounds = [view convertRect:view.bounds toView:rootView];
/expo/ios/vendored/sdk47/react-native-reanimated/ios/native/
H A DNativeMethods.mm11 UIView *rootView = view;
17 while (rootView.superview && ![rootView isABI47_0_0ReactRootView]) {
18 rootView = rootView.superview;
21 if (rootView == nil) {
26 CGRect globalBounds = [view convertRect:view.bounds toView:rootView];
/expo/ios/vendored/sdk48/react-native-reanimated/ios/native/
H A DNativeMethods.mm11 UIView *rootView = view;
17 while (rootView.superview && ![rootView isABI48_0_0ReactRootView]) {
18 rootView = rootView.superview;
21 if (rootView == nil) {
26 CGRect globalBounds = [view convertRect:view.bounds toView:rootView];
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/Wrapper/Example/
H A DABI48_0_0RCTWrapperReactRootViewController.m31 ABI48_0_0RCTRootView *rootView = [[ABI48_0_0RCTRootView alloc] initWithBridge:_bridge
35 rootView.backgroundColor = [UIColor whiteColor];
40 rootView.loadingView = progressIndicatorView;
42 rootView.sizeFlexibility = ABI48_0_0RCTRootViewSizeFlexibilityWidthAndHeight;
43 self.view = rootView;
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/Libraries/Wrapper/Example/
H A DABI49_0_0RCTWrapperReactRootViewController.m31 ABI49_0_0RCTRootView *rootView = [[ABI49_0_0RCTRootView alloc] initWithBridge:_bridge
35 rootView.backgroundColor = [UIColor whiteColor];
40 rootView.loadingView = progressIndicatorView;
42 rootView.sizeFlexibility = ABI49_0_0RCTRootViewSizeFlexibilityWidthAndHeight;
43 self.view = rootView;
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/Libraries/Wrapper/Example/
H A DABI47_0_0RCTWrapperReactRootViewController.m31 ABI47_0_0RCTRootView *rootView =
36 rootView.backgroundColor = [UIColor whiteColor];
41 rootView.loadingView = progressIndicatorView;
43 rootView.sizeFlexibility = ABI47_0_0RCTRootViewSizeFlexibilityWidthAndHeight;
44 self.view = rootView;
/expo/packages/expo-splash-screen/ios/EXSplashScreen/
H A DEXSplashScreenViewController.m9 @property (nonatomic, weak) UIView *rootView;
19 - (instancetype)initWithRootView:(UIView *)rootView splashScreenView:(nonnull UIView *)splashScreen…
22 _rootView = rootView;
41 UIView *rootView = self.rootView;
42 self.splashScreenView.frame = rootView.bounds;
43 [rootView addSubview:self.splashScreenView];
/expo/ios/versioned/sdk47/EXSplashScreen/EXSplashScreen/
H A DABI47_0_0EXSplashScreenViewController.m9 @property (nonatomic, weak) UIView *rootView;
19 - (instancetype)initWithRootView:(UIView *)rootView splashScreenView:(nonnull UIView *)splashScreen…
22 _rootView = rootView;
41 UIView *rootView = self.rootView;
42 self.splashScreenView.frame = rootView.bounds;
43 [rootView addSubview:self.splashScreenView];
/expo/ios/versioned/sdk49/EXSplashScreen/EXSplashScreen/
H A DABI49_0_0EXSplashScreenViewController.m9 @property (nonatomic, weak) UIView *rootView;
19 - (instancetype)initWithRootView:(UIView *)rootView splashScreenView:(nonnull UIView *)splashScreen…
22 _rootView = rootView;
41 UIView *rootView = self.rootView;
42 self.splashScreenView.frame = rootView.bounds;
43 [rootView addSubview:self.splashScreenView];
/expo/ios/versioned/sdk48/EXSplashScreen/EXSplashScreen/
H A DABI48_0_0EXSplashScreenViewController.m9 @property (nonatomic, weak) UIView *rootView;
19 - (instancetype)initWithRootView:(UIView *)rootView splashScreenView:(nonnull UIView *)splashScreen…
22 _rootView = rootView;
41 UIView *rootView = self.rootView;
42 self.splashScreenView.frame = rootView.bounds;
43 [rootView addSubview:self.splashScreenView];
/expo/packages/expo-splash-screen/android/src/main/java/expo/modules/splashscreen/
H A DSplashScreenViewController.kt26 private var rootView: ViewGroup? = null variable
81 if (rootView != null) { in searchForRootView()
102 rootView = view in handleRootView()
103 if ((rootView?.childCount ?: 0) > 0) { in handleRootView()
111 if (rootView?.childCount == 0) { in handleRootView()
118 if (rootView?.childCount == 1) { in handleRootView()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/splashscreen/
H A DSplashScreenViewController.kt26 private var rootView: ViewGroup? = null variable
81 if (rootView != null) { in searchForRootView()
102 rootView = view in handleRootView()
103 if ((rootView?.childCount ?: 0) > 0) { in handleRootView()
111 if (rootView?.childCount == 0) { in handleRootView()
118 if (rootView?.childCount == 1) { in handleRootView()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/splashscreen/
H A DSplashScreenViewController.kt25 private var rootView: ViewGroup? = null variable
80 if (rootView != null) { in searchForRootView()
101 rootView = view in handleRootView()
102 if ((rootView?.childCount ?: 0) > 0) { in handleRootView()
110 if (rootView?.childCount == 0) { in handleRootView()
117 if (rootView?.childCount == 1) { in handleRootView()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/splashscreen/
H A DSplashScreenViewController.kt25 private var rootView: ViewGroup? = null variable
80 if (rootView != null) { in searchForRootView()
101 rootView = view in handleRootView()
102 if ((rootView?.childCount ?: 0) > 0) { in handleRootView()
110 if (rootView?.childCount == 0) { in handleRootView()
117 if (rootView?.childCount == 1) { in handleRootView()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/api/components/reactnativestripesdk/
H A DStripeContainerView.kt15 rootView.isFocusable = true
16 rootView.isFocusableInTouchMode = true
17 rootView.isClickable = true
33 rootView.requestFocus() in dispatchTouchEvent()
/expo/android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/components/reactnativestripesdk/
H A DStripeContainerView.kt15 rootView.isFocusable = true
16 rootView.isFocusableInTouchMode = true
17 rootView.isClickable = true
33 rootView.requestFocus() in dispatchTouchEvent()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/components/reactnativestripesdk/
H A DStripeContainerView.kt15 rootView.isFocusable = true
16 rootView.isFocusableInTouchMode = true
17 rootView.isClickable = true
33 rootView.requestFocus() in dispatchTouchEvent()

1234567