/external/skia/src/gpu/effects/ |
GrConvolutionEffect.h | 26 int halfWidth, 32 halfWidth, 41 int halfWidth, 47 halfWidth, 85 int halfWidth, 92 int halfWidth,
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
convert_to_argb.cc | 224 int halfwidth = (src_width + 1) / 2; local 228 (halfwidth * crop_y + crop_x) / 2; 230 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; 233 (halfwidth * crop_y + crop_x) / 2; 235 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; 238 src_u, halfwidth, 239 src_v, halfwidth, 249 int halfwidth = (src_width + 1) / 2; local 252 halfwidth * crop_y + crop_x / 2; 254 halfwidth * (abs_src_height + crop_y) + crop_x / 2 [all...] |
convert_to_i420.cc | 266 int halfwidth = (src_width + 1) / 2; local 270 (halfwidth * crop_y + crop_x) / 2; 272 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; 275 (halfwidth * crop_y + crop_x) / 2; 277 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; 280 src_u, halfwidth, 281 src_v, halfwidth, 293 int halfwidth = (src_width + 1) / 2; local 296 halfwidth * crop_y + crop_x / 2; 298 halfwidth * (abs_src_height + crop_y) + crop_x / 2 [all...] |
convert_from_argb.cc | 257 int halfwidth = (width + 1) >> 1; local 265 align_buffer_64(row_u, ((halfwidth + 15) & ~15) * 2); 266 uint8* row_v = row_u + ((halfwidth + 15) & ~15); 308 if (TestCpuFlag(kCpuHasSSE2) && halfwidth >= 16) { 310 if (IS_ALIGNED(halfwidth, 16)) { 319 if (TestCpuFlag(kCpuHasAVX2) && halfwidth >= 32) { 321 if (IS_ALIGNED(halfwidth, 32)) { 327 if (TestCpuFlag(kCpuHasNEON) && halfwidth >= 16) { 329 if (IS_ALIGNED(halfwidth, 16)) { 337 MergeUVRow_(row_u, row_v, dst_uv, halfwidth); 360 int halfwidth = (width + 1) >> 1; local [all...] |
convert_from.cc | 370 int halfwidth = (width + 1) >> 1; local 392 if (src_stride_u == halfwidth && 393 src_stride_v == halfwidth && 394 dst_stride_uv == halfwidth * 2) { 395 halfwidth *= halfheight; 400 if (TestCpuFlag(kCpuHasSSE2) && halfwidth >= 16) { 402 if (IS_ALIGNED(halfwidth, 16)) { 413 if (TestCpuFlag(kCpuHasAVX2) && halfwidth >= 32) { 415 if (IS_ALIGNED(halfwidth, 32)) { 421 if (TestCpuFlag(kCpuHasNEON) && halfwidth >= 16) 1125 int halfwidth = (width + 1) \/ 2; local 1147 int halfwidth = (width + 1) \/ 2; local [all...] |
convert.cc | 70 int halfwidth = (width + 1) >> 1; local 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); 167 int halfwidth = (width + 1) >> 1; local 181 SetPlane(dst_u, dst_stride_u, halfwidth, halfheight, 128); 182 SetPlane(dst_v, dst_stride_v, halfwidth, halfheight, 128); 249 int halfwidth = (width + 1) >> 1; local 278 if (src_stride_uv == halfwidth * 2 && 279 dst_stride_u == halfwidth && 280 dst_stride_v == halfwidth) { [all...] |
/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/Messaging/src/com/android/messaging/datamodel/media/ |
AvatarGroupRequestDescriptor.java | 75 final float halfWidth = width / 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 | 71 final float halfWidth = width / 2; 89 canvas.drawBitmap(sRegularSimIcon, halfWidth - sRegularSimIcon.getWidth() / 2, 105 final float xOffset = halfWidth - textBound.centerX();
|
AvatarRequest.java | 157 final float halfWidth = width / 2; 174 final float xOffset = halfWidth - textBound.centerX();
|
/external/skia/src/effects/ |
SkDashPathEffect.cpp | 278 SkScalar halfWidth, halfHeight; 280 halfWidth = SkScalarHalf(clampedInitialDashLength); 283 halfWidth = SkScalarHalf(rec.getWidth()); 288 results->fFirst.addRect(x - halfWidth, y - halfHeight, 289 x + halfWidth, y + halfHeight); 329 SkScalar halfWidth, halfHeight; 331 halfWidth = SkScalarHalf(temp); 334 halfWidth = SkScalarHalf(rec.getWidth()); 337 results->fLast.addRect(x - halfWidth, y - halfHeight, 338 x + halfWidth, y + halfHeight) [all...] |
/external/libyuv/files/source/ |
convert_from.cc | 50 int halfwidth = (width + 1) >> 1; local 53 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(halfwidth, 64)) { 57 if (IS_ALIGNED(halfwidth, 4)) { 60 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(halfwidth, 32) && 79 CopyRow(src_u, dst_u, halfwidth); 80 CopyRow(src_u, dst_u + dst_stride_u, halfwidth); 85 CopyRow(src_u, dst_u, halfwidth); 90 CopyRow(src_v, dst_v, halfwidth); 91 CopyRow(src_v, dst_v + dst_stride_v, halfwidth); 96 CopyRow(src_v, dst_v, halfwidth); 136 int halfwidth = (width + 1) >> 1; local 186 int halfwidth = (width + 1) >> 1; local 1340 int halfwidth = (width + 1) \/ 2; local 1362 int halfwidth = (width + 1) \/ 2; local [all...] |
convert.cc | 55 int halfwidth = (width + 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); 148 int halfwidth = (width + 1) >> 1; local 153 IS_ALIGNED(halfwidth, 16) && 170 HalfRow(src_u, src_stride_u, dst_u, halfwidth); 175 HalfRow(src_u, 0, dst_u, halfwidth); 180 HalfRow(src_v, src_stride_v, dst_v, halfwidth); 185 HalfRow(src_v, 0, dst_v, halfwidth); 228 int halfwidth = (width + 1) >> 1 local 312 int halfwidth = (width + 1) >> 1; local 349 int halfwidth = (width + 1) >> 1; local 424 int halfwidth = (width + 1) >> 1; local 1964 int halfwidth = (src_width + 1) \/ 2; local 1991 int halfwidth = (src_width + 1) \/ 2; local [all...] |
convert_argb.cc | 1197 int halfwidth = (src_width + 1) \/ 2; local 1222 int halfwidth = (src_width + 1) \/ 2; local [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);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
RippleComponent.java | 81 final float halfWidth = bounds.width() / 2.0f; 83 return (float) Math.sqrt(halfWidth * halfWidth + halfHeight * halfHeight); 254 final float halfWidth = mBounds.width() / 2.0f; 256 final float targetRadius = (float) Math.sqrt(halfWidth * 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);
|
/frameworks/base/libs/hwui/font/ |
Font.cpp | 244 const float halfWidth = glyph->mBitmapWidth * 0.5f; 250 bool ok = measure.getPosTan(x + hOffset + glyph->mBitmapLeft + halfWidth, position, tangent); 256 destination[0].set(-tangent->fX * halfWidth - tangent->fY * vOffset, 257 -tangent->fY * halfWidth + tangent->fX * vOffset); 258 destination[1].set(tangent->fX * halfWidth - tangent->fY * vOffset, 259 tangent->fY * halfWidth + tangent->fX * vOffset);
|
/libcore/luni/src/main/native/ |
libcore_icu_NativeIDN.cpp | 28 case 0xff61: // halfwidth ideographic full stop
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
AnyScriptTest.java | 98 Transliterator widen = Transliterator.getInstance("halfwidth-fullwidth"); 99 Transliterator narrow = Transliterator.getInstance("fullwidth-halfwidth");
|
/libcore/luni/src/main/java/java/net/ |
IDN.java | 54 * U+FF0E (fullwidth full stop), and U+FF61 (halfwidth ideographic full stop). 86 * U+FF0E (fullwidth full stop), and U+FF61 (halfwidth ideographic full stop).
|
/cts/tests/tests/text/src/android/text/cts/ |
StaticLayoutTest.java | 522 final int halfWidth = (int)(textWidth / 2.0f); 525 halfWidth, DEFAULT_ALIGN, TextDirectionHeuristics.FIRSTSTRONG_LTR, 526 SPACE_MULTI, SPACE_ADD, false, TextUtils.TruncateAt.END, halfWidth, 1); 532 halfWidth, DEFAULT_ALIGN, TextDirectionHeuristics.FIRSTSTRONG_LTR, 533 SPACE_MULTI, SPACE_ADD, false, TextUtils.TruncateAt.START, halfWidth, 1); 539 halfWidth, DEFAULT_ALIGN, TextDirectionHeuristics.FIRSTSTRONG_LTR, 540 SPACE_MULTI, SPACE_ADD, false, TextUtils.TruncateAt.MIDDLE, halfWidth, 1); 546 halfWidth, DEFAULT_ALIGN, TextDirectionHeuristics.FIRSTSTRONG_LTR, 547 SPACE_MULTI, SPACE_ADD, false, TextUtils.TruncateAt.MARQUEE, halfWidth, 1); [all...] |