Home
last modified time | relevance | path

Searched refs:halfHeight (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/effects/
DSkDashPathEffect.cpp282 SkScalar halfWidth, halfHeight; in asPoints() local
285 halfHeight = SkScalarHalf(rec.getWidth()); in asPoints()
288 halfHeight = SkScalarHalf(clampedInitialDashLength); in asPoints()
292 results->fFirst.addRect(x - halfWidth, y - halfHeight, in asPoints()
293 x + halfWidth, y + halfHeight); in asPoints()
333 SkScalar halfWidth, halfHeight; in asPoints() local
336 halfHeight = SkScalarHalf(rec.getWidth()); in asPoints()
339 halfHeight = SkScalarHalf(temp); in asPoints()
341 results->fLast.addRect(x - halfWidth, y - halfHeight, in asPoints()
342 x + halfWidth, y + halfHeight); in asPoints()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateVPTests.cpp293 const float halfHeight = (float)HEIGHT / 2; in iterate() local
299 { 0.0f, 0.0f, (float)halfWidth, (float)halfHeight, 0.0f, 0.0f }, in iterate()
300 { halfWidth, 0.0f, (float)halfWidth, (float)halfHeight, 0.0f, 0.0f }, in iterate()
301 { halfWidth, halfHeight, (float)halfWidth, (float)halfHeight, 0.0f, 0.0f }, in iterate()
302 { 0.0f, halfHeight, (float)halfWidth, (float)halfHeight, 0.0f, 0.0f } in iterate()
309 { { (deInt32)halfWidth, (deInt32)halfHeight }, { quarterWidth, quarterHeight } }, in iterate()
310 { { quarterWidth, (deInt32)halfHeight }, { quarterWidth, quarterHeight } }, in iterate()
/external/replicaisland/src/com/replica/replicaisland/
DSimpleCollisionComponent.java63 final float halfHeight = parentObject.height / 2.0f; in update() local
69 parentObject.getPosition().y = mHitPoint.y - halfHeight; in update()
DGameRenderer.java215 final float halfHeight = mHalfHeight; in onDrawFrame() local
223 y = (y - mCameraY) + halfHeight; in onDrawFrame()
/external/skia/tests/
DRoundRectTest.cpp715 SkScalar halfHeight = SkScalarHalf(dst.height()); in test_issue_2696() local
721 SkScalarNearlyEqual(dst.radii((SkRRect::Corner)i).fY, halfHeight)); in test_issue_2696()