/frameworks/base/libs/hwui/jni/ |
D | FontFamily.cpp | 80 static jlong FontFamily_create(CRITICAL_JNI_PARAMS_COMMA jlong builderPtr) { in FontFamily_create() argument 81 if (builderPtr == 0) { in FontFamily_create() 84 NativeFamilyBuilder* builder = toNativeBuilder(builderPtr); in FontFamily_create() 98 static void releaseBuilder(jlong builderPtr) { in releaseBuilder() argument 99 delete toNativeBuilder(builderPtr); in releaseBuilder() 171 static jboolean FontFamily_addFont(JNIEnv* env, jobject clazz, jlong builderPtr, jobject bytebuf, in FontFamily_addFont() argument 174 NativeFamilyBuilder* builder = reinterpret_cast<NativeFamilyBuilder*>(builderPtr); in FontFamily_addFont() 193 static jboolean FontFamily_addFontWeightStyle(JNIEnv* env, jobject clazz, jlong builderPtr, in FontFamily_addFontWeightStyle() argument 196 NativeFamilyBuilder* builder = toNativeBuilder(builderPtr); in FontFamily_addFontWeightStyle() 215 static void FontFamily_addAxisValue(CRITICAL_JNI_PARAMS_COMMA jlong builderPtr, jint tag, jfloat va… in FontFamily_addAxisValue() argument [all …]
|
D | android_graphics_DisplayListCanvas.cpp | 140 jint color, jlong builderPtr) { in android_view_DisplayListCanvas_drawRippleProps() argument 150 SkRuntimeShaderBuilder* builder = reinterpret_cast<SkRuntimeShaderBuilder*>(builderPtr); in android_view_DisplayListCanvas_drawRippleProps()
|
/frameworks/base/libs/hwui/jni/text/ |
D | MeasuredText.cpp | 64 static void nAddStyleRun(JNIEnv* /* unused */, jclass /* unused */, jlong builderPtr, in nAddStyleRun() argument 70 toBuilder(builderPtr) in nAddStyleRun() 76 static void nAddReplacementRun(JNIEnv* /* unused */, jclass /* unused */, jlong builderPtr, in nAddReplacementRun() argument 78 toBuilder(builderPtr)->addReplacementRun(start, end, width, in nAddReplacementRun() 83 static jlong nBuildMeasuredText(JNIEnv* env, jclass /* unused */, jlong builderPtr, jlong hintPtr, in nBuildMeasuredText() argument 91 return toJLong(toBuilder(builderPtr) in nBuildMeasuredText() 98 static void nFreeBuilder(JNIEnv* env, jclass /* unused */, jlong builderPtr) { in nFreeBuilder() argument 99 delete toBuilder(builderPtr); in nFreeBuilder()
|
/frameworks/base/libs/hwui/jni/fonts/ |
D | FontFamily.cpp | 53 static void FontFamily_Builder_addFont(CRITICAL_JNI_PARAMS_COMMA jlong builderPtr, jlong fontPtr) { in FontFamily_Builder_addFont() argument 54 toBuilder(builderPtr)->fonts.push_back(toFontWrapper(fontPtr)->font); in FontFamily_Builder_addFont() 58 static jlong FontFamily_Builder_build(JNIEnv* env, jobject clazz, jlong builderPtr, in FontFamily_Builder_build() argument 61 std::unique_ptr<NativeFamilyBuilder> builder(toBuilder(builderPtr)); in FontFamily_Builder_build()
|
D | Font.cpp | 79 static void Font_Builder_addAxis(CRITICAL_JNI_PARAMS_COMMA jlong builderPtr, jint tag, jfloat value… in Font_Builder_addAxis() argument 80 toBuilder(builderPtr)->axes.emplace_back(static_cast<minikin::AxisTag>(tag), value); in Font_Builder_addAxis() 84 static jlong Font_Builder_build(JNIEnv* env, jobject clazz, jlong builderPtr, jobject buffer, in Font_Builder_build() argument 88 std::unique_ptr<NativeFontBuilder> builder(toBuilder(builderPtr)); in Font_Builder_build() 125 static jlong Font_Builder_clone(JNIEnv* env, jobject clazz, jlong fontPtr, jlong builderPtr, in Font_Builder_clone() argument 129 std::unique_ptr<NativeFontBuilder> builder(toBuilder(builderPtr)); in Font_Builder_clone()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontFamily.java | 183 final long builderPtr = nInitBuilder(); in build() local 185 nAddFont(builderPtr, mFonts.get(i).getNativePtr()); in build() 187 final long ptr = nBuild(builderPtr, langTags, variant, isCustomFallback, in build() 312 private static native void nAddFont(long builderPtr, long fontPtr); in nAddFont() argument 313 private static native long nBuild(long builderPtr, String langTags, int variant, in nBuild() argument
|
D | Font.java | 471 final long builderPtr = nInitBuilder(); in build() local 474 nAddAxis(builderPtr, axis.getOpenTypeTagValue(), axis.getStyleValue()); in build() 483 ptr = nBuild(builderPtr, readonlyBuffer, filePath, mLocaleList, mWeight, italic, in build() 487 ptr = nClone(mFont.getNativePtr(), builderPtr, mWeight, italic, mTtcIndex); in build() 498 private static native void nAddAxis(long builderPtr, int tag, float value); in nAddAxis() argument 500 long builderPtr, @NonNull ByteBuffer buffer, @NonNull String filePath, in nBuild() argument 504 private static native long nClone(long fontPtr, long builderPtr, int weight, in nClone() argument
|
/frameworks/base/graphics/java/android/graphics/ |
D | FontFamily.java | 224 private static native boolean nAddFont(long builderPtr, ByteBuffer font, int ttcIndex, in nAddFont() argument 226 private static native boolean nAddFontWeightStyle(long builderPtr, ByteBuffer font, in nAddFontWeightStyle() argument 231 private static native void nAddAxisValue(long builderPtr, int tag, float value); in nAddAxisValue() argument
|