Searched refs:Typeface (Results 1 – 25 of 38) sorted by relevance
12
6 import android.graphics.Typeface;28 Typeface typeface = Typeface.create("roboto", Typeface.BOLD); in create_withFamilyName_shouldCreateTypeface()29 assertThat(typeface.getStyle()).isEqualTo(Typeface.BOLD); in create_withFamilyName_shouldCreateTypeface()31 assertThat(shadowOf(typeface).getFontDescription().getStyle()).isEqualTo(Typeface.BOLD); in create_withFamilyName_shouldCreateTypeface()36 Typeface typeface = Typeface.create(Typeface.create("roboto", Typeface.BOLD), Typeface.ITALIC); in create_withFamily_shouldCreateTypeface()38 assertThat(typeface.getStyle()).isEqualTo(Typeface.ITALIC); in create_withFamily_shouldCreateTypeface()40 assertThat(shadowOf(typeface).getFontDescription().getStyle()).isEqualTo(Typeface.ITALIC); in create_withFamily_shouldCreateTypeface()45 Typeface typeface = Typeface.create((Typeface) null, Typeface.ITALIC); in create_withoutFamily_shouldCreateTypeface()46 assertThat(typeface.getStyle()).isEqualTo(Typeface.ITALIC); in create_withoutFamily_shouldCreateTypeface()48 assertThat(shadowOf(typeface).getFontDescription().getStyle()).isEqualTo(Typeface.ITALIC); in create_withoutFamily_shouldCreateTypeface()[all …]
18 import android.graphics.Typeface;370 Typeface typeface = Shadow.newInstanceOf(Typeface.class); in canSetAndGetTypeface()
10 import android.graphics.Typeface;25 @Implements(value = Typeface.class, looseSignatures = true)30 @RealObject private Typeface realTypeface;45 public static Typeface create(String familyName, int style) { in create()50 public static Typeface create(Typeface family, int style) { in create()59 public static Typeface createFromAsset(AssetManager mgr, String path) { in createFromAsset()66 return createUnderlyingTypeface(path, Typeface.NORMAL); in createFromAsset()74 public static Typeface createFromFile(File path) { in createFromFile()76 return createUnderlyingTypeface(familyName, Typeface.NORMAL); in createFromFile()80 public static Typeface createFromFile(String path) { in createFromFile()[all …]
10 import android.graphics.Typeface;39 private Typeface typeface;168 public Typeface getTypeface() { in getTypeface()173 public Typeface setTypeface(Typeface typeface) { in setTypeface()
6 import android.graphics.Typeface;51 private Typeface typeface;
24 import android.graphics.Typeface;73 public void setTypeface(Typeface typeface) { in setTypeface()
22 {XFA_Attribute::Typeface, XFA_AttributeType::CData, (void*)L"Courier"},114 return JSObject()->GetCData(XFA_Attribute::Typeface); in GetTypeface()
24 XFA_Element::Typeface, in CXFA_Typeface()
329 {0x2c1c7f1 /* typeface */, XFA_Element::Typeface},643 {0x2c1c7f1 /* typeface */, XFA_Attribute::Typeface},935 case XFA_Element::Typeface: in Create()1851 case XFA_Attribute::Typeface: in AttributeToName()2347 case XFA_Element::Typeface: in ElementToName()
4 import android.graphics.Typeface;51 private Typeface typeface;140 public Typeface getTypeface() { in getTypeface()145 public void setTypeface(Typeface typeface) { in setTypeface()
93 | <a href="#Typeface_Methods">Typeface Methods</a> | get and set <a href="undocumented#Typeface">Ty…115 …f="undocumented#Font_Manager">Font Manager</a> using <a href="undocumented#Typeface">Typeface</a> |156 …getFontMetrics">getFontMetrics</a> | returns <a href="undocumented#Typeface">Typeface</a> metrics …182 | <a href="#SkPaint_getTypeface">getTypeface</a> | returns <a href="undocumented#Typeface">Typeface…203 …nt_refTypeface">refTypeface</a> | references <a href="undocumented#Typeface">Typeface</a>, font de…238 | <a href="#SkPaint_setTypeface">setTypeface</a> | sets <a href="undocumented#Typeface">Typeface</a…283 | <a href="undocumented#Typeface">Typeface</a> | nullptr |311 Makes a shallow copy of <a href="#Paint">Paint</a>. <a href="undocumented#Typeface">Typeface</a>, <…414 …Count">Reference Count</a> of owned objects: <a href="undocumented#Typeface">Typeface</a>, <a href…429 Makes a shallow copy of <a href="#Paint">Paint</a>. <a href="undocumented#Typeface">Typeface</a>, <…[all …]
93 | <a href="#Typeface_Methods">Typeface Methods</a> | get and set <a href="undocumented#Typeface">Ty…115 …f="undocumented#Font_Manager">Font Manager</a> using <a href="undocumented#Typeface">Typeface</a> |156 …getFontMetrics">getFontMetrics</a> | returns <a href="undocumented#Typeface">Typeface</a> metrics …181 | <a href="#SkPaint_getTypeface">getTypeface</a> | returns <a href="undocumented#Typeface">Typeface…202 …nt_refTypeface">refTypeface</a> | references <a href="undocumented#Typeface">Typeface</a>, font de…236 | <a href="#SkPaint_setTypeface">setTypeface</a> | sets <a href="undocumented#Typeface">Typeface</a…281 | <a href="undocumented#Typeface">Typeface</a> | nullptr |309 Makes a shallow copy of <a href="#Paint">Paint</a>. <a href="undocumented#Typeface">Typeface</a>, <…412 …Count">Reference Count</a> of owned objects: <a href="undocumented#Typeface">Typeface</a>, <a href…427 Makes a shallow copy of <a href="#Paint">Paint</a>. <a href="undocumented#Typeface">Typeface</a>, <…[all …]
24 import android.graphics.Typeface;111 borderedText.setTypeface(Typeface.MONOSPACE); in onPreviewSizeChosen()
27 import android.graphics.Typeface;127 borderedText.setTypeface(Typeface.MONOSPACE); in onPreviewSizeChosen()
30 import android.graphics.Typeface;358 borderedText.setTypeface(Typeface.MONOSPACE); in onPreviewSizeChosen()
102 # Typeface # nullptr ##139 Makes a shallow copy of Paint. Typeface, Path_Effect, Shader,225 Decreases Paint Reference_Count of owned objects: Typeface, Path_Effect, Shader,243 Makes a shallow copy of Paint. Typeface, Path_Effect, Shader,306 if Typeface, Path_Effect, Shader, Mask_Filter, Color_Filter,339 if Typeface, Path_Effect, Shader, Mask_Filter, Color_Filter,3202 #Line # get and set Typeface ##3204 Typeface identifies the font used when drawing and measuring text.3205 Typeface may be specified by name, from a file, or from a data stream.3206 The default Typeface defers to the platform-specific default font[all …]
102 # Typeface # nullptr ##139 Makes a shallow copy of Paint. Typeface, Path_Effect, Shader,225 Decreases Paint Reference_Count of owned objects: Typeface, Path_Effect, Shader,243 Makes a shallow copy of Paint. Typeface, Path_Effect, Shader,306 if Typeface, Path_Effect, Shader, Mask_Filter, Color_Filter,339 if Typeface, Path_Effect, Shader, Mask_Filter, Color_Filter,3198 #Line # get and set Typeface ##3200 Typeface identifies the font used when drawing and measuring text.3201 Typeface may be specified by name, from a file, or from a data stream.3202 The default Typeface defers to the platform-specific default font[all …]
707 #Topic Typeface
4 import android.graphics.Typeface;337 Typeface typeface = Robolectric.newInstanceOf(Typeface.class); in canSetAndGetTypeface()
23 import android.graphics.Typeface;521 int style = getInteger(Typeface.class, value); in setProperty()523 textview.setTypeface(Typeface.DEFAULT); in setProperty()529 Typeface typeface = textview.getTypeface(); in setProperty()531 textview.setTypeface(Typeface.create(value, style)); in setProperty()
24 import android.graphics.Typeface;314 p.setTypeface(Typeface.SERIF); in drawHistoryPoint()
376 Typeface, enumerator624 Typeface, enumerator
27 import android.graphics.Typeface;204 defaultPaint.setTypeface(Typeface.MONOSPACE); in TerminalBridge()
177 DEF_TEST(Typeface, reporter) { in DEF_TEST() argument