/frameworks/base/core/jni/ |
D | android_text_MeasuredParagraph.cpp | 71 static void nAddStyleRun(JNIEnv* /* unused */, jclass /* unused */, jlong builderPtr, in nAddStyleRun() argument 76 toBuilder(builderPtr)->addStyleRun(start, end, std::move(minikinPaint), isRtl); in nAddStyleRun() 80 static void nAddReplacementRun(JNIEnv* /* unused */, jclass /* unused */, jlong builderPtr, in nAddReplacementRun() argument 82 toBuilder(builderPtr)->addReplacementRun(start, end, width, in nAddReplacementRun() 87 static jlong nBuildNativeMeasuredParagraph(JNIEnv* env, jclass /* unused */, jlong builderPtr, in nBuildNativeMeasuredParagraph() argument 94 return toJLong(toBuilder(builderPtr)->build(textBuffer, computeHyphenation, in nBuildNativeMeasuredParagraph() 99 static void nFreeBuilder(JNIEnv* env, jclass /* unused */, jlong builderPtr) { in nFreeBuilder() argument 100 delete toBuilder(builderPtr); in nFreeBuilder()
|
/frameworks/base/core/jni/android/graphics/ |
D | FontFamily.cpp | 77 static jlong FontFamily_create(jlong builderPtr) { in FontFamily_create() argument 78 if (builderPtr == 0) { in FontFamily_create() 81 NativeFamilyBuilder* builder = toNativeBuilder(builderPtr); in FontFamily_create() 93 static void releaseBuilder(jlong builderPtr) { in releaseBuilder() argument 94 delete toNativeBuilder(builderPtr); in releaseBuilder() 170 static jboolean FontFamily_addFont(JNIEnv* env, jobject clazz, jlong builderPtr, jobject bytebuf, in FontFamily_addFont() argument 173 NativeFamilyBuilder* builder = reinterpret_cast<NativeFamilyBuilder*>(builderPtr); in FontFamily_addFont() 192 static jboolean FontFamily_addFontWeightStyle(JNIEnv* env, jobject clazz, jlong builderPtr, in FontFamily_addFontWeightStyle() argument 195 NativeFamilyBuilder* builder = toNativeBuilder(builderPtr); in FontFamily_addFontWeightStyle() 218 static jboolean FontFamily_addFontFromAssetManager(JNIEnv* env, jobject, jlong builderPtr, in FontFamily_addFontFromAssetManager() argument [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | FontFamily.java | 166 private static boolean nAddFont(long builderPtr, ByteBuffer font, int ttcIndex) { in nAddFont() argument 167 return nAddFont(builderPtr, font, ttcIndex, -1, -1); in nAddFont() 182 private static native boolean nAddFont(long builderPtr, ByteBuffer font, int ttcIndex, in nAddFont() argument 184 private static native boolean nAddFontWeightStyle(long builderPtr, ByteBuffer font, in nAddFontWeightStyle() argument 186 private static native boolean nAddFontFromAssetManager(long builderPtr, AssetManager mgr, in nAddFontFromAssetManager() argument 191 private static native void nAddAxisValue(long builderPtr, int tag, float value); in nAddAxisValue() argument
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | FontFamily_Delegate.java | 321 /*package*/ static long nCreateFamily(long builderPtr) { 322 return builderPtr; 333 /*package*/ static boolean nAddFont(long builderPtr, ByteBuffer font, int ttcIndex, 340 /*package*/ static boolean nAddFontWeightStyle(long builderPtr, ByteBuffer font, 347 /*package*/ static void nAddAxisValue(long builderPtr, int tag, float value) { 351 static boolean addFont(long builderPtr, final String path, final int weight, 353 final FontFamily_Delegate delegate = getDelegate(builderPtr); 366 …/*package*/ static boolean nAddFontFromAssetManager(long builderPtr, AssetManager mgr, String path, 368 FontFamily_Delegate ffd = sManager.getDelegate(builderPtr); 450 /*package*/ static void nAbort(long builderPtr) { [all …]
|