HomeSort by relevance Sort by last modified time
    Searched full:origpaint (Results 1 - 25 of 32) sorted by null

1 2

  /frameworks/base/libs/hwui/pipeline/skia/
SkiaRecordingCanvas.h 92 inline static const SkPaint* bitmapPaint(const SkPaint* origPaint, SkPaint* tmpPaint,
96 if (origPaint) {
99 fixBlending = sApiLevel <= 27 && origPaint->getBlendMode() == SkBlendMode::kClear;
100 fixAA = origPaint->isAntiAlias();
104 if (origPaint) {
105 *tmpPaint = *origPaint;
126 return origPaint;
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowPaintTest.java 78 Paint origPaint = new Paint();
79 assertThat(new Paint(origPaint).getTextLocale()).isSameAs(origPaint.getTextLocale());
  /external/skqp/src/gpu/text/
GrTextUtils.cpp 109 const SkPaint& origPaint, const SkMatrix& viewMatrix,
113 if (!origPaint.countText(text, byteLength)) {
117 SkPaint paint(origPaint);
138 paint.setStyle(origPaint.getStyle());
139 paint.setPathEffect(origPaint.refPathEffect());
  /frameworks/base/libs/hwui/
SkiaCanvasProxy.cpp 250 GlyphIDConverter(const void* text, size_t byteLength, const SkPaint& origPaint) {
251 paint = origPaint;
273 const SkPaint& origPaint) {
275 GlyphIDConverter glyphs(text, byteLength, origPaint);
341 const SkPaint& origPaint) {
343 GlyphIDConverter glyphs(text, byteLength, origPaint);
394 const SkMatrix* matrix, const SkPaint& origPaint) {
SkiaCanvas.h 177 const SkPaint* addFilter(const SkPaint* origPaint, SkPaint* tmpPaint,
SkiaCanvas.cpp 544 const SkPaint* SkiaCanvas::addFilter(const SkPaint* origPaint, SkPaint* tmpPaint,
553 if (origPaint) {
554 *tmpPaint = *origPaint;
567 return origPaint;
  /external/skqp/gm/
strokes.cpp 387 SkPaint origPaint;
388 origPaint.setAntiAlias(true);
389 origPaint.setStyle(SkPaint::kStroke_Style);
390 SkPaint fillPaint(origPaint);
392 SkPaint strokePaint(origPaint);
414 canvas->drawPath(orig, origPaint);
imagefiltersbase.cpp 265 void drawWaterfall(SkCanvas* canvas, const SkPaint& origPaint) {
271 SkPaint paint(origPaint);
textbloblooper.cpp 28 static void add_to_text_blob(SkTextBlobBuilder* builder, const char* text, const SkPaint& origPaint,
30 SkPaint paint(origPaint);
  /external/skia/src/core/
SkDraw.cpp 42 const SkPaint& origPaint, const SkBitmap& bitmap, SkMatrix* matrix = nullptr) {
43 SkPaint paint(origPaint);
    [all...]
SkBlitter.cpp 932 const SkPaint& origPaint,
944 auto* shader = as_SB(origPaint.getShader());
945 SkColorFilter* cf = origPaint.getColorFilter();
946 SkBlendMode mode = origPaint.getBlendMode();
949 SkTCopyOnFirstWrite<SkPaint> paint(origPaint);
951 if (origPaint.getMaskFilter() != nullptr &&
952 as_MFB(origPaint.getMaskFilter())->getFormat() == SkMask::k3D_Format) {
    [all...]
SkBitmapDevice.cpp 378 void SkBitmapDevice::drawDevice(SkBaseDevice* device, int x, int y, const SkPaint& origPaint) {
379 SkASSERT(!origPaint.getImageFilter());
382 SkTCopyOnFirstWrite<SkPaint> paint(origPaint);
416 void SkBitmapDevice::drawSpecial(SkSpecialImage* src, int x, int y, const SkPaint& origPaint,
421 SkTCopyOnFirstWrite<SkPaint> paint(origPaint);
  /external/skqp/src/core/
SkDraw.cpp 41 const SkPaint& origPaint, const SkBitmap& bitmap, SkMatrix* matrix = nullptr) {
42 SkPaint paint(origPaint);
    [all...]
SkBlitter.cpp 929 const SkPaint& origPaint,
941 auto* shader = as_SB(origPaint.getShader());
942 SkColorFilter* cf = origPaint.getColorFilter();
943 SkBlendMode mode = origPaint.getBlendMode();
946 SkTCopyOnFirstWrite<SkPaint> paint(origPaint);
948 if (origPaint.getMaskFilter() != nullptr &&
949 as_MFB(origPaint.getMaskFilter())->getFormat() == SkMask::k3D_Format) {
    [all...]
  /external/skia/src/gpu/
SkGpuDevice.cpp 555 const SkPaint& origPaint) {
560 SkASSERT(SkPaint::kRound_Cap != origPaint.getStrokeCap());
561 SkASSERT(SkPaint::kStroke_Style == origPaint.getStyle());
562 SkASSERT(!origPaint.getPathEffect());
563 SkASSERT(!origPaint.getMaskFilter());
565 const SkScalar halfWidth = 0.5f * origPaint.getStrokeWidth();
576 SkPaint newPaint(origPaint);
580 if (SkPaint::kButt_Cap != origPaint.getStrokeCap()) {
    [all...]
  /external/skia/tools/
sk_tool_utils.cpp 123 const SkPaint& origPaint, SkScalar x, SkScalar y) {
124 SkPaint paint(origPaint);
137 const SkPaint& origPaint, SkScalar x, SkScalar y) {
138 add_to_text_blob_w_len(builder, text, strlen(text), origPaint, x, y);
sk_tool_utils.h 125 const SkPaint& origPaint, SkScalar x, SkScalar y);
128 const SkPaint& origPaint, SkScalar x, SkScalar y);
  /external/skia/gm/
imagefiltersbase.cpp 265 void drawWaterfall(SkCanvas* canvas, const SkPaint& origPaint) {
271 SkPaint paint(origPaint);
textbloblooper.cpp 28 static void add_to_text_blob(SkTextBlobBuilder* builder, const char* text, const SkPaint& origPaint,
30 SkPaint paint(origPaint);
strokes.cpp 387 SkPaint origPaint;
388 origPaint.setAntiAlias(true);
389 origPaint.setStyle(SkPaint::kStroke_Style);
390 SkPaint fillPaint(origPaint);
392 SkPaint strokePaint(origPaint);
414 canvas->drawPath(orig, origPaint);
    [all...]
  /external/skqp/tools/
sk_tool_utils.h 122 const SkPaint& origPaint, SkScalar x, SkScalar y);
125 const SkPaint& origPaint, SkScalar x, SkScalar y);
sk_tool_utils.cpp 183 const SkPaint& origPaint, SkScalar x, SkScalar y) {
184 SkPaint paint(origPaint);
197 const SkPaint& origPaint, SkScalar x, SkScalar y) {
198 add_to_text_blob_w_len(builder, text, strlen(text), origPaint, x, y);
  /frameworks/base/libs/hwui/hwui/
Canvas.cpp 160 float y, minikin::Bidi bidiFlags, const Paint& origPaint,
163 Paint paint(origPaint);
  /external/skia/src/gpu/text/
GrAtlasTextContext.cpp 447 const GrTextUtils::Paint& origPaint,
457 SkPaint pathPaint(origPaint);
478 fallbackTextHelper.drawText(blob, runIndex, glyphCache, props, origPaint, scalerContextFlags);
484 const GrTextUtils::Paint& origPaint,
498 SkPaint pathPaint(origPaint);
500 FallbackTextHelper fallbackTextHelper(viewMatrix, origPaint, glyphCache, matrixScale);
537 fallbackTextHelper.drawText(blob, runIndex, glyphCache, props, origPaint, scalerContextFlags);
    [all...]
  /external/skqp/src/gpu/
SkGpuDevice.cpp 559 const SkPaint& origPaint) {
564 SkASSERT(SkPaint::kRound_Cap != origPaint.getStrokeCap());
565 SkASSERT(SkPaint::kStroke_Style == origPaint.getStyle());
566 SkASSERT(!origPaint.getPathEffect());
567 SkASSERT(!origPaint.getMaskFilter());
569 const SkScalar halfWidth = 0.5f * origPaint.getStrokeWidth();
580 SkPaint newPaint(origPaint);
584 if (SkPaint::kButt_Cap != origPaint.getStrokeCap()) {
    [all...]

Completed in 3201 milliseconds

1 2