/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/ |
btCylinderShape.cpp | 135 btScalar halfHeight = halfExtents[cylinderUpAxis]; 146 tmp[YY] = v[YY] < 0.0 ? -halfHeight : halfHeight; 153 tmp[YY] = v[YY] < 0.0 ? -halfHeight : halfHeight; 176 btScalar halfHeight = halfExtents[cylinderUpAxis]; 187 tmp[YY] = v[YY] < 0.0 ? -halfHeight : halfHeight; 194 tmp[YY] = v[YY] < 0.0 ? -halfHeight : halfHeight; [all...] |
btConeShape.cpp | 74 btScalar halfHeight = m_height * btScalar(0.5); 81 tmp[m_coneIndices[1]] = halfHeight; 91 tmp[m_coneIndices[1]] = -halfHeight; 98 tmp[m_coneIndices[1]] = -halfHeight;
|
btConvexShape.cpp | 205 btScalar halfHeight = halfExtents[cylinderUpAxis]; 215 tmp[YY] = v[YY] < 0.0 ? -halfHeight : halfHeight; 220 tmp[YY] = v[YY] < 0.0 ? -halfHeight : halfHeight; 230 btScalar halfHeight = capsuleShape->getHalfHeight(); 252 pos[capsuleUpAxis] = halfHeight; 267 pos[capsuleUpAxis] = -halfHeight;
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
rotate.cc | 359 int halfheight = (height + 1) >> 1; local 368 halfheight = (height + 1) >> 1; 370 src_u = src_u + (halfheight - 1) * src_stride_u; 371 src_v = src_v + (halfheight - 1) * src_stride_v; 393 halfwidth, halfheight); 396 halfwidth, halfheight); 404 halfwidth, halfheight); 407 halfwidth, halfheight); 415 halfwidth, halfheight); 418 halfwidth, halfheight); 435 int halfheight = (height + 1) >> 1; local [all...] |
convert_to_argb.cc | 185 int halfheight = (abs_src_height + 1) / 2; local 190 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; 195 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; 210 int halfheight = (abs_src_height + 1) / 2; local 214 halfwidth * (halfheight + crop_y / 2) + crop_x / 2;
|
convert.cc | 71 int halfheight = (height + 1) >> 1; local 80 halfheight = (height + 1) >> 1; 82 src_u = src_u + (halfheight - 1) * src_stride_u; 83 src_v = src_v + (halfheight - 1) * src_stride_v; 93 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight); 94 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight); 168 int halfheight = (height + 1) >> 1; local 176 halfheight = (height + 1) >> 1; 181 SetPlane(dst_u, dst_stride_u, halfwidth, halfheight, 128); 182 SetPlane(dst_v, dst_stride_v, halfwidth, halfheight, 128) 247 int halfheight = (height + 1) >> 1; local [all...] |
/external/libyuv/files/source/ |
rotate.cc | 354 int halfheight = (height + 1) >> 1; local 363 halfheight = (height + 1) >> 1; 365 src_u = src_u + (halfheight - 1) * src_stride_u; 366 src_v = src_v + (halfheight - 1) * src_stride_v; 388 halfwidth, halfheight); 391 halfwidth, halfheight); 399 halfwidth, halfheight); 402 halfwidth, halfheight); 410 halfwidth, halfheight); 413 halfwidth, halfheight); 430 int halfheight = (height + 1) >> 1; local [all...] |
convert_to_argb.cc | 184 int halfheight = (abs_src_height + 1) / 2; local 189 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; 194 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; 209 int halfheight = (abs_src_height + 1) / 2; local 213 halfwidth * (halfheight + crop_y / 2) + crop_x / 2;
|
convert.cc | 71 int halfheight = (height + 1) >> 1; local 80 halfheight = (height + 1) >> 1; 82 src_u = src_u + (halfheight - 1) * src_stride_u; 83 src_v = src_v + (halfheight - 1) * src_stride_v; 93 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight); 94 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight); 168 int halfheight = (height + 1) >> 1; local 176 halfheight = (height + 1) >> 1; 181 SetPlane(dst_u, dst_stride_u, halfwidth, halfheight, 128); 182 SetPlane(dst_v, dst_stride_v, halfwidth, halfheight, 128) 247 int halfheight = (height + 1) >> 1; local [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
AvatarGroupRequestDescriptor.java | 76 final float halfHeight = height / 2F; 140 destArray[1] = new RectF(0, halfHeight, halfWidth, height); 141 destArray[2] = new RectF(halfWidth, halfHeight, width, height); 151 destArray[0] = new RectF(0, 0, halfWidth, halfHeight); 152 destArray[1] = new RectF(halfWidth, 0, width, halfHeight); 153 destArray[2] = new RectF(0, halfHeight, halfWidth, height); 154 destArray[3] = new RectF(halfWidth, halfHeight, width, height);
|
SimSelectorAvatarRequest.java | 72 final float halfHeight = height / 2; 90 halfHeight - sRegularSimIcon.getHeight() / 2, paint); 106 final float yOffset = halfHeight - textBound.centerY();
|
/external/skia/src/effects/ |
SkDashPathEffect.cpp | 279 SkScalar halfWidth, halfHeight; 282 halfHeight = SkScalarHalf(rec.getWidth()); 285 halfHeight = SkScalarHalf(clampedInitialDashLength); 289 results->fFirst.addRect(x - halfWidth, y - halfHeight, 290 x + halfWidth, y + halfHeight); 330 SkScalar halfWidth, halfHeight; 333 halfHeight = SkScalarHalf(rec.getWidth()); 336 halfHeight = SkScalarHalf(temp); 338 results->fLast.addRect(x - halfWidth, y - halfHeight, 339 x + halfWidth, y + halfHeight); [all...] |
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
CustomArrayAdapter.java | 128 int halfHeight = bitmap.getHeight() / 2; 130 canvas.drawCircle(halfWidth, halfHeight, Math.max(halfWidth, halfHeight), paint);
|
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/ |
CustomArrayAdapter.java | 121 int halfHeight = bitmap.getHeight()/2; 123 canvas.drawCircle(halfWidth, halfHeight, Math.max(halfWidth, halfHeight), paint);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/environment/ |
DirectionalShadowLight.java | 37 protected float halfHeight;
48 halfHeight = shadowViewportHeight * 0.5f;
56 update(tmpV.set(camera.direction).scl(halfHeight), camera.direction);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/ |
SetupStartIndicatorView.java | 102 final float halfHeight = height / 2.0f; 108 path.lineTo(0.0f, halfHeight); 113 path.lineTo(width, halfHeight);
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
Touchpad.java | 143 float halfHeight = getHeight() / 2;
144 float radius = Math.min(halfWidth, halfHeight);
145 touchBounds.set(halfWidth, halfHeight, radius);
147 knobBounds.set(halfWidth, halfHeight, radius);
148 deadzoneBounds.set(halfWidth, halfHeight, deadzoneRadius);
150 knobPosition.set(halfWidth, halfHeight);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
RippleComponent.java | 90 final float halfHeight = bounds.height() / 2.0f; 91 return (float) Math.sqrt(halfWidth * halfWidth + halfHeight * halfHeight); 263 final float halfHeight = mBounds.height() / 2.0f; 265 + halfHeight * halfHeight);
|
/external/replicaisland/src/com/replica/replicaisland/ |
SimpleCollisionComponent.java | 63 final float halfHeight = parentObject.height / 2.0f; 69 parentObject.getPosition().y = mHitPoint.y - halfHeight;
|
/external/chromium-trace/catapult/tracing/tracing/ui/tracks/ |
letter_dot_track.html | 98 var halfHeight = height * 0.5; 131 ctx.arc(xView, halfHeight, dumpRadiusView + 0.5, 0, twoPi); 139 ctx.arc(xView, halfHeight, dumpRadiusView, 0, twoPi); 150 ctx.fillText(item.dotLetter, xView, halfHeight);
|
object_instance_track.html | 108 var halfHeight = height * 0.5; 160 ctx.arc(xView, halfHeight, snapshotRadiusView, 0, twoPi); 168 ctx.arc(xView, halfHeight, snapshotRadiusView - 1, 0, twoPi);
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
vktDynamicStateVPTests.cpp | 290 const float halfHeight = (float)HEIGHT / 2; 296 { 0.0f, 0.0f, (float)halfWidth, (float)halfHeight, 0.0f, 0.0f }, 297 { halfWidth, 0.0f, (float)halfWidth, (float)halfHeight, 0.0f, 0.0f }, 298 { halfWidth, halfHeight, (float)halfWidth, (float)halfHeight, 0.0f, 0.0f }, 299 { 0.0f, halfHeight, (float)halfWidth, (float)halfHeight, 0.0f, 0.0f } 306 { { (deInt32)halfWidth, (deInt32)halfHeight }, { quarterWidth, quarterHeight } }, 307 { { quarterWidth, (deInt32)halfHeight }, { quarterWidth, quarterHeight } },
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Frustum.java | 183 public boolean boundsInFrustum (float x, float y, float z, float halfWidth, float halfHeight, float halfDepth) {
185 if (planes[i].testPoint(x + halfWidth, y + halfHeight, z + halfDepth) != PlaneSide.Back) continue;
186 if (planes[i].testPoint(x + halfWidth, y + halfHeight, z - halfDepth) != PlaneSide.Back) continue;
187 if (planes[i].testPoint(x + halfWidth, y - halfHeight, z + halfDepth) != PlaneSide.Back) continue;
188 if (planes[i].testPoint(x + halfWidth, y - halfHeight, z - halfDepth) != PlaneSide.Back) continue;
189 if (planes[i].testPoint(x - halfWidth, y + halfHeight, z + halfDepth) != PlaneSide.Back) continue;
190 if (planes[i].testPoint(x - halfWidth, y + halfHeight, z - halfDepth) != PlaneSide.Back) continue;
191 if (planes[i].testPoint(x - halfWidth, y - halfHeight, z + halfDepth) != PlaneSide.Back) continue;
192 if (planes[i].testPoint(x - halfWidth, y - halfHeight, z - halfDepth) != PlaneSide.Back) continue;
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/ |
btIDebugDraw.h | 337 virtual void drawCapsule(btScalar radius, btScalar halfHeight, int upAxis, const btTransform& transform, const btVector3& color) 342 capStart[upAxis] = -halfHeight; 345 capEnd[upAxis] = halfHeight; 395 virtual void drawCylinder(btScalar radius, btScalar halfHeight, int upAxis, const btTransform& transform, const btVector3& color) 399 offsetHeight[upAxis] = halfHeight; 402 capStart[upAxis] = -halfHeight; 404 capEnd[upAxis] = halfHeight; 427 btScalar halfHeight = height * btScalar(0.5); 428 offsetHeight[upAxis] = halfHeight; 436 capEnd[upAxis] = -halfHeight; [all...] |
/external/libgdx/extensions/gdx-bullet/jni/swig-src/linearmath/com/badlogic/gdx/physics/bullet/linearmath/ |
btIDebugDraw.java | 275 public void drawCapsule(float radius, float halfHeight, int upAxis, Matrix4 transform, Vector3 color) { 276 if (getClass() == btIDebugDraw.class) LinearMathJNI.btIDebugDraw_drawCapsule(swigCPtr, this, radius, halfHeight, upAxis, transform, color); else LinearMathJNI.btIDebugDraw_drawCapsuleSwigExplicitbtIDebugDraw(swigCPtr, this, radius, halfHeight, upAxis, transform, color); 279 public void drawCylinder(float radius, float halfHeight, int upAxis, Matrix4 transform, Vector3 color) { 280 if (getClass() == btIDebugDraw.class) LinearMathJNI.btIDebugDraw_drawCylinder(swigCPtr, this, radius, halfHeight, upAxis, transform, color); else LinearMathJNI.btIDebugDraw_drawCylinderSwigExplicitbtIDebugDraw(swigCPtr, this, radius, halfHeight, upAxis, transform, color);
|