Searched refs:vOffset (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/base/libs/hwui/hwui/
H A DCanvas.cpp182 float vOffset, const Paint& paint, const SkPath& path)
186 , vOffset(vOffset)
196 float y = vOffset + layout.getY(i);
204 float vOffset; member in class:android::DrawTextOnPathFunctor
210 float hOffset, float vOffset, const Paint& paint, Typeface* typeface) {
221 DrawTextOnPathFunctor f(layout, this, hOffset, vOffset, paintCopy, path);
181 DrawTextOnPathFunctor(const Layout& layout, Canvas* canvas, float hOffset, float vOffset, const Paint& paint, const SkPath& path) argument
209 drawTextOnPath(const uint16_t* text, int count, int bidiFlags, const SkPath& path, float hOffset, float vOffset, const Paint& paint, Typeface* typeface) argument
H A DCanvas.h233 float hOffset, float vOffset, const Paint& paint, Typeface* typeface);
248 float hOffset, float vOffset, const SkPaint& paint) = 0;
/frameworks/av/media/libstagefright/yuv/
H A DYUVImage.cpp88 int32_t *yOffset, int32_t *uOffset, int32_t *vOffset) const {
94 *vOffset = uvOffset;
99 *vOffset = 2*uvOffset;
148 int32_t vOffset; local
149 if (!getOffsets(x, y, &yOffset, &uOffset, &vOffset)) return false;
153 *vAddr = getVAddress(vOffset);
/frameworks/base/libs/hwui/font/
H A DFont.cpp237 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, float x, float hOffset, float vOffset, argument
242 vOffset += glyph->mBitmapTop + height;
251 destination[0].set(-tangent->fX * halfWidth - tangent->fY * vOffset,
252 -tangent->fY * halfWidth + tangent->fX * vOffset);
253 destination[1].set(tangent->fX * halfWidth - tangent->fY * vOffset,
254 tangent->fY * halfWidth + tangent->fX * vOffset);
301 const SkPath* path, float hOffset, float vOffset) {
339 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent);
300 render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, const SkPath* path, float hOffset, float vOffset) argument
H A DFont.h88 int numGlyphs, const SkPath* path, float hOffset, float vOffset);
140 void drawCachedGlyph(CachedGlyphInfo* glyph, float x, float hOffset, float vOffset,
/frameworks/base/libs/hwui/
H A DPatch.cpp119 float vOffset = y1 == y2 ? 0.0f : 0.5 - (0.5 * segment / (y2 - y1)); local
120 float v2 = std::max(0.0f, stepY - vOffset) / bitmapHeight;
121 v1 += vOffset / bitmapHeight;
H A DRecordedOp.h403 const glyph_t* glyphs, int glyphCount, const SkPath* path, float hOffset, float vOffset)
409 , vOffset(vOffset) {}
415 const float vOffset; member in struct:android::uirenderer::TextOnPathOp
402 TextOnPathOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, const glyph_t* glyphs, int glyphCount, const SkPath* path, float hOffset, float vOffset) argument
H A DFontRenderer.h120 float hOffset, float vOffset, Rect* outBounds, TextDrawFunctor* functor);
H A DSkiaCanvas.cpp172 float hOffset, float vOffset, const SkPaint& paint) override;
769 float hOffset, float vOffset, const SkPaint& paint) {
770 mCanvas->drawTextOnPathHV(glyphs, count << 1, path, hOffset, vOffset, paint);
768 drawGlyphsOnPath(const uint16_t* glyphs, int count, const SkPath& path, float hOffset, float vOffset, const SkPaint& paint) argument
H A DDisplayListCanvas.h217 float hOffset, float vOffset, const SkPaint& paint) override;
H A DRecordingCanvas.h200 float hOffset, float vOffset, const SkPaint& paint) override;
H A DDisplayListCanvas.cpp425 const SkPath& path, float hOffset, float vOffset, const SkPaint& paint) {
431 hOffset, vOffset, refPaint(&paint));
424 drawGlyphsOnPath(const uint16_t* glyphs, int count, const SkPath& path, float hOffset, float vOffset, const SkPaint& paint) argument
H A DFontRenderer.cpp689 int numGlyphs, const SkPath* path, float hOffset, float vOffset,
697 mCurrentFont->render(paint, glyphs, numGlyphs, path, hOffset, vOffset);
688 renderTextOnPath(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs, int numGlyphs, const SkPath* path, float hOffset, float vOffset, Rect* bounds, TextDrawFunctor* functor) argument
H A DRecordingCanvas.cpp563 float hOffset, float vOffset, const SkPaint& paint) {
569 refPaint(&paint), glyphs, glyphCount, refPath(&path), hOffset, vOffset));
562 drawGlyphsOnPath(const uint16_t* glyphs, int glyphCount, const SkPath& path, float hOffset, float vOffset, const SkPaint& paint) argument
H A DOpenGLRenderer.h195 float hOffset, float vOffset, const SkPaint* paint);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DFakeShadowDrawable.java136 int vOffset = (int) Math.ceil(calculateVerticalPadding(mRawMaxShadowSize, mCornerRadius,
140 padding.set(hOffset, vOffset, hOffset, vOffset);
/frameworks/support/design/base/android/support/design/widget/
H A DShadowDrawableWrapper.java149 int vOffset = (int) Math.ceil(calculateVerticalPadding(mRawMaxShadowSize, mCornerRadius,
153 padding.set(hOffset, vOffset, hOffset, vOffset);
/frameworks/support/v7/cardview/gingerbread/android/support/v7/widget/
H A DRoundRectDrawableWithShadow.java173 int vOffset = (int) Math.ceil(calculateVerticalPadding(mRawMaxShadowSize, mCornerRadius,
177 padding.set(hOffset, vOffset, hOffset, vOffset);
/frameworks/av/include/media/stagefright/
H A DYUVImage.h150 int32_t *yOffset, int32_t *uOffset, int32_t *vOffset) const;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java285 float vOffset, Paint paint) {
289 public void drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint) { argument
284 drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, float vOffset, Paint paint) argument
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1888 * @param vOffset The distance above(-) or below(+) the path to position
1893 float hOffset, float vOffset, @NonNull Paint paint) {
1898 path.readOnlyNI(), hOffset, vOffset,
1911 * @param vOffset The distance above(-) or below(+) the path to position
1916 float vOffset, @NonNull Paint paint) {
1918 native_drawTextOnPath(mNativeCanvasWrapper, text, path.readOnlyNI(), hOffset, vOffset,
2139 float vOffset, int bidiFlags,
2144 float vOffset,
1892 drawTextOnPath(@onNull char[] text, int index, int count, @NonNull Path path, float hOffset, float vOffset, @NonNull Paint paint) argument
1915 drawTextOnPath(@onNull String text, @NonNull Path path, float hOffset, float vOffset, @NonNull Paint paint) argument
2135 native_drawTextOnPath(long nativeCanvas, char[] text, int index, int count, long nativePath, float hOffset, float vOffset, int bidiFlags, long nativePaint, long nativeTypeface) argument
2141 native_drawTextOnPath(long nativeCanvas, String text, long nativePath, float hOffset, float vOffset, int flags, long nativePaint, long nativeTypeface) argument
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp531 jfloat vOffset, jint bidiFlags, jlong paintHandle,
540 hOffset, vOffset, *paint, typeface);
546 jlong pathHandle, jfloat hOffset, jfloat vOffset,
556 hOffset, vOffset, *paint, typeface);
529 drawTextOnPathChars(JNIEnv* env, jobject, jlong canvasHandle, jcharArray text, jint index, jint count, jlong pathHandle, jfloat hOffset, jfloat vOffset, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
545 drawTextOnPathString(JNIEnv* env, jobject, jlong canvasHandle, jstring text, jlong pathHandle, jfloat hOffset, jfloat vOffset, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
/frameworks/base/core/java/com/android/internal/widget/
H A DRotarySelector.java355 final int vOffset = mBackgroundWidth - height;
356 final int midX = isHoriz() ? width / 2 : mBackgroundWidth / 2 - vOffset;
/frameworks/base/media/java/android/media/audiofx/
H A DAudioEffect.java1172 int vOffset = msg.arg1;
1182 System.arraycopy(p, vOffset, value, 0, vsize);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java979 float vOffset, int bidiFlags,
990 float vOffset,
975 native_drawTextOnPath(long nativeCanvas, char[] text, int index, int count, long path, float hOffset, float vOffset, int bidiFlags, long paint, long typeface) argument
987 native_drawTextOnPath(long nativeCanvas, String text, long path, float hOffset, float vOffset, int bidiFlags, long paint, long typeface) argument

Completed in 1609 milliseconds

12