Home
last modified time | relevance | path

Searched refs:hOffset (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp597 DrawTextOnPathFunctor(const Layout& layout, Canvas* canvas, float hOffset, in DrawTextOnPathFunctor() argument
599 : layout(layout), canvas(canvas), hOffset(hOffset), vOffset(vOffset), in DrawTextOnPathFunctor()
606 float x = hOffset + layout.getX(i); in operator ()()
614 float hOffset; member in android::CanvasJNI::DrawTextOnPathFunctor
621 const SkPath& path, float hOffset, float vOffset, in drawTextOnPath() argument
626 hOffset += MinikinUtils::hOffsetForTextAlign(&paintCopy, layout, path); in drawTextOnPath()
633 DrawTextOnPathFunctor f(layout, canvas, hOffset, vOffset, paintCopy, path); in drawTextOnPath()
638 jint index, jint count, jlong pathHandle, jfloat hOffset, in drawTextOnPathChars() argument
648 hOffset, vOffset, *paint, typeface); in drawTextOnPathChars()
654 jlong pathHandle, jfloat hOffset, jfloat vOffset, in drawTextOnPathString() argument
[all …]
Dandroid_view_GLES20Canvas.cpp663 RenderTextOnPathFunctor(const Layout& layout, DisplayListRenderer* renderer, float hOffset, in RenderTextOnPathFunctor() argument
665 : layout(layout), renderer(renderer), hOffset(hOffset), vOffset(vOffset), in RenderTextOnPathFunctor()
672 float x = hOffset + layout.getX(i); in operator ()()
680 float hOffset; member in android::RenderTextOnPathFunctor
687 SkPath* path, jfloat hOffset, jfloat vOffset, int bidiFlags, Paint* paint, in renderTextOnPath() argument
691 hOffset += MinikinUtils::hOffsetForTextAlign(paint, layout, *path); in renderTextOnPath()
695 RenderTextOnPathFunctor f(layout, renderer, hOffset, vOffset, paint, path); in renderTextOnPath()
735 jlong pathPtr, jfloat hOffset, jfloat vOffset, jint bidiFlags, jlong paintPtr, in android_view_GLES20Canvas_drawTextArrayOnPath() argument
744 hOffset, vOffset, bidiFlags, paint, typeface); in android_view_GLES20Canvas_drawTextArrayOnPath()
750 jlong pathPtr, jfloat hOffset, jfloat vOffset, jint bidiFlags, jlong paintPtr, in android_view_GLES20Canvas_drawTextOnPath() argument
[all …]
/frameworks/base/libs/hwui/font/
DFont.h88 int numGlyphs, const SkPath* path, float hOffset, float vOffset);
140 void drawCachedGlyph(CachedGlyphInfo* glyph, float x, float hOffset, float vOffset,
DFont.cpp243 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, float x, float hOffset, float vOffset, in drawCachedGlyph() argument
251 bool ok = measure.getPosTan(x + hOffset + glyph->mBitmapLeft + halfWidth, position, tangent); in drawCachedGlyph()
306 int numGlyphs, const SkPath* path, float hOffset, float vOffset) { in render() argument
346 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent); in render()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java137 int hOffset = (int) Math.ceil(calculateHorizontalPadding(mRawMaxShadowSize, mCornerRadius, in getPadding() local
139 padding.set(hOffset, vOffset, hOffset, vOffset); in getPadding()
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
DRoundRectDrawableWithShadow.java150 int hOffset = (int) Math.ceil(calculateHorizontalPadding(mRawMaxShadowSize, mCornerRadius, in getPadding() local
152 padding.set(hOffset, vOffset, hOffset, vOffset); in getPadding()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DSpinnerCompat.java1018 int hOffset = 0; in computeContentWidth() local
1021 hOffset = ViewUtils.isLayoutRtl(SpinnerCompat.this) ? mTempRect.right in computeContentWidth()
1046 hOffset += spinnerWidth - spinnerPaddingRight - getWidth(); in computeContentWidth()
1048 hOffset += spinnerPaddingLeft; in computeContentWidth()
1050 setHorizontalOffset(hOffset); in computeContentWidth()
/frameworks/base/core/java/android/widget/
DSpinner.java1096 int hOffset = 0; in computeContentWidth() local
1099 hOffset = isLayoutRtl() ? mTempRect.right : -mTempRect.left; in computeContentWidth()
1125 hOffset += spinnerWidth - spinnerPaddingRight - getWidth(); in computeContentWidth()
1127 hOffset += spinnerPaddingLeft; in computeContentWidth()
1129 setHorizontalOffset(hOffset); in computeContentWidth()
/frameworks/base/core/java/android/view/
DGLES20Canvas.java923 public void drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, in drawTextOnPath() argument
929 nDrawTextOnPath(mRenderer, text, index, count, path.mNativePath, hOffset, vOffset, in drawTextOnPath()
934 long path, float hOffset, float vOffset, int bidiFlags, long nativePaint, in nDrawTextOnPath() argument
938 public void drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint) { in drawTextOnPath() argument
941 nDrawTextOnPath(mRenderer, text, 0, text.length(), path.mNativePath, hOffset, vOffset, in drawTextOnPath()
946 long path, float hOffset, float vOffset, int bidiFlags, long nativePaint, in nDrawTextOnPath() argument
/frameworks/base/graphics/java/android/graphics/
DCanvas.java1805 float hOffset, float vOffset, @NonNull Paint paint) { in drawTextOnPath() argument
1810 path.ni(), hOffset, vOffset, in drawTextOnPath()
1827 public void drawTextOnPath(@NonNull String text, @NonNull Path path, float hOffset, in drawTextOnPath() argument
1830 native_drawTextOnPath(mNativeCanvasWrapper, text, path.ni(), hOffset, vOffset, in drawTextOnPath()
2040 float hOffset, in native_drawTextOnPath() argument
2045 float hOffset, in native_drawTextOnPath() argument
/frameworks/base/include/private/graphics/
DCanvas.h130 float hOffset, float vOffset, const SkPaint& paint) = 0;
/frameworks/base/core/jni/android/graphics/
DSkiaCanvas.cpp125 float hOffset, float vOffset, const SkPaint& paint);
707 float hOffset, float vOffset, const SkPaint& paint) { in drawTextOnPath() argument
708 mCanvas->drawTextOnPathHV(glyphs, count, path, hOffset, vOffset, paint); in drawTextOnPath()
/frameworks/base/libs/hwui/
DRenderer.h207 float hOffset, float vOffset, const SkPaint* paint) = 0;
DFontRenderer.h111 float hOffset, float vOffset, Rect* bounds, Functor* functor);
DDisplayListRenderer.cpp356 const SkPath* path, float hOffset, float vOffset, const SkPaint* paint) { in drawTextOnPath() argument
364 hOffset, vOffset, paint); in drawTextOnPath()
DDisplayListRenderer.h146 float hOffset, float vOffset, const SkPaint* paint);
DFontRenderer.cpp710 float hOffset, float vOffset, Rect* bounds, Functor* functor) { in renderTextOnPath() argument
717 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, path, hOffset, vOffset); in renderTextOnPath()
DOpenGLRenderer.h199 float hOffset, float vOffset, const SkPaint* paint);
DDisplayListOp.h1335 const SkPath* path, float hOffset, float vOffset, const SkPaint* paint) in DrawTextOnPathOp() argument
1337 mPath(path), mHOffset(hOffset), mVOffset(vOffset) { in DrawTextOnPathOp()
DOpenGLRenderer.cpp2891 const SkPath* path, float hOffset, float vOffset, const SkPaint* paint) {
2914 hOffset, vOffset, hasActiveLayer ? &bounds : NULL, &functor)) {
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java884 float hOffset, in native_drawTextOnPath() argument
895 float hOffset, in native_drawTextOnPath() argument