Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DTypeface.cpp32 template<typename Ptr> static inline jlong toJLong(Ptr ptr) { in toJLong() function
47 return toJLong(face); in Typeface_createFromTypeface()
52 return toJLong(Typeface::createAbsolute(toTypeface(nativeInstance), weight, italic)); in Typeface_createFromTypefaceWithExactStyle()
67 return toJLong(Typeface::createFromTypefaceWithVariation(toTypeface(familyHandle), variations)); in Typeface_createFromTypefaceWithVariation()
71 return toJLong(Typeface::createWithDifferentBaseWeight(toTypeface(familyHandle), weight)); in Typeface_createWeightAlias()
80 return toJLong(&releaseFunc); in Typeface_getReleaseFunc()
102 return toJLong(Typeface::createFromFamilies(std::move(familyVec), weight, italic)); in Typeface_createFromArray()
DFontFamily.cpp57 template<typename Ptr> static inline jlong toJLong(Ptr ptr) { in toJLong() function
69 return toJLong(builder); in FontFamily_initBuilder()
86 return toJLong(new FontFamilyWrapper(std::move(family))); in FontFamily_create()
94 return toJLong(&releaseBuilder); in FontFamily_getBuilderReleaseFunc()
102 return toJLong(&releaseFamily); in FontFamily_getFamilyReleaseFunc()
/frameworks/base/libs/hwui/jni/text/
DMeasuredText.cpp53 template<typename Ptr> static inline jlong toJLong(Ptr ptr) { in toJLong() function
63 return toJLong(new minikin::MeasuredTextBuilder()); in nInitBuilder()
90 return toJLong(toBuilder(builderPtr)->build(textBuffer, computeHyphenation, computeLayout, in nBuildMeasuredText()
135 return toJLong(&releaseMeasuredParagraph); in nGetReleaseFunc()