Skip to content

Commit

Permalink
Add back missing files from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
mysport12 committed Jan 26, 2024
1 parent 65d8ff8 commit d0be9c2
Show file tree
Hide file tree
Showing 34 changed files with 1,202 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/**
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
*
* Do not edit this file as changes may cause incorrect behavior and will be lost
* once the code is regenerated.
*
* @generated by codegen project: GeneratePropsJavaDelegate.js
*/

package com.facebook.react.viewmanagers;

import android.view.View;
import androidx.annotation.Nullable;
import com.facebook.react.bridge.DynamicFromObject;
import com.facebook.react.uimanager.BaseViewManagerDelegate;
import com.facebook.react.uimanager.BaseViewManagerInterface;

public class RNMBXAtmosphereManagerDelegate<T extends View, U extends BaseViewManagerInterface<T> & RNMBXAtmosphereManagerInterface<T>> extends BaseViewManagerDelegate<T, U> {
public RNMBXAtmosphereManagerDelegate(U viewManager) {
super(viewManager);
}
@Override
public void setProperty(T view, String propName, @Nullable Object value) {
switch (propName) {
case "reactStyle":
mViewManager.setReactStyle(view, new DynamicFromObject(value));
break;
default:
super.setProperty(view, propName, value);
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
*
* Do not edit this file as changes may cause incorrect behavior and will be lost
* once the code is regenerated.
*
* @generated by codegen project: GeneratePropsJavaInterface.js
*/

package com.facebook.react.viewmanagers;

import android.view.View;
import com.facebook.react.bridge.Dynamic;

public interface RNMBXAtmosphereManagerInterface<T extends View> {
void setReactStyle(T view, Dynamic value);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/**
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
*
* Do not edit this file as changes may cause incorrect behavior and will be lost
* once the code is regenerated.
*
* @generated by codegen project: GeneratePropsJavaDelegate.js
*/

package com.facebook.react.viewmanagers;

import android.view.View;
import androidx.annotation.Nullable;
import com.facebook.react.bridge.DynamicFromObject;
import com.facebook.react.uimanager.BaseViewManagerDelegate;
import com.facebook.react.uimanager.BaseViewManagerInterface;

public class RNMBXBackgroundLayerManagerDelegate<T extends View, U extends BaseViewManagerInterface<T> & RNMBXBackgroundLayerManagerInterface<T>> extends BaseViewManagerDelegate<T, U> {
public RNMBXBackgroundLayerManagerDelegate(U viewManager) {
super(viewManager);
}
@Override
public void setProperty(T view, String propName, @Nullable Object value) {
switch (propName) {
case "id":
mViewManager.setId(view, new DynamicFromObject(value));
break;
case "sourceID":
mViewManager.setSourceID(view, new DynamicFromObject(value));
break;
case "existing":
mViewManager.setExisting(view, new DynamicFromObject(value));
break;
case "filter":
mViewManager.setFilter(view, new DynamicFromObject(value));
break;
case "aboveLayerID":
mViewManager.setAboveLayerID(view, new DynamicFromObject(value));
break;
case "belowLayerID":
mViewManager.setBelowLayerID(view, new DynamicFromObject(value));
break;
case "layerIndex":
mViewManager.setLayerIndex(view, new DynamicFromObject(value));
break;
case "reactStyle":
mViewManager.setReactStyle(view, new DynamicFromObject(value));
break;
case "maxZoomLevel":
mViewManager.setMaxZoomLevel(view, new DynamicFromObject(value));
break;
case "minZoomLevel":
mViewManager.setMinZoomLevel(view, new DynamicFromObject(value));
break;
default:
super.setProperty(view, propName, value);
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
*
* Do not edit this file as changes may cause incorrect behavior and will be lost
* once the code is regenerated.
*
* @generated by codegen project: GeneratePropsJavaInterface.js
*/

package com.facebook.react.viewmanagers;

import android.view.View;
import com.facebook.react.bridge.Dynamic;

public interface RNMBXBackgroundLayerManagerInterface<T extends View> {
void setId(T view, Dynamic value);
void setSourceID(T view, Dynamic value);
void setExisting(T view, Dynamic value);
void setFilter(T view, Dynamic value);
void setAboveLayerID(T view, Dynamic value);
void setBelowLayerID(T view, Dynamic value);
void setLayerIndex(T view, Dynamic value);
void setReactStyle(T view, Dynamic value);
void setMaxZoomLevel(T view, Dynamic value);
void setMinZoomLevel(T view, Dynamic value);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/**
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
*
* Do not edit this file as changes may cause incorrect behavior and will be lost
* once the code is regenerated.
*
* @generated by codegen project: GeneratePropsJavaDelegate.js
*/

package com.facebook.react.viewmanagers;

import android.view.View;
import androidx.annotation.Nullable;
import com.facebook.react.uimanager.BaseViewManagerDelegate;
import com.facebook.react.uimanager.BaseViewManagerInterface;

public class RNMBXCalloutManagerDelegate<T extends View, U extends BaseViewManagerInterface<T> & RNMBXCalloutManagerInterface<T>> extends BaseViewManagerDelegate<T, U> {
public RNMBXCalloutManagerDelegate(U viewManager) {
super(viewManager);
}
@Override
public void setProperty(T view, String propName, @Nullable Object value) {
super.setProperty(view, propName, value);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/**
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
*
* Do not edit this file as changes may cause incorrect behavior and will be lost
* once the code is regenerated.
*
* @generated by codegen project: GeneratePropsJavaInterface.js
*/

package com.facebook.react.viewmanagers;

import android.view.View;

public interface RNMBXCalloutManagerInterface<T extends View> {
// No props
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/**
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
*
* Do not edit this file as changes may cause incorrect behavior and will be lost
* once the code is regenerated.
*
* @generated by codegen project: GeneratePropsJavaDelegate.js
*/

package com.facebook.react.viewmanagers;

import android.view.View;
import androidx.annotation.Nullable;
import com.facebook.react.bridge.DynamicFromObject;
import com.facebook.react.uimanager.BaseViewManagerDelegate;
import com.facebook.react.uimanager.BaseViewManagerInterface;

public class RNMBXCameraManagerDelegate<T extends View, U extends BaseViewManagerInterface<T> & RNMBXCameraManagerInterface<T>> extends BaseViewManagerDelegate<T, U> {
public RNMBXCameraManagerDelegate(U viewManager) {
super(viewManager);
}
@Override
public void setProperty(T view, String propName, @Nullable Object value) {
switch (propName) {
case "maxBounds":
mViewManager.setMaxBounds(view, new DynamicFromObject(value));
break;
case "animationDuration":
mViewManager.setAnimationDuration(view, new DynamicFromObject(value));
break;
case "animationMode":
mViewManager.setAnimationMode(view, new DynamicFromObject(value));
break;
case "defaultStop":
mViewManager.setDefaultStop(view, new DynamicFromObject(value));
break;
case "userTrackingMode":
mViewManager.setUserTrackingMode(view, new DynamicFromObject(value));
break;
case "followUserLocation":
mViewManager.setFollowUserLocation(view, new DynamicFromObject(value));
break;
case "followUserMode":
mViewManager.setFollowUserMode(view, new DynamicFromObject(value));
break;
case "followZoomLevel":
mViewManager.setFollowZoomLevel(view, new DynamicFromObject(value));
break;
case "followPitch":
mViewManager.setFollowPitch(view, new DynamicFromObject(value));
break;
case "followHeading":
mViewManager.setFollowHeading(view, new DynamicFromObject(value));
break;
case "followPadding":
mViewManager.setFollowPadding(view, new DynamicFromObject(value));
break;
case "zoomLevel":
mViewManager.setZoomLevel(view, new DynamicFromObject(value));
break;
case "maxZoomLevel":
mViewManager.setMaxZoomLevel(view, new DynamicFromObject(value));
break;
case "minZoomLevel":
mViewManager.setMinZoomLevel(view, new DynamicFromObject(value));
break;
case "stop":
mViewManager.setStop(view, new DynamicFromObject(value));
break;
default:
super.setProperty(view, propName, value);
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/**
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
*
* Do not edit this file as changes may cause incorrect behavior and will be lost
* once the code is regenerated.
*
* @generated by codegen project: GeneratePropsJavaInterface.js
*/

package com.facebook.react.viewmanagers;

import android.view.View;
import com.facebook.react.bridge.Dynamic;

public interface RNMBXCameraManagerInterface<T extends View> {
void setMaxBounds(T view, Dynamic value);
void setAnimationDuration(T view, Dynamic value);
void setAnimationMode(T view, Dynamic value);
void setDefaultStop(T view, Dynamic value);
void setUserTrackingMode(T view, Dynamic value);
void setFollowUserLocation(T view, Dynamic value);
void setFollowUserMode(T view, Dynamic value);
void setFollowZoomLevel(T view, Dynamic value);
void setFollowPitch(T view, Dynamic value);
void setFollowHeading(T view, Dynamic value);
void setFollowPadding(T view, Dynamic value);
void setZoomLevel(T view, Dynamic value);
void setMaxZoomLevel(T view, Dynamic value);
void setMinZoomLevel(T view, Dynamic value);
void setStop(T view, Dynamic value);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
/**
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
*
* Do not edit this file as changes may cause incorrect behavior and will be lost
* once the code is regenerated.
*
* @generated by codegen project: GeneratePropsJavaDelegate.js
*/

package com.facebook.react.viewmanagers;

import android.view.View;
import androidx.annotation.Nullable;
import com.facebook.react.bridge.DynamicFromObject;
import com.facebook.react.uimanager.BaseViewManagerDelegate;
import com.facebook.react.uimanager.BaseViewManagerInterface;

public class RNMBXFillExtrusionLayerManagerDelegate<T extends View, U extends BaseViewManagerInterface<T> & RNMBXFillExtrusionLayerManagerInterface<T>> extends BaseViewManagerDelegate<T, U> {
public RNMBXFillExtrusionLayerManagerDelegate(U viewManager) {
super(viewManager);
}
@Override
public void setProperty(T view, String propName, @Nullable Object value) {
switch (propName) {
case "id":
mViewManager.setId(view, new DynamicFromObject(value));
break;
case "sourceID":
mViewManager.setSourceID(view, new DynamicFromObject(value));
break;
case "existing":
mViewManager.setExisting(view, new DynamicFromObject(value));
break;
case "filter":
mViewManager.setFilter(view, new DynamicFromObject(value));
break;
case "aboveLayerID":
mViewManager.setAboveLayerID(view, new DynamicFromObject(value));
break;
case "belowLayerID":
mViewManager.setBelowLayerID(view, new DynamicFromObject(value));
break;
case "layerIndex":
mViewManager.setLayerIndex(view, new DynamicFromObject(value));
break;
case "reactStyle":
mViewManager.setReactStyle(view, new DynamicFromObject(value));
break;
case "maxZoomLevel":
mViewManager.setMaxZoomLevel(view, new DynamicFromObject(value));
break;
case "minZoomLevel":
mViewManager.setMinZoomLevel(view, new DynamicFromObject(value));
break;
case "sourceLayerID":
mViewManager.setSourceLayerID(view, new DynamicFromObject(value));
break;
default:
super.setProperty(view, propName, value);
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
*
* Do not edit this file as changes may cause incorrect behavior and will be lost
* once the code is regenerated.
*
* @generated by codegen project: GeneratePropsJavaInterface.js
*/

package com.facebook.react.viewmanagers;

import android.view.View;
import com.facebook.react.bridge.Dynamic;

public interface RNMBXFillExtrusionLayerManagerInterface<T extends View> {
void setId(T view, Dynamic value);
void setSourceID(T view, Dynamic value);
void setExisting(T view, Dynamic value);
void setFilter(T view, Dynamic value);
void setAboveLayerID(T view, Dynamic value);
void setBelowLayerID(T view, Dynamic value);
void setLayerIndex(T view, Dynamic value);
void setReactStyle(T view, Dynamic value);
void setMaxZoomLevel(T view, Dynamic value);
void setMinZoomLevel(T view, Dynamic value);
void setSourceLayerID(T view, Dynamic value);
}
Loading

0 comments on commit d0be9c2

Please sign in to comment.