Home
last modified time | relevance | path

Searched refs:nativePtr (Results 1 – 11 of 11) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMotionEvent.java199 int nativePtr, in nativeInitialize() argument
218 (long) nativePtr, in nativeInitialize()
240 long nativePtr, in nativeInitialize() argument
263 if (nativePtr > 0) { in nativeInitialize()
264 event = nativeMotionEventRegistry.getNativeObject(nativePtr); in nativeInitialize()
267 nativePtr = nativeMotionEventRegistry.register(event); in nativeInitialize()
295 return nativePtr; in nativeInitialize()
303 long nativePtr, in nativeInitialize() argument
323 nativePtr, in nativeInitialize()
345 protected static void nativeDispose(int nativePtr) { in nativeDispose() argument
[all …]
DShadowParcel.java137 Number nativePtr = ReflectionHelpers.getField(realObject, "mNativePtr"); in writeByteArray() local
138 nativeWriteByteArray(nativePtr.longValue(), b, offset, len); in writeByteArray()
143 public static int nativeDataSize(int nativePtr) { in nativeDataSize() argument
144 return nativeDataSize((long) nativePtr); in nativeDataSize()
148 protected static int nativeDataSize(long nativePtr) { in nativeDataSize() argument
149 return NATIVE_PTR_TO_PARCEL.get(nativePtr).dataSize(); in nativeDataSize()
154 public static int nativeDataAvail(int nativePtr) { in nativeDataAvail() argument
155 return nativeDataAvail((long) nativePtr); in nativeDataAvail()
159 protected static int nativeDataAvail(long nativePtr) { in nativeDataAvail() argument
160 return NATIVE_PTR_TO_PARCEL.get(nativePtr).dataAvailable(); in nativeDataAvail()
[all …]
DShadowImageDecoder.java188 private static Bitmap ImageDecoder_nDecodeBitmap(long nativePtr,
197 CppImageDecoder cppImageDecoder = NATIVE_IMAGE_DECODER_REGISTRY.getNativeObject(nativePtr);
214 static Size ImageDecoder_nGetSampledSize(long nativePtr,
216 CppImageDecoder decoder = NATIVE_IMAGE_DECODER_REGISTRY.getNativeObject(nativePtr);
223 static void ImageDecoder_nGetPadding(long nativePtr,
225 CppImageDecoder decoder = NATIVE_IMAGE_DECODER_REGISTRY.getNativeObject(nativePtr);
234 static void ImageDecoder_nClose(long nativePtr) {
236 NATIVE_IMAGE_DECODER_REGISTRY.unregister(nativePtr);
239 static String ImageDecoder_nGetMimeType(long nativePtr) {
240 CppImageDecoder decoder = NATIVE_IMAGE_DECODER_REGISTRY.getNativeObject(nativePtr);
[all …]
DShadowVirtualRefBasePtr.java17 long nativePtr = nextNativeObj++; in put() local
18 POINTERS.put(nativePtr, new RefHolder<T>(object)); in put()
19 return nativePtr; in put()
22 synchronized public static <T> T get(long nativePtr, Class<T> clazz) { in get() argument
23 return clazz.cast(POINTERS.get(nativePtr).nativeThing); in get()
DShadowStaticLayout.java25 public static int nComputeLineBreaks(Object nativePtr, Object recycle, in nComputeLineBreaks() argument
33 Object nativePtr, in nComputeLineBreaks() argument
DShadowArscApkAssets9.java124 long nativePtr = cachedNativePtrs.remove(key); in getFromCacheOrLoad() local
125 Registries.NATIVE_APK_ASSETS_REGISTRY.unregister(nativePtr); in getFromCacheOrLoad()
130 long nativePtr = ((ShadowArscApkAssets9) Shadow.extract(apkAssets)).getNativePtr(); in getFromCacheOrLoad() local
131 cachedNativePtrs.put(key, nativePtr); in getFromCacheOrLoad()
DShadowLineBreaker.java21 Object nativePtr, in nComputeLineBreaks() argument
DShadowLegacyAssetManager.java868 long nativePtr = nextInternalThemeId++; in createTheme() local
869 nativeThemes.put(nativePtr, new NativeTheme(new ThemeStyleSet())); in createTheme()
870 return castNativePtr(nativePtr); in createTheme()
/external/libtextclassifier/java/com/google/android/textclassifier/
DLangIdModel.java110 private native LanguageResult[] nativeDetectLanguages(long nativePtr, String text); in nativeDetectLanguages() argument
112 private native void nativeClose(long nativePtr); in nativeClose() argument
114 private native int nativeGetVersion(long nativePtr); in nativeGetVersion() argument
118 private native float nativeGetLangIdThreshold(long nativePtr); in nativeGetLangIdThreshold() argument
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DNetworkMonitor.java217 private native void nativeNotifyConnectionTypeChanged(long nativePtr); in nativeNotifyConnectionTypeChanged() argument
/external/libchrome/base/android/jni_generator/java/src/org/chromium/example/jni_generator/
DSampleForTests.java186 private native double nativeMethodOtherP0(long nativePtr); in nativeMethodOtherP0() argument