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.cpp651 RenderTextOnPathFunctor(const Layout& layout, DisplayListRenderer* renderer, float hOffset, in RenderTextOnPathFunctor() argument
653 : layout(layout), renderer(renderer), hOffset(hOffset), vOffset(vOffset), in RenderTextOnPathFunctor()
660 float x = hOffset + layout.getX(i); in operator ()()
668 float hOffset; member in android::RenderTextOnPathFunctor
675 SkPath* path, jfloat hOffset, jfloat vOffset, int bidiFlags, Paint* paint, in renderTextOnPath() argument
679 hOffset += MinikinUtils::hOffsetForTextAlign(paint, layout, *path); in renderTextOnPath()
683 RenderTextOnPathFunctor f(layout, renderer, hOffset, vOffset, paint, path); in renderTextOnPath()
723 jlong pathPtr, jfloat hOffset, jfloat vOffset, jint bidiFlags, jlong paintPtr, in android_view_GLES20Canvas_drawTextArrayOnPath() argument
732 hOffset, vOffset, bidiFlags, paint, typeface); in android_view_GLES20Canvas_drawTextArrayOnPath()
738 jlong pathPtr, jfloat hOffset, jfloat vOffset, jint bidiFlags, jlong paintPtr, in android_view_GLES20Canvas_drawTextOnPath() argument
[all …]
/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/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/support/v7/cardview/eclair-mr1/android/support/v7/widget/
DRoundRectDrawableWithShadow.java160 int hOffset = (int) Math.ceil(calculateHorizontalPadding(mRawMaxShadowSize, mCornerRadius, in getPadding() local
162 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/graphics/java/android/graphics/
DCanvas.java1865 float hOffset, float vOffset, @NonNull Paint paint) { in drawTextOnPath() argument
1870 path.ni(), hOffset, vOffset, in drawTextOnPath()
1887 public void drawTextOnPath(@NonNull String text, @NonNull Path path, float hOffset, in drawTextOnPath() argument
1890 native_drawTextOnPath(mNativeCanvasWrapper, text, path.ni(), hOffset, vOffset, in drawTextOnPath()
2100 float hOffset, in native_drawTextOnPath() argument
2105 float hOffset, in native_drawTextOnPath() argument
/frameworks/base/core/java/android/view/
DGLES20Canvas.java925 public void drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, in drawTextOnPath() argument
931 nDrawTextOnPath(mRenderer, text, index, count, path.mNativePath, hOffset, vOffset, in drawTextOnPath()
936 long path, float hOffset, float vOffset, int bidiFlags, long nativePaint, in nDrawTextOnPath() argument
940 public void drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint) { in drawTextOnPath() argument
943 nDrawTextOnPath(mRenderer, text, 0, text.length(), path.mNativePath, hOffset, vOffset, in drawTextOnPath()
948 long path, float hOffset, float vOffset, int bidiFlags, long nativePaint, in nDrawTextOnPath() 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.h216 float hOffset, float vOffset, const SkPaint* paint) = 0;
DFontRenderer.h111 float hOffset, float vOffset, Rect* bounds, Functor* functor);
DDisplayListRenderer.cpp359 const SkPath* path, float hOffset, float vOffset, const SkPaint* paint) { in drawTextOnPath() argument
367 hOffset, vOffset, paint); in drawTextOnPath()
DDisplayListRenderer.h148 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.h190 float hOffset, float vOffset, const SkPaint* paint);
DDisplayListOp.h1332 const SkPath* path, float hOffset, float vOffset, const SkPaint* paint) in DrawTextOnPathOp() argument
1334 mPath(path), mHOffset(hOffset), mVOffset(vOffset) { in DrawTextOnPathOp()
DOpenGLRenderer.cpp2838 const SkPath* path, float hOffset, float vOffset, const SkPaint* paint) {
2861 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