HomeSort by relevance Sort by last modified time
    Searched refs:halfHeight (Results 1 - 23 of 23) sorted by null

  /external/skia/src/effects/
SkDashPathEffect.cpp 158 SkScalar halfWidth, halfHeight;
161 halfHeight = SkScalarHalf(rec.getWidth());
164 halfHeight = SkScalarHalf(clampedInitialDashLength);
168 results->fFirst.addRect(x - halfWidth, y - halfHeight,
169 x + halfWidth, y + halfHeight);
209 SkScalar halfWidth, halfHeight;
212 halfHeight = SkScalarHalf(rec.getWidth());
215 halfHeight = SkScalarHalf(temp);
217 results->fLast.addRect(x - halfWidth, y - halfHeight,
218 x + halfWidth, y + halfHeight);
    [all...]
  /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 278 SkScalar halfWidth, halfHeight;
281 halfHeight = SkScalarHalf(rec.getWidth());
284 halfHeight = SkScalarHalf(clampedInitialDashLength);
288 results->fFirst.addRect(x - halfWidth, y - halfHeight,
289 x + halfWidth, y + halfHeight);
329 SkScalar halfWidth, halfHeight;
332 halfHeight = SkScalarHalf(rec.getWidth());
335 halfHeight = SkScalarHalf(temp);
337 results->fLast.addRect(x - halfWidth, y - halfHeight,
338 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);
  /frameworks/base/graphics/java/android/graphics/drawable/
RippleBackground.java 114 final float halfHeight = mBounds.height() / 2.0f;
115 mOuterRadius = (float) Math.sqrt(halfWidth * halfWidth + halfHeight * halfHeight);
126 final float halfHeight = mBounds.height() / 2.0f;
127 mOuterRadius = (float) Math.sqrt(halfWidth * halfWidth + halfHeight * halfHeight);
Ripple.java 126 final float halfHeight = mBounds.height() / 2.0f;
127 mOuterRadius = (float) Math.sqrt(halfWidth * halfWidth + halfHeight * halfHeight);
161 final float halfHeight = mBounds.height() / 2.0f;
162 mOuterRadius = (float) Math.sqrt(halfWidth * halfWidth + halfHeight * halfHeight);
  /external/chromium_org/content/shell/renderer/test_runner/
mock_web_theme_engine.cc 326 int halfHeight = irect.height() / 2;
351 left + quarterWidth, top + halfHeight,
359 right - quarterWidth, top + halfHeight,
382 left + gripLongIndent, top + halfHeight,
383 right - gripLongIndent, top + halfHeight,
403 int longOffset = halfHeight - gripLongIndent;
421 int longOffset = halfHeight - notchLongOffset;
481 checkIndent, halfHeight,
482 checkIndent, halfHeight,
498 halfHeight = irect.height() / 2
    [all...]
  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageResizer.java 241 final int halfHeight = height / 2;
246 while ((halfHeight / inSampleSize) > reqHeight
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageResizer.java 241 final int halfHeight = height / 2;
246 while ((halfHeight / inSampleSize) > reqHeight
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
ImageResizer.java 241 final int halfHeight = height / 2;
246 while ((halfHeight / inSampleSize) > reqHeight
  /frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
ImageUtils.java 277 int halfHeight = sourceHeight / 2;
278 scaled = new BufferedImage(halfWidth, halfHeight, imageType);
281 g2.drawImage(source, 0, 0, halfWidth, halfHeight, 0, 0, sourceWidth, sourceHeight,
286 sourceHeight = halfHeight;
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSGradientValue.cpp 640 float halfHeight = size.height() / 2;
644 endCorner.set(halfWidth, halfHeight);
646 endCorner.set(halfWidth, -halfHeight);
648 endCorner.set(-halfWidth, -halfHeight);
650 endCorner.set(-halfWidth, halfHeight);
659 secondPoint.set(halfWidth + endX, halfHeight - endY);
661 firstPoint.set(halfWidth - endX, halfHeight + endY);
    [all...]
  /frameworks/base/services/core/java/com/android/server/wm/
ScreenRotationAnimation.java 482 final int halfHeight = (finalHeight + mOriginalHeight) / 2;
486 halfWidth, halfHeight);
487 mStartExitAnimation.initialize(halfWidth, halfHeight,
490 halfWidth, halfHeight);
491 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...]
  /frameworks/base/core/java/com/android/internal/widget/
ResolverDrawerLayout.java 406 final int halfHeight = height / 2;
408 final float distance = halfHeight + halfHeight *
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
SlidingChallengeLayout.java 414 final int halfHeight = childHeight / 2;
416 final float distance = halfHeight + halfHeight *
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
ViewTest.java 581 int halfHeight = display.getHeight() /2;
584 new LinearLayout.LayoutParams(halfWidth, halfHeight);
595 assertEquals(rect.top + halfHeight, rect.bottom);
635 int halfHeight = display.getHeight() /2;
638 new LinearLayout.LayoutParams(halfWidth, halfHeight);
649 assertEquals(rect.top + halfHeight, rect.bottom);
    [all...]
  /external/chromium_org/third_party/skia/tests/
RoundRectTest.cpp 604 SkScalar halfHeight = SkScalarHalf(dst.height());
610 SkScalarNearlyEqual(dst.radii((SkRRect::Corner)i).fY, halfHeight));
  /frameworks/native/services/inputflinger/
InputReader.cpp     [all...]
  /external/zxing/core/
core.jar 

Completed in 1003 milliseconds