Lines Matching refs:ttcIndex
87 virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE {
88 *ttcIndex = fIndex;
118 virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE {
119 *ttcIndex = fIndex;
159 const int ttcIndex = fontFile.fIndex;
163 if (!SkTypeface_FreeType::ScanFont(stream.get(), ttcIndex,
183 (pathName, ttcIndex,
424 virtual SkTypeface* onCreateFromData(SkData* data, int ttcIndex) const SK_OVERRIDE {
426 return this->createFromStream(stream, ttcIndex);
429 virtual SkTypeface* onCreateFromFile(const char path[], int ttcIndex) const SK_OVERRIDE {
431 return stream.get() ? this->createFromStream(stream, ttcIndex) : NULL;
434 virtual SkTypeface* onCreateFromStream(SkStream* stream, int ttcIndex) const SK_OVERRIDE {
438 if (!SkTypeface_FreeType::ScanFont(stream, ttcIndex, &name, &style, &isFixedPitch)) {
441 return SkNEW_ARGS(SkTypeface_AndroidStream, (stream, ttcIndex,