/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
WebTestThemeControlWin.cpp | 265 int halfHeight = m_height / 2; 314 nestedBoxes(checkIndent, halfHeight, checkIndent, halfHeight, m_bgColor, m_fgColor); 318 circle(SkIntToScalar(halfHeight), m_bgColor); 322 circle(SkIntToScalar(halfHeight), m_bgColor); 323 circle(SkIntToScalar(halfHeight - checkIndent), m_fgColor); 328 int longOffset = halfHeight - notchLongOffset; 336 int longOffset = halfHeight - notchLongOffset; 377 line(m_left + gripLongIndent, m_top + halfHeight, m_right - gripLongIndent, m_top + halfHeight, m_fgColor) [all...] |
WebTestThemeEngineMock.cpp | 333 int halfHeight = irect.height() / 2; 358 left + quarterWidth, top + halfHeight, 366 right - quarterWidth, top + halfHeight, 389 left + gripLongIndent, top + halfHeight, 390 right - gripLongIndent, top + halfHeight, 410 int longOffset = halfHeight - gripLongIndent; 428 int longOffset = halfHeight - notchLongOffset; 464 checkIndent, halfHeight, 465 checkIndent, halfHeight, 481 halfHeight = irect.height() / 2 [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);
|
/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/replicaisland/src/com/replica/replicaisland/ |
SimpleCollisionComponent.java | 63 final float halfHeight = parentObject.height / 2.0f; 69 parentObject.getPosition().y = mHitPoint.y - halfHeight;
|
GameRenderer.java | 215 final float halfHeight = mHalfHeight; 223 y = (y - mCameraY) + halfHeight;
|
/external/chromium_org/third_party/skia/src/effects/ |
SkDashPathEffect.cpp | 462 SkScalar halfWidth, halfHeight; 465 halfHeight = SkScalarHalf(rec.getWidth()); 468 halfHeight = SkScalarHalf(clampedInitialDashLength); 472 results->fFirst.addRect(x - halfWidth, y - halfHeight, 473 x + halfWidth, y + halfHeight); 513 SkScalar halfWidth, halfHeight; 516 halfHeight = SkScalarHalf(rec.getWidth()); 519 halfHeight = SkScalarHalf(temp); 521 results->fLast.addRect(x - halfWidth, y - halfHeight, 522 x + halfWidth, y + halfHeight); [all...] |
/external/skia/src/effects/ |
SkDashPathEffect.cpp | 462 SkScalar halfWidth, halfHeight; 465 halfHeight = SkScalarHalf(rec.getWidth()); 468 halfHeight = SkScalarHalf(clampedInitialDashLength); 472 results->fFirst.addRect(x - halfWidth, y - halfHeight, 473 x + halfWidth, y + halfHeight); 513 SkScalar halfWidth, halfHeight; 516 halfHeight = SkScalarHalf(rec.getWidth()); 519 halfHeight = SkScalarHalf(temp); 521 results->fLast.addRect(x - halfWidth, y - halfHeight, 522 x + halfWidth, y + halfHeight); [all...] |
/external/chromium-trace/trace-viewer/src/tracing/tracks/ |
object_instance_track.js | 84 var halfHeight = height * 0.5; 147 ctx.arc(xView, halfHeight, snapshotRadiusView, 0, twoPi); 155 ctx.arc(xView, halfHeight, snapshotRadiusView - 1, 0, twoPi);
|
/external/libyuv/files/source/ |
format_conversion.cc | 362 int halfheight = (height + 1) >> 1; local 364 dst_u = dst_u + (halfheight - 1) * dst_stride_u; 365 dst_v = dst_v + (halfheight - 1) * dst_stride_v; 445 int halfheight = (height + 1) >> 1; local 447 src_u = src_u + (halfheight - 1) * src_stride_u; 448 src_v = src_v + (halfheight - 1) * src_stride_v;
|
rotate.cc | 1053 int halfheight = (height + 1) >> 1; local 1129 int halfheight = (height + 1) >> 1; local [all...] |
convert.cc | 46 int halfheight = (height + 1) >> 1; local 48 src_u = src_u + (halfheight - 1) * src_stride_u; 49 src_v = src_v + (halfheight - 1) * src_stride_v; 56 int halfheight = (height + 1) >> 1; local 60 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight); 61 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight); 313 int halfheight = (height + 1) >> 1; local 318 halfwidth, halfheight, // to 1/2 width, 1/2 height 325 halfwidth, halfheight, // to 1/2 width, 1/2 height 350 int halfheight = (height + 1) >> 1 local 415 int halfheight = (height + 1) >> 1; local 446 int halfheight = (height + 1) >> 1; local 505 int halfheight = (height + 1) >> 1; local 1965 int halfheight = (abs_src_height + 1) \/ 2; local [all...] |
convert_from.cc | 137 int halfheight = (height + 1) >> 1; local 140 ScalePlaneBilinear(halfwidth, halfheight, 147 ScalePlaneBilinear(halfwidth, halfheight, 187 int halfheight = (height + 1) >> 1; local 191 ScalePlaneBilinear(halfwidth, halfheight, // from 1/2 width, 1/2 height 198 ScalePlaneBilinear(halfwidth, halfheight, // from 1/2 width, 1/2 height 1341 int halfheight = (height + 1) \/ 2; local [all...] |
planar_functions.cc | 248 int halfheight = (height + 1) >> 1; local 250 src_u = src_u + (halfheight - 1) * src_stride_u; 251 src_v = src_v + (halfheight - 1) * src_stride_v; 258 int halfheight = (height + 1) >> 1; local 262 MirrorPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight); 263 MirrorPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight); 964 int halfheight = (height + 1) >> 1; local 970 SetPlane(start_u, dst_stride_u, halfwidth, halfheight, value_u); 971 SetPlane(start_v, dst_stride_v, halfwidth, halfheight, value_v); [all...] |
convert_argb.cc | 1198 int halfheight = (abs_src_height + 1) \/ 2; local [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
ZoomControl.java | 126 final int halfHeight = mThumb.getIntrinsicHeight() / 2; 127 mThumb.setBounds(mThumbX - halfWidth, mThumbY - halfHeight, mThumbX + halfWidth, 128 mThumbY + halfHeight);
|
AudioTrackView.java | 239 final int halfHeight = 257 mNormalizedGains[i] = value * value * halfHeight;
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
Cylinder.java | 246 float halfHeight = 0.5f * height;
309 float z = -halfHeight + height * axisFraction;
349 pb.put(0).put(0).put(-halfHeight); // bottom center
352 pb.put(0).put(0).put(halfHeight); // top center
|
/development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/ |
ImageResizer.java | 236 final int halfHeight = height / 2; 241 while ((halfHeight / inSampleSize) > reqHeight
|
/frameworks/base/docs/html/training/displaying-bitmaps/ |
load-bitmap.jd | 113 final int halfHeight = height / 2; 118 while ((halfHeight / inSampleSize) > reqHeight
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSGradientValue.cpp | 614 float halfHeight = size.height() / 2; 618 endCorner.set(halfWidth, halfHeight); 620 endCorner.set(halfWidth, -halfHeight); 622 endCorner.set(-halfWidth, -halfHeight); 624 endCorner.set(-halfWidth, halfHeight); 633 secondPoint.set(halfWidth + endX, halfHeight - endY); 635 firstPoint.set(halfWidth - endX, halfHeight + endY); [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
Cling.java | 249 int halfHeight = metrics.heightPixels / 2; 255 return new Rect(halfWidth - radius, halfHeight - yOffset - radius, halfWidth + radius, 256 halfHeight - yOffset + radius);
|
/frameworks/base/services/java/com/android/server/wm/ |
ScreenRotationAnimation.java | 476 final int halfHeight = (finalHeight + mOriginalHeight) / 2; 480 halfWidth, halfHeight); 481 mStartExitAnimation.initialize(halfWidth, halfHeight, 484 halfWidth, halfHeight); 485 mFinishExitAnimation.initialize(halfWidth, halfHeight, [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageUtils.java | [all...] |