Home
last modified time | relevance | path

Searched refs:patternOffset (Results 1 – 5 of 5) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/cairo/
DGraphicsContextCairo.cpp340 float patternOffset = 0; in drawLine() local
343 patternOffset = 1.0; in drawLine()
350 patternOffset += patWidth - remainder; in drawLine()
351 patternOffset += remainder / 2; in drawLine()
353 patternOffset = patWidth / 2; in drawLine()
356 patternOffset = (patWidth - remainder) / 2; in drawLine()
361 cairo_set_dash(cr, &dash, 1, patternOffset); in drawLine()
457 float patternOffset = 0.0; in strokeArc() local
460 patternOffset = 1.0; in strokeArc()
467 patternOffset += patWidth - remainder; in strokeArc()
[all …]
/external/webkit/Source/WebCore/platform/graphics/cg/
DGraphicsContextCG.cpp265 float patternOffset = 0.0f; in drawLine() local
268 patternOffset = 1.0f; in drawLine()
275 patternOffset += patWidth - remainder; in drawLine()
276 patternOffset += remainder / 2; in drawLine()
278 patternOffset = patWidth / 2; in drawLine()
281 patternOffset = (patWidth - remainder)/2; in drawLine()
286 CGContextSetLineDash(context, patternOffset, dottedLine, 2); in drawLine()
373 float patternOffset = 0.0f; in strokeArc() local
376 patternOffset = 1.0f; in strokeArc()
383 patternOffset += patWidth - remainder; in strokeArc()
[all …]
/external/icu4c/i18n/unicode/
Dsmpdtfmt.h951 static UBool isAtNumericField(const UnicodeString &pattern, int32_t patternOffset);
956 static UBool isAfterNonNumericField(const UnicodeString &pattern, int32_t patternOffset);
1039 static UBool matchLiterals(const UnicodeString &pattern, int32_t &patternOffset,
/external/icu4c/i18n/
Dsmpdtfmt.cpp1577 SimpleDateFormat::isAtNumericField(const UnicodeString &pattern, int32_t patternOffset) { in isAtNumericField() argument
1578 if (patternOffset >= pattern.length()) { in isAtNumericField()
1582 UChar ch = pattern.charAt(patternOffset); in isAtNumericField()
1588 int32_t i = patternOffset; in isAtNumericField()
1590 return DateFormatSymbols::isNumericField(f, i - patternOffset); in isAtNumericField()
1594 SimpleDateFormat::isAfterNonNumericField(const UnicodeString &pattern, int32_t patternOffset) { in isAfterNonNumericField() argument
1595 if (patternOffset <= 0) { in isAfterNonNumericField()
1599 UChar ch = pattern.charAt(--patternOffset); in isAfterNonNumericField()
1605 int32_t i = patternOffset; in isAfterNonNumericField()
1607 return !DateFormatSymbols::isNumericField(f, patternOffset - i); in isAfterNonNumericField()
[all …]
/external/webkit/Source/WebCore/platform/graphics/qt/
DGraphicsContextQt.cpp393 float patternOffset = 0.0f; in drawLine() local
396 patternOffset = 1.0f; in drawLine()
403 patternOffset += patWidth - remainder; in drawLine()
404 patternOffset += remainder / 2; in drawLine()
406 patternOffset = patWidth / 2; in drawLine()
409 patternOffset = (patWidth - remainder) / 2; in drawLine()
420 pen.setDashOffset(patternOffset / width); in drawLine()