Home
last modified time | relevance | path

Searched refs:topRight (Results 1 – 25 of 91) sorted by relevance

1234

/third_party/flutter/flutter/packages/flutter/test/painting/
Dborder_radius_test.dart16 expect(borderRadius.topRight, const Radius.elliptical(5.0, 7.0));
24 expect(borderRadius.topRight, const Radius.elliptical(3.0, 3.0));
35 expect(borderRadius.topRight, radius1);
41 topRight: radius1,
49 expect(borderRadius.topRight, radius2);
55 topRight: radius2,
63 expect(borderRadius.topRight, Radius.zero);
68 borderRadius = const BorderRadius.only(topRight: radius1, bottomRight: radius2);
71 expect(borderRadius.topRight, radius1);
77 topRight: radius1,
[all …]
Dalignment_test.dart42 const Alignment topRight = Alignment.topRight;
45 expect((topEnd * 0.0).add(topRight * 0.0), center);
46 expect(topEnd.add(topRight) * 0.0, (topEnd * 0.0).add(topRight * 0.0));
53 expect(topStart.resolve(TextDirection.rtl), topRight);
59 expect(topRight * 1.0, topRight);
68 expect((topEnd * 0.0).add(topRight * 0.0).resolve(x), center.add(center).resolve(x));
76 expect(topStart, isNot(topRight));
77 expect(topEnd, isNot(topRight));
121 Alignment.topRight,
Dgradient_test.dart43 begin: Alignment.topRight,
77 begin: Alignment.topRight,
282 center: Alignment.topRight,
319 center: Alignment.topRight,
434 center: Alignment.topRight,
444 center: Alignment.topRight,
496 center: Alignment.topRight,
536 center: Alignment.topRight,
688 center: Alignment.topRight,
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dborder_radius.dart176 result.write('topRight: $_topRight');
286 topRight: radius,
303 topRight: top,
315 topRight: right,
324 this.topRight = Radius.zero,
339 final Radius topRight;
342 Radius get _topRight => topRight;
373 topRight: topRight,
397 topRight: topRight - other.topRight,
407 topRight: topRight + other.topRight,
[all …]
/third_party/flutter/flutter/packages/flutter_localizations/test/
Dtext_test.dart77 Offset topRight = tester.getTopRight(find.text('hello, world'));
82 expect(topRight, const Offset(596.0, 298.3999996185303));
87 topRight = tester.getTopRight(find.text('你好,世界'));
92 expect(topRight, const Offset(477.0, 346.3999996185303));
163 Offset topRight = tester.getTopRight(find.text('hello, world'));
169 expect(topRight, const Offset(584.0, 299.19999980926514));
174 topRight = tester.getTopRight(find.text('你好,世界'));
179 expect(topRight, const Offset(472.0, 347.19999980926514));
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DTextureSubresourceTests.cpp162 RGBA8 topRight = RGBA8::kBlack; in TEST_P() local
164 EXPECT_TEXTURE_EQ(&topRight, texture, {kSize / 2 - 1, 0}, {1, 1}, 1); in TEST_P()
190 RGBA8 topRight = RGBA8::kBlack; in TEST_P() local
192 EXPECT_TEXTURE_EQ(&topRight, texture, {kSize - 1, 0, 1}, {1, 1}); in TEST_P()
/third_party/vk-gl-cts/modules/egl/
DteglPartialUpdateTests.cpp120 IVec2 topRight; member
126 , topRight (topRight_) in ColoredRect()
256 const float x2 = windowToDeviceCoordinates(coloredRect.topRight.x(), width); in render()
257 const float y2 = windowToDeviceCoordinates(coloredRect.topRight.y(), height); in render()
306 …coloredRect.topRight.x()-coloredRect.bottomLeft.x(), coloredRect.topRight.y()-coloredRect.bottomLe… in render()
338 …(coloredRect.bottomLeft.x() == coloredRect.topRight.x() || coloredRect.bottomLeft.y() == coloredRe… in render()
343 …coloredRect.topRight.x()-coloredRect.bottomLeft.x(), coloredRect.topRight.y()-coloredRect.bottomLe… in render()
484 damageRegion.push_back(rect.topRight.x() - rect.bottomLeft.x() + marginLeft + marginRight); in getDamageRegion()
485 damageRegion.push_back(rect.topRight.y() - rect.bottomLeft.y() + marginBottom + marginTop); in getDamageRegion()
DteglBufferAgeTests.cpp132 IVec2 topRight; member
138 , topRight (topRight_) in ColoredRect()
267 float x2 = windowToDeviceCoordinates(coloredRect.topRight.x(), width); in render()
268 float y2 = windowToDeviceCoordinates(coloredRect.topRight.y(), height); in render()
317 …coloredRect.topRight.x()-coloredRect.bottomLeft.x(), coloredRect.topRight.y()-coloredRect.bottomLe… in render()
349 …(coloredRect.bottomLeft.x() == coloredRect.topRight.x() || coloredRect.bottomLeft.y() == coloredRe… in render()
354 …coloredRect.topRight.x()-coloredRect.bottomLeft.x(), coloredRect.topRight.y()-coloredRect.bottomLe… in render()
DteglSwapBuffersWithDamageTests.cpp88 IVec2 topRight; member
94 , topRight (topRight_) in ColoredRect()
198 const float x2 = windowToDeviceCoordinates(coloredRect.topRight.x(), width); in render()
199 const float y2 = windowToDeviceCoordinates(coloredRect.topRight.y(), height); in render()
248 …coloredRect.topRight.x()-coloredRect.bottomLeft.x(), coloredRect.topRight.y()-coloredRect.bottomLe… in render()
676 damageRegion.push_back(rect.topRight.x() - rect.bottomLeft.x()); in getDamageRegion()
677 damageRegion.push_back(rect.topRight.y() - rect.bottomLeft.y()); in getDamageRegion()
/third_party/node/lib/internal/
Dcli_table.js21 topRight: '┐', property
73 `${tableChars.topRight}\n${renderRow(head, columnWidths)}\n` +
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureGatherTests.cpp103 …uteQuadTexCoord2D (std::vector<float>& dst, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight) in computeQuadTexCoord2D() argument
108 dst[2] = bottomLeft.x(); dst[3] = topRight.y(); in computeQuadTexCoord2D()
109 dst[4] = topRight.x(); dst[5] = bottomLeft.y(); in computeQuadTexCoord2D()
110 dst[6] = topRight.x(); dst[7] = topRight.y(); in computeQuadTexCoord2D()
113 …ray (std::vector<float>& dst, int layerNdx, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight) in computeQuadTexCoord2DArray() argument
118 dst[3] = bottomLeft.x(); dst[ 4] = topRight.y(); dst[ 5] = (float)layerNdx; in computeQuadTexCoord2DArray()
119 dst[6] = topRight.x(); dst[ 7] = bottomLeft.y(); dst[ 8] = (float)layerNdx; in computeQuadTexCoord2DArray()
120 dst[9] = topRight.x(); dst[10] = topRight.y(); dst[11] = (float)layerNdx; in computeQuadTexCoord2DArray()
123 …td::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight) in computeQuadTexCoordCube() argument
154 dst[6+sRow] = sSign * topRight.x(); in computeQuadTexCoordCube()
[all …]
/third_party/vk-gl-cts/framework/opengl/
DgluTextureTestUtil.hpp187 …QuadTexCoord2D (std::vector<float>& dst, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight);
188 …y (std::vector<float>& dst, int layerNdx, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight);
191 …d::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight);
192 … dst, tcu::CubeFace face, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight, const tcu::Vec2&…
/third_party/flutter/engine/flutter/testing/dart/
Dgeometry_test.dart218 topRight: const Radius.circular(0.25),
237 topRight: const Radius.circular(2500.0),
256 topRight: const Radius.circular(0.25),
282 topRight: const Radius.circular(2500.0),
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dink_splash.dart39 final double d2 = (position - bounds.topRight(Offset.zero)).distance;
219 topLeft: _borderRadius.topLeft, topRight: _borderRadius.topRight,
Darc.dart178 topRight,
192 _Diagonal(_CornerId.topRight, _CornerId.bottomLeft),
193 _Diagonal(_CornerId.bottomLeft, _CornerId.topRight),
269 case _CornerId.topRight: return rect.topRight;
Dink_highlight.dart121 topLeft: _borderRadius.topLeft, topRight: _borderRadius.topRight,
Dink_ripple.dart35 final double d2 = (size.topRight(Offset.zero) - size.bottomLeft(Offset.zero)).distance;
254 topLeft: _borderRadius.topLeft, topRight: _borderRadius.topRight,
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fTextureFilteringTests.cpp140 tcu::Vec2 topRight; member
151 , topRight (topRight_) in FilterCase()
369 …::Message << "Coordinates: " << curCase.bottomLeft << " -> " << curCase.topRight << TestLog::EndMe… in iterate()
377 …computeQuadTexCoordCubeArray(texCoord, face, curCase.bottomLeft, curCase.topRight, curCase.layerRa… in iterate()
/third_party/node/deps/npm/node_modules/cli-boxes/
Dreadme.md24 "topRight": "┐",
/third_party/vk-gl-cts/modules/gles2/accuracy/
Des2aTextureMipmapTests.cpp189 Vec2 topRight; in getBasicTexCoord2D() member
216 const Vec2& topRight = s_basicCoords[cellNdx].topRight; in getBasicTexCoord2D() local
218 computeQuadTexCoord2D(dst, bottomLeft, topRight); in getBasicTexCoord2D()
/third_party/vk-gl-cts/modules/gles3/accuracy/
Des3aTextureMipmapTests.cpp180 Vec2 topRight; in getBasicTexCoord2D() member
207 const Vec2& topRight = s_basicCoords[cellNdx].topRight; in getBasicTexCoord2D() local
209 computeQuadTexCoord2D(dst, bottomLeft, topRight); in getBasicTexCoord2D()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fTextureWrapTests.cpp102 tcu::Vec2 topRight; member
105 Case (const tcu::Vec2& bl, const tcu::Vec2& tr) : bottomLeft(bl), topRight(tr) {} in Case()
341 computeQuadTexCoord2D(texCoord, m_cases[m_caseNdx].bottomLeft, m_cases[m_caseNdx].topRight); in iterate()
361 …< m_cases[m_caseNdx].bottomLeft << ", top-right " << m_cases[m_caseNdx].topRight << TestLog::EndMe… in iterate()
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dbox_decoration_test.dart224 topRight: Radius.circular(10.0),
252 topRight: const Radius.circular(10.0),
259 topRight: Radius.zero,
/third_party/flutter/flutter/packages/flutter/lib/src/animation/
Danimation.dart119 /// end: Alignment.topRight,
138 …al Animatable<Alignment> _tween = AlignmentTween(begin: Alignment.topLeft, end: Alignment.topRight)
155 /// end: Alignment.topRight,
/third_party/flutter/flutter/packages/flutter/test/material/
Dmergeable_material_test.dart21 expect(borderRadius.topRight, equals(Radius.zero));
27 expect(borderRadius.topRight.x, greaterThan(0.0));
28 expect(borderRadius.topRight.x, lessThan(cardRadius.x));
29 expect(borderRadius.topRight.y, greaterThan(0.0));
30 expect(borderRadius.topRight.y, lessThan(cardRadius.y));
33 expect(borderRadius.topRight, equals(cardRadius));

1234