/frameworks/base/libs/hwui/hwui/ |
Typeface.cpp | 53 // TODO: Better to use raw base weight value for font selection instead of dividing by 100. 144 families.empty() ? nullptr : families[0]->getClosestMatch(defaultStyle).font; 191 std::shared_ptr<minikin::MinikinFont> font = std::make_shared<MinikinFontSkia>( local 194 std::vector<minikin::Font>({ minikin::Font(std::move(font), minikin::FontStyle()) }));
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
CalendarFrame.java | 20 import java.awt.Font; 372 public void setFont(Font f) { 373 font = f; 378 FontMetrics fm = g.getFontMetrics(font); 383 g.setFont(font); 394 FontMetrics fm = getFontMetrics(font); 402 Font font = DemoUtility.labelFont; field in class:CalendarFrame.ColoredLabel
|
/external/pdfium/xfa/fxfa/parser/ |
xfa_basic_data_element_properties.cpp | 224 {XFA_Element::Font, 1, 0}, 349 {XFA_Element::Font, 1, 0}, 411 {XFA_Element::Font, 1, 0},
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
IconFactory.java | 29 import org.eclipse.swt.graphics.Font; 394 // Get a bold version of the default system font, if possible. 395 Font font = display.getSystemFont(); local 396 FontData[] fds = font.getFontData(); 398 // use 3/4th of the circle diameter for the font size (in pixels) 399 // and convert it to "font points" (font points in SWT are hardcoded in an 405 font = new Font(display, fds) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
MainLaunchConfigTab.java | 46 import org.eclipse.swt.graphics.Font; 124 Font font = parent.getFont(); local 130 comp.setFont(font); 142 group.setFont(font); 252 Font font = parent.getFont(); local 260 group.setFont(font); 264 mProjText.setFont(font);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LintColumn.java | 31 import org.eclipse.swt.graphics.Font; 109 * @param marker the {@link IMarker} to get the font for 110 * @return The font for this particular column, or null 113 public Font getFont(@NonNull IMarker marker) { 202 public Font getFont(@NonNull IMarker marker) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/ |
OldLogCatView.java | 43 import org.eclipse.swt.graphics.Font; 173 * Sets the display font. 175 * @param font The font. 177 public static void setFont(Font font) { 179 sThis.mLogPanel.setFont(font); 271 // get the font 278 mLogPanel.setFont(new Font(parent.getDisplay(), data));
|
/external/pdfium/xfa/fde/css/ |
fde_css.h | 13 #include "xfa/fgas/font/cfgas_fontmgr.h" 112 Font,
|
/external/sfntly/cpp/src/sfntly/table/ |
table.cc | 23 #include "sfntly/font.h" 52 void Table::SetFont(Font* font) { 53 font_ = font;
|
/external/sfntly/cpp/src/test/ |
cmap_iterator_test.cc | 23 #include "sfntly/font.h" 80 Ptr<Font> font; local 81 font.Attach(fonts[0].Detach()); 82 Ptr<CMapTable> cmap_table = down_cast<CMapTable*>(font->GetTable(Tag::cmap));
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
Demo.java | 14 import java.awt.Font; 121 Font font = new Font(fontName, Font.PLAIN, fontSize); local 122 text.setFont(font); 214 Menu fontMenu = new Menu("Font"); 630 out.println("body { font-family: 'Arial Unicode MS', 'Lucida Sans Unicode', Arial, sans-serif; margin: 5 }"); 724 out.println("body { font-family: 'Arial Unicode MS', 'Lucida Sans Unicode', Arial, sans-serif; margin: 5 }"); [all...] |
/external/python/cpython2/Demo/tkinter/ttk/ |
ttkcalendar.py | 112 font = tkFont.Font() 113 maxwidth = max(font.measure(col) for col in cols) 119 self._font = tkFont.Font()
|
/frameworks/base/core/jni/android/graphics/ |
FontFamily.cpp | 50 std::vector<minikin::Font> fonts; 116 ALOGE("addFont failed to create font, invalid request"); 142 builder->fonts.push_back(minikin::Font(minikinFont, minikin::FontStyle(weight, italic))); 176 ALOGE("addFont failed to create font, buffer invalid"); 182 ALOGE("addFont failed to create font, buffer size invalid"); 193 jobject font, jint ttcIndex, jint weight, jint isItalic) { 194 NPE_CHECK_RETURN_ZERO(env, font); 196 const void* fontPtr = env->GetDirectBufferAddress(font); 198 ALOGE("addFont failed to create font, buffer invalid"); 202 jlong fontSize = env->GetDirectBufferCapacity(font); [all...] |
/frameworks/rs/ |
rsRuntime.h | 99 void rsrSetMetrics(Context *, Font::Rect *metrics, 105 void rsrBindFont(Context *, Font *);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
AccordionControl.java | 31 import org.eclipse.swt.graphics.Font; 210 Font labelFont = null;
|
SwtUtils.java | 25 import org.eclipse.swt.graphics.Font; 365 * Get the average width of the font used by the given control 367 * @param display the display associated with the font usage 368 * @param font the font to look up the average character width for 369 * @return the average width, in pixels, of the given font 371 public static final int getAverageCharWidth(Display display, Font font) { 373 gc.setFont(font); 381 * Get the average width of the given font [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/ |
UiFlagAttributeNode.java | 34 import org.eclipse.swt.graphics.Font; 267 Font font = fontDesc.createFont(JFaceResources.getDialogFont().getDevice()); local 274 item.setFont(font);
|
/external/sfntly/cpp/src/sample/chromium/ |
subsetter_impl.cc | 72 // This name part is not used to construct font name (e.g. copyright). 93 bool HasName(const char* font_name, Font* font) { 103 NameTablePtr name_table = down_cast<NameTable*>(font->GetTable(Tag::name)); 145 Font* FindFont(const char* font_name, const FontArray& font_array) { 226 bool SetupGlyfBuilders(Font::Builder* font_builder, 552 // Most pages use only a fraction (hundreds or less) glyphs out of a given font 554 // font will have sparse bitmap glyphs. So we reconstruct the EBLC table as 564 int SetupBitmapBuilders(Font* font, Font::Builder* font_builder [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/ |
Xlib.h | 210 Font font; /* default text font for text operations */ member in struct:__anon53597 1072 Font font; \/* font to print it in, None don't change *\/ member in struct:__anon53653 1084 Font font; \/* font to print it in, None don't change *\/ member in struct:__anon53655 1093 XFontStruct *font; } XEDataObject; member in union:__anon53656 [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/ |
Xlib.h | 207 Font font; /* default text font for text operations */ member in struct:__anon55463 1069 Font font; \/* font to print it in, None don't change *\/ member in struct:__anon55519 1081 Font font; \/* font to print it in, None don't change *\/ member in struct:__anon55521 1090 XFontStruct *font; } XEDataObject; member in union:__anon55522 [all...] |
/frameworks/layoutlib/bridge/src/android/graphics/ |
Paint_Delegate.java | 32 import java.awt.Font; 60 * Class associating a {@link Font} and its {@link java.awt.FontMetrics}. 63 Font mFont; 94 // Variant of the font. A paint's variant can only be compact or elegant. 116 * Returns the list of {@link Font} objects. 1278 Font font = fonts.get(i); local [all...] |
/external/python/cpython2/Lib/idlelib/ |
configHandler.py | 27 from tkFont import Font, nametofont 701 """Retrieve a font from configuration (font, font-size, font-bold) 703 the actual font, factoring in some tweaks if needed for 709 to tkinter.Font 711 family = self.GetOption(configType, section, 'font', default='courier') 712 size = self.GetOption(configType, section, 'font-size', type='int', 714 bold = self.GetOption(configType, section, 'font-bold', default=0 [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusgraphics.h | 37 friend class Font; 283 const Font *font, const Brush *brush, 289 font ? font->nativeFont : NULL, 619 Status DrawString(const WCHAR *string, INT length, const Font *font, 625 font ? font->nativeFont : NULL, 630 const Font *font, const PointF& origin [all...] |
/external/mesa3d/src/glx/ |
glxclient.h | 83 Font font, int first, int count, int listbase); 237 Font font, int first, int count, int listBase);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/extensions/ |
xfixesproto.h | 55 #define Font CARD32 540 #undef Font
|