Home
last modified time | relevance | path

Searched refs:nativeBuilderPtr (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/text/
DMeasuredParagraph.java412 long nativeBuilderPtr = nInitBuilder(); in buildForStaticLayout() local
415 nBuildNativeMeasuredParagraph(nativeBuilderPtr, mt.mCopiedBuffer, in buildForStaticLayout()
418 nFreeBuilder(nativeBuilderPtr); in buildForStaticLayout()
423 long nativeBuilderPtr = nInitBuilder(); in buildForStaticLayout() local
427 mt.applyMetricsAffectingSpan(paint, null /* spans */, start, end, nativeBuilderPtr); in buildForStaticLayout()
441 nativeBuilderPtr); in buildForStaticLayout()
445 mt.bindNativeObject(nBuildNativeMeasuredParagraph(nativeBuilderPtr, mt.mCopiedBuffer, in buildForStaticLayout()
448 nFreeBuilder(nativeBuilderPtr); in buildForStaticLayout()
520 /* Maybe Zero */ long nativeBuilderPtr) { in applyReplacementRun() argument
526 if (nativeBuilderPtr == 0) { in applyReplacementRun()
[all …]
/frameworks/layoutlib/bridge/src/android/text/
DMeasuredParagraph_Delegate.java68 /*package*/ static void nAddStyleRun(long nativeBuilderPtr, long paintPtr, int start, in nAddStyleRun() argument
70 MeasuredParagraphBuilder builder = sBuilderManager.getDelegate(nativeBuilderPtr); in nAddStyleRun()
87 /*package*/ static void nAddReplacementRun(long nativeBuilderPtr, long paintPtr, int start, in nAddReplacementRun() argument
89 MeasuredParagraphBuilder builder = sBuilderManager.getDelegate(nativeBuilderPtr); in nAddReplacementRun()
97 /*package*/ static long nBuildNativeMeasuredParagraph(long nativeBuilderPtr, in nBuildNativeMeasuredParagraph() argument
100 delegate.mNativeBuilderPtr = nativeBuilderPtr; in nBuildNativeMeasuredParagraph()
105 /*package*/ static void nFreeBuilder(long nativeBuilderPtr) { in nFreeBuilder() argument
106 sBuilderManager.removeJavaReferenceFor(nativeBuilderPtr); in nFreeBuilder()