/frameworks/base/libs/hwui/hwui/ |
D | Canvas.cpp | 214 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()
|
D | Canvas.h | 291 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/ |
D | RenderSessionImpl.java | 893 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/ |
D | FakeShadowDrawable.java | 141 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/ |
D | Spinner.java | 1227 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/ |
D | BaseCanvas.java | 496 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
|
D | BaseRecordingCanvas.java | 462 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
|
D | Canvas.java | 2109 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/ |
D | NopCanvas.java | 288 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/ |
D | android_graphics_Canvas.cpp | 607 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/ |
D | SkiaCanvas.h | 165 virtual void drawLayoutOnPath(const minikin::Layout& layout, float hOffset, float vOffset,
|
D | SkiaCanvas.cpp | 719 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/ |
D | BaseCanvas_Delegate.java | 572 float hOffset, in nDrawTextOnPath() argument 583 float hOffset, in nDrawTextOnPath() argument
|