Home
last modified time | relevance | path

Searched refs:posY (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/
DBorderedText.java78 public void drawText(final Canvas canvas, final float posX, final float posY, final String text) { in drawText() argument
79 canvas.drawText(text, posX, posY, exteriorPaint); in drawText()
80 canvas.drawText(text, posX, posY, interiorPaint); in drawText()
83 public void drawLines(Canvas canvas, final float posX, final float posY, Vector<String> lines) { in drawLines() argument
86 drawText(canvas, posX, posY - getTextSize() * (lines.size() - lineNum - 1), line); in drawLines()
/external/skqp/gm/
Dimageresizetiled.cpp41 float posY = 0; in DEF_SIMPLE_GM() local
43 posY += 100.0f; in DEF_SIMPLE_GM()
44 canvas->drawString(str[i], 0.0f, posY, font, SkPaint()); in DEF_SIMPLE_GM()
Dimageblurtiled.cpp50 int posY = 0; in onDraw() local
52 posY += 100; in onDraw()
53 canvas->drawString(str[i], 0, SkIntToScalar(posY), font, SkPaint()); in onDraw()
/external/skia/gm/
Dimageresizetiled.cpp50 float posY = 0; in DEF_SIMPLE_GM() local
52 posY += 100.0f; in DEF_SIMPLE_GM()
53 canvas->drawString(str[i], 0.0f, posY, font, SkPaint()); in DEF_SIMPLE_GM()
Dimageblurtiled.cpp59 int posY = 0; in onDraw() local
61 posY += 100; in onDraw()
62 canvas->drawString(str[i], 0, SkIntToScalar(posY), font, SkPaint()); in onDraw()
/external/swiftshader/src/OpenGL/libGLESv2/
DTexture.cpp1202 egl::Image *posY = image[CubeFaceIndex(GL_TEXTURE_CUBE_MAP_POSITIVE_Y)][level]; in updateBorders() local
1207 if(!posX || !negX || !posY || !negY || !posZ || !negZ) in updateBorders()
1217 …if(!posX->hasDirtyContents() || !posY->hasDirtyContents() || !posZ->hasDirtyContents() || !negX->h… in updateBorders()
1224 posY->copyCubeEdge(sw::Surface::BOTTOM, posZ, sw::Surface::TOP); in updateBorders()
1230 posX->copyCubeEdge(sw::Surface::TOP, posY, sw::Surface::RIGHT); in updateBorders()
1231 posY->copyCubeEdge(sw::Surface::TOP, negZ, sw::Surface::TOP); in updateBorders()
1232 posZ->copyCubeEdge(sw::Surface::TOP, posY, sw::Surface::BOTTOM); in updateBorders()
1233 negX->copyCubeEdge(sw::Surface::TOP, posY, sw::Surface::LEFT); in updateBorders()
1235 negZ->copyCubeEdge(sw::Surface::TOP, posY, sw::Surface::TOP); in updateBorders()
1240 posY->copyCubeEdge(sw::Surface::RIGHT, posX, sw::Surface::TOP); in updateBorders()
[all …]
/external/deqp/modules/gles2/stress/
Des2sSpecialFloatTests.cpp615 const float posY = (float)y / ((float)DE_LENGTH_OF_ARRAY(s_specialFloats) - 1.0f) * 2.0f - 1.0f; in iterate() local
617 gridVertices[x * DE_LENGTH_OF_ARRAY(s_specialFloats) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate()
835 const float posY = (float)y / (float)DE_LENGTH_OF_ARRAY(s_specialFloats) * 2.0f - 1.0f; in iterate() local
837 gridVertices[x * (DE_LENGTH_OF_ARRAY(s_specialFloats)+1) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate()
1139 const float posY = (float)y / ((float)DE_LENGTH_OF_ARRAY(s_specialFloats) - 1.0f) * 2.0f - 1.0f; in iterate() local
1141 gridVertices[x * DE_LENGTH_OF_ARRAY(s_specialFloats) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate()
1327 …const float posY = (float)y / (float)DE_LENGTH_OF_ARRAY(s_specialFloats) * 2.0f - 1.0f; // map fro… in testFBO() local
1329 gridVertices[y * 2 + 0] = tcu::Vec4(-1.0, posY, 0.0f, 1.0f); in testFBO()
1330 gridVertices[y * 2 + 1] = tcu::Vec4( 1.0, posY, 0.0f, 1.0f); in testFBO()
1523 const float posY = (float)y / (float)numBlendFuncs * 2.0f - 1.0f; in testFBO() local
[all …]
/external/deqp/modules/gles3/stress/
Des3sSpecialFloatTests.cpp627 const float posY = (float)y / ((float)DE_LENGTH_OF_ARRAY(s_specialFloats) - 1.0f) * 2.0f - 1.0f; in iterate() local
629 gridVertices[x * DE_LENGTH_OF_ARRAY(s_specialFloats) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate()
850 const float posY = (float)y / (float)DE_LENGTH_OF_ARRAY(s_specialFloats) * 2.0f - 1.0f; in iterate() local
852 gridVertices[x * (DE_LENGTH_OF_ARRAY(s_specialFloats)+1) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate()
1177 const float posY = (float)y / ((float)gridSize - 1.0f) * 2.0f - 1.0f; in iterate() local
1181 gridVertices[x * gridSize + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate()
1494 const float posY = (float)y / ((float)DE_LENGTH_OF_ARRAY(s_specialFloats) - 1.0f) * 2.0f - 1.0f; in iterate() local
1496 gridVertices[x * DE_LENGTH_OF_ARRAY(s_specialFloats) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate()
1690 …const float posY = (float)y / (float)DE_LENGTH_OF_ARRAY(s_specialFloats) * 2.0f - 1.0f; // map fro… in testFBO() local
1692 gridVertices[y * 2 + 0] = tcu::Vec4(-1.0, posY, 0.0f, 1.0f); in testFBO()
[all …]
/external/skia/modules/particles/src/
DSkParticleDrawable.cpp32 float posX, float posY, float dirX, float dirY, float scale) { in make_rsxform() argument
37 posY + -s * ofs.fX + -c * ofs.fY); in make_rsxform()
/external/angle/src/tests/gl_tests/
DSimpleOperationTest.cpp887 const Vector3 posY(0, 1, 0); in TEST_P() local
894 posY, posY, posY, posY /* third face */, negY, negY, negY, negY /* fourth face */, in TEST_P()
/external/swiftshader/src/Device/
DBlitter.cpp1933 VkImageSubresourceLayers posY = negX; in updateBorders() local
1934 posY.baseArrayLayer++; in updateBorders()
1935 VkImageSubresourceLayers negY = posY; in updateBorders()
1944 copyCubeEdge(image, posY, BOTTOM, posZ, TOP); in updateBorders()
1950 copyCubeEdge(image, posX, TOP, posY, RIGHT); in updateBorders()
1951 copyCubeEdge(image, posY, TOP, negZ, TOP); in updateBorders()
1952 copyCubeEdge(image, posZ, TOP, posY, BOTTOM); in updateBorders()
1953 copyCubeEdge(image, negX, TOP, posY, LEFT); in updateBorders()
1955 copyCubeEdge(image, negZ, TOP, posY, TOP); in updateBorders()
1959 copyCubeEdge(image, posY, RIGHT, posX, TOP); in updateBorders()
[all …]
/external/deqp/modules/glshared/
DglsTextureBufferCase.cpp118 const size_t posY = (size_t(index) * 2) + 1; in genRandomCoords() local
123 if (posY >= offset && posY < offset+size) in genRandomCoords()
124 coords[posY - offset] = ((i / 2) == 1 ? extend2BitsToByte(0x3u) : extend2BitsToByte(0x0u)); in genRandomCoords()
/external/angle/src/tests/test_utils/third_party/
Dvulkan_command_buffer_utils.h236 float posX, posY, posZ, posW; // Position data member
242 float posX, posY, posZ, posW; // Position data member
/external/deqp/modules/gles31/functional/
Des31fDrawTests.cpp1415 const float posY = ((float)y / (float)m_gridSize) * 2.0f - 1.0f; in createDrawData() local
1419 buffer[((y * m_gridSize + x) * 6 + 0) * 2 + 0] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in createDrawData()
1420 buffer[((y * m_gridSize + x) * 6 + 1) * 2 + 0] = tcu::Vec4(posX + cellSize, posY, 0.0f, 1.0f); in createDrawData()
1421 …buffer[((y * m_gridSize + x) * 6 + 2) * 2 + 0] = tcu::Vec4(posX + cellSize, posY + cellSize, 0.0f,… in createDrawData()
1422 buffer[((y * m_gridSize + x) * 6 + 3) * 2 + 0] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in createDrawData()
1423 …buffer[((y * m_gridSize + x) * 6 + 4) * 2 + 0] = tcu::Vec4(posX + cellSize, posY + cellSize, 0.0f,… in createDrawData()
1424 buffer[((y * m_gridSize + x) * 6 + 5) * 2 + 0] = tcu::Vec4(posX, posY + cellSize, 0.0f, 1.0f); in createDrawData()
1449 const float posY = ((float)y / (float)m_gridSize) * 2.0f - 1.0f; in createDrawData() local
1451 buffer[(y * (m_gridSize+1) + x) * 4 + 0] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in createDrawData()
1453 buffer[(y * (m_gridSize+1) + x) * 4 + 2] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in createDrawData()
Des31fPrimitiveBoundingBoxTests.cpp4312 const float posY = rnd.getFloat(minY, maxY); in createVbo() local
4316 m_objectVertices.push_back(tcu::Vec4(posX, posY, posZ, posW)); in createVbo()
/external/swiftshader/src/Pipeline/
DVertexRoutine.cpp121 auto posY = pos[it->second.FirstComponent + 1]; in computeClipFlags() local
126 Int4 maxY = CmpLT(posW, posY); in computeClipFlags()
129 Int4 minY = CmpNLE(-posW, posY); in computeClipFlags()
140 Int4 finiteY = CmpLE(Abs(posY), *Pointer<Float4>(constants + OFFSET(Constants, maxPos))); in computeClipFlags()
/external/skia/modules/skparagraph/src/
DTextLine.cpp140 auto posY = run->posY(i); in calculateBoundaries() local
142 bounds.offset(posX + runShift, posY); in calculateBoundaries()
DRun.h64 SkScalar posY(size_t index) const { in posY() function
/external/deqp/external/openglcts/modules/common/
DglcInternalformatTests.cpp489 float posY = (lheight - static_cast<float>(y)) / lheight; in generateTextureData() local
491 float rposY = 1.f - posY; in generateTextureData()
492 …tcu::Vec4 c = colors[0] * (posX * posY) + colors[1] * (rposX * posY) + colors[2] * (posX * rposY); in generateTextureData()
/external/skqp/src/svg/
DSkSVGDevice.cpp865 const SkString& posY() const { return fPosY; } in posY() function in SVGTextBuilder
937 elem.addAttribute("y", builder.posY()); in drawGlyphRunList()
/external/skia/src/svg/
DSkSVGDevice.cpp953 const SkString& posY() const { return fHasConstY ? fConstYStr : fPosYStr; } in posY() function in SVGTextBuilder
1038 elem.addAttribute("y", builder.posY()); in drawGlyphRunAsText()