Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DCanvas.cpp214 DrawTextOnPathFunctor(const minikin::Layout& layout, Canvas* canvas, float hOffset, in DrawTextOnPathFunctor() argument
218 , hOffset(hOffset) in DrawTextOnPathFunctor()
224 canvas->drawLayoutOnPath(layout, hOffset, vOffset, paint, path, start, end); in operator ()()
230 float hOffset; member in android::DrawTextOnPathFunctor
237 const SkPath& path, float hOffset, float vOffset, const Paint& paint, in drawTextOnPath() argument
245 hOffset += MinikinUtils::hOffsetForTextAlign(&paintCopy, layout, path); in drawTextOnPath()
252 DrawTextOnPathFunctor f(layout, this, hOffset, vOffset, paintCopy, path); in drawTextOnPath()
DCanvas.h291 const SkPath& path, float hOffset, float vOffset, const Paint& paint,
317 virtual void drawLayoutOnPath(const minikin::Layout& layout, float hOffset, float vOffset,
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java893 private ViewInfo visit(View view, int hOffset, int vOffset, boolean setExtendedInfo, in visit() argument
895 ViewInfo result = createViewInfo(view, hOffset, vOffset, setExtendedInfo, isContentFrame); in visit()
899 result.setChildren(visitAllChildren(group, isContentFrame ? 0 : hOffset, in visit()
919 private List<ViewInfo> visitAllChildren(ViewGroup viewGroup, int hOffset, int vOffset, in visitAllChildren() argument
927 hOffset += viewGroup.getLeft(); in visitAllChildren()
936 visitContentRoot(viewGroup.getChildAt(i), hOffset, vOffset, in visitAllChildren()
946 children.add(visit(viewGroup.getChildAt(i), hOffset, vOffset, setExtendedInfo, in visitAllChildren() local
965 private ViewInfo[] visitContentRoot(View view, int hOffset, int vOffset, in visitContentRoot() argument
973 result[1] = createViewInfo(view, hOffset, vOffset, setExtendedInfo, true); in visitContentRoot()
992 private ViewInfo createViewInfo(View view, int hOffset, int vOffset, boolean setExtendedInfo, in createViewInfo() argument
[all …]
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java141 int hOffset = (int) Math.ceil(calculateHorizontalPadding(mRawMaxShadowSize, mCornerRadius, in getPadding() local
143 padding.set(hOffset, vOffset, hOffset, vOffset); in getPadding()
/frameworks/base/core/java/android/widget/
DSpinner.java1227 int hOffset = 0; in computeContentWidth() local
1230 hOffset = isLayoutRtl() ? mTempRect.right : -mTempRect.left; in computeContentWidth()
1256 hOffset += spinnerWidth - spinnerPaddingRight - getWidth(); in computeContentWidth()
1258 hOffset += spinnerPaddingLeft; in computeContentWidth()
1260 setHorizontalOffset(hOffset); in computeContentWidth()
/frameworks/base/graphics/java/android/graphics/
DBaseCanvas.java496 float hOffset, float vOffset, @NonNull Paint paint) { in drawTextOnPath() argument
502 path.readOnlyNI(), hOffset, vOffset, in drawTextOnPath()
506 public void drawTextOnPath(@NonNull String text, @NonNull Path path, float hOffset, in drawTextOnPath() argument
510 nDrawTextOnPath(mNativeCanvasWrapper, text, path.readOnlyNI(), hOffset, vOffset, in drawTextOnPath()
751 long nativePath, float hOffset, float vOffset, int bidiFlags, long nativePaint); in nDrawTextOnPath() argument
754 float hOffset, float vOffset, int flags, long nativePaint); in nDrawTextOnPath() argument
DBaseRecordingCanvas.java462 float hOffset, float vOffset, @NonNull Paint paint) { in drawTextOnPath() argument
467 path.readOnlyNI(), hOffset, vOffset, in drawTextOnPath()
472 public final void drawTextOnPath(@NonNull String text, @NonNull Path path, float hOffset, in drawTextOnPath() argument
475 nDrawTextOnPath(mNativeCanvasWrapper, text, path.readOnlyNI(), hOffset, vOffset, in drawTextOnPath()
695 long nativePath, float hOffset, float vOffset, int bidiFlags, long nativePaint); in nDrawTextOnPath() argument
699 float hOffset, float vOffset, int flags, long nativePaint); in nDrawTextOnPath() argument
DCanvas.java2109 float hOffset, float vOffset, @NonNull Paint paint) { in drawTextOnPath() argument
2110 super.drawTextOnPath(text, index, count, path, hOffset, vOffset, paint); in drawTextOnPath()
2123 public void drawTextOnPath(@NonNull String text, @NonNull Path path, float hOffset, in drawTextOnPath() argument
2125 super.drawTextOnPath(text, path, hOffset, vOffset, paint); in drawTextOnPath()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java288 public void drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, in drawTextOnPath() argument
293 public void drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint) { in drawTextOnPath() argument
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp607 jint index, jint count, jlong pathHandle, jfloat hOffset, in drawTextOnPathChars() argument
616 static_cast<minikin::Bidi>(bidiFlags), *path, hOffset, vOffset, *paint, typeface); in drawTextOnPathChars()
622 jlong pathHandle, jfloat hOffset, jfloat vOffset, in drawTextOnPathString() argument
632 *path, hOffset, vOffset, *paint, typeface); in drawTextOnPathString()
/frameworks/base/libs/hwui/
DSkiaCanvas.h165 virtual void drawLayoutOnPath(const minikin::Layout& layout, float hOffset, float vOffset,
DSkiaCanvas.cpp719 void SkiaCanvas::drawLayoutOnPath(const minikin::Layout& layout, float hOffset, float vOffset, in drawLayoutOnPath() argument
738 float x = hOffset + layout.getX(i) + halfWidth; in drawLayoutOnPath()
/frameworks/layoutlib/bridge/src/android/graphics/
DBaseCanvas_Delegate.java572 float hOffset, in nDrawTextOnPath() argument
583 float hOffset, in nDrawTextOnPath() argument