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

  /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 145 int halfWidth = mDrawableIntrinsicWidth / 2;
147 (int)(middle - halfWidth),
149 (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/webkit/Tools/DumpRenderTree/chromium/
WebThemeControlDRTWin.cpp 282 int halfWidth = m_width / 2;
366 int longOffset = halfWidth - notchLongOffset;
374 int longOffset = halfWidth - notchLongOffset;
397 int longOffset = halfWidth - gripLongIndent;
410 line(m_left + halfWidth, m_top + gripLongIndent,
411 m_left + halfWidth, m_bottom - gripLongIndent, m_fgColor);
439 m_left + halfWidth, m_top + quarterHeight,
448 m_left + halfWidth, m_bottom - quarterHeight, m_fgColor);
467 m_left + halfWidth, m_bottom, m_fgColor);
  /external/libyuv/files/source/
general.cc 37 const int halfWidth = (width + 1) >> 1;
40 for (wind = 0; wind < halfWidth; wind++) {
  /external/webkit/Source/WebCore/css/
CSSGradientValue.cpp 507 float halfWidth = size.width() / 2;
510 endCorner.set(halfWidth, halfHeight);
512 endCorner.set(-halfWidth, halfHeight);
514 endCorner.set(-halfWidth, -halfHeight);
516 endCorner.set(halfWidth, -halfHeight);
524 secondPoint.set(halfWidth + endX, size.height() - (halfHeight + endY));
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
RotarySelector.java 466 final int halfWidth = (outerRadius - innerRadius) / 2;
467 final int middleRadius = innerRadius + halfWidth;
480 return middleRadius - triangleY + halfWidth;
  /external/webkit/Source/WebCore/platform/graphics/chromium/
GLES2Canvas.cpp 478 float halfWidth = (kernelWidth - 1.0f) / 2.0f;
481 kernel[i] = gauss(i - halfWidth, sigma);
821 int halfWidth = static_cast<int>(sigma * 3.0f);
822 int kernelWidth = halfWidth * 2 + 1;
833 srcRect.inflateX(halfWidth);
842 srcRect.inflateY(halfWidth);
    [all...]
  /system/core/libpixelflinger/
trap.cpp 361 GGLcoord halfWidth = TRI_ROUND(width) >> 1;
362 if (halfWidth == 0)
363 halfWidth = TRI_HALF;
365 ((dx > dy) ? ny : nx) = halfWidth;
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
ViewTest.java 769 int halfWidth = display.getWidth() / 2;
773 new LinearLayout.LayoutParams(halfWidth, halfHeight);
783 assertEquals(rect.left + halfWidth, rect.right);
828 int halfWidth = display.getWidth() / 2;
832 new LinearLayout.LayoutParams(halfWidth, halfHeight);
842 assertEquals(rect.left + halfWidth, rect.right);
    [all...]
  /frameworks/support/v4/java/android/support/v4/view/
ViewPager.java 627 final int halfWidth = width / 2;
629 final float distance = halfWidth + halfWidth *
    [all...]
  /frameworks/base/libs/hwui/
OpenGLRenderer.cpp     [all...]
  /frameworks/ex/carousel/java/com/android/ex/carousel/
carousel.rs     [all...]
  /frameworks/base/services/input/
InputReader.cpp     [all...]

Completed in 547 milliseconds