forked from rnmapbox/maps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add back missing files from upstream
- Loading branch information
Showing
34 changed files
with
1,202 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
...oid/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXAtmosphereManagerDelegate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...id/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXAtmosphereManagerInterface.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} |
59 changes: 59 additions & 0 deletions
59
...rc/main/old-arch/com/facebook/react/viewmanagers/RNMBXBackgroundLayerManagerDelegate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...c/main/old-arch/com/facebook/react/viewmanagers/RNMBXBackgroundLayerManagerInterface.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} |
25 changes: 25 additions & 0 deletions
25
android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXCalloutManagerDelegate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXCalloutManagerInterface.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
74 changes: 74 additions & 0 deletions
74
android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXCameraManagerDelegate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXCameraManagerInterface.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} |
62 changes: 62 additions & 0 deletions
62
...main/old-arch/com/facebook/react/viewmanagers/RNMBXFillExtrusionLayerManagerDelegate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...ain/old-arch/com/facebook/react/viewmanagers/RNMBXFillExtrusionLayerManagerInterface.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} |
Oops, something went wrong.