Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DCanvas.cpp181 DrawTextOnPathFunctor(const Layout& layout, Canvas* canvas, float hOffset, in DrawTextOnPathFunctor() argument
185 , hOffset(hOffset) in DrawTextOnPathFunctor()
195 float x = hOffset + layout.getX(i); in operator ()()
203 float hOffset; member in android::DrawTextOnPathFunctor
210 float hOffset, float vOffset, const Paint& paint, Typeface* typeface) { in drawTextOnPath() argument
214 hOffset += MinikinUtils::hOffsetForTextAlign(&paintCopy, layout, path); in drawTextOnPath()
221 DrawTextOnPathFunctor f(layout, this, hOffset, vOffset, paintCopy, path); in drawTextOnPath()
DCanvas.h233 float hOffset, float vOffset, const Paint& paint, Typeface* typeface);
248 float hOffset, float vOffset, const SkPaint& paint) = 0;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java138 int hOffset = (int) Math.ceil(calculateHorizontalPadding(mRawMaxShadowSize, mCornerRadius, in getPadding() local
140 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.cpp237 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, float x, float hOffset, float vOffset, in drawCachedGlyph() argument
245 bool ok = measure.getPosTan(x + hOffset + glyph->mBitmapLeft + halfWidth, position, tangent); in drawCachedGlyph()
301 const SkPath* path, float hOffset, float vOffset) { in render() argument
339 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent); in render()
/frameworks/base/libs/hwui/
DRecordedOp.h403 const glyph_t* glyphs, int glyphCount, const SkPath* path, float hOffset, float vOffset) in TextOnPathOp()
408 , hOffset(hOffset) in TextOnPathOp()
414 const float hOffset; member
DFontRenderer.h116 float hOffset, float vOffset, Rect* outBounds, TextDrawFunctor* functor);
DSkiaCanvas.cpp172 float hOffset, float vOffset, const SkPaint& paint) override;
768 float hOffset, float vOffset, const SkPaint& paint) { in drawGlyphsOnPath() argument
769 mCanvas->drawTextOnPathHV(glyphs, count << 1, path, hOffset, vOffset, paint); in drawGlyphsOnPath()
DDisplayListCanvas.cpp425 const SkPath& path, float hOffset, float vOffset, const SkPaint& paint) { in drawGlyphsOnPath() argument
431 hOffset, vOffset, refPaint(&paint)); in drawGlyphsOnPath()
DRecordingCanvas.cpp563 float hOffset, float vOffset, const SkPaint& paint) { in drawGlyphsOnPath() argument
569 refPaint(&paint), glyphs, glyphCount, refPath(&path), hOffset, vOffset)); in drawGlyphsOnPath()
DFontRenderer.cpp675 int numGlyphs, const SkPath* path, float hOffset, float vOffset, in renderTextOnPath() argument
683 mCurrentFont->render(paint, glyphs, numGlyphs, path, hOffset, vOffset); in renderTextOnPath()
DRecordingCanvas.h200 float hOffset, float vOffset, const SkPaint& paint) override;
DDisplayListCanvas.h217 float hOffset, float vOffset, const SkPaint& paint) override;
DOpenGLRenderer.h195 float hOffset, float vOffset, const SkPaint* paint);
DDisplayListOp.h1289 const SkPath* path, float hOffset, float vOffset, const SkPaint* paint) in DrawTextOnPathOp() argument
1291 mPath(path), mHOffset(hOffset), mVOffset(vOffset) { in DrawTextOnPathOp()
DOpenGLRenderer.cpp2185 const SkPath* path, float hOffset, float vOffset, const SkPaint* paint) {
2210 hOffset, vOffset, hasLayer() ? &bounds : nullptr, &functor)) {
DBakedOpDispatcher.cpp770 op.path, op.hOffset, op.vOffset, in onTextOnPathOp()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatSpinner.java736 int hOffset = 0; in computeContentWidth() local
739 hOffset = ViewUtils.isLayoutRtl(AppCompatSpinner.this) ? mTempRect.right in computeContentWidth()
764 hOffset += spinnerWidth - spinnerPaddingRight - getWidth(); in computeContentWidth()
766 hOffset += spinnerPaddingLeft; in computeContentWidth()
768 setHorizontalOffset(hOffset); in computeContentWidth()
/frameworks/support/v7/cardview/gingerbread/android/support/v7/widget/
DRoundRectDrawableWithShadow.java175 int hOffset = (int) Math.ceil(calculateHorizontalPadding(mRawMaxShadowSize, mCornerRadius, in getPadding() local
177 padding.set(hOffset, vOffset, hOffset, vOffset); in getPadding()
/frameworks/support/design/base/android/support/design/widget/
DShadowDrawableWrapper.java150 int hOffset = (int) Math.ceil(calculateHorizontalPadding(mRawMaxShadowSize, mCornerRadius, in getPadding() local
152 padding.set(hOffset, vOffset, hOffset, vOffset); in getPadding()
/frameworks/base/core/java/android/widget/
DSpinner.java1193 int hOffset = 0; in computeContentWidth() local
1196 hOffset = isLayoutRtl() ? mTempRect.right : -mTempRect.left; in computeContentWidth()
1222 hOffset += spinnerWidth - spinnerPaddingRight - getWidth(); in computeContentWidth()
1224 hOffset += spinnerPaddingLeft; in computeContentWidth()
1226 setHorizontalOffset(hOffset); in computeContentWidth()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java284 public void drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, in drawTextOnPath() argument
289 public void drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint) { in drawTextOnPath() argument
/frameworks/base/graphics/java/android/graphics/
DCanvas.java1893 float hOffset, float vOffset, @NonNull Paint paint) { in drawTextOnPath() argument
1898 path.readOnlyNI(), hOffset, vOffset, in drawTextOnPath()
1915 public void drawTextOnPath(@NonNull String text, @NonNull Path path, float hOffset, in drawTextOnPath() argument
1918 native_drawTextOnPath(mNativeCanvasWrapper, text, path.readOnlyNI(), hOffset, vOffset, in drawTextOnPath()
2138 float hOffset, in native_drawTextOnPath() argument
2143 float hOffset, in native_drawTextOnPath() argument
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp530 jint index, jint count, jlong pathHandle, jfloat hOffset, in drawTextOnPathChars() argument
540 hOffset, vOffset, *paint, typeface); in drawTextOnPathChars()
546 jlong pathHandle, jfloat hOffset, jfloat vOffset, in drawTextOnPathString() argument
556 hOffset, vOffset, *paint, typeface); in drawTextOnPathString()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java978 float hOffset, in native_drawTextOnPath() argument
989 float hOffset, in native_drawTextOnPath() argument