Home
last modified time | relevance | path

Searched refs:Typeface (Results 1 – 25 of 38) sorted by relevance

12

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTypefaceTest.java6 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 …]
DShadowTextViewTest.java18 import android.graphics.Typeface;
370 Typeface typeface = Shadow.newInstanceOf(Typeface.class); in canSetAndGetTypeface()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTypeface.java10 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 …]
DShadowPaint.java10 import android.graphics.Typeface;
39 private Typeface typeface;
168 public Typeface getTypeface() { in getTypeface()
173 public Typeface setTypeface(Typeface typeface) { in setTypeface()
DShadowTextView.java6 import android.graphics.Typeface;
51 private Typeface typeface;
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/
DBorderedText.java24 import android.graphics.Typeface;
73 public void setTypeface(Typeface typeface) { in setTypeface()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_font.cpp22 {XFA_Attribute::Typeface, XFA_AttributeType::CData, (void*)L"Courier"},
114 return JSObject()->GetCData(XFA_Attribute::Typeface); in GetTypeface()
Dcxfa_typeface.cpp24 XFA_Element::Typeface, in CXFA_Typeface()
Dcxfa_node_statics.cpp329 {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()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowTextView.java4 import android.graphics.Typeface;
51 private Typeface typeface;
140 public Typeface getTypeface() { in getTypeface()
145 public void setTypeface(Typeface typeface) { in setTypeface()
/external/skqp/site/user/api/
DSkPaint_Reference.md93 | <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 …]
/external/skia/site/user/api/
DSkPaint_Reference.md93 | <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 …]
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DClassifierActivity.java24 import android.graphics.Typeface;
111 borderedText.setTypeface(Typeface.MONOSPACE); in onPreviewSizeChosen()
DDetectorActivity.java27 import android.graphics.Typeface;
127 borderedText.setTypeface(Typeface.MONOSPACE); in onPreviewSizeChosen()
DStylizeActivity.java30 import android.graphics.Typeface;
358 borderedText.setTypeface(Typeface.MONOSPACE); in onPreviewSizeChosen()
/external/skqp/docs/
DSkPaint_Reference.bmh102 # 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 …]
/external/skia/docs/
DSkPaint_Reference.bmh102 # 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 …]
Dundocumented.bmh707 #Topic Typeface
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DTextViewTest.java4 import android.graphics.Typeface;
337 Typeface typeface = Robolectric.newInstanceOf(Typeface.class); in canSetAndGetTypeface()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
DViewInflater.java23 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()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/tracking/
DObjectTracker.java24 import android.graphics.Typeface;
314 p.setTypeface(Typeface.SERIF); in drawHistoryPoint()
/external/pdfium/xfa/fxfa/
Dfxfa_basic.h376 Typeface, enumerator
624 Typeface, enumerator
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
DTerminalBridge.java27 import android.graphics.Typeface;
204 defaultPaint.setTypeface(Typeface.MONOSPACE); in TerminalBridge()
/external/skqp/tests/
DTypefaceTest.cpp177 DEF_TEST(Typeface, reporter) { in DEF_TEST() argument
/external/skia/tests/
DTypefaceTest.cpp177 DEF_TEST(Typeface, reporter) { in DEF_TEST() argument

12