Home
last modified time | relevance | path

Searched defs:nativePtr (Results 1 – 25 of 56) sorted by relevance

123

/external/robolectric/nativeruntime/src/main/java/org/robolectric/nativeruntime/
DAnimatedImageDrawableNatives.java41 public static native long nDraw(long nativePtr, long canvasNativePtr); in nDraw()
43 public static native void nSetAlpha(long nativePtr, int alpha); in nSetAlpha()
45 public static native int nGetAlpha(long nativePtr); in nGetAlpha()
47 public static native void nSetColorFilter(long nativePtr, long nativeFilter); in nSetColorFilter()
49 public static native boolean nIsRunning(long nativePtr); in nIsRunning()
51 public static native boolean nStart(long nativePtr); in nStart()
53 public static native boolean nStop(long nativePtr); in nStop()
55 public static native int nGetRepeatCount(long nativePtr); in nGetRepeatCount()
57 public static native void nSetRepeatCount(long nativePtr, int repeatCount); in nSetRepeatCount()
60 long nativePtr, AnimatedImageDrawable drawable); in nSetOnAnimationEndListener()
[all …]
DAnimatedVectorDrawableNatives.java42 public static native void nSetPropertyHolderData(long nativePtr, float[] data, int length); in nSetPropertyHolderData()
44 public static native void nSetPropertyHolderData(long nativePtr, int[] data, int length); in nSetPropertyHolderData()
51 long nativePtr, int propertyId, float startValue, float endValue); in nCreateGroupPropertyHolder()
54 long nativePtr, long startValuePtr, long endValuePtr); in nCreatePathDataPropertyHolder()
57 long nativePtr, int propertyId, int startValue, int endValue); in nCreatePathColorPropertyHolder()
60 long nativePtr, int propertyId, float startValue, float endValue); in nCreatePathPropertyHolder()
63 long nativePtr, float startValue, float endValue); in nCreateRootAlphaPropertyHolder()
DMeasuredTextNatives.java31 /* Non Zero */ long nativePtr, @IntRange(from = 0) int start, @IntRange(from = 0) int end); in nGetWidth()
35 public static native int nGetMemoryUsage(/* Non Zero */ long nativePtr); in nGetMemoryUsage()
37 public static native void nGetBounds(long nativePtr, char[] buf, int start, int end, Rect rect); in nGetBounds()
39 public static native float nGetCharWidthAt(long nativePtr, int offset); in nGetCharWidthAt()
DTypefaceNatives.java47 public static native void nativeSetDefault(long nativePtr); in nativeSetDefault()
49 public static native int nativeGetStyle(long nativePtr); in nativeGetStyle()
51 public static native int nativeGetWeight(long nativePtr); in nativeGetWeight()
57 public static native long nativeGetFamily(long nativePtr, int index); in nativeGetFamily()
59 public static native void nativeRegisterGenericFamily(String str, long nativePtr); in nativeRegisterGenericFamily()
67 public static native void nativeAddFontCollections(long nativePtr); in nativeAddFontCollections()
DImageDecoderNatives.java56 long nativePtr, in nDecodeBitmap()
71 public static native Size nGetSampledSize(long nativePtr, int sampleSize); in nGetSampledSize()
73 public static native void nGetPadding(long nativePtr, Rect outRect); in nGetPadding()
75 public static native void nClose(long nativePtr); in nClose()
77 public static native String nGetMimeType(long nativePtr); in nGetMimeType()
79 public static native ColorSpace nGetColorSpace(long nativePtr); in nGetColorSpace()
DRenderNodeAnimatorNatives.java37 public static native void nSetStartValue(long nativePtr, float startValue); in nSetStartValue()
39 public static native void nSetDuration(long nativePtr, long duration); in nSetDuration()
41 public static native long nGetDuration(long nativePtr); in nGetDuration()
43 public static native void nSetStartDelay(long nativePtr, long startDelay); in nSetStartDelay()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNativeAnimatedImageDrawable.java54 protected static long nDraw(long nativePtr, long canvasNativePtr) { in nDraw()
59 protected static void nSetAlpha(long nativePtr, int alpha) { in nSetAlpha()
64 protected static int nGetAlpha(long nativePtr) { in nGetAlpha()
69 protected static void nSetColorFilter(long nativePtr, long nativeFilter) { in nSetColorFilter()
74 protected static boolean nIsRunning(long nativePtr) { in nIsRunning()
79 protected static boolean nStart(long nativePtr) { in nStart()
84 protected static boolean nStop(long nativePtr) { in nStop()
89 protected static int nGetRepeatCount(long nativePtr) { in nGetRepeatCount()
94 protected static void nSetRepeatCount(long nativePtr, int repeatCount) { in nSetRepeatCount()
99 protected static void nSetOnAnimationEndListener(long nativePtr, AnimatedImageDrawable drawable) { in nSetOnAnimationEndListener()
[all …]
DShadowMotionEvent.java198 long nativePtr, in nativeInitialize()
260 long nativePtr, in nativeInitialize()
301 protected static void nativeDispose(long nativePtr) { in nativeDispose()
308 long nativePtr, long eventTimeNanos, PointerCoords[] pointerCoordsObjArray, int metaState) { in nativeAddBatch()
326 long nativePtr, int pointerIndex, int historyPos, PointerCoords outPointerCoordsObj) { in nativeGetPointerCoords()
347 long nativePtr, int pointerIndex, PointerProperties outPointerPropertiesObj) { in nativeGetPointerProperties()
360 protected static long nativeReadFromParcel(long nativePtr, Parcel parcelObj) { in nativeReadFromParcel()
380 protected static void nativeWriteToParcel(long nativePtr, Parcel parcel) { in nativeWriteToParcel()
424 protected static int nativeGetPointerId(long nativePtr, int pointerIndex) { in nativeGetPointerId()
433 protected static int nativeGetToolType(long nativePtr, int pointerIndex) { in nativeGetToolType()
[all …]
DShadowParcel.java267 long nativePtr = ReflectionHelpers.getField(realObject, "mNativePtr"); in writeByteArray() local
272 protected static int nativeDataSize(long nativePtr) { in nativeDataSize()
277 protected static int nativeDataAvail(long nativePtr) { in nativeDataAvail()
282 protected static int nativeDataPosition(long nativePtr) { in nativeDataPosition()
287 protected static int nativeDataCapacity(long nativePtr) { in nativeDataCapacity()
293 protected static void nativeSetDataSize(long nativePtr, int size) { in nativeSetDataSize()
298 protected static void nativeSetDataPosition(long nativePtr, int pos) { in nativeSetDataPosition()
303 protected static void nativeSetDataCapacity(long nativePtr, int size) { in nativeSetDataCapacity()
308 protected static void nativeWriteByteArray(long nativePtr, byte[] b, int offset, int len) { in nativeWriteByteArray()
321 long nativePtr = ReflectionHelpers.getField(realObject, "mNativePtr"); in writeBlob() local
[all …]
DShadowNativeStaticLayout.java54 protected static void nFinish(long nativePtr) { in nFinish()
60 long nativePtr, in nComputeLineBreaks()
106 protected static void nFreeBuilder(long nativePtr) { in nFreeBuilder()
116 protected static void nFinishBuilder(long nativePtr) { in nFinishBuilder()
127 protected static void nSetLocale(long nativePtr, String locale, long nativeHyphenator) { in nSetLocale()
133 protected static void nSetIndents(long nativePtr, int[] indents) { in nSetIndents()
140 long nativePtr, in nSetupParagraph()
167 long nativePtr, long nativePaint, long nativeTypeface, int start, int end, boolean isRtl) { in nAddStyleRun()
176 protected static void nAddMeasuredRun(long nativePtr, int start, int end, float[] widths) { in nAddMeasuredRun()
183 protected static void nAddReplacementRun(long nativePtr, int start, int end, float width) { in nAddReplacementRun()
[all …]
DShadowNativeAnimatedVectorDrawable.java83 protected static void nSetPropertyHolderData(long nativePtr, float[] data, int length) { in nSetPropertyHolderData()
88 protected static void nSetPropertyHolderData(long nativePtr, int[] data, int length) { in nSetPropertyHolderData()
104 long nativePtr, int propertyId, float startValue, float endValue) { in nCreateGroupPropertyHolder()
111 long nativePtr, long startValuePtr, long endValuePtr) { in nCreatePathDataPropertyHolder()
118 long nativePtr, int propertyId, int startValue, int endValue) { in nCreatePathColorPropertyHolder()
125 long nativePtr, int propertyId, float startValue, float endValue) { in nCreatePathPropertyHolder()
132 long nativePtr, float startValue, float endValue) { in nCreateRootAlphaPropertyHolder()
DShadowNativeTypeface.java180 protected static void nativeSetDefault(long nativePtr) { in nativeSetDefault()
185 protected static int nativeGetStyle(long nativePtr) { in nativeGetStyle()
190 protected static int nativeGetWeight(long nativePtr) { in nativeGetWeight()
201 protected static int nativeGetFamilySize(long nativePtr) { in nativeGetFamilySize()
206 protected static long nativeGetFamily(long nativePtr, int index) { in nativeGetFamily()
212 protected static boolean nativeIsVariationInstance(long nativePtr) { in nativeIsVariationInstance()
219 protected static void nativeRegisterGenericFamily(String str, long nativePtr) { in nativeRegisterGenericFamily()
249 protected static void nativeAddFontCollections(long nativePtr) { in nativeAddFontCollections()
DShadowNativeRenderNodeAnimator.java48 protected static void nSetStartValue(long nativePtr, float startValue) { in nSetStartValue()
53 protected static void nSetDuration(long nativePtr, long duration) { in nSetDuration()
58 protected static long nGetDuration(long nativePtr) { in nGetDuration()
63 protected static void nSetStartDelay(long nativePtr, long startDelay) { in nSetStartDelay()
DShadowNativeRenderNodeAnimatorQ.java50 protected static void nSetStartValue(long nativePtr, float startValue) { in nSetStartValue()
55 protected static void nSetDuration(long nativePtr, long duration) { in nSetDuration()
60 protected static long nGetDuration(long nativePtr) { in nGetDuration()
65 protected static void nSetStartDelay(long nativePtr, long startDelay) { in nSetStartDelay()
DShadowNativeAllocationRegistry.java59 protected Runnable registerNativeAllocation(Object referent, long nativePtr) { in registerNativeAllocation()
78 protected static void applyFreeFunction(long freeFunction, long nativePtr) { in applyFreeFunction()
85 Runnable registerNativeAllocation(Object referent, long nativePtr); in registerNativeAllocation()
DShadowNativeImageDecoder.java140 long nativePtr, in nDecodeBitmap()
171 long nativePtr, in nDecodeBitmap()
202 protected static Size nGetSampledSize(long nativePtr, int sampleSize) { in nGetSampledSize()
207 protected static void nGetPadding(long nativePtr, Rect outRect) { in nGetPadding()
212 protected static void nClose(long nativePtr) { in nClose()
217 protected static String nGetMimeType(long nativePtr) { in nGetMimeType()
222 protected static ColorSpace nGetColorSpace(long nativePtr) { in nGetColorSpace()
DShadowNativeMeasuredText.java29 /* Non Zero */ long nativePtr, @IntRange(from = 0) int start, @IntRange(from = 0) int end) { in nGetWidth()
40 protected static int nGetMemoryUsage(/* Non Zero */ long nativePtr) { in nGetMemoryUsage()
45 protected static void nGetBounds(long nativePtr, char[] buf, int start, int end, Rect rect) { in nGetBounds()
50 protected static float nGetCharWidthAt(long nativePtr, int offset) { in nGetCharWidthAt()
DShadowNativeMeasuredParagraph.java48 protected static float nGetWidth(long nativePtr, int start, int end) { in nGetWidth()
58 protected static int nGetMemoryUsage(long nativePtr) { in nGetMemoryUsage()
63 protected static void nGetBounds(long nativePtr, char[] buf, int start, int end, Rect rect) { in nGetBounds()
/external/cronet/tot/components/cronet/android/test/src/org/chromium/net/
DTestUploadDataStreamHandler.java168 void init(long nativePtr); in init()
171 void read(long nativePtr); in read()
174 void reset(long nativePtr); in reset()
177 void checkInitCallbackNotInvoked(long nativePtr); in checkInitCallbackNotInvoked()
180 void checkReadCallbackNotInvoked(long nativePtr); in checkReadCallbackNotInvoked()
183 void destroy(long nativePtr); in destroy()
/external/cronet/stable/components/cronet/android/test/src/org/chromium/net/
DTestUploadDataStreamHandler.java168 void init(long nativePtr); in init()
171 void read(long nativePtr); in read()
174 void reset(long nativePtr); in reset()
177 void checkInitCallbackNotInvoked(long nativePtr); in checkInitCallbackNotInvoked()
180 void checkReadCallbackNotInvoked(long nativePtr); in checkReadCallbackNotInvoked()
183 void destroy(long nativePtr); in destroy()
/external/libtextclassifier/jni/com/google/android/textclassifier/
DLangIdModel.java167 private native LanguageResult[] nativeDetectLanguages(long nativePtr, String text); in nativeDetectLanguages()
169 private native void nativeClose(long nativePtr); in nativeClose()
171 private native int nativeGetVersion(long nativePtr); in nativeGetVersion()
175 private native float nativeGetLangIdThreshold(long nativePtr); in nativeGetLangIdThreshold()
177 private native float nativeGetLangIdNoiseThreshold(long nativePtr); in nativeGetLangIdNoiseThreshold()
179 private native int nativeGetMinTextSizeInBytes(long nativePtr); in nativeGetMinTextSizeInBytes()
/external/cronet/tot/net/android/java/src/org/chromium/net/
DNetworkChangeNotifier.java478 long nativePtr, in notifyConnectionTypeChanged()
485 long nativePtr, NetworkChangeNotifier caller, int newConnectionCost); in notifyConnectionCostChanged()
489 long nativePtr, NetworkChangeNotifier caller, int subType); in notifyConnectionSubtypeChanged()
493 long nativePtr, NetworkChangeNotifier caller, long netId, int connectionType); in notifyOfNetworkConnect()
497 long nativePtr, NetworkChangeNotifier caller, long netId); in notifyOfNetworkSoonToDisconnect()
500 void notifyOfNetworkDisconnect(long nativePtr, NetworkChangeNotifier caller, long netId); in notifyOfNetworkDisconnect()
504 long nativePtr, NetworkChangeNotifier caller, long[] activeNetIds); in notifyPurgeActiveNetworkList()
/external/cronet/stable/net/android/java/src/org/chromium/net/
DNetworkChangeNotifier.java478 long nativePtr, in notifyConnectionTypeChanged()
485 long nativePtr, NetworkChangeNotifier caller, int newConnectionCost); in notifyConnectionCostChanged()
489 long nativePtr, NetworkChangeNotifier caller, int subType); in notifyConnectionSubtypeChanged()
493 long nativePtr, NetworkChangeNotifier caller, long netId, int connectionType); in notifyOfNetworkConnect()
497 long nativePtr, NetworkChangeNotifier caller, long netId); in notifyOfNetworkSoonToDisconnect()
500 void notifyOfNetworkDisconnect(long nativePtr, NetworkChangeNotifier caller, long netId); in notifyOfNetworkDisconnect()
504 long nativePtr, NetworkChangeNotifier caller, long[] activeNetIds); in notifyPurgeActiveNetworkList()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DAssetManagerCachingTest.java38 long nativePtr = getNativePtr(systemAssetManager); in test2_verifySamePtr() local
47 long nativePtr = getNativePtr(systemAssetManager); in test3_createApplicationAssets() local
/external/cronet/stable/third_party/jni_zero/test/java/src/org/jni_zero/
DSampleUniqueAnnotations.java20 void foo(long nativePtr, @JniType("std::string") String arg); in foo()
31 native void nativeCallWithQualifiedObject(long nativePtr); in nativeCallWithQualifiedObject()

123