Home
last modified time | relevance | path

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

123

/external/skia/gm/
Dsmallpaths.cpp63 static SkScalar yOffset = 50.f; in make_three_line() local
64 path->moveTo(-32.5f + xOffset, 0.0f + yOffset); in make_three_line()
65 path->lineTo(32.5f + xOffset, 0.0f + yOffset); in make_three_line()
67 path->moveTo(-32.5f + xOffset, 19 + yOffset); in make_three_line()
68 path->lineTo(32.5f + xOffset, 19 + yOffset); in make_three_line()
70 path->moveTo(-32.5f + xOffset, -19 + yOffset); in make_three_line()
71 path->lineTo(32.5f + xOffset, -19 + yOffset); in make_three_line()
72 path->lineTo(-32.5f + xOffset, -19 + yOffset); in make_three_line()
81 static SkScalar yOffset = 40.f; in make_arrow() local
82 path->moveTo(-26.f + xOffset, 0.0f + yOffset); in make_arrow()
[all …]
Dtextblobtransforms.cpp45 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local
50 sk_tool_utils::add_to_text_blob(&builder, text, paint, xOffset, -yOffset - 10); in onOnceBeforeDraw()
79 SkScalar yOffset = SkScalarCeilToScalar(bounds.height()); in onDraw() local
81 canvas->translate(xOffset, 2 * yOffset); in onDraw()
87 canvas->translate(-xOffset, -yOffset); in onDraw()
89 canvas->translate(0, 2 * yOffset); in onDraw()
93 canvas->translate(4 * xOffset, -yOffset); in onDraw()
97 canvas->translate(0, -yOffset); in onDraw()
103 canvas->translate(-xOffset, yOffset); in onDraw()
109 canvas->translate(- 3 * xOffset, 3 * yOffset); in onDraw()
Dtextblobmixedsizes.cpp50 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local
53 sk_tool_utils::add_to_text_blob(&builder, text, paint, 0, yOffset); in onOnceBeforeDraw()
57 yOffset += bounds.height(); in onOnceBeforeDraw()
60 sk_tool_utils::add_to_text_blob(&builder, text, paint, 0, yOffset); in onOnceBeforeDraw()
64 yOffset += bounds.height(); in onOnceBeforeDraw()
67 sk_tool_utils::add_to_text_blob(&builder, text, paint, 0, yOffset); in onOnceBeforeDraw()
71 yOffset += bounds.height(); in onOnceBeforeDraw()
74 sk_tool_utils::add_to_text_blob(&builder, text, paint, 0, yOffset); in onOnceBeforeDraw()
78 yOffset += bounds.height(); in onOnceBeforeDraw()
81 sk_tool_utils::add_to_text_blob(&builder, text, paint, 0, yOffset); in onOnceBeforeDraw()
Dtextblobrandomfont.cpp113 int yOffset = stride / 8; in onDraw() local
117 canvas->drawTextBlob(fBlob, 10.0f, SkIntToScalar(yOffset), paint); in onDraw()
118 yOffset += stride; in onDraw()
121 c->drawTextBlob(fBlob, 10, SkIntToScalar(yOffset), paint); in onDraw()
125 yOffset += stride; in onDraw()
127 canvas->drawTextBlob(fBlob, 10, SkIntToScalar(yOffset), paint); in onDraw()
129 yOffset += stride; in onDraw()
Dmixedtextblobs.cpp59 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local
60 sk_tool_utils::add_to_text_blob(&builder, text, paint, 10, yOffset); in onOnceBeforeDraw()
62 SkScalar corruptedAy = yOffset; in onOnceBeforeDraw()
68 yOffset = boundsHalfHeight; in onOnceBeforeDraw()
78 yOffset - bounds.height() * 0.5f); in onOnceBeforeDraw()
79 yOffset += bounds.height(); in onOnceBeforeDraw()
90 yOffset); in onOnceBeforeDraw()
Darcofzorro.cpp42 int xOffset = 0, yOffset = 0; in onDraw() local
51 canvas->translate(SkIntToScalar(xOffset), SkIntToScalar(yOffset)); in onDraw()
64 yOffset += 10; in onDraw()
Dtextblobcolortrans.cpp40 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local
41 sk_tool_utils::add_to_text_blob(&builder, text, paint, 0, yOffset - 30); in onOnceBeforeDraw()
49 sk_tool_utils::add_to_text_blob(&builder, text, paint, 0, yOffset - 8); in onOnceBeforeDraw()
Dtextblobblockreordering.cpp35 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local
36 sk_tool_utils::add_to_text_blob(&builder, text, paint, 0, yOffset - 30); in onOnceBeforeDraw()
Dtablecolorfilter.cpp149 SkScalar yOffset = SkScalar(bm.height() * 9 / 8); in onDraw() local
173 y += yOffset; in onDraw()
186 y += yOffset; in onDraw()
Darcto.cpp196 const SkScalar yOffset = 122.88f; variable
198 SkRect oval = SkRect::MakeXYWH(-radius, yOffset - radius, 2 * radius, 2 * radius);
/external/proguard/src/proguard/gui/splash/
DShadowedSprite.java33 private final VariableInt yOffset; field in ShadowedSprite
52 VariableInt yOffset, in ShadowedSprite() argument
58 this.yOffset = yOffset; in ShadowedSprite()
88 int yo = yOffset.getInt(time) - b/2; in paint()
/external/pdfium/third_party/freetype/src/cff/
Dcf2hints.c1059 glyphpath->yOffset = font->darkenY; in cf2_glyphpath_init()
1062 cf2_fixedAbs( glyphpath->yOffset ) ); in cf2_glyphpath_init()
1486 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1494 glyphpath->yOffset ); in cf2_glyphpath_computeOffset()
1511 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1519 glyphpath->yOffset ); in cf2_glyphpath_computeOffset()
1533 *y = 2 * glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1539 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1547 glyphpath->yOffset ); in cf2_glyphpath_computeOffset()
1558 *y = 2 * glyphpath->yOffset; in cf2_glyphpath_computeOffset()
[all …]
/external/freetype/src/cff/
Dcf2hints.c1060 glyphpath->yOffset = font->darkenY; in cf2_glyphpath_init()
1063 cf2_fixedAbs( glyphpath->yOffset ) ); in cf2_glyphpath_init()
1487 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1495 glyphpath->yOffset ); in cf2_glyphpath_computeOffset()
1512 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1520 glyphpath->yOffset ); in cf2_glyphpath_computeOffset()
1534 *y = 2 * glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1540 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1548 glyphpath->yOffset ); in cf2_glyphpath_computeOffset()
1559 *y = 2 * glyphpath->yOffset; in cf2_glyphpath_computeOffset()
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPopupWindow.java31 private int yOffset; field in ShadowPopupWindow
154 yOffset = yoff; in showAsDropDown()
171 return yOffset; in getYOffset()
/external/replicaisland/tools/
DExtractPoints.js123 tile.yOffset = row * tileSizeY;
126 tile.centerY -= tile.yOffset;
147 edge.startY -= tile.yOffset;
149 edge.endY -= tile.yOffset;
151 edge.centerY -= tile.yOffset;
/external/skia/tests/
DTextBlobCacheTest.cpp31 int yOffset = 0; in draw() local
36 yOffset += SkScalarCeilToInt(bounds.height()); in draw()
38 canvas->drawTextBlob(blob, 0, SkIntToScalar(yOffset), paint); in draw()
/external/skia/third_party/gif/
DSkGifImageReader.cpp708 unsigned height, width, xOffset, yOffset; in parse() local
714 yOffset = GETINT16(currentComponent + 2); in parse()
732 m_screenHeight = std::max(m_screenHeight, yOffset + height); in parse()
762 const bool frameIsSubset = xOffset > 0 || yOffset > 0 in parse()
764 || yOffset + height < m_screenHeight; in parse()
782 currentFrame->setRect(xOffset, yOffset, width, height); in parse()
/external/skia/tools/
Dcolorspaceinfo.cpp235 const float yOffset = -144.78f; // Num pixels until start of y-axis in draw_gamut() local
241 rgb[0].fY = yOffset + yScale * (1.0f - rgb[0].fY); in draw_gamut()
243 rgb[1].fY = yOffset + yScale * (1.0f - rgb[1].fY); in draw_gamut()
245 rgb[2].fY = yOffset + yScale * (1.0f - rgb[2].fY); in draw_gamut()
/external/icu/icu4c/source/samples/layout/
DGDIFontInstance.cpp92 float yOffset = ps[dyStart * 2 + 1]; in drawGlyphs() local
95 while (dyEnd < out && yOffset == ps[dyEnd * 2 + 1]) { in drawGlyphs()
99 …ExtTextOut(fHdc, x + (le_int32) xOffset, y + (le_int32) yOffset - font->getAscent(), ETO_CLIPPED |… in drawGlyphs()
/external/opencv/cxcore/include/
Dcxcore.hpp144 cvRect(image->roi->xOffset,image->roi->yOffset, in roi()
172 (uchar*)(image->imageData + (y+image->roi->yOffset)*image->widthStep + in roi_row()
186 (const uchar*)(image->imageData + (y+image->roi->yOffset)*image->widthStep + in roi_row()
/external/deqp/modules/gles3/functional/
Des3fPrimitiveRestartTests.cpp468 int yOffset = rnd.getInt(0, yOffsetMax); in iterate() local
472 glViewport(xOffset, yOffset, width, height); in iterate()
487 glu::readPixels(m_context.getRenderContext(), xOffset, yOffset, resultImg.getAccess()); in iterate()
492 glu::readPixels(m_context.getRenderContext(), xOffset, yOffset, referenceImg.getAccess()); in iterate()
/external/skia/src/sfnt/
DSkOTTable_EBDT.h89 SK_OT_CHAR yOffset; // Position of component top member
/external/replicaisland/src/com/replica/replicaisland/
DCollisionSystem.java197 final float yOffset = y * mTileHeight; in testBox() local
201 final float tileSpaceTop = top - yOffset; in testBox()
202 final float tileSpaceBottom = bottom - yOffset; in testBox()
204 worldTileOffset.set(xOffset, yOffset); in testBox()
/external/freetype/include/freetype/
Dftoutln.h278 FT_Pos yOffset );
/external/pdfium/third_party/freetype/include/freetype/
Dftoutln.h270 FT_Pos yOffset );

123