Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/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/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/swiftshader/src/OpenGL/libGLESv2/
DTexture.cpp1144 egl::Image *posX = image[CubeFaceIndex(GL_TEXTURE_CUBE_MAP_POSITIVE_X)][level]; in updateBorders() local
1151 if(!posX || !negX || !posY || !negY || !posZ || !negZ) in updateBorders()
1156 if(posX->getBorder() == 0) // Non-seamless cube map. in updateBorders()
1161 …if(!posX->hasDirtyContents() || !posY->hasDirtyContents() || !posZ->hasDirtyContents() || !negX->h… in updateBorders()
1167 posX->copyCubeEdge(sw::Surface::BOTTOM, negY, sw::Surface::RIGHT); in updateBorders()
1174 posX->copyCubeEdge(sw::Surface::TOP, posY, sw::Surface::RIGHT); in updateBorders()
1183 posX->copyCubeEdge(sw::Surface::RIGHT, negZ, sw::Surface::LEFT); in updateBorders()
1184 posY->copyCubeEdge(sw::Surface::RIGHT, posX, sw::Surface::TOP); in updateBorders()
1185 posZ->copyCubeEdge(sw::Surface::RIGHT, posX, sw::Surface::LEFT); in updateBorders()
1187 negY->copyCubeEdge(sw::Surface::RIGHT, posX, sw::Surface::BOTTOM); in updateBorders()
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/test/MC/AMDGPU/
Dexp-err.s34 exp posX v3, v2, v1, v0
/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.cpp1414 const float posX = ((float)x / (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()
1448 const float posX = ((float)x / (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.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/deqp/external/openglcts/modules/common/
DglcInternalformatTests.cpp487 float posX = (lwidth - static_cast<float>(x)) / lwidth; in generateTextureData() local
489 float rposX = 1.f - posX; in generateTextureData()
491 …tcu::Vec4 c = colors[0] * (posX * posY) + colors[1] * (rposX * posY) + colors[2] * (posX * rposY); in generateTextureData()
/external/skia/src/svg/
DSkSVGDevice.cpp853 const SkString& posX() const { return fPosX; } in posX() function in SVGTextBuilder
925 elem.addAttribute("x", builder.posX()); in drawGlyphRunList()
/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/zxing/core/
Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...