Home
last modified time | relevance | path

Searched refs:gTypes (Results 1 – 3 of 3) sorted by relevance

/external/skia/samplecode/
DSampleEncode.cpp95 static const SkImageEncoder::Type gTypes[] = { variable
122 for (size_t j = 0; j < SK_ARRAY_COUNT(gTypes); j++) { in EncodeView()
124 SkImageEncoder::Create(gTypes[j])); in EncodeView()
136 if (SkImageEncoder::kJPEG_Type == gTypes[j]) { in EncodeView()
138 } else if (SkImageEncoder::kPNG_Type == gTypes[j]) { in EncodeView()
185 for (size_t j = 0; j < SK_ARRAY_COUNT(gTypes); j++) { in onDrawContent()
190 if (SkImageEncoder::kJPEG_Type == gTypes[j]) { in onDrawContent()
192 } else if (SkImageEncoder::kPNG_Type == gTypes[j]) { in onDrawContent()
/external/icu/icu4c/source/i18n/
Dmeasunit.cpp81 static const char * const gTypes[] = { variable
1024 return gTypes[fTypeId]; in getType()
1061 for (int32_t typeIdx = 0; typeIdx < UPRV_LENGTHOF(gTypes); ++typeIdx) { in getAvailable()
1080 int32_t typeIdx = binarySearch(gTypes, 0, UPRV_LENGTHOF(gTypes), type); in getAvailable()
1097 gTypes, UPRV_LENGTHOF(gTypes), &errorCode); in getAvailableTypes()
1155 int32_t result = binarySearch(gTypes, 0, UPRV_LENGTHOF(gTypes), "duration"); in initTime()
1164 int32_t result = binarySearch(gTypes, 0, UPRV_LENGTHOF(gTypes), "currency"); in initCurrency()
/external/skia/src/views/mac/
DSkOSWindow_Mac.cpp130 static const EventTypeSpec gTypes[] = { in SkOSWindow() local
144 int count = SK_ARRAY_COUNT(gTypes); in SkOSWindow()
147 count, gTypes, this, nil); in SkOSWindow()