/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 1518 private long mNativePtr; field in MotionEvent 1633 if (mNativePtr != 0) { in finalize() 1634 nativeDispose(mNativePtr); in finalize() 1635 mNativePtr = 0; in finalize() 1694 ev.mNativePtr = nativeInitialize(ev.mNativePtr, in obtain() 1699 if (ev.mNativePtr == 0) { in obtain() 1879 ev.mNativePtr = nativeInitialize(ev.mNativePtr, in obtain() 1960 ev.mNativePtr = nativeCopy(ev.mNativePtr, other.mNativePtr, true /*keepHistory*/); in obtain() 1974 ev.mNativePtr = nativeCopy(ev.mNativePtr, other.mNativePtr, false /*keepHistory*/); in obtainNoHistory() 2016 nativeScale(mNativePtr, scale); in scale() [all …]
|
D | RenderNodeAnimator.java | 86 private VirtualRefBasePtr mNativePtr; field in RenderNodeAnimator 153 mNativePtr = new VirtualRefBasePtr(ptr); in init() 160 if (mNativePtr == null) { in checkMutable() 171 if (mInterpolator == null || mNativePtr == null) return; in applyInterpolator() 177 long duration = nGetDuration(mNativePtr.get()); in applyInterpolator() 180 nSetInterpolator(mNativePtr.get(), ni); in applyInterpolator() 199 if (mNativePtr == null) { in start() 203 nSetStartDelay(mNativePtr.get(), mStartDelay); in start() 229 if (mNativePtr != null) { in moveToRunningState() 230 nStart(mNativePtr.get()); in moveToRunningState() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | VirtualRefBasePtr.java | 24 private long mNativePtr; field in VirtualRefBasePtr 27 mNativePtr = ptr; in VirtualRefBasePtr() 28 nIncStrong(mNativePtr); in VirtualRefBasePtr() 32 return mNativePtr; in get() 36 if (mNativePtr != 0) { in release() 37 nDecStrong(mNativePtr); in release() 38 mNativePtr = 0; in release()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimatedImageDrawable.java | 82 mNativePtr = nativePtr; in State() 87 final long mNativePtr; field in AnimatedImageDrawable.State 145 if (mState.mNativePtr != 0) { in setRepeatCount() 146 nSetRepeatCount(mState.mNativePtr, repeatCount); in setRepeatCount() 170 if (mState.mNativePtr == 0) { in getRepeatCount() 174 mState.mRepeatCount = nGetRepeatCount(mState.mNativePtr); in getRepeatCount() 264 if (mState.mNativePtr == 0 && (mState.mThemeAttrs == null in updateStateFromTypedArray() 281 if (autoStart && mState.mNativePtr != 0) { in updateStateFromTypedArray() 315 final long nativeSize = nNativeByteSize(mState.mNativePtr); in AnimatedImageDrawable() 318 registry.registerNativeAllocation(mState, mState.mNativePtr); in AnimatedImageDrawable() [all …]
|
D | VectorDrawable.java | 1011 mNativeTree = new VirtualRefBasePtr(nCreateTree(rootGroup.mNativePtr)); in createNativeTree() 1020 copy.mNativeTree.get(), rootGroup.mNativePtr)); in createNativeTreeFromCopy() 1312 private final long mNativePtr; field in VectorDrawable.VGroup 1322 mNativePtr = nCreateGroup(copy.mNativePtr); in VGroup() 1348 mNativePtr = nCreateGroup(); in VGroup() 1365 nAddChild(mNativePtr, child.getNativePtr()); in addChild() 1380 return mNativePtr; in getNativePtr() 1402 boolean success = nGetGroupProperties(mNativePtr, mTransform, TRANSFORM_PROPERTY_COUNT); in updateStateFromTypedArray() 1424 nSetName(mNativePtr, mGroupName); in updateStateFromTypedArray() 1426 nUpdateGroupProperties(mNativePtr, rotate, pivotX, pivotY, scaleX, scaleY, in updateStateFromTypedArray() [all …]
|
/frameworks/base/graphics/java/android/graphics/text/ |
D | MeasuredText.java | 52 private long mNativePtr; field in MeasuredText 60 mNativePtr = ptr; in MeasuredText() 88 return nGetWidth(mNativePtr, start, end); in getWidth() 97 return nGetMemoryUsage(mNativePtr); in getMemoryUsage() 116 nGetBounds(mNativePtr, mChars, start, end, rect); in getBounds() 127 return nGetCharWidthAt(mNativePtr, offset); in getCharWidthAt() 136 return mNativePtr; in getNativePtr() 177 private long mNativePtr; field in MeasuredText.Builder 196 mNativePtr = nInitBuilder(); in Builder() 210 mNativePtr = nInitBuilder(); in Builder() [all …]
|
D | LineBreaker.java | 452 private final long mNativePtr; field in LineBreaker 460 mNativePtr = nInit(breakStrategy, hyphenationFrequency, in LineBreaker() 462 sRegistry.registerNativeAllocation(this, mNativePtr); in LineBreaker() 479 mNativePtr, in computeLineBreaks()
|
/frameworks/base/core/java/android/content/res/ |
D | ApkAssets.java | 38 @GuardedBy("this") private final long mNativePtr; field in ApkAssets 119 mNativePtr = nativeLoad(path, system, forceSharedLib, overlay); in ApkAssets() 120 mStringBlock = new StringBlock(nativeGetStringBlock(mNativePtr), true /*useSparse*/); in ApkAssets() 127 mNativePtr = nativeLoadFromFd(fd, friendlyName, system, forceSharedLib); in ApkAssets() 128 mStringBlock = new StringBlock(nativeGetStringBlock(mNativePtr), true /*useSparse*/); in ApkAssets() 134 return nativeGetAssetPath(mNativePtr); in getAssetPath() 156 long nativeXmlPtr = nativeOpenXml(mNativePtr, fileName); in openXml() 174 return nativeIsUpToDate(mNativePtr); in isUpToDate() 196 nativeDestroy(mNativePtr); in close()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 65 private final long mNativePtr; field in Bitmap 155 mNativePtr = nativeBitmap; in Bitmap() 180 return mNativePtr; in getNativeInstance() 298 nativeReconfigure(mNativePtr, width, height, config.nativeInt, mRequestPremultiplied); in reconfigure() 377 nativeRecycle(mNativePtr); in recycle() 404 return nativeGenerationId(mNativePtr); in getGenerationId() 609 nativeCopyPixelsToBuffer(mNativePtr, dst); in copyPixelsToBuffer() 652 nativeCopyPixelsFromBuffer(mNativePtr, src); in copyPixelsFromBuffer() 689 Bitmap b = nativeCopy(mNativePtr, config.nativeInt, isMutable); in copy() 708 Bitmap b = nativeCopyAshmem(mNativePtr); in createAshmemBitmap() [all …]
|
D | FontFamily.java | 63 public long mNativePtr; field in FontFamily 107 mNativePtr = nCreateFamily(mBuilderPtr); in freeze() 110 if (mNativePtr != 0) { in freeze() 111 sFamilyRegistry.registerNativeAllocation(this, mNativePtr); in freeze() 113 return mNativePtr != 0; in freeze()
|
D | ImageDecoder.java | 779 private long mNativePtr; field in ImageDecoder 815 mNativePtr = nativePtr; in ImageDecoder() 1081 if (mNativePtr == 0) { in getSampledSize() 1085 return nGetSampledSize(mNativePtr, sampleSize); in getSampledSize() 1632 nClose(mNativePtr); in close() 1633 mNativePtr = 0; in close() 1646 if (mNativePtr == 0) { in checkState() 1697 return nDecodeBitmap(mNativePtr, this, mPostProcessor != null, in decodeBitmapInternal() 1768 Drawable d = new AnimatedImageDrawable(decoder.mNativePtr, in decodeDrawableImpl() 1792 nGetPadding(decoder.mNativePtr, padding); in decodeDrawableImpl() [all …]
|
D | ColorSpace.java | 2352 private final long mNativePtr; field in ColorSpace.Rgb 2356 if (mNativePtr == 0) { in getNativeInstance() 2361 return mNativePtr; in getNativeInstance() 2805 mNativePtr = nativeCreate((float) mTransferParameters.a, in Rgb() 2813 NoImagePreloadHolder.sRegistry.registerNativeAllocation(this, mNativePtr); in Rgb() 2815 mNativePtr = 0; in Rgb()
|
D | Typeface.java | 1026 ptrArray[i] = families[i].mNativePtr; 1080 ptrArray[i] = families[i].mNativePtr;
|
/frameworks/base/core/java/android/os/ |
D | Parcel.java | 204 private long mNativePtr; // used by native code field in Parcel 380 nativeWriteString(p.mNativePtr, s); in writeString() 389 return nativeReadString(p.mNativePtr); in readString() 430 mNativePtr = 0; in recycle() 475 return nativeDataSize(mNativePtr); in dataSize() 483 return nativeDataAvail(mNativePtr); in dataAvail() 491 return nativeDataPosition(mNativePtr); in dataPosition() 501 return nativeDataCapacity(mNativePtr); in dataCapacity() 512 updateNativeSize(nativeSetDataSize(mNativePtr, size)); in setDataSize() 521 nativeSetDataPosition(mNativePtr, pos); in setDataPosition() [all …]
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontFamily.java | 141 private final long mNativePtr; field in FontFamily 146 mNativePtr = ptr; in FontFamily() 170 return mNativePtr; in getNativePtr()
|
D | Font.java | 420 private final long mNativePtr; // address of the shared ptr of minikin::Font field in Font 437 mNativePtr = nativePtr; in Font() 509 return mNativePtr; in getNativePtr()
|
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
D | VectorDrawable_Delegate.java | 521 long mNativePtr = 0; field in VectorDrawable_Delegate.VNativeObject 535 mNativePtr = nativePtr; in setNativePtr() 983 if (nativeObject.mNativePtr != 0) { in dispose() 984 sPathManager.removeJavaReferenceFor(nativeObject.mNativePtr); in dispose() 985 nativeObject.mNativePtr = 0; in dispose()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 44 jfieldID mNativePtr; member 73 env->GetLongField(eventObj, gMotionEventClassInfo.mNativePtr)); in android_view_MotionEvent_getNativePtr() 78 env->SetLongField(eventObj, gMotionEventClassInfo.mNativePtr, in android_view_MotionEvent_setNativePtr() 907 gMotionEventClassInfo.mNativePtr = GetFieldIDOrDie(env, gMotionEventClassInfo.clazz, in register_android_view_MotionEvent()
|
D | android_os_Parcel.cpp | 66 jfieldID mNativePtr; member 74 Parcel* p = (Parcel*)env->GetLongField(obj, gParcelOffsets.mNativePtr); in parcelForJavaObject() 779 gParcelOffsets.mNativePtr = GetFieldIDOrDie(env, clazz, "mNativePtr", "J"); in register_android_os_Parcel()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 16363 Landroid/content/res/ApkAssets;->mNativePtr:J 19396 Landroid/graphics/drawable/AnimatedImageDrawable$State;->mNativePtr:J 20345 Landroid/graphics/drawable/VectorDrawable$VClipPath;->mNativePtr:J 20417 Landroid/graphics/drawable/VectorDrawable$VFullPath;->mNativePtr:J 20474 Landroid/graphics/drawable/VectorDrawable$VGroup;->mNativePtr:J 20765 Landroid/graphics/ImageDecoder;->mNativePtr:J 70269 Landroid/text/MeasuredParagraph;->mNativePtr:J 76239 Landroid/view/RenderNodeAnimator;->mNativePtr:Lcom/android/internal/util/VirtualRefBasePtr; 99821 Lcom/android/internal/util/VirtualRefBasePtr;->mNativePtr:J
|