/external/skqp/src/effects/ |
D | SkDashPathEffect.cpp | 290 SkScalar halfWidth, halfHeight; in onAsPoints() local 293 halfHeight = SkScalarHalf(rec.getWidth()); in onAsPoints() 296 halfHeight = SkScalarHalf(clampedInitialDashLength); in onAsPoints() 300 results->fFirst.addRect(x - halfWidth, y - halfHeight, in onAsPoints() 301 x + halfWidth, y + halfHeight); in onAsPoints() 341 SkScalar halfWidth, halfHeight; in onAsPoints() local 344 halfHeight = SkScalarHalf(rec.getWidth()); in onAsPoints() 347 halfHeight = SkScalarHalf(temp); in onAsPoints() 349 results->fLast.addRect(x - halfWidth, y - halfHeight, in onAsPoints() 350 x + halfWidth, y + halfHeight); in onAsPoints()
|
/external/skia/src/effects/ |
D | SkDashPathEffect.cpp | 290 SkScalar halfWidth, halfHeight; in onAsPoints() local 293 halfHeight = SkScalarHalf(rec.getWidth()); in onAsPoints() 296 halfHeight = SkScalarHalf(clampedInitialDashLength); in onAsPoints() 300 results->fFirst.addRect(x - halfWidth, y - halfHeight, in onAsPoints() 301 x + halfWidth, y + halfHeight); in onAsPoints() 341 SkScalar halfWidth, halfHeight; in onAsPoints() local 344 halfHeight = SkScalarHalf(rec.getWidth()); in onAsPoints() 347 halfHeight = SkScalarHalf(temp); in onAsPoints() 349 results->fLast.addRect(x - halfWidth, y - halfHeight, in onAsPoints() 350 x + halfWidth, y + halfHeight); in onAsPoints()
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateVPTests.cpp | 282 const float halfHeight = (float)HEIGHT / 2; in iterate() local 288 { 0.0f, 0.0f, (float)halfWidth, (float)halfHeight, 0.0f, 0.0f }, in iterate() 289 { halfWidth, 0.0f, (float)halfWidth, (float)halfHeight, 0.0f, 0.0f }, in iterate() 290 { halfWidth, halfHeight, (float)halfWidth, (float)halfHeight, 0.0f, 0.0f }, in iterate() 291 { 0.0f, halfHeight, (float)halfWidth, (float)halfHeight, 0.0f, 0.0f } in iterate() 298 { { (deInt32)halfWidth, (deInt32)halfHeight }, { quarterWidth, quarterHeight } }, in iterate() 299 { { quarterWidth, (deInt32)halfHeight }, { quarterWidth, quarterHeight } }, in iterate()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | SimpleCollisionComponent.java | 63 final float halfHeight = parentObject.height / 2.0f; in update() local 69 parentObject.getPosition().y = mHitPoint.y - halfHeight; in update()
|
D | GameRenderer.java | 215 final float halfHeight = mHalfHeight; in onDrawFrame() local 223 y = (y - mCameraY) + halfHeight; in onDrawFrame()
|
/external/skia/tests/ |
D | RoundRectTest.cpp | 732 SkScalar halfHeight = SkScalarHalf(dst.height()); in test_issue_2696() local 738 SkScalarNearlyEqual(dst.radii((SkRRect::Corner)i).fY, halfHeight)); in test_issue_2696()
|
/external/skqp/tests/ |
D | RoundRectTest.cpp | 732 SkScalar halfHeight = SkScalarHalf(dst.height()); in test_issue_2696() local 738 SkScalarNearlyEqual(dst.radii((SkRRect::Corner)i).fY, halfHeight)); in test_issue_2696()
|
/external/deqp/external/vulkancts/modules/vulkan/multiview/ |
D | vktMultiViewRenderTests.cpp | 2768 const deUint32 halfHeight = m_parameters.extent.height / 2; in MultiViewReadbackTestInstance() local 2774 const deInt32 offsetY = static_cast<deInt32>(halfHeight) * y; in MultiViewReadbackTestInstance() 2775 const VkRect2D area = { { offsetX, offsetY}, {halfWidth, halfHeight} }; in MultiViewReadbackTestInstance()
|