/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
Quad.java | 90 * @param topRight the top-right of the quad 94 public static Quad fromLineAndHeight(PointF topLeft, PointF topRight, float height) { 95 PointF dp = new PointF(topRight.x - topLeft.x, topRight.y - topLeft.y); 99 PointF p3 = new PointF(topRight.x - np.x, topRight.y + np.y); 100 return new Quad(topLeft, topRight, p2, p3); 155 public PointF topRight() { 189 PointF topRight = rotatePoint(topRight(), center, cosa, sina) [all...] |
/external/skia/debugger/QT/ |
SkListWidget.cpp | 35 painter->drawLine(r.topLeft(),r.topRight()); 36 painter->drawLine(r.topRight(),r.bottomRight()); 48 painter->drawLine(r.topLeft(),r.topRight()); 49 painter->drawLine(r.topRight(),r.bottomRight());
|
/cts/tests/tests/view/src/android/view/cts/ |
PixelCopyGLProducerCtsActivity.java | 46 public QuadColorGLRenderer(int topLeft, int topRight, int bottomLeft, int bottomRight) { 48 mTopRightColor = topRight;
|
PixelCopyTest.java | 618 private void assertBitmapQuadColor(Bitmap bitmap, int topLeft, int topRight, 624 assertEquals("Top right", topRight, getPixelFloatPos(bitmap, .75f, .25f)); 629 private void assertBitmapQuadColor(Bitmap bitmap, int topLeft, int topRight, 634 assertTrue("Top right", pixelsAreSame(topRight, getPixelFloatPos(bitmap, .75f, .25f),
|
/packages/services/Car/evs/app/ |
RenderTopView.cpp | 306 const android::vec3 topRight(right, top, 0.0f); 311 topRight[X], topRight[Y], topRight[Z],
|
/external/deqp/modules/egl/ |
teglPartialUpdateTests.cpp | 120 IVec2 topRight; 126 , topRight (topRight_) 256 const float x2 = windowToDeviceCoordinates(coloredRect.topRight.x(), width); 257 const float y2 = windowToDeviceCoordinates(coloredRect.topRight.y(), height); 306 coloredRect.topRight.x()-coloredRect.bottomLeft.x(), coloredRect.topRight.y()-coloredRect.bottomLeft.y()); 338 if (coloredRect.bottomLeft.x() == coloredRect.topRight.x() || coloredRect.bottomLeft.y() == coloredRect.topRight.y()) 343 coloredRect.topRight.x()-coloredRect.bottomLeft.x(), coloredRect.topRight.y()-coloredRect.bottomLeft.y()), color) [all...] |
teglBufferAgeTests.cpp | 132 IVec2 topRight; 138 , topRight (topRight_) 267 float x2 = windowToDeviceCoordinates(coloredRect.topRight.x(), width); 268 float y2 = windowToDeviceCoordinates(coloredRect.topRight.y(), height); 317 coloredRect.topRight.x()-coloredRect.bottomLeft.x(), coloredRect.topRight.y()-coloredRect.bottomLeft.y()); 349 if (coloredRect.bottomLeft.x() == coloredRect.topRight.x() || coloredRect.bottomLeft.y() == coloredRect.topRight.y()) 354 coloredRect.topRight.x()-coloredRect.bottomLeft.x(), coloredRect.topRight.y()-coloredRect.bottomLeft.y()), color) [all...] |
teglSwapBuffersWithDamageTests.cpp | 88 IVec2 topRight; 94 , topRight (topRight_) 198 const float x2 = windowToDeviceCoordinates(coloredRect.topRight.x(), width); 199 const float y2 = windowToDeviceCoordinates(coloredRect.topRight.y(), height); 248 coloredRect.topRight.x()-coloredRect.bottomLeft.x(), coloredRect.topRight.y()-coloredRect.bottomLeft.y()); 676 damageRegion.push_back(rect.topRight.x() - rect.bottomLeft.x()); 677 damageRegion.push_back(rect.topRight.y() - rect.bottomLeft.y());
|
teglWideColorTests.cpp | 124 IVec2 topRight; 130 , topRight (topRight_) 209 const float x2 = windowToDeviceCoordinates(coloredRect.topRight.x(), m_bufWidth); 210 const float y2 = windowToDeviceCoordinates(coloredRect.topRight.y(), m_bufHeight); [all...] |
/external/deqp/framework/opengl/ |
gluTextureTestUtil.hpp | 172 void computeQuadTexCoord2D (std::vector<float>& dst, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight); 173 void computeQuadTexCoord2DArray (std::vector<float>& dst, int layerNdx, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight); 176 void computeQuadTexCoordCube (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight); 177 void computeQuadTexCoordCubeArray (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight, const tcu::Vec2& layerRange);
|
gluTextureTestUtil.cpp | [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
StyledCornersBitmapDrawable.java | 480 private void setCornerStyles(int topLeft, int topRight, int bottomRight, int bottomLeft) { 482 || mTopRightCornerStyle != topRight 487 mTopRightCornerStyle = topRight;
|
/external/deqp/modules/gles3/functional/ |
es3fTextureWrapTests.cpp | 102 tcu::Vec2 topRight; 105 Case (const tcu::Vec2& bl, const tcu::Vec2& tr) : bottomLeft(bl), topRight(tr) {} 327 computeQuadTexCoord2D(texCoord, m_cases[m_caseNdx].bottomLeft, m_cases[m_caseNdx].topRight); 347 log << TestLog::Message << "Note: lookup coordinates: bottom-left " << m_cases[m_caseNdx].bottomLeft << ", top-right " << m_cases[m_caseNdx].topRight << TestLog::EndMessage;
|
es3fTextureShadowTests.cpp | 432 tcu::Vec2 topRight; 444 , topRight (topRight_) 632 << "Coordinates: " << curCase.bottomLeft << " -> " << curCase.topRight 641 computeQuadTexCoordCube(texCoord, face, curCase.bottomLeft, curCase.topRight); [all...] |
/external/deqp/modules/gles31/functional/ |
es31fTextureFilteringTests.cpp | 140 tcu::Vec2 topRight; 151 , topRight (topRight_) 352 m_testCtx.getLog() << TestLog::Message << "Coordinates: " << curCase.bottomLeft << " -> " << curCase.topRight << TestLog::EndMessage; 360 computeQuadTexCoordCubeArray(texCoord, face, curCase.bottomLeft, curCase.topRight, curCase.layerRange);
|
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 229 float topRight = (float) Math.sqrt(xCeilingSq + yFloorSq); 232 float sum = topLeft + topRight + btmLeft + btmRight; 240 value = topRight / sum;
|
/packages/apps/Music/src/com/android/music/ |
VerticalTextSpinner.java | 274 final int topRight = selectorRight; 290 canvas.clipRect(topLeft, topTop, topRight, topBottom);
|
/external/deqp/modules/gles2/accuracy/ |
es2aTextureMipmapTests.cpp | 189 Vec2 topRight; 216 const Vec2& topRight = s_basicCoords[cellNdx].topRight; 218 computeQuadTexCoord2D(dst, bottomLeft, topRight);
|
/external/deqp/modules/gles3/accuracy/ |
es3aTextureMipmapTests.cpp | 180 Vec2 topRight; 207 const Vec2& topRight = s_basicCoords[cellNdx].topRight; 209 computeQuadTexCoord2D(dst, bottomLeft, topRight);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
ImageShader.java | 421 quad.topRight().x, quad.topRight().y, 469 quad.topRight().x, quad.topRight().y,
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRenderTextureGatherTests.cpp | 99 void computeQuadTexCoord2D (std::vector<float>& dst, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight) 104 dst[2] = bottomLeft.x(); dst[3] = topRight.y(); 105 dst[4] = topRight.x(); dst[5] = bottomLeft.y(); 106 dst[6] = topRight.x(); dst[7] = topRight.y(); 109 void computeQuadTexCoord2DArray (std::vector<float>& dst, int layerNdx, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight) 114 dst[3] = bottomLeft.x(); dst[ 4] = topRight.y(); dst[ 5] = (float)layerNdx; 115 dst[6] = topRight.x(); dst[ 7] = bottomLeft.y(); dst[ 8] = (float)layerNdx; 116 dst[9] = topRight.x(); dst[10] = topRight.y(); dst[11] = (float)layerNdx [all...] |
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
vktTextureShadowTests.cpp | 407 tcu::Vec2 topRight; 419 , topRight (topRight_) 546 << "Coordinates: " << curCase.bottomLeft << " -> " << curCase.topRight 555 computeQuadTexCoordCube(texCoord, face, curCase.bottomLeft, curCase.topRight); [all...] |
/external/deqp/modules/gles2/functional/ |
es2fTextureFilteringTests.cpp | 358 tcu::Vec2 topRight; 368 , topRight (topRight_) 564 m_testCtx.getLog() << TestLog::Message << "Coordinates: " << curCase.bottomLeft << " -> " << curCase.topRight << TestLog::EndMessage; 572 computeQuadTexCoordCube(texCoord, face, curCase.bottomLeft, curCase.topRight);
|
es2fTextureMipmapTests.cpp | 192 Vec2 topRight; 219 const Vec2& topRight = s_basicCoords[cellNdx].topRight; 221 computeQuadTexCoord2D(dst, bottomLeft, topRight); [all...] |
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
rasterizer.cpp | 619 POS topRight{scissor.xmax, scissor.ymin}; 625 ComputeEdgeData(bottomRight, topRight, rastEdges[5]); 626 ComputeEdgeData(topRight, topLeft, rastEdges[6]); 660 POS topRight{scissor.xmax, scissor.ymin}; 666 ComputeEdgeData(bottomRight, topRight, rastEdges[5]); 667 ComputeEdgeData(topRight, topLeft, rastEdges[6]); [all...] |