Home
last modified time | relevance | path

Searched refs:converted (Results 1 – 25 of 52) sorted by relevance

123

/expo/packages/expo-modules-core/android/src/test/java/expo/modules/kotlin/types/
H A DJSTypeConverterTest.kt34 Truth.assertThat(converted).isInstanceOf(WritableMap::class.java) in createMap()
35 val map = converted as WritableMap in createMap()
55 val array = converted as WritableArray in should convert Iterable()
69 val convertedArray = converted as WritableArray in should convert Array()
82 val convertedArray = converted as WritableArray in should convert IntArray()
95 val convertedArray = converted as WritableArray in should convert DoubleArray()
110 Truth.assertThat(converted).isInstanceOf(WritableMap::class.java) in should convert Map()
111 val convertedMap = converted as WritableMap in should convert Map()
131 Truth.assertThat(converted).isInstanceOf(WritableMap::class.java) in should convert Record()
132 val convertedRecord = converted as WritableMap in should convert Record()
[all …]
H A DPairTypeConverterTest.kt18 val converted = convert<Pair<Int, Int>>(array) in should convert array to pair() constant
20 Truth.assertThat(converted).isInstanceOf(Pair::class.java) in should convert array to pair()
21 Truth.assertThat((converted as Pair<*, *>).first).isEqualTo(1) in should convert array to pair()
22 Truth.assertThat(converted.second).isEqualTo(2) in should convert array to pair()
34 val converted = convert<Pair<Int, String>>(array) in should convert array with two different types to pair() constant
36 Truth.assertThat(converted).isInstanceOf(Pair::class.java) in should convert array with two different types to pair()
37 Truth.assertThat((converted as Pair<*, *>).first).isEqualTo(1) in should convert array with two different types to pair()
38 Truth.assertThat(converted.second).isEqualTo("second") in should convert array with two different types to pair()
H A DBasicTypeConverterTest.kt19 val converted = convert<FloatArray>(dynamic) in should convert to float array() constant
21 Truth.assertThat(converted).isInstanceOf(FloatArray::class.java) in should convert to float array()
22 Truth.assertThat(converted).usingExactEquality().containsExactly(1f, 2f, 3f) in should convert to float array()
H A DAnyTypeConverterTest.kt14 val converted = convert<Any>(dynamic) in should unwrap dynamic type() constant
16 Truth.assertThat(converted).isInstanceOf(java.lang.Double::class.java) in should unwrap dynamic type()
17 Truth.assertThat(converted as Double).isEqualTo(20.0) in should unwrap dynamic type()
/expo/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/viewevent/
H A DViewEvent.kt43 return when (val converted = JSTypeConverter.convertToJSValue(arg)) { in convertEventBody() method
45 is WritableMap -> converted in convertEventBody()
47 putGeneric("payload", converted) in convertEventBody()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/kotlin/viewevent/
H A DViewEvent.kt43 return when (val converted = JSTypeConverter.convertToJSValue(arg)) { in convertEventBody() method
45 is WritableMap -> converted in convertEventBody()
47 putGeneric("payload", converted) in convertEventBody()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/kotlin/viewevent/
H A DViewEvent.kt43 return when (val converted = JSTypeConverter.convertToJSValue(arg)) { in convertEventBody() method
45 is WritableMap -> converted in convertEventBody()
47 putGeneric("payload", converted) in convertEventBody()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/kotlin/viewevent/
H A DViewEvent.kt43 return when (val converted = JSTypeConverter.convertToJSValue(arg)) { in convertEventBody() method
45 is WritableMap -> converted in convertEventBody()
47 putGeneric("payload", converted) in convertEventBody()
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/React/Views/RefreshControl/
H A DABI48_0_0RCTRefreshControl.m120 // progressViewOffset must be converted from the ScrollView parent's coordinate space to
127 CGPoint converted = [self convertPoint:rawOffset fromView:target];
128 self.frame = CGRectOffset(self.frame, 0, converted.y);
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/React/Views/RefreshControl/
H A DABI47_0_0RCTRefreshControl.m120 // progressViewOffset must be converted from the ScrollView parent's coordinate space to
127 CGPoint converted = [self convertPoint:rawOffset fromView:target];
128 self.frame = CGRectOffset(self.frame, 0, converted.y);
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/React/Views/RefreshControl/
H A DABI49_0_0RCTRefreshControl.m127 // progressViewOffset must be converted from the ScrollView parent's coordinate space to
134 CGPoint converted = [self convertPoint:rawOffset fromView:target];
135 self.frame = CGRectOffset(self.frame, 0, converted.y);
/expo/packages/expo-linking/build/
H A DLinking.types.js.map1 …/\n scheme?: string;\n /**\n * An object of parameters that will be converted into a query str…
/expo/packages/expo-camera/build/
H A DWebCameraUtils.js285 const converted = convertRange(value, [range.min, range.max]);
287 return Math.min(range.max, Math.max(range.min, converted));
/expo/packages/expo-camera/src/
H A DWebCameraUtils.ts419 const converted = convertRange(value, [range.min, range.max]); constant
421 return Math.min(range.max, Math.max(range.min, converted));
/expo/packages/expo-clipboard/build/
H A DClipboard.types.js.map1converted to.\n */\n format: 'png' | 'jpeg';\n /**\n * Specify the quality of the returned i…
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/React/Views/
H A DABI48_0_0RCTLayout.m123 …ABI48_0_0RCTAssert(NO, @"ABI48_0_0RCTDisplayTypeInline cannot be converted to ABI48_0_0YGDisplay v…
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/React/Views/
H A DABI49_0_0RCTLayout.m123 …ABI49_0_0RCTAssert(NO, @"ABI49_0_0RCTDisplayTypeInline cannot be converted to ABI49_0_0YGDisplay v…
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/React/Views/
H A DABI47_0_0RCTLayout.m123 …ABI47_0_0RCTAssert(NO, @"ABI47_0_0RCTDisplayTypeInline cannot be converted to ABI47_0_0YGDisplay v…
/expo/packages/expo-router/src/fork/
H A DgetStateFromPath.ts118 const converted = Object.keys(screens) constant
126 const convertedWithInitial = converted.map((config) => ({
/expo/packages/expo-router/build/fork/
H A DgetStateFromPath.js93 const converted = Object.keys(screens)
97 const convertedWithInitial = converted.map((config) => ({
/expo/packages/expo-modules-core/ios/
H A DEXUtilities.m159 EXLogInfo(@"%@ cannot be converted to a UIColor", json);
/expo/docs/pages/versions/unversioned/sdk/
H A Dprint.mdx121 …l asset URLs (due to WKWebView limitations). Instead, images need to be converted to base64 and in…
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/
H A DABI49_0_0EXUtilities.m159 ABI49_0_0EXLogInfo(@"%@ cannot be converted to a UIColor", json);
/expo/docs/pages/versions/v48.0.0/sdk/
H A Dprint.mdx121 …l asset URLs (due to WKWebView limitations). Instead, images need to be converted to base64 and in…
/expo/docs/pages/versions/v46.0.0/sdk/
H A Dprint.mdx121 …l asset URLs (due to WKWebView limitations). Instead, images need to be converted to base64 and in…

123