Home
last modified time | relevance | path

Searched refs:posX (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/tools/android/test/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/swiftshader/src/OpenGL/libGLESv2/
DTexture.cpp1210 egl::Image *posX = image[CubeFaceIndex(GL_TEXTURE_CUBE_MAP_POSITIVE_X)][level]; in updateBorders() local
1217 if(!posX || !negX || !posY || !negY || !posZ || !negZ) in updateBorders()
1222 if(posX->getBorder() == 0) // Non-seamless cube map. in updateBorders()
1227 …if(!posX->hasDirtyContents() || !posY->hasDirtyContents() || !posZ->hasDirtyContents() || !negX->h… in updateBorders()
1233 posX->copyCubeEdge(sw::Surface::BOTTOM, negY, sw::Surface::RIGHT); in updateBorders()
1240 posX->copyCubeEdge(sw::Surface::TOP, posY, sw::Surface::RIGHT); in updateBorders()
1249 posX->copyCubeEdge(sw::Surface::RIGHT, negZ, sw::Surface::LEFT); in updateBorders()
1250 posY->copyCubeEdge(sw::Surface::RIGHT, posX, sw::Surface::TOP); in updateBorders()
1251 posZ->copyCubeEdge(sw::Surface::RIGHT, posX, sw::Surface::LEFT); in updateBorders()
1253 negY->copyCubeEdge(sw::Surface::RIGHT, posX, sw::Surface::BOTTOM); in updateBorders()
[all …]
/external/skia/modules/particles/src/
DSkParticleDrawable.cpp33 float posX, float posY, float dirX, float dirY, float scale) { in make_rsxform() argument
37 posX + -c * ofs.fX + s * ofs.fY, in make_rsxform()
/external/angle/src/tests/gl_tests/
DSimpleOperationTest.cpp1018 const Vector3 posX(1, 0, 0); in TEST_P() local
1026 posX, posX, posX, posX /* first face */, negX, negX, negX, negX /* second face */, in TEST_P()
/external/deqp/modules/gles3/stress/
Des3sSpecialFloatTests.cpp626 …const float posX = (float)x / ((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()
849 …const float posX = (float)x / (float)DE_LENGTH_OF_ARRAY(s_specialFloats) * 2.0f - 1.0f; // map fr… in iterate() local
852 gridVertices[x * (DE_LENGTH_OF_ARRAY(s_specialFloats)+1) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate()
1176 …const float posX = (float)x / ((float)gridSize - 1.0f) * 2.0f - 1.0f; // map from [0, gridSize - … in iterate() local
1181 gridVertices[x * gridSize + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate()
1493 …const float posX = (float)x / ((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()
1890 …const float posX = (float)x / (float)DE_LENGTH_OF_ARRAY(s_specialFloats) * 2.0f - 1.0f; // map fr… in testFBO() local
1893 gridVertices[x * (numBlendFuncs + 1) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in testFBO()
/external/deqp/modules/gles2/stress/
Des2sSpecialFloatTests.cpp614 …const float posX = (float)x / ((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()
834 …const float posX = (float)x / (float)DE_LENGTH_OF_ARRAY(s_specialFloats) * 2.0f - 1.0f; // map fr… in iterate() local
837 gridVertices[x * (DE_LENGTH_OF_ARRAY(s_specialFloats)+1) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate()
1138 …const float posX = (float)x / ((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()
1522 …const float posX = (float)x / (float)DE_LENGTH_OF_ARRAY(s_specialFloats) * 2.0f - 1.0f; // map fr… in testFBO() local
1525 gridVertices[x * (numBlendFuncs + 1) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in testFBO()
/external/llvm-project/llvm/test/MC/AMDGPU/
Dexp-err.s34 exp posX v3, v2, v1, v0
/external/swiftshader/src/Device/
DBlitter.cpp2210 VkImageSubresource posX = subresource; in updateBorders() local
2211 VkImageSubresource negX = posX; in updateBorders()
2223 copyCubeEdge(image, posX, BOTTOM, negY, RIGHT); in updateBorders()
2230 copyCubeEdge(image, posX, TOP, posY, RIGHT); in updateBorders()
2238 copyCubeEdge(image, posX, RIGHT, negZ, LEFT); in updateBorders()
2239 copyCubeEdge(image, posY, RIGHT, posX, TOP); in updateBorders()
2240 copyCubeEdge(image, posZ, RIGHT, posX, LEFT); in updateBorders()
2242 copyCubeEdge(image, negY, RIGHT, posX, BOTTOM); in updateBorders()
2245 copyCubeEdge(image, posX, LEFT, posZ, RIGHT); in updateBorders()
2250 copyCubeEdge(image, negZ, LEFT, posX, RIGHT); in updateBorders()
[all …]
/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/glshared/
DglsTextureBufferCase.cpp117 const size_t posX = (size_t(index) * 2) + 0; in genRandomCoords() local
120 if (posX >= offset && posX < offset+size) in genRandomCoords()
121 coords[posX - offset] = ((i % 2) == 0 ? extend2BitsToByte(0x0u) : extend2BitsToByte(0x3u)); in genRandomCoords()
/external/deqp/modules/gles31/functional/
Des31fDrawTests.cpp1418 const float posX = ((float)x / (float)m_gridSize) * 2.0f - 1.0f; in createDrawData() local
1423 buffer[((y * m_gridSize + x) * 6 + 0) * 2 + 0] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in createDrawData()
1424 buffer[((y * m_gridSize + x) * 6 + 1) * 2 + 0] = tcu::Vec4(posX + cellSize, posY, 0.0f, 1.0f); in createDrawData()
1425 …buffer[((y * m_gridSize + x) * 6 + 2) * 2 + 0] = tcu::Vec4(posX + cellSize, posY + cellSize, 0.0f,… in createDrawData()
1426 buffer[((y * m_gridSize + x) * 6 + 3) * 2 + 0] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in createDrawData()
1427 …buffer[((y * m_gridSize + x) * 6 + 4) * 2 + 0] = tcu::Vec4(posX + cellSize, posY + cellSize, 0.0f,… in createDrawData()
1428 buffer[((y * m_gridSize + x) * 6 + 5) * 2 + 0] = tcu::Vec4(posX, posY + cellSize, 0.0f, 1.0f); in createDrawData()
1452 const float posX = ((float)x / (float)m_gridSize) * 2.0f - 1.0f; in createDrawData() local
1455 buffer[(y * (m_gridSize+1) + x) * 4 + 0] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in createDrawData()
1457 buffer[(y * (m_gridSize+1) + x) * 4 + 2] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in createDrawData()
Des31fPrimitiveBoundingBoxTests.cpp4311 const float posX = rnd.getFloat(minX, maxX); in createVbo() local
4316 m_objectVertices.push_back(tcu::Vec4(posX, posY, posZ, posW)); in createVbo()
/external/swiftshader/src/Pipeline/
DVertexRoutine.cpp121 auto posX = pos[it->second.FirstComponent + 0]; in computeClipFlags() local
126 Int4 maxX = CmpLT(posW, posX); in computeClipFlags()
129 Int4 minX = CmpNLE(-posW, posX); in computeClipFlags()
141 Int4 finiteX = CmpLE(Abs(posX), maxPos); in computeClipFlags()
/external/skia/modules/skparagraph/src/
DRun.cpp282 return posX(pos) + fShifts[pos] + in positionX()
DOneLineShaper.cpp198 …auto runAdvance = SkVector::Make(run->posX(glyphs.end) - run->posX(glyphs.start), run->fAdvance.fY… in finish()
DParagraphImpl.cpp381 return posX(end) - posX(start) + shift + correction; in calculateWidth()
DRun.h74 SkScalar posX(size_t index) const { return fPositions[index].fX; } in posX() function
/external/skqp/src/svg/
DSkSVGDevice.cpp864 const SkString& posX() const { return fPosX; } in posX() function in SVGTextBuilder
936 elem.addAttribute("x", builder.posX()); in drawGlyphRunList()
/external/skia/src/svg/
DSkSVGDevice.cpp995 const SkString& posX() const { return fPosXStr; } in posX() function in SVGTextBuilder
1092 elem.addAttribute("x", builder.posX()); in onDrawGlyphRunList()
/external/deqp/external/openglcts/modules/common/
DglcInternalformatTests.cpp524 float posX = (lwidth - static_cast<float>(x)) / lwidth; in generateTextureData() local
526 float rposX = 1.f - posX; in generateTextureData()
528 …tcu::Vec4 c = colors[0] * (posX * posY) + colors[1] * (rposX * posY) + colors[2] * (posX * rposY); in generateTextureData()