/frameworks/base/core/java/android/webkit/ |
H A D | WebSettings.java | 49 * <li>TEXT_AUTOSIZING boosts font size of paragraphs based on heuristics to make 670 * Sets the standard font family name. The default is "sans-serif". 672 * @param font a font family name 674 public abstract void setStandardFontFamily(String font); argument 677 * Gets the standard font family name. 679 * @return the standard font family name as a string 685 * Sets the fixed font family name. The default is "monospace". 687 * @param font a font famil 689 setFixedFontFamily(String font) argument 704 setSansSerifFontFamily(String font) argument 719 setSerifFontFamily(String font) argument 734 setCursiveFontFamily(String font) argument 749 setFantasyFontFamily(String font) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | FontFamily.cpp | 92 ALOGE("addFont failed to create font, buffer invalid"); 97 ALOGE("addFont failed to create font, buffer size invalid"); 111 ALOGE("addFont failed to create font"); 129 jobject font, jint ttcIndex, jobject listOfAxis, jint weight, jboolean isItalic) { 130 NPE_CHECK_RETURN_ZERO(env, font); 155 const void* fontPtr = env->GetDirectBufferAddress(font); 157 ALOGE("addFont failed to create font, buffer invalid"); 160 jlong fontSize = env->GetDirectBufferCapacity(font); 162 ALOGE("addFont failed to create font, buffer size invalid"); 165 jobject fontRef = MakeGlobalRefOrDie(env, font); 128 FontFamily_addFontWeightStyle(JNIEnv* env, jobject clazz, jlong familyPtr, jobject font, jint ttcIndex, jobject listOfAxis, jint weight, jboolean isItalic) argument [all...] |
H A D | HarfBuzzNGFaceSkia.cpp | 165 hb_font_t* font = hb_font_create(face); local 170 hb_font_set_ppem(font, x_ppem, y_ppem); 171 hb_font_set_scale(font, HBFloatToFixed(sizeX), HBFloatToFixed(sizeY)); 174 hb_font_set_funcs(font, harfbuzzSkiaGetFontFuncs(), data, destroyHarfBuzzFontData); 176 return font;
|
/frameworks/base/core/jni/ |
H A D | android_text_StaticLayout.cpp | 160 FontCollection *font; local 162 FontStyle style = MinikinUtils::prepareMinikinPaint(&minikinPaint, &font, paint, typeface); 163 return b->addStyleRun(&minikinPaint, font, style, start, end, isRtl);
|
/frameworks/base/data/fonts/ |
H A D | Android.mk | 21 # create symlink for given font 22 # $(1): new font $(2): link target 24 define create-font-symlink 38 $(eval $(call create-font-symlink,DroidSans.ttf,Roboto-Regular.ttf)) 39 $(eval $(call create-font-symlink,DroidSans-Bold.ttf,Roboto-Bold.ttf)) 40 $(eval $(call create-font-symlink,DroidSerif-Regular.ttf,NotoSerif-Regular.ttf)) 41 $(eval $(call create-font-symlink,DroidSerif-Bold.ttf,NotoSerif-Bold.ttf)) 42 $(eval $(call create-font-symlink,DroidSerif-Italic.ttf,NotoSerif-Italic.ttf)) 43 $(eval $(call create-font-symlink,DroidSerif-BoldItalic.ttf,NotoSerif-BoldItalic.ttf)) 77 # Build the rest of font file [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | FontFamily.java | 78 Log.e(TAG, "Error mapping font file " + path); 83 public boolean addFontWeightStyle(ByteBuffer font, int ttcIndex, List<FontListParser.Axis> axes, argument 85 return nAddFontWeightStyle(mNativePtr, font, ttcIndex, axes, weight, style); 94 private static native boolean nAddFont(long nativeFamily, ByteBuffer font, int ttcIndex); argument 95 private static native boolean nAddFontWeightStyle(long nativeFamily, ByteBuffer font, argument
|
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 648 Font* font = Font::create(this, paint, matrix); local 649 font->precache(paint, glyphs, numGlyphs); 660 ALOGE("No font set"); 678 ALOGE("No font set");
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 59 ALOGW("Could not query the inverse lookup transform for this font"); 481 Font* font = state->mActiveFonts.get(description); local 483 if (!font) { 484 font = new Font(state, description); 485 state->mActiveFonts.put(description, font); 487 font->mIdentityTransform = matrix.isIdentity(); 489 return font;
|
/frameworks/base/libs/hwui/hwui/ |
H A D | MinikinSkia.cpp | 35 static void MinikinFontSkia_SetSkiaPaint(const MinikinFont* font, SkPaint* skPaint, const MinikinPaint& paint) { argument 41 // Apply font fakery on top of user-supplied flags. 42 MinikinFontSkia::populateSkPaint(skPaint, font, paint.fakery); 72 // we don't have a buffer to the font data, copy to own buffer 120 void MinikinFontSkia::populateSkPaint(SkPaint* paint, const MinikinFont* font, FontFakery fakery) { argument 121 paint->setTypeface(reinterpret_cast<const MinikinFontSkia*>(font)->GetSkTypeface());
|
H A D | MinikinUtils.cpp | 56 FontCollection *font; local 58 FontStyle minikinStyle = prepareMinikinPaint(&minikinPaint, &font, paint, typeface); 59 layout->setFontCollection(font); 65 FontCollection *font; local 67 FontStyle minikinStyle = prepareMinikinPaint(&minikinPaint, &font, paint, typeface); 69 font, advances);
|
H A D | Typeface.cpp | 69 // TODO: might be a nice optimization to get access to the underlying font 72 MinikinFont *font = new MinikinFontSkia(skFace, NULL, 0, 0); local 73 family->addFont(font); 74 font->Unref(); 76 ALOGE("failed to create font %s", fn); 143 MinikinFont* mf = firstFamily->getClosestMatch(defaultStyle).font;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BidiRenderer.java | 31 import java.awt.font.FontRenderContext; 32 import java.awt.font.GlyphVector; 39 * Render the text by breaking it into various scripts and using the right font for each script. 50 Font font; field in class:BidiRenderer.ScriptRun 63 // This List can contain nulls. A null font implies that the we weren't able to load the font 64 // properly. So, if we encounter a situation where we try to use that font, log a warning. 139 // We break the text into scripts and then select font based on it and then render each of 144 renderScript(run.start, run.limit, run.font, flag, advances, advancesIndex, draw); 151 * Render a script run to the right of the bounds passed. Use the preferred font t 216 render(int start, int limit, Font font, int flag, float[] advances, int advancesIndex, boolean draw) argument [all...] |
H A D | FontFamily_Delegate.java | 71 // The cache has a drawback that if the font file changed after the font object was created, 153 // Skip font configuration files. 183 FontInfo font = mFonts.get(i); 184 int match = computeMatch(font, desiredStyle); 187 bestFont = font; 196 // Derive the font as required and add it to the list of Fonts. 225 // If we aren't able to load an Open Type font, don't log a warning just yet. 226 // We wait for a case where font is being used. Only then we try to log the 231 String.format("Unable to load font 280 nAddFont(long nativeFamily, ByteBuffer font, int ttcIndex) argument 286 nAddFontWeightStyle(long nativeFamily, ByteBuffer font, int ttcIndex, List<FontListParser.Axis> listOfAxis, int weight, boolean isItalic) argument [all...] |
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |
/frameworks/minikin/include/minikin/ |
H A D | FontFamily.h | 33 // FontStyle represents all style information needed to select an actual font 97 MinikinFont* font; member in struct:android::FakedFont 116 // Add font to family, extracting style information from the font 135 // Returns true if the font has a glyph for the code point and variation selector pair. 139 // Returns true if this font family has a variaion sequence table (cmap format 14 subtable).
|
H A D | MinikinFont.h | 48 MinikinPaint() : font(0), size(0), scaleX(0), skewX(0), letterSpacing(0), paintFlags(0), 55 MinikinFont *font; member in struct:android::MinikinPaint 114 // Override if font can provide access to raw data 119 // Override if font can provide access to raw data 124 // Override if font can provide access to raw data.
|
/frameworks/minikin/libs/minikin/ |
H A D | FontFamily.cpp | 133 const Font& font = mFonts[i]; local 134 int match = computeMatch(font.style, style); 136 bestFont = &font; 142 result.font = NULL; 144 result.font = bestFont->typeface; 175 MinikinFont* typeface = getClosestMatch(defaultStyle).font; 187 ALOGD("font coverage length=%d, first ch=%x\n", mCoverage.length(), 198 // Early exit if the variation selector is specified but the font doesn't have a cmap format 204 MinikinFont* minikinFont = getClosestMatch(defaultStyle).font; 205 hb_font_t* font local [all...] |
H A D | HbFontCache.cpp | 32 MinikinFont* font = reinterpret_cast<MinikinFont*>(userData); local 35 const void* buffer = font->GetTable(tag, &size, &destroy); 62 void put(int32_t fontId, hb_font_t* font) { argument 63 mCache.put(fontId, font); 115 hb_font_t* font = fontCache->get(fontId); local 116 if (font != nullptr) { 117 return hb_font_reference(font); 137 font = hb_font_create_sub_font(parent_font); 140 fontCache->put(fontId, font); 141 return hb_font_reference(font); [all...] |
H A D | Layout.cpp | 149 uint32_t mId; // for the font collection 291 MinikinFont* font = paint->font; local 292 float advance = font->GetHorizontalAdvance(glyph, *paint); 336 if (mFaces[ix].font == face.font) { 344 hb_font_t* font = getHbFontLocked(face.font); local 345 hb_font_set_funcs(font, getHbFontFuncs(), &ctx->paint, 0); 346 ctx->hbFonts.push_back(font); [all...] |
H A D | MinikinInternal.cpp | 84 hb_font_t* font = getHbFontLocked(minikinFont); local 85 hb_face_t* face = hb_font_get_face(font); 87 hb_font_destroy(font);
|
/frameworks/minikin/sample/ |
H A D | example.cpp | 59 MinikinFont *font = new MinikinFontFreeType(face); local 60 family->addFont(font); 68 MinikinFont *font = new MinikinFontFreeType(face); local 69 family->addFont(font);
|
H A D | example_skia.cpp | 61 MinikinFont *font = new MinikinFontSkia(skFace); local 62 family->addFont(font); 70 MinikinFont *font = new MinikinFontSkia(skFace); local 71 family->addFont(font);
|
/frameworks/minikin/tests/ |
H A D | HbFontCacheTest.cpp | 54 // Must return same object if same font object is passed. 68 hb_font_t* font = getHbFontLocked(&minikinFont); local 69 ASSERT_NE(nullptr, font); 71 // Set user data to identify the font object. 74 hb_font_set_user_data(font, &key, data, NULL, false); 75 ASSERT_EQ(data, hb_font_get_user_data(font, &key)); 82 font = getHbFontLocked(&minikinFont); 83 EXPECT_EQ(nullptr, hb_font_get_user_data(font, &key));
|
/frameworks/rs/driver/ |
H A D | rsdRuntimeStubs.cpp | 1044 void rsgBindFont(::rs_font font) { argument 1046 rsrBindFont(rsc, (Font *)font.p);
|
/frameworks/rs/ |
H A D | rsContext.cpp | 834 Font *font = static_cast<Font *>(vfont); local 835 rsc->setFont(font);
|