Home
last modified time | relevance | path

Searched refs:toJLong (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DTypeface.cpp35 template<typename Ptr> static inline jlong toJLong(Ptr ptr) { in toJLong() function
50 return toJLong(face); in Typeface_createFromTypeface()
55 return toJLong(Typeface::createAbsolute(toTypeface(nativeInstance), weight, italic)); in Typeface_createFromTypefaceWithExactStyle()
70 return toJLong(Typeface::createFromTypefaceWithVariation(toTypeface(familyHandle), variations)); in Typeface_createFromTypefaceWithVariation()
74 return toJLong(Typeface::createWithDifferentBaseWeight(toTypeface(familyHandle), weight)); in Typeface_createWeightAlias()
83 return toJLong(&releaseFunc); in Typeface_getReleaseFunc()
105 return toJLong(Typeface::createFromFamilies(std::move(familyVec), weight, italic)); in Typeface_createFromArray()
DFontFamily.cpp62 template<typename Ptr> static inline jlong toJLong(Ptr ptr) { in toJLong() function
74 return toJLong(builder); in FontFamily_initBuilder()
90 return toJLong(new FontFamilyWrapper(std::move(family))); in FontFamily_create()
98 return toJLong(&releaseBuilder); in FontFamily_getBuilderReleaseFunc()
106 return toJLong(&releaseFamily); in FontFamily_getFamilyReleaseFunc()
/frameworks/base/core/jni/
Dandroid_text_MeasuredParagraph.cpp57 template<typename Ptr> static inline jlong toJLong(Ptr ptr) { in toJLong() function
67 return toJLong(new minikin::MeasuredTextBuilder()); in nInitBuilder()
94 return toJLong(toBuilder(builderPtr)->build(textBuffer, computeHyphenation, in nBuildNativeMeasuredParagraph()
135 return toJLong(&releaseMeasuredParagraph); in nGetReleaseFunc()