Home
last modified time | relevance | path

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

123

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowParcel.java138 Number nativePtr = ReflectionHelpers.getField(realObject, "mNativePtr"); in writeByteArray() local
144 public static int nativeDataSize(int nativePtr) { in nativeDataSize()
149 protected static int nativeDataSize(long nativePtr) { in nativeDataSize()
155 public static int nativeDataAvail(int nativePtr) { in nativeDataAvail()
160 protected static int nativeDataAvail(long nativePtr) { in nativeDataAvail()
166 public static int nativeDataPosition(int nativePtr) { in nativeDataPosition()
171 protected static int nativeDataPosition(long nativePtr) { in nativeDataPosition()
177 public static int nativeDataCapacity(int nativePtr) { in nativeDataCapacity()
182 protected static int nativeDataCapacity(long nativePtr) { in nativeDataCapacity()
188 public static void nativeSetDataSize(int nativePtr, int size) { in nativeSetDataSize()
[all …]
DShadowMotionEvent.java199 int nativePtr, in nativeInitialize()
240 long nativePtr, in nativeInitialize()
303 long nativePtr, in nativeInitialize()
345 long nativePtr, in nativeInitialize()
389 protected static void nativeDispose(int nativePtr) { in nativeDispose()
395 protected static void nativeDispose(long nativePtr) { in nativeDispose()
402 int nativePtr, long eventTimeNanos, PointerCoords[] pointerCoordsObjArray, int metaState) { in nativeAddBatch()
409 long nativePtr, long eventTimeNanos, PointerCoords[] pointerCoordsObjArray, int metaState) { in nativeAddBatch()
427 int nativePtr, int pointerIndex, int historyPos, PointerCoords outPointerCoordsObj) { in nativeGetPointerCoords()
434 long nativePtr, int pointerIndex, int historyPos, PointerCoords outPointerCoordsObj) { in nativeGetPointerCoords()
[all …]
DShadowVirtualRefBasePtr.java17 long nativePtr = nextNativeObj++; in put() local
22 synchronized public static <T> T get(long nativePtr, Class<T> clazz) { in get()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMotionEvent.java198 int nativePtr, in nativeInitialize()
239 long nativePtr, in nativeInitialize()
301 long nativePtr, in nativeInitialize()
343 protected static void nativeDispose(int nativePtr) { in nativeDispose()
349 protected static void nativeDispose(long nativePtr) { in nativeDispose()
356 int nativePtr, long eventTimeNanos, PointerCoords[] pointerCoordsObjArray, int metaState) { in nativeAddBatch()
363 long nativePtr, long eventTimeNanos, PointerCoords[] pointerCoordsObjArray, int metaState) { in nativeAddBatch()
381 int nativePtr, int pointerIndex, int historyPos, PointerCoords outPointerCoordsObj) { in nativeGetPointerCoords()
388 long nativePtr, int pointerIndex, int historyPos, PointerCoords outPointerCoordsObj) { in nativeGetPointerCoords()
409 int nativePtr, int pointerIndex, PointerProperties outPointerPropertiesObj) { in nativeGetPointerProperties()
[all …]
DShadowParcel.java290 Number nativePtr = ReflectionHelpers.getField(realObject, "mNativePtr"); in writeByteArray() local
296 public static int nativeDataSize(int nativePtr) { in nativeDataSize()
301 protected static int nativeDataSize(long nativePtr) { in nativeDataSize()
307 public static int nativeDataAvail(int nativePtr) { in nativeDataAvail()
312 protected static int nativeDataAvail(long nativePtr) { in nativeDataAvail()
318 public static int nativeDataPosition(int nativePtr) { in nativeDataPosition()
323 protected static int nativeDataPosition(long nativePtr) { in nativeDataPosition()
329 public static int nativeDataCapacity(int nativePtr) { in nativeDataCapacity()
334 protected static int nativeDataCapacity(long nativePtr) { in nativeDataCapacity()
340 public static void nativeSetDataSize(int nativePtr, int size) { in nativeSetDataSize()
[all …]
DShadowNativeAnimatedImageDrawable.java49 protected static long nDraw(long nativePtr, long canvasNativePtr) { in nDraw()
54 protected static void nSetAlpha(long nativePtr, int alpha) { in nSetAlpha()
59 protected static int nGetAlpha(long nativePtr) { in nGetAlpha()
64 protected static void nSetColorFilter(long nativePtr, long nativeFilter) { in nSetColorFilter()
69 protected static boolean nIsRunning(long nativePtr) { in nIsRunning()
74 protected static boolean nStart(long nativePtr) { in nStart()
79 protected static boolean nStop(long nativePtr) { in nStop()
84 protected static int nGetRepeatCount(long nativePtr) { in nGetRepeatCount()
89 protected static void nSetRepeatCount(long nativePtr, int repeatCount) { in nSetRepeatCount()
94 protected static void nSetOnAnimationEndListener(long nativePtr, AnimatedImageDrawable drawable) { in nSetOnAnimationEndListener()
[all …]
DShadowNativeStaticLayout.java55 protected static void nFinish(long nativePtr) { in nFinish()
65 Object nativePtr, in nComputeLineBreaks()
111 protected static void nFreeBuilder(long nativePtr) { in nFreeBuilder()
121 protected static void nFinishBuilder(long nativePtr) { in nFinishBuilder()
132 protected static void nSetLocale(long nativePtr, String locale, long nativeHyphenator) { in nSetLocale()
138 protected static void nSetIndents(long nativePtr, int[] indents) { in nSetIndents()
145 long nativePtr, in nSetupParagraph()
172 long nativePtr, long nativePaint, long nativeTypeface, int start, int end, boolean isRtl) { in nAddStyleRun()
181 protected static void nAddMeasuredRun(long nativePtr, int start, int end, float[] widths) { in nAddMeasuredRun()
188 protected static void nAddReplacementRun(long nativePtr, int start, int end, float width) { in nAddReplacementRun()
[all …]
DShadowNativeAnimatedVectorDrawable.java78 protected static void nSetPropertyHolderData(long nativePtr, float[] data, int length) { in nSetPropertyHolderData()
83 protected static void nSetPropertyHolderData(long nativePtr, int[] data, int length) { in nSetPropertyHolderData()
99 long nativePtr, int propertyId, float startValue, float endValue) { in nCreateGroupPropertyHolder()
106 long nativePtr, long startValuePtr, long endValuePtr) { in nCreatePathDataPropertyHolder()
113 long nativePtr, int propertyId, int startValue, int endValue) { in nCreatePathColorPropertyHolder()
120 long nativePtr, int propertyId, float startValue, float endValue) { in nCreatePathPropertyHolder()
127 long nativePtr, float startValue, float endValue) { in nCreateRootAlphaPropertyHolder()
DShadowNativeAllocationRegistry.java27 protected Runnable registerNativeAllocation(Object referent, long nativePtr) { in registerNativeAllocation()
46 protected static void applyFreeFunction(long freeFunction, long nativePtr) { in applyFreeFunction()
53 Runnable registerNativeAllocation(Object referent, long nativePtr); in registerNativeAllocation()
DShadowNativeImageDecoder.java119 long nativePtr, in nDecodeBitmap()
150 long nativePtr, in nDecodeBitmap()
181 protected static Size nGetSampledSize(long nativePtr, int sampleSize) { in nGetSampledSize()
186 protected static void nGetPadding(long nativePtr, Rect outRect) { in nGetPadding()
191 protected static void nClose(long nativePtr) { in nClose()
196 protected static String nGetMimeType(long nativePtr) { in nGetMimeType()
201 protected static ColorSpace nGetColorSpace(long nativePtr) { in nGetColorSpace()
DShadowNativeRenderNodeAnimator.java46 protected static void nSetStartValue(long nativePtr, float startValue) { in nSetStartValue()
51 protected static void nSetDuration(long nativePtr, long duration) { in nSetDuration()
56 protected static long nGetDuration(long nativePtr) { in nGetDuration()
61 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()
DShadowNativeTypeface.java166 protected static void nativeSetDefault(long nativePtr) { in nativeSetDefault()
171 protected static int nativeGetStyle(long nativePtr) { in nativeGetStyle()
176 protected static int nativeGetWeight(long nativePtr) { in nativeGetWeight()
187 protected static int nativeGetFamilySize(long nativePtr) { in nativeGetFamilySize()
192 protected static long nativeGetFamily(long nativePtr, int index) { in nativeGetFamily()
197 protected static void nativeRegisterGenericFamily(String str, long nativePtr) { in nativeRegisterGenericFamily()
227 protected static void nativeAddFontCollections(long nativePtr) { in nativeAddFontCollections()
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()
DShadowNativeMeasuredText.java25 /* Non Zero */ long nativePtr, @IntRange(from = 0) int start, @IntRange(from = 0) int end) { in nGetWidth()
36 protected static int nGetMemoryUsage(/* Non Zero */ long nativePtr) { in nGetMemoryUsage()
41 protected static void nGetBounds(long nativePtr, char[] buf, int start, int end, Rect rect) { in nGetBounds()
46 protected static float nGetCharWidthAt(long nativePtr, int offset) { in nGetCharWidthAt()
/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.java55 long nativePtr, in nDecodeBitmap()
70 public static native Size nGetSampledSize(long nativePtr, int sampleSize); in nGetSampledSize()
72 public static native void nGetPadding(long nativePtr, Rect outRect); in nGetPadding()
74 public static native void nClose(long nativePtr); in nClose()
76 public static native String nGetMimeType(long nativePtr); in nGetMimeType()
78 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()
DBitmapNatives.java119 public static native ColorSpace nativeComputeColorSpace(long nativePtr); in nativeComputeColorSpace()
121 public static native void nativeSetColorSpace(long nativePtr, long nativeColorSpace); in nativeSetColorSpace()
123 public static native boolean nativeIsSRGB(long nativePtr); in nativeIsSRGB()
125 public static native boolean nativeIsSRGBLinear(long nativePtr); in nativeIsSRGBLinear()
127 public static native void nativeSetImmutable(long nativePtr); in nativeSetImmutable()
129 public static native boolean nativeIsImmutable(long nativePtr); in nativeIsImmutable()
131 public static native boolean nativeIsBackedByAshmem(long nativePtr); in nativeIsBackedByAshmem()
/external/cronet/components/cronet/android/test/src/org/chromium/net/
DTestUploadDataStreamHandler.java167 void init(long nativePtr); in init()
170 void read(long nativePtr); in read()
173 void reset(long nativePtr); in reset()
176 void checkInitCallbackNotInvoked(long nativePtr); in checkInitCallbackNotInvoked()
179 void checkReadCallbackNotInvoked(long nativePtr); in checkReadCallbackNotInvoked()
182 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/net/android/java/src/org/chromium/net/
DNetworkChangeNotifier.java447 void notifyConnectionTypeChanged(long nativePtr, NetworkChangeNotifier caller, in notifyConnectionTypeChanged()
452 long nativePtr, NetworkChangeNotifier caller, int newConnectionCost); in notifyConnectionCostChanged()
455 void notifyMaxBandwidthChanged(long nativePtr, NetworkChangeNotifier caller, int subType); in notifyMaxBandwidthChanged()
459 long nativePtr, NetworkChangeNotifier caller, long netId, int connectionType); in notifyOfNetworkConnect()
463 long nativePtr, NetworkChangeNotifier caller, long netId); in notifyOfNetworkSoonToDisconnect()
466 void notifyOfNetworkDisconnect(long nativePtr, NetworkChangeNotifier caller, long netId); in notifyOfNetworkDisconnect()
470 long nativePtr, NetworkChangeNotifier caller, long[] activeNetIds); in notifyPurgeActiveNetworkList()

123