Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DCanvas.cpp183 DrawTextOnPathFunctor(const minikin::Layout& layout, Canvas* canvas, float hOffset, in DrawTextOnPathFunctor() argument
187 , hOffset(hOffset) in DrawTextOnPathFunctor()
194 canvas->drawLayoutOnPath(layout, hOffset, vOffset, paint, path, start, end); in operator ()()
199 float hOffset; member in android::DrawTextOnPathFunctor
206 float hOffset, float vOffset, const Paint& paint, Typeface* typeface) { in drawTextOnPath() argument
210 hOffset += MinikinUtils::hOffsetForTextAlign(&paintCopy, layout, path); in drawTextOnPath()
217 DrawTextOnPathFunctor f(layout, this, hOffset, vOffset, paintCopy, path); in drawTextOnPath()
DCanvas.h271 float hOffset, float vOffset, const Paint& paint, Typeface* typeface);
284 virtual void drawLayoutOnPath(const minikin::Layout& layout, float hOffset, float vOffset,
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/data/
DVideoProvider.java126 int hOffset = (height - rect.height()) / 2; in makeIcon() local
128 shader = new LinearGradient(wOffset, height - hOffset, width - wOffset, hOffset, in makeIcon()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java1296 private ViewInfo visit(View view, int hOffset, int vOffset, boolean setExtendedInfo, in visit() argument
1298 ViewInfo result = createViewInfo(view, hOffset, vOffset, setExtendedInfo, isContentFrame); in visit()
1302 result.setChildren(visitAllChildren(group, isContentFrame ? 0 : hOffset, in visit()
1322 private List<ViewInfo> visitAllChildren(ViewGroup viewGroup, int hOffset, int vOffset, in visitAllChildren() argument
1330 hOffset += viewGroup.getLeft(); in visitAllChildren()
1339 visitContentRoot(viewGroup.getChildAt(i), hOffset, vOffset, in visitAllChildren()
1349 children.add(visit(viewGroup.getChildAt(i), hOffset, vOffset, setExtendedInfo, in visitAllChildren() local
1368 private ViewInfo[] visitContentRoot(View view, int hOffset, int vOffset, in visitContentRoot() argument
1376 result[1] = createViewInfo(view, hOffset, vOffset, setExtendedInfo, true); in visitContentRoot()
1395 private ViewInfo createViewInfo(View view, int hOffset, int vOffset, boolean setExtendedInfo, in createViewInfo() argument
[all …]
/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.h103 float hOffset, float vOffset, Rect* outBounds, TextDrawFunctor* functor);
DSkiaCanvas.h166 virtual void drawLayoutOnPath(const minikin::Layout& layout, float hOffset, float vOffset,
DRecordingCanvas.cpp559 void RecordingCanvas::drawLayoutOnPath(const minikin::Layout& layout, float hOffset, float vOffset, in drawLayoutOnPath() argument
564 float x = hOffset + layout.getX(i); in drawLayoutOnPath()
DSkiaCanvas.cpp714 void SkiaCanvas::drawLayoutOnPath(const minikin::Layout& layout, float hOffset, float vOffset, in drawLayoutOnPath() argument
724 float x = hOffset + layout.getX(i); in drawLayoutOnPath()
DFontRenderer.cpp670 int numGlyphs, const SkPath* path, float hOffset, float vOffset, in renderTextOnPath() argument
678 mCurrentFont->render(paint, glyphs, numGlyphs, path, hOffset, vOffset); in renderTextOnPath()
DRecordingCanvas.h198 virtual void drawLayoutOnPath(const minikin::Layout& layout, float hOffset, float vOffset,
DBakedOpDispatcher.cpp755 op.path, op.hOffset, op.vOffset, in onTextOnPathOp()
/frameworks/base/packages/SystemUI/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/libs/hwui/font/
DFont.h90 int numGlyphs, const SkPath* path, float hOffset, float vOffset);
142 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/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatSpinner.java764 int hOffset = 0; in computeContentWidth() local
767 hOffset = ViewUtils.isLayoutRtl(AppCompatSpinner.this) ? mTempRect.right in computeContentWidth()
792 hOffset += spinnerWidth - spinnerPaddingRight - getWidth(); in computeContentWidth()
794 hOffset += spinnerPaddingLeft; in computeContentWidth()
796 setHorizontalOffset(hOffset); in computeContentWidth()
/frameworks/support/v7/cardview/src/android/support/v7/widget/
DRoundRectDrawableWithShadow.java171 int hOffset = (int) Math.ceil(calculateHorizontalPadding(mRawMaxShadowSize, mCornerRadius, in getPadding() local
173 padding.set(hOffset, vOffset, hOffset, vOffset); in getPadding()
/frameworks/support/design/base/android/support/design/widget/
DShadowDrawableWrapper.java151 int hOffset = (int) Math.ceil(calculateHorizontalPadding(mRawMaxShadowSize, mCornerRadius, in getPadding() local
153 padding.set(hOffset, vOffset, hOffset, vOffset); in getPadding()
/frameworks/base/graphics/java/android/graphics/
DBaseCanvas.java420 float hOffset, float vOffset, @NonNull Paint paint) { in drawTextOnPath() argument
426 path.readOnlyNI(), hOffset, vOffset, in drawTextOnPath()
430 public void drawTextOnPath(@NonNull String text, @NonNull Path path, float hOffset, in drawTextOnPath() argument
434 nDrawTextOnPath(mNativeCanvasWrapper, text, path.readOnlyNI(), hOffset, vOffset, in drawTextOnPath()
631 long nativePath, float hOffset, float vOffset, int bidiFlags, long nativePaint, in nDrawTextOnPath() argument
635 float hOffset, float vOffset, int flags, long nativePaint, long nativeTypeface); in nDrawTextOnPath() argument
DCanvas.java1866 float hOffset, float vOffset, @NonNull Paint paint) { in drawTextOnPath() argument
1867 super.drawTextOnPath(text, index, count, path, hOffset, vOffset, paint); in drawTextOnPath()
1880 public void drawTextOnPath(@NonNull String text, @NonNull Path path, float hOffset, in drawTextOnPath() argument
1882 super.drawTextOnPath(text, path, hOffset, vOffset, paint); in drawTextOnPath()
/frameworks/base/core/java/android/view/
DRecordingCanvas.java441 float hOffset, float vOffset, @NonNull Paint paint) { in drawTextOnPath() argument
446 path.readOnlyNI(), hOffset, vOffset, in drawTextOnPath()
451 public final void drawTextOnPath(@NonNull String text, @NonNull Path path, float hOffset, in drawTextOnPath() argument
454 nDrawTextOnPath(mNativeCanvasWrapper, text, path.readOnlyNI(), hOffset, vOffset, in drawTextOnPath()
635 long nativePath, float hOffset, float vOffset, int bidiFlags, long nativePaint, in nDrawTextOnPath() argument
640 float hOffset, float vOffset, int flags, long nativePaint, long nativeTypeface); in nDrawTextOnPath() argument
/frameworks/base/core/java/android/widget/
DSpinner.java1212 int hOffset = 0; in computeContentWidth() local
1215 hOffset = isLayoutRtl() ? mTempRect.right : -mTempRect.left; in computeContentWidth()
1241 hOffset += spinnerWidth - spinnerPaddingRight - getWidth(); in computeContentWidth()
1243 hOffset += spinnerPaddingLeft; in computeContentWidth()
1245 setHorizontalOffset(hOffset); in computeContentWidth()
/frameworks/base/tools/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.cpp528 jint index, jint count, jlong pathHandle, jfloat hOffset, in drawTextOnPathChars() argument
538 hOffset, vOffset, *paint, typeface); in drawTextOnPathChars()
544 jlong pathHandle, jfloat hOffset, jfloat vOffset, in drawTextOnPathString() argument
554 hOffset, vOffset, *paint, typeface); in drawTextOnPathString()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBaseCanvas_Delegate.java519 float hOffset, in nDrawTextOnPath() argument
530 float hOffset, in nDrawTextOnPath() argument