Searched defs:hOffset (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/libs/hwui/hwui/
H A DCanvas.cpp181 DrawTextOnPathFunctor(const Layout& layout, Canvas* canvas, float hOffset, argument
185 , hOffset(hOffset)
195 float x = hOffset + layout.getX(i);
203 float hOffset; member in class:android::DrawTextOnPathFunctor
210 float hOffset, float vOffset, const Paint& paint, Typeface* typeface) {
214 hOffset += MinikinUtils::hOffsetForTextAlign(&paintCopy, layout, path);
221 DrawTextOnPathFunctor f(layout, this, hOffset, vOffset, paintCopy, path);
209 drawTextOnPath(const uint16_t* text, int count, int bidiFlags, const SkPath& path, float hOffset, float vOffset, const Paint& paint, Typeface* typeface) argument
/frameworks/base/libs/hwui/
H A DRecordedOp.h403 const glyph_t* glyphs, int glyphCount, const SkPath* path, float hOffset, float vOffset)
408 , hOffset(hOffset)
414 const float hOffset; member in struct:android::uirenderer::TextOnPathOp
402 TextOnPathOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, const glyph_t* glyphs, int glyphCount, const SkPath* path, float hOffset, float vOffset) argument
H A DDisplayListCanvas.cpp425 const SkPath& path, float hOffset, float vOffset, const SkPaint& paint) {
431 hOffset, vOffset, refPaint(&paint));
424 drawGlyphsOnPath(const uint16_t* glyphs, int count, const SkPath& path, float hOffset, float vOffset, const SkPaint& paint) argument
H A DFontRenderer.cpp675 int numGlyphs, const SkPath* path, float hOffset, float vOffset,
683 mCurrentFont->render(paint, glyphs, numGlyphs, path, hOffset, vOffset);
674 renderTextOnPath(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs, int numGlyphs, const SkPath* path, float hOffset, float vOffset, Rect* bounds, TextDrawFunctor* functor) argument
H A DRecordingCanvas.cpp545 float hOffset, float vOffset, const SkPaint& paint) {
551 refPaint(&paint), glyphs, glyphCount, refPath(&path), hOffset, vOffset));
544 drawGlyphsOnPath(const uint16_t* glyphs, int glyphCount, const SkPath& path, float hOffset, float vOffset, const SkPaint& paint) argument
H A DDisplayListOp.h1289 const SkPath* path, float hOffset, float vOffset, const SkPaint* paint)
1291 mPath(path), mHOffset(hOffset), mVOffset(vOffset) {
1288 DrawTextOnPathOp(const glyph_t* text, int bytesCount, int count, const SkPath* path, float hOffset, float vOffset, const SkPaint* paint) argument
H A DSkiaCanvas.cpp172 float hOffset, float vOffset, const SkPaint& paint) override;
768 float hOffset, float vOffset, const SkPaint& paint) {
769 mCanvas->drawTextOnPathHV(glyphs, count << 1, path, hOffset, vOffset, paint);
767 drawGlyphsOnPath(const uint16_t* glyphs, int count, const SkPath& path, float hOffset, float vOffset, const SkPaint& paint) argument
H A DOpenGLRenderer.cpp2185 const SkPath* path, float hOffset, float vOffset, const SkPaint* paint) {
2210 hOffset, vOffset, hasLayer() ? &bounds : nullptr, &functor)) {
2184 drawTextOnPath(const glyph_t* glyphs, int bytesCount, int count, const SkPath* path, float hOffset, float vOffset, const SkPaint* paint) argument
/frameworks/base/libs/hwui/font/
H A DFont.cpp237 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, float x, float hOffset, float vOffset, argument
245 bool ok = measure.getPosTan(x + hOffset + glyph->mBitmapLeft + halfWidth, position, tangent);
301 const SkPath* path, float hOffset, float vOffset) {
339 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent);
300 render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, const SkPath* path, float hOffset, float vOffset) argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java284 public void drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, argument
289 public void drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint) { argument
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp530 jint index, jint count, jlong pathHandle, jfloat hOffset,
540 hOffset, vOffset, *paint, typeface);
546 jlong pathHandle, jfloat hOffset, jfloat vOffset,
556 hOffset, vOffset, *paint, typeface);
529 drawTextOnPathChars(JNIEnv* env, jobject, jlong canvasHandle, jcharArray text, jint index, jint count, jlong pathHandle, jfloat hOffset, jfloat vOffset, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
545 drawTextOnPathString(JNIEnv* env, jobject, jlong canvasHandle, jstring text, jlong pathHandle, jfloat hOffset, jfloat vOffset, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java978 float hOffset,
989 float hOffset,
975 native_drawTextOnPath(long nativeCanvas, char[] text, int index, int count, long path, float hOffset, float vOffset, int bidiFlags, long paint, long typeface) argument
987 native_drawTextOnPath(long nativeCanvas, String text, long path, float hOffset, float vOffset, int bidiFlags, long paint, long typeface) argument
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1886 * @param hOffset The distance along the path to add to the text's
1893 float hOffset, float vOffset, @NonNull Paint paint) {
1898 path.ni(), hOffset, vOffset,
1909 * @param hOffset The distance along the path to add to the text's
1915 public void drawTextOnPath(@NonNull String text, @NonNull Path path, float hOffset, argument
1918 native_drawTextOnPath(mNativeCanvasWrapper, text, path.ni(), hOffset, vOffset,
2138 float hOffset,
2143 float hOffset,
1892 drawTextOnPath(@onNull char[] text, int index, int count, @NonNull Path path, float hOffset, float vOffset, @NonNull Paint paint) argument
2135 native_drawTextOnPath(long nativeCanvas, char[] text, int index, int count, long nativePath, float hOffset, float vOffset, int bidiFlags, long nativePaint, long nativeTypeface) argument
2141 native_drawTextOnPath(long nativeCanvas, String text, long nativePath, float hOffset, float vOffset, int flags, long nativePaint, long nativeTypeface) argument

Completed in 653 milliseconds