/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 1464 private long mNativePtr; field in MotionEvent 1572 if (mNativePtr != 0) { in finalize() 1573 nativeDispose(mNativePtr); in finalize() 1574 mNativePtr = 0; in finalize() 1630 ev.mNativePtr = nativeInitialize(ev.mNativePtr, in obtain() 1731 ev.mNativePtr = nativeInitialize(ev.mNativePtr, in obtain() 1811 ev.mNativePtr = nativeCopy(ev.mNativePtr, other.mNativePtr, true /*keepHistory*/); in obtain() 1825 ev.mNativePtr = nativeCopy(ev.mNativePtr, other.mNativePtr, false /*keepHistory*/); in obtainNoHistory() 1865 nativeScale(mNativePtr, scale); in scale() 1872 return nativeGetDeviceId(mNativePtr); in getDeviceId() [all …]
|
D | RenderNodeAnimator.java | 82 private VirtualRefBasePtr mNativePtr; field in RenderNodeAnimator 144 mNativePtr = new VirtualRefBasePtr(ptr); in init() 151 if (mNativePtr == null) { in checkMutable() 168 long duration = nGetDuration(mNativePtr.get()); in applyInterpolator() 171 nSetInterpolator(mNativePtr.get(), ni); in applyInterpolator() 187 if (mNativePtr == null) { in start() 191 nSetStartDelay(mNativePtr.get(), mStartDelay); in start() 217 if (mNativePtr != null) { in moveToRunningState() 218 nStart(mNativePtr.get()); in moveToRunningState() 256 if (mNativePtr != null) { in end() [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/ |
D | Bitmap.java | 54 private final long mNativePtr; field in Bitmap 126 mNativePtr = nativeBitmap; in Bitmap() 138 return mNativePtr; in getNativeInstance() 255 nativeReconfigure(mNativePtr, width, height, config.nativeInt, mRequestPremultiplied); in reconfigure() 332 if (!mRecycled && mNativePtr != 0) { in recycle() 333 if (nativeRecycle(mNativePtr)) { in recycle() 365 return nativeGenerationId(mNativePtr); in getGenerationId() 553 nativeCopyPixelsToBuffer(mNativePtr, dst); in copyPixelsToBuffer() 596 nativeCopyPixelsFromBuffer(mNativePtr, src); in copyPixelsFromBuffer() 630 Bitmap b = nativeCopy(mNativePtr, config.nativeInt, isMutable); in copy() [all …]
|
D | FontFamily.java | 42 public long mNativePtr; field in FontFamily 65 mNativePtr = nCreateFamily(mBuilderPtr); in freeze() 67 return mNativePtr != 0; in freeze() 81 if (mNativePtr != 0) { in finalize() 82 nUnrefFamily(mNativePtr); in finalize()
|
D | Typeface.java | 846 ptrArray[i] = families[i].mNativePtr; in createFromFamilies() 869 ptrArray[i] = families[i].mNativePtr; in createFromFamiliesWithDefault() 872 ptrArray[i + families.length] = sFallbackFonts[i].mNativePtr; in createFromFamiliesWithDefault()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | VectorDrawable.java | 901 mNativeTree = new VirtualRefBasePtr(nCreateTree(rootGroup.mNativePtr)); in createNativeTree() 910 copy.mNativeTree.get(), rootGroup.mNativePtr)); in createNativeTreeFromCopy() 1202 private final long mNativePtr; field in VectorDrawable.VGroup 1212 mNativePtr = nCreateGroup(copy.mNativePtr); in VGroup() 1238 mNativePtr = nCreateGroup(); in VGroup() 1255 nAddChild(mNativePtr, child.getNativePtr()); in addChild() 1270 return mNativePtr; in getNativePtr() 1292 boolean success = nGetGroupProperties(mNativePtr, mTransform, TRANSFORM_PROPERTY_COUNT); in updateStateFromTypedArray() 1314 nSetName(mNativePtr, mGroupName); in updateStateFromTypedArray() 1316 nUpdateGroupProperties(mNativePtr, rotate, pivotX, pivotY, scaleX, scaleY, in updateStateFromTypedArray() [all …]
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecController.java | 102 private volatile long mNativePtr; field in HdmiCecController 143 mNativePtr = nativePtr; in init() 238 return nativeGetPortInfos(mNativePtr); in getPortInfos() 266 return nativeAddLogicalAddress(mNativePtr, newLogicalAddress); in addLogicalAddress() 283 nativeClearLogicalAddress(mNativePtr); in clearLogicalAddress() 303 return nativeGetPhysicalAddress(mNativePtr); in getPhysicalAddress() 314 return nativeGetVersion(mNativePtr); in getVersion() 325 return nativeGetVendorId(mNativePtr); in getVendorId() 338 nativeSetOption(mNativePtr, flag, enabled); in setOption() 352 nativeSetLanguage(mNativePtr, language); in setLanguage() [all …]
|
/frameworks/base/core/java/android/os/ |
D | Parcel.java | 198 private long mNativePtr; // used by native code field in Parcel 371 mNativePtr = 0; in recycle() 395 return nativeDataSize(mNativePtr); in dataSize() 403 return nativeDataAvail(mNativePtr); in dataAvail() 411 return nativeDataPosition(mNativePtr); in dataPosition() 421 return nativeDataCapacity(mNativePtr); in dataCapacity() 432 updateNativeSize(nativeSetDataSize(mNativePtr, size)); in setDataSize() 441 nativeSetDataPosition(mNativePtr, pos); in setDataPosition() 452 nativeSetDataCapacity(mNativePtr, size); in setDataCapacity() 457 return nativePushAllowFds(mNativePtr, allowFds); in pushAllowFds() [all …]
|
/frameworks/base/core/java/android/text/ |
D | StaticLayout.java | 61 mNativePtr = nNewBuilder(); in Builder() 110 nFinishBuilder(b.mNativePtr); in recycle() 116 nFinishBuilder(mNativePtr); in finish() 319 nSetIndents(mNativePtr, indents); in setIndents() 359 nSetLocale(mNativePtr, locale.toLanguageTag(), 366 return nAddStyleRun(mNativePtr, paint.getNativeInstance(), paint.mNativeTypeface, 371 nAddMeasuredRun(mNativePtr, start, end, widths); 375 nAddReplacementRun(mNativePtr, start, end, width); 396 nFreeBuilder(mNativePtr); 402 /* package */ long mNativePtr; [all …]
|
D | Hyphenator.java | 64 final private long mNativePtr; field in Hyphenator 71 mNativePtr = nativePtr; in Hyphenator() 76 return mNativePtr; in getNativePtr()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
D | VectorDrawable_Delegate.java | 509 long mNativePtr = 0; field in VectorDrawable_Delegate.VNativeObject 523 mNativePtr = nativePtr; in setNativePtr() 971 if (nativeObject.mNativePtr != 0) { in dispose() 972 sPathManager.removeJavaReferenceFor(nativeObject.mNativePtr); in dispose() 973 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() 880 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() 819 gParcelOffsets.mNativePtr = GetFieldIDOrDie(env, clazz, "mNativePtr", "J"); in register_android_os_Parcel()
|