HomeSort by relevance Sort by last modified time
    Searched refs:SkTypeface (Results 1 - 25 of 31) sorted by null

1 2

  /external/skia/src/core/
SkTypeface.cpp 1 #include "SkTypeface.h"
4 uint32_t SkTypeface::UniqueID(const SkTypeface* face) {
15 SkTypeface* defaultFace = SkFontHost::CreateTypeface(NULL, NULL,
16 SkTypeface::kNormal);
24 bool SkTypeface::Equal(const SkTypeface* facea, const SkTypeface* faceb) {
25 return SkTypeface::UniqueID(facea) == SkTypeface::UniqueID(faceb)
    [all...]
SkFlattenable.cpp 2 #include "SkTypeface.h"
50 SkTypeface* SkFlattenableReadBuffer::readTypeface() {
149 void SkFlattenableWriteBuffer::writeTypeface(SkTypeface* obj) {
SkPictureFlat.h 76 buffer.setTypefaceArray((SkTypeface**)fArray, fCount);
  /external/skia/include/core/
SkTypeface.h 25 /** \class SkTypeface
27 The SkTypeface class specifies the typeface and intrinsic style of a font.
34 class SkTypeface : public SkRefCnt {
68 static uint32_t UniqueID(const SkTypeface* face);
73 static bool Equal(const SkTypeface* facea, const SkTypeface* faceb);
84 static SkTypeface* CreateFromName(const char familyName[], Style style);
96 static SkTypeface* CreateFromTypeface(const SkTypeface* family, Style s);
101 static SkTypeface* CreateFromFile(const char path[])
    [all...]
SkFontHost.h 21 #include "SkTypeface.h"
33 the gap between the (sort of) abstract class SkTypeface and the
36 One basic task is for each create (subclass of) SkTypeface, the FontHost is
49 1) Given either a name/style, return a subclass of SkTypeface that
68 static SkTypeface* CreateTypeface(const SkTypeface* familyFace,
70 SkTypeface::Style style);
83 static SkTypeface* CreateTypefaceFromStream(SkStream*);
89 static SkTypeface* CreateTypefaceFromFile(const char path[]);
139 static void Serialize(const SkTypeface*, SkWStream*)
    [all...]
SkFlattenable.h 76 class SkTypeface;
89 void setTypefaceArray(SkTypeface* array[], int count) {
99 SkTypeface* readTypeface();
108 SkTypeface** fTFArray;
169 void writeTypeface(SkTypeface*);
SkPaint.h 39 class SkTypeface;
569 SkTypeface* getTypeface() const { return fTypeface; }
581 SkTypeface* setTypeface(SkTypeface* typeface);
810 SkTypeface* fTypeface;
    [all...]
  /external/webkit/WebCore/platform/graphics/android/
FontCustomPlatformData.h 32 class SkTypeface;
41 FontCustomPlatformData(SkTypeface* face);
44 SkTypeface* typeface() const { return m_typeface; }
49 SkTypeface* m_typeface;
FontPlatformData.h 40 class SkTypeface;
52 FontPlatformData(SkTypeface*, float textSize, bool fakeBold, bool fakeItalic);
76 SkTypeface* mTypeface;
81 static SkTypeface* hashTableDeletedFontValue() {
82 return reinterpret_cast<SkTypeface*>(-1);
FontCacheAndroid.cpp 34 #include "SkTypeface.h"
107 int style = SkTypeface::kNormal;
109 style |= SkTypeface::kBold;
111 style |= SkTypeface::kItalic;
113 SkTypeface* tf = SkTypeface::CreateFromName(name, (SkTypeface::Style)style);
117 (style & SkTypeface::kBold) && !tf->isBold(),
118 (style & SkTypeface::kItalic) && !tf->isItalic());
FontCustomPlatformData.cpp 29 #include "SkTypeface.h"
36 FontCustomPlatformData::FontCustomPlatformData(SkTypeface* face)
66 SkTypeface* face = SkTypeface::CreateFromStream(stream);
68 SkDebugf("--------- SkTypeface::CreateFromBuffer failed %d\n",
FontPlatformDataAndroid.cpp 34 #include "SkTypeface.h"
89 FontPlatformData::FontPlatformData(SkTypeface* tf, float textSize, bool fakeBold, bool fakeItalic)
178 h = SkTypeface::UniqueID(mTypeface);
  /external/webkit/WebKit/android/plugins/
ANPTypefaceInterface.cpp 32 SkTypeface* tf = SkTypeface::CreateFromName(name,
33 static_cast<SkTypeface::Style>(s));
39 SkTypeface* tf = SkTypeface::CreateFromTypeface(family,
40 static_cast<SkTypeface::Style>(s));
57 SkTypeface::Style s = tf ? tf->style() : SkTypeface::kNormal;
63 size_t size = SkFontHost::GetFileName(SkTypeface::UniqueID(tf), fileName,
SkANP.h 34 #include "SkTypeface.h"
45 struct ANPTypeface : SkTypeface {
  /frameworks/base/core/jni/android/graphics/
Typeface.cpp 7 #include "SkTypeface.h"
30 static SkTypeface* Typeface_create(JNIEnv* env, jobject, jstring name,
31 SkTypeface::Style style) {
32 SkTypeface* face;
35 face = SkTypeface::CreateFromName(NULL, (SkTypeface::Style)style);
39 face = SkTypeface::CreateFromName(str.c_str(), style);
44 static SkTypeface* Typeface_createFromTypeface(JNIEnv* env, jobject, SkTypeface* family, int style) {
45 return SkTypeface::CreateFromTypeface(family, (SkTypeface::Style)style)
    [all...]
  /external/webkit/WebCore/platform/graphics/chromium/
FontPlatformDataLinux.h 38 class SkTypeface;
51 // SkTypeface pointer and dealing with the reference counting etc.
82 FontPlatformData(SkTypeface*, float textSize, bool fakeBold, bool fakeItalic);
144 SkTypeface* m_typeface;
150 SkTypeface* hashTableDeletedFontValue() const { return reinterpret_cast<SkTypeface*>(-1); }
FontCacheLinux.cpp 45 #include "SkTypeface.h"
136 int style = SkTypeface::kNormal;
138 style |= SkTypeface::kBold;
140 style |= SkTypeface::kItalic;
142 SkTypeface* tf = SkTypeface::CreateFromName(name, static_cast<SkTypeface::Style>(style));
149 (style & SkTypeface::kBold) && !tf->isBold(),
150 (style & SkTypeface::kItalic) && !tf->isItalic());
FontCustomPlatformData.h 42 #include "SkTypeface.h"
57 explicit FontCustomPlatformData(SkTypeface* typeface)
71 SkTypeface* m_fontReference;
FontPlatformDataLinux.cpp 40 #include "SkTypeface.h"
77 FontPlatformData::FontPlatformData(SkTypeface* tf, float textSize, bool fakeBold, bool fakeItalic)
142 // call SkTypeface::Equal on the valid pointers.
150 typefacesEqual = SkTypeface::Equal(m_typeface, a.m_typeface);
160 unsigned h = SkTypeface::UniqueID(m_typeface);
FontCustomPlatformData.cpp 194 SkTypeface* typeface = SkTypeface::CreateFromStream(stream);
  /external/skia/src/animator/
SkPaintParts.h 25 #include "SkTypeface.h"
75 SkTypeface* getTypeface() {
76 return SkTypeface::CreateFromName(fontName.c_str(), style); }
80 SkTypeface::Style style;
SkPaintParts.cpp 91 SkDrawTypeface::SkDrawTypeface() : style (SkTypeface::kNormal){
  /external/skia/src/ports/
SkFontHost_android.cpp 34 bool find_name_and_style(SkStream* stream, SkString* name, SkTypeface::Style* style);
76 SkTypeface* fFaces[4];
86 static SkTypeface* find_best_face(const FamilyRec* family,
87 SkTypeface::Style style) {
88 SkTypeface* const* faces = family->fFaces;
94 style = (SkTypeface::Style)(style ^ SkTypeface::kItalic);
99 if (faces[SkTypeface::kNormal] != NULL) {
100 return faces[SkTypeface::kNormal];
113 static FamilyRec* find_family(const SkTypeface* member)
    [all...]
SkFontHost_FreeType.cpp 1003 bool find_name_and_style(SkStream* stream, SkString* name, SkTypeface::Style* style) {
    [all...]
  /external/webkit/WebKit/android/nav/
FindCanvas.h 79 const SkTypeface* getTypeface() const { return mTypeface; }
86 const SkTypeface* mTypeface;

Completed in 352 milliseconds

1 2