Searched refs:castNativePtr (Results 1 – 8 of 8) sorted by relevance
340 return RuntimeEnvironment.castNativePtr(Registries.NATIVE_ASSET_REGISTRY.register(a)); in openAsset()368 return RuntimeEnvironment.castNativePtr(0); in openNonAssetNative()373 return RuntimeEnvironment.castNativePtr(-1); in openNonAssetNative()390 return RuntimeEnvironment.castNativePtr(assetId); in openNonAssetNative()957 return RuntimeEnvironment.castNativePtr(0); in getNativeStringBlock()960 return RuntimeEnvironment.castNativePtr( in getNativeStringBlock()982 return RuntimeEnvironment.castNativePtr(0); in newTheme()985 return RuntimeEnvironment.castNativePtr(Registries.NATIVE_THEME_REGISTRY.register(theme)); in newTheme()1056 return RuntimeEnvironment.castNativePtr(0); in openXmlAssetNative()1063 return RuntimeEnvironment.castNativePtr(0); in openXmlAssetNative()[all …]
15 return RuntimeEnvironment.castNativePtr(nextId++); in nativeConstructor()
44 return RuntimeEnvironment.castNativePtr(Registries.NATIVE_RES_XML_TREES.register(osb)); in nativeCreate()60 return RuntimeEnvironment.castNativePtr(osb.getStrings().getNativePtr()); in nativeGetStringBlock()
6 import static org.robolectric.RuntimeEnvironment.castNativePtr;27 return castNativePtr(WINDOW_DATA.create(name, cursorWindowSize)); in nativeCreate()
10 import static org.robolectric.RuntimeEnvironment.castNativePtr;417 return castNativePtr(nativePtr); in nativeCreate()
7 import static org.robolectric.RuntimeEnvironment.castNativePtr;72 return castNativePtr(CONNECTIONS.open(path)); in nativeOpen()
14 import static org.robolectric.RuntimeEnvironment.castNativePtr;870 return castNativePtr(nativePtr); in createTheme()
144 public static Number castNativePtr(long ptr) { in castNativePtr() method in RuntimeEnvironment