HomeSort by relevance Sort by last modified time
    Searched refs:halfWidth (Results 1 - 25 of 56) sorted by null

1 2 3

  /external/chromium_org/third_party/skia/src/gpu/effects/
GrConvolutionEffect.h 27 int halfWidth,
33 halfWidth,
43 int halfWidth,
49 halfWidth,
94 int halfWidth,
101 int halfWidth,
  /external/skia/src/gpu/effects/
GrConvolutionEffect.h 27 int halfWidth,
33 halfWidth,
43 int halfWidth,
49 halfWidth,
94 int halfWidth,
101 int halfWidth,
  /external/chromium_org/third_party/mesa/src/src/mesa/swrast/
s_aaline.c 48 GLfloat halfWidth; /* half of line width */
373 xLeft = x0 - line->halfWidth;
374 xRight = x1 + line->halfWidth;
376 yBot = y0 - 3.0F * line->halfWidth;
377 yTop = y0 + line->halfWidth;
380 yBot = y0 - line->halfWidth;
381 yTop = y0 + 3.0F * line->halfWidth;
385 xLeft = x1 - line->halfWidth;
386 xRight = x0 + line->halfWidth;
388 yBot = y1 - 3.0F * line->halfWidth;
    [all...]
s_aalinetemp.h 122 line.halfWidth = 0.5F * CLAMP(ctx->Line.Width,
132 line.xAdj = line.dx / line.len * line.halfWidth;
133 line.yAdj = line.dy / line.len * line.halfWidth;
  /external/mesa3d/src/mesa/swrast/
s_aaline.c 48 GLfloat halfWidth; /* half of line width */
373 xLeft = x0 - line->halfWidth;
374 xRight = x1 + line->halfWidth;
376 yBot = y0 - 3.0F * line->halfWidth;
377 yTop = y0 + line->halfWidth;
380 yBot = y0 - line->halfWidth;
381 yTop = y0 + 3.0F * line->halfWidth;
385 xLeft = x1 - line->halfWidth;
386 xRight = x0 + line->halfWidth;
388 yBot = y1 - 3.0F * line->halfWidth;
    [all...]
s_aalinetemp.h 122 line.halfWidth = 0.5F * CLAMP(ctx->Line.Width,
132 line.xAdj = line.dx / line.len * line.halfWidth;
133 line.yAdj = line.dy / line.len * line.halfWidth;
  /packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
OverlayView.java 226 final int halfWidth = getWidth() / 2;
227 mArrowLeft.setBounds(halfWidth - 4 - mArrowLeft.getIntrinsicWidth(), getPaddingTop(),
228 halfWidth - 4, getPaddingTop() + mArrowLeft.getIntrinsicHeight());
231 mArrowRight.setBounds(halfWidth + 4, getPaddingTop(), halfWidth + 4
TransitionView.java 265 final int halfWidth = getWidth() / 2;
269 canvas.clipRect(getPaddingLeft(), getPaddingTop(), halfWidth,
281 canvas.clipRect(halfWidth, getPaddingTop(),
292 canvas.drawLine(halfWidth, getPaddingTop(), halfWidth,
ZoomControl.java 125 final int halfWidth = mThumb.getIntrinsicWidth() / 2;
127 mThumb.setBounds(mThumbX - halfWidth, mThumbY - halfHeight, mThumbX + halfWidth,
  /packages/apps/Mms/src/com/android/mms/ui/
QuickContactDivot.java 158 int halfWidth = mDrawableIntrinsicWidth / 2;
160 (int)(middle - halfWidth),
162 (int)(middle + halfWidth),
  /external/replicaisland/src/com/replica/replicaisland/
SimpleCollisionComponent.java 62 final float halfWidth = parentObject.width / 2.0f;
65 parentObject.getPosition().x = mHitPoint.x - halfWidth;
InputGameInterface.java 99 final float halfWidth = ButtonConstants.MOVEMENT_SLIDER_BAR_WIDTH / 2.0f;
100 final float center = ButtonConstants.MOVEMENT_SLIDER_X + halfWidth;
102 float magnitudeRamp = Math.abs(offset) > halfWidth ? 1.0f : (Math.abs(offset) / halfWidth);
GameRenderer.java 214 final float halfWidth = mHalfWidth;
222 x = (x - mCameraX) + halfWidth;
  /external/chromium_org/third_party/WebKit/Source/testing/runner/
WebTestThemeControlWin.cpp 263 int halfWidth = m_width / 2;
343 int longOffset = halfWidth - notchLongOffset;
351 int longOffset = halfWidth - notchLongOffset;
375 int longOffset = halfWidth - gripLongIndent;
385 line(m_left + halfWidth, m_top + gripLongIndent, m_left + halfWidth, m_bottom - gripLongIndent, m_fgColor);
406 triangle(m_left + quarterWidth, m_bottom - quarterHeight, m_left + halfWidth, m_top + quarterHeight, m_right - quarterWidth, m_bottom - quarterHeight, m_fgColor);
412 triangle(m_left + quarterWidth, m_top + quarterHeight, m_right - quarterWidth, m_top + quarterHeight, m_left + halfWidth, m_bottom - quarterHeight, m_fgColor);
430 lirect.inset(halfWidth - sliderIndent, noOffset);
440 triangle(m_left + quarterWidth, m_top, m_right - quarterWidth, m_top, m_left + halfWidth, m_bottom, m_fgColor)
    [all...]
  /development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
CustomArrayAdapter.java 127 int halfWidth = bitmap.getWidth() / 2;
130 canvas.drawCircle(halfWidth, halfHeight, Math.max(halfWidth, halfHeight), paint);
  /development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
CustomArrayAdapter.java 120 int halfWidth = bitmap.getWidth()/2;
123 canvas.drawCircle(halfWidth, halfHeight, Math.max(halfWidth, halfHeight), paint);
  /external/chromium_org/third_party/skia/src/effects/
SkDashPathEffect.cpp 462 SkScalar halfWidth, halfHeight;
464 halfWidth = SkScalarHalf(clampedInitialDashLength);
467 halfWidth = SkScalarHalf(rec.getWidth());
472 results->fFirst.addRect(x - halfWidth, y - halfHeight,
473 x + halfWidth, y + halfHeight);
513 SkScalar halfWidth, halfHeight;
515 halfWidth = SkScalarHalf(temp);
518 halfWidth = SkScalarHalf(rec.getWidth());
521 results->fLast.addRect(x - halfWidth, y - halfHeight,
522 x + halfWidth, y + halfHeight)
    [all...]
  /external/skia/src/effects/
SkDashPathEffect.cpp 462 SkScalar halfWidth, halfHeight;
464 halfWidth = SkScalarHalf(clampedInitialDashLength);
467 halfWidth = SkScalarHalf(rec.getWidth());
472 results->fFirst.addRect(x - halfWidth, y - halfHeight,
473 x + halfWidth, y + halfHeight);
513 SkScalar halfWidth, halfHeight;
515 halfWidth = SkScalarHalf(temp);
518 halfWidth = SkScalarHalf(rec.getWidth());
521 results->fLast.addRect(x - halfWidth, y - halfHeight,
522 x + halfWidth, y + halfHeight)
    [all...]
  /development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/
ImageResizer.java 237 final int halfWidth = width / 2;
242 && (halfWidth / inSampleSize) > reqWidth) {
  /external/chromium_org/third_party/skia/src/gpu/
GrOvalRenderer.cpp 368 SkScalar halfWidth = 0;
371 halfWidth = SK_ScalarHalf;
373 halfWidth = SkScalarHalf(strokeWidth);
376 outerRadius += halfWidth;
378 innerRadius = radius - halfWidth;
676 SkScalar halfWidth = 0;
679 halfWidth = SK_ScalarHalf;
681 halfWidth = SkScalarHalf(scaledStroke.fX);
685 innerRadius = xRadius - halfWidth;
688 outerRadius += halfWidth;
    [all...]
  /external/skia/src/gpu/
GrOvalRenderer.cpp 368 SkScalar halfWidth = 0;
371 halfWidth = SK_ScalarHalf;
373 halfWidth = SkScalarHalf(strokeWidth);
376 outerRadius += halfWidth;
378 innerRadius = radius - halfWidth;
676 SkScalar halfWidth = 0;
679 halfWidth = SK_ScalarHalf;
681 halfWidth = SkScalarHalf(scaledStroke.fX);
685 innerRadius = xRadius - halfWidth;
688 outerRadius += halfWidth;
    [all...]
  /frameworks/base/libs/hwui/font/
Font.cpp 231 const float halfWidth = glyph->mBitmapWidth * 0.5f;
237 bool ok = measure.getPosTan(x + hOffset + glyph->mBitmapLeft + halfWidth, position, tangent);
243 destination[0].set(-tangent->fX * halfWidth - tangent->fY * vOffset,
244 -tangent->fY * halfWidth + tangent->fX * vOffset);
245 destination[1].set(tangent->fX * halfWidth - tangent->fY * vOffset,
246 tangent->fY * halfWidth + tangent->fX * vOffset);
  /cts/tests/tests/media/src/android/media/cts/
EncodeDecodeTest.java     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSGradientValue.cpp 618 float halfWidth = size.width() / 2;
621 endCorner.set(halfWidth, halfHeight);
623 endCorner.set(halfWidth, -halfHeight);
625 endCorner.set(-halfWidth, -halfHeight);
627 endCorner.set(-halfWidth, halfHeight);
636 secondPoint.set(halfWidth + endX, halfHeight - endY);
638 firstPoint.set(halfWidth - endX, halfHeight + endY);
    [all...]
  /frameworks/base/services/java/com/android/server/wm/
ScreenRotationAnimation.java 475 final int halfWidth = (finalWidth + mOriginalWidth) / 2;
480 halfWidth, halfHeight);
481 mStartExitAnimation.initialize(halfWidth, halfHeight,
484 halfWidth, halfHeight);
485 mFinishExitAnimation.initialize(halfWidth, halfHeight,
    [all...]

Completed in 1022 milliseconds

1 2 3