Home
last modified time | relevance | path

Searched refs:paintPtr (Results 1 – 10 of 10) sorted by relevance

/external/robolectric/nativeruntime/src/main/java/org/robolectric/nativeruntime/
DPaintNatives.java74 public static native int nGetColor(long paintPtr); in nGetColor() argument
76 public static native int nGetAlpha(long paintPtr); in nGetAlpha() argument
79 long paintPtr, in nGetTextAdvances() argument
91 long paintPtr, in nGetTextAdvances() argument
103 long paintPtr, in nGetTextAdvances() argument
114 long paintPtr, in nGetTextAdvances() argument
125 long paintPtr, in nGetTextRunCursor() argument
134 long paintPtr, in nGetTextRunCursor() argument
143 long paintPtr, in nGetTextRunCursor() argument
153 long paintPtr, in nGetTextRunCursor() argument
[all …]
DMeasuredTextBuilderNatives.java34 /* Non Zero */ long paintPtr, in nAddStyleRun() argument
41 /* Non Zero */ long paintPtr, in nAddReplacementRun() argument
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNativePaint.java50 protected static int nGetHyphenEdit(long paintPtr) { in nGetHyphenEdit() argument
51 return PaintNatives.nGetEndHyphenEdit(paintPtr); in nGetHyphenEdit()
55 protected static void nSetHyphenEdit(long paintPtr, int hyphen) { in nSetHyphenEdit() argument
56 PaintNatives.nSetStartHyphenEdit(paintPtr, 0); in nSetHyphenEdit()
57 PaintNatives.nSetEndHyphenEdit(paintPtr, hyphen); in nSetHyphenEdit()
119 long paintPtr, in nGetTextAdvances() argument
129 paintPtr, in nGetTextAdvances()
142 long paintPtr, in nGetTextAdvances() argument
152 paintPtr, text, start, end, contextStart, contextEnd, bidiFlags, advances, advancesIndex); in nGetTextAdvances()
157 long paintPtr, in nGetTextAdvances() argument
[all …]
DShadowNativeMeasuredText.java64 /* Non Zero */ long paintPtr, in nAddStyleRun() argument
68 MeasuredTextBuilderNatives.nAddStyleRun(nativeBuilderPtr, paintPtr, start, end, isRtl); in nAddStyleRun()
74 /* Non Zero */ long paintPtr, in nAddStyleRun() argument
80 MeasuredTextBuilderNatives.nAddStyleRun(nativeBuilderPtr, paintPtr, start, end, isRtl); in nAddStyleRun()
86 /* Non Zero */ long paintPtr, in nAddReplacementRun() argument
90 MeasuredTextBuilderNatives.nAddReplacementRun(nativeBuilderPtr, paintPtr, start, end, width); in nAddReplacementRun()
DShadowNativeMeasuredParagraph.java25 long nativeBuilderPtr, long paintPtr, int start, int end, boolean isRtl) { in nAddStyleRun() argument
26 MeasuredTextBuilderNatives.nAddStyleRun(nativeBuilderPtr, paintPtr, start, end, isRtl); in nAddStyleRun()
31 long nativeBuilderPtr, long paintPtr, int start, int end, float width) { in nAddReplacementRun() argument
32 MeasuredTextBuilderNatives.nAddReplacementRun(nativeBuilderPtr, paintPtr, start, end, width); in nAddReplacementRun()
DShadowPaint.java502 protected static int nGetFontMetricsInt(long paintPtr, FontMetricsInt fmi) { in nGetFontMetricsInt() argument
539 long paintPtr, in nGetRunAdvance() argument
556 long paintPtr, in nGetRunAdvance() argument
565 return nGetRunAdvance(paintPtr, text, start, end, contextStart, contextEnd, isRtl, offset); in nGetRunAdvance()
/external/skia/tests/
DShaderImageFilterTest.cpp79 const SkPMColor* paintPtr = paintResult.getAddr32(0, y); in test_unscaled() local
80 for (int x = 0; x < kWidth; ++x, ++filterPtr, ++paintPtr) { in test_unscaled()
81 REPORTER_ASSERT(reporter, *filterPtr == *paintPtr); in test_unscaled()
129 const SkPMColor* paintPtr = paintResult.getAddr32(0, y); in test_scaled() local
130 for (int x = 0; x < kWidth; ++x, ++filterPtr, ++paintPtr) { in test_scaled()
131 REPORTER_ASSERT(reporter, *filterPtr == *paintPtr); in test_scaled()
/external/skia/src/core/
DSkOverdrawCanvas.cpp160 SkPaint* paintPtr = &fPaint; in onDrawAtlas2() local
164 paintPtr = &storage; in onDrawAtlas2()
167 fList[0]->onDrawAtlas2(image, xform, texs, colors, count, mode, sampling, cull, paintPtr); in onDrawAtlas2()
DSkTextBlob.cpp946 const SkPaint* paintPtr) const { in getIntercepts()
951 const SkPaint paint(paintPtr ? *paintPtr : SkPaint()); in getIntercepts()
/external/skia/bench/
DVertBench.cpp219 const SkPaint* paintPtr = nullptr; in onDraw() local
229 SkSamplingOptions(), cullRect, paintPtr); in onDraw()