Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/
DDrawTextOnPath.java37 public DrawTextOnPath(int textId, int pathId, float hOffset, float vOffset) { in DrawTextOnPath() argument
41 mVOffset = hOffset; in DrawTextOnPath()
63 float hOffset = buffer.readFloat(); in read() local
65 DrawTextOnPath op = new DrawTextOnPath(textId, pathId, hOffset, vOffset); in read()
79 public void apply(WireBuffer buffer, int textId, int pathId, float hOffset, float vOffset) { in apply() argument
83 buffer.writeFloat(hOffset); in apply()
/frameworks/base/libs/hwui/hwui/
DCanvas.cpp176 DrawTextOnPathFunctor(const minikin::Layout& layout, Canvas* canvas, float hOffset, in DrawTextOnPathFunctor() argument
180 , hOffset(hOffset) in DrawTextOnPathFunctor()
186 canvas->drawLayoutOnPath(layout, hOffset, vOffset, paint, path, start, end); in operator ()()
192 float hOffset; member in android::DrawTextOnPathFunctor
199 const SkPath& path, float hOffset, float vOffset, in drawTextOnPath() argument
214 hOffset += MinikinUtils::hOffsetForTextAlign(&paint, layout, path); in drawTextOnPath()
221 DrawTextOnPathFunctor f(layout, this, hOffset, vOffset, paint, path); in drawTextOnPath()
DCanvas.h266 const SkPath& path, float hOffset, float vOffset, const Paint& paint,
291 virtual void drawLayoutOnPath(const minikin::Layout& layout, float hOffset, float vOffset,
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java874 private ViewInfo visit(View view, int hOffset, int vOffset, SessionParams params, in visit() argument
876 ViewInfo result = createViewInfo(view, hOffset, vOffset, params.getExtendedViewInfoMode(), in visit()
881 result.setChildren(visitAllChildren(group, isContentFrame ? 0 : hOffset, in visit()
901 private List<ViewInfo> visitAllChildren(ViewGroup viewGroup, int hOffset, int vOffset, in visitAllChildren() argument
909 hOffset += viewGroup.getLeft(); in visitAllChildren()
918 visitContentRoot(viewGroup.getChildAt(i), hOffset, vOffset, params); in visitAllChildren()
927 children.add(visit(viewGroup.getChildAt(i), hOffset, vOffset, params, in visitAllChildren() local
949 private ViewInfo[] visitContentRoot(View view, int hOffset, int vOffset, SessionParams params) { in visitContentRoot() argument
957 result[1] = createViewInfo(view, hOffset, vOffset, setExtendedInfo, true); in visitContentRoot()
979 private ViewInfo createViewInfo(View view, int hOffset, int vOffset, boolean setExtendedInfo, in createViewInfo() argument
[all …]
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/
DPaintContext.java69 public abstract void drawTextOnPath(int textId, int pathId, float hOffset, float vOffset); in drawTextOnPath() argument
DRemoteComposeBuffer.java416 public void addDrawTextOnPath(String text, Object path, float hOffset, float vOffset) { in addDrawTextOnPath() argument
422 DrawTextOnPath.COMPANION.apply(mBuffer, textId, pathId, hOffset, vOffset); in addDrawTextOnPath()
/frameworks/base/core/java/android/widget/
DSpinner.java1252 int hOffset = 0; in computeContentWidth() local
1255 hOffset = isLayoutRtl() ? mTempRect.right : -mTempRect.left; in computeContentWidth()
1281 hOffset += spinnerWidth - spinnerPaddingRight - getWidth(); in computeContentWidth()
1283 hOffset += spinnerPaddingLeft; in computeContentWidth()
1285 setHorizontalOffset(hOffset); in computeContentWidth()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java292 public void drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, in drawTextOnPath() argument
297 public void drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint) { in drawTextOnPath() argument
/frameworks/base/graphics/java/android/graphics/
DBaseCanvas.java558 float hOffset, float vOffset, @NonNull Paint paint) { in drawTextOnPath() argument
564 path.readOnlyNI(), hOffset, vOffset, in drawTextOnPath()
568 public void drawTextOnPath(@NonNull String text, @NonNull Path path, float hOffset, in drawTextOnPath() argument
572 nDrawTextOnPath(mNativeCanvasWrapper, text, path.readOnlyNI(), hOffset, vOffset, in drawTextOnPath()
852 long nativePath, float hOffset, float vOffset, int bidiFlags, long nativePaint); in nDrawTextOnPath() argument
855 float hOffset, float vOffset, int flags, long nativePaint); in nDrawTextOnPath() argument
DBaseRecordingCanvas.java497 float hOffset, float vOffset, @NonNull Paint paint) { in drawTextOnPath() argument
502 path.readOnlyNI(), hOffset, vOffset, in drawTextOnPath()
507 public final void drawTextOnPath(@NonNull String text, @NonNull Path path, float hOffset, in drawTextOnPath() argument
510 nDrawTextOnPath(mNativeCanvasWrapper, text, path.readOnlyNI(), hOffset, vOffset, in drawTextOnPath()
757 long nativePath, float hOffset, float vOffset, int bidiFlags, long nativePaint); in nDrawTextOnPath() argument
761 float hOffset, float vOffset, int flags, long nativePaint); in nDrawTextOnPath() argument
DCanvas.java2239 float hOffset, float vOffset, @NonNull Paint paint) {
2240 super.drawTextOnPath(text, index, count, path, hOffset, vOffset, paint);
2253 public void drawTextOnPath(@NonNull String text, @NonNull Path path, float hOffset,
2255 super.drawTextOnPath(text, path, hOffset, vOffset, paint);
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_Canvas.cpp718 jint index, jint count, jlong pathHandle, jfloat hOffset, in drawTextOnPathChars() argument
732 static_cast<minikin::Bidi>(bidiFlags), *path, hOffset, vOffset, *paint, typeface); in drawTextOnPathChars()
739 jlong pathHandle, jfloat hOffset, jfloat vOffset, in drawTextOnPathString() argument
754 *path, hOffset, vOffset, *paint, typeface); in drawTextOnPathString()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/player/platform/
DAndroidPaintContext.java178 float hOffset, in drawTextOnPath() argument
180 mCanvas.drawTextOnPath(getText(textId), getPath(pathId, 0, 1), hOffset, vOffset, mPaint); in drawTextOnPath() local
/frameworks/base/libs/hwui/
DSkiaCanvas.h176 virtual void drawLayoutOnPath(const minikin::Layout& layout, float hOffset, float vOffset,
DSkiaCanvas.cpp849 void SkiaCanvas::drawLayoutOnPath(const minikin::Layout& layout, float hOffset, float vOffset, in drawLayoutOnPath() argument
868 float x = hOffset + layout.getX(i) + halfWidth; in drawLayoutOnPath()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...