/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
SensorTest.java | 189 int cx = w / 2; local 192 canvas.translate(cx, cy);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
DraggableDot.java | 149 final float cx = wf/2; local 154 canvas.drawCircle(cx, cy, rad, mPaint); 158 cx, cy + mLegendPaint.getFontSpacing()/2, 168 canvas.drawCircle(cx, cy, rad, mGlow); 170 canvas.drawCircle(cx, cy, rad, mGlow);
|
/external/chromium_org/content/shell/renderer/test_runner/ |
mock_web_theme_engine.cc | 197 SkScalar cx = SkIntToScalar(left + width / 2); local 202 canvas->drawCircle(cx, cy, radius, paint); 206 canvas->drawCircle(cx, cy, radius, paint);
|
/external/chromium_org/native_client_sdk/src/examples/api/graphics_2d/ |
graphics_2d.cc | 193 int cx = mouse_.x(); local 195 int minx = cx - radius <= 0 ? 1 : cx - radius; 196 int maxx = cx + radius >= width ? width - 1 : cx + radius; 201 if ((x - cx) * (x - cx) + (y - cy) * (y - cy) < radius * radius)
|
/external/chromium_org/third_party/icu/source/common/ |
ucnv_ext.cpp | 121 ucnv_extMatchToU(const int32_t *cx, int8_t sisoState, 132 if(cx==NULL || cx[UCNV_EXT_TO_U_LENGTH]<=0) { 137 toUTable=UCNV_EXT_ARRAY(cx, UCNV_EXT_TO_U_INDEX, uint32_t); 234 ucnv_extWriteToU(UConverter *cnv, const int32_t *cx, 251 UCNV_EXT_ARRAY(cx, UCNV_EXT_TO_U_UCHARS_INDEX, UChar)+ 276 ucnv_extInitialMatchToU(UConverter *cnv, const int32_t *cx, 287 match=ucnv_extMatchToU(cx, (int8_t)UCNV_SISO_STATE(cnv), 297 ucnv_extWriteToU(cnv, cx, 330 ucnv_extSimpleMatchToU(const int32_t *cx, 1029 const int32_t *cx; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_blit.c | 233 GLint cx, cy, cw, ch; local 251 cx = fb->_Xmin; 288 x1 = cx + irb->draw_x; 290 x2 = cx + cw + irb->draw_x;
|
/external/chromium_org/third_party/mesa/src/src/mesa/math/ |
m_debug_clip.c | 82 const GLfloat cx = from[0]; local 87 if ( -cx + cw < 0 ) mask |= CLIP_RIGHT_BIT; 88 if ( cx + cw < 0 ) mask |= CLIP_LEFT_BIT; 106 vProj[i][0] = cx * oow; 139 const GLfloat cx = from[0], cy = from[1], cz = from[2]; local 141 if ( cx > 1.0 ) mask |= CLIP_RIGHT_BIT; 142 else if ( cx < -1.0 ) mask |= CLIP_LEFT_BIT; 177 const GLfloat cx = from[0], cy = from[1]; local 179 if ( cx > 1.0 ) mask |= CLIP_RIGHT_BIT; 180 else if ( cx < -1.0 ) mask |= CLIP_LEFT_BIT [all...] |
/external/chromium_org/third_party/skia/bench/ |
DashBench.cpp | 329 SkScalar cx = 640 / 2; // center X local 338 matrix.setRotate(90, cx, cy); 341 matrix.setRotate(45, cx, cy);
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
CubicReduceOrder.cpp | 218 double cx = cubic[index].x; local 220 double denom = SkTMax(fabs(cx), SkTMax(fabs(cy), 228 if (approximately_equal_half(cx * inv, cubic[minX].x * inv)) {
|
LineQuadraticIntersection_Test.cpp | 188 int cx = state.c & 0x03; local 190 Quadratic quad = {{ax, ay}, {bx, by}, {cx, cy}};
|
/external/chromium_org/third_party/skia/samplecode/ |
SampleRotateCircles.cpp | 16 SkScalar cx, SkScalar cy) { 17 canvas->translate(cx, cy); 19 canvas->translate(-cx, -cy); 46 SkScalar cx = 240; local 64 rotateAbout(canvas, fAngle * scale * sign, cx, cy); 65 canvas->drawCircle(cx, cy, rad, paint); 72 rotateAbout(canvas, fAngle * scale * sign, cx + DX, cy); 73 canvas->drawCircle(cx + DX, cy, 10, paint); 77 rotateAbout(canvas, fAngle * scale * sign, cx + DX, cy + DX); 78 canvas->drawCircle(cx + DX, cy + DX, 10, paint) 116 SkScalar cx = radius; local [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkBlitter.cpp | 124 int cx = clip.fLeft; local 130 const uint8_t* bits = mask.getAddr1(cx, cy); 132 if (cx == maskLeft && clip.fRight == mask.fBounds.fRight) { 134 bits_to_runs(this, cx, cy, bits, 0xFF, mask_rowBytes, 0xFF); 139 int left_edge = cx - maskLeft; 159 // have cx reflect our actual starting x-coord 160 cx -= left_edge & 7; 165 bits_to_runs(this, cx, cy, bits, left_mask, 1, rite_mask); 171 bits_to_runs(this, cx, cy, bits, left_mask, full_runs + 2, rite_mask); [all...] |
SkMaskFilter.cpp | 72 int cx = center.x(); local 78 m.fBounds.fRight = cx; 88 m.fBounds.fLeft = cx + 1; 98 m.fBounds.fRight = cx; 108 m.fBounds.fLeft = cx + 1; 118 innerR.set(outerR.left() + cx - mask.fBounds.left(), 120 outerR.right() + (cx + 1 - mask.fBounds.right()), 142 alpha[0] = *mask.getAddr8(cx, mask.fBounds.top() + y); 155 alpha[0] = *mask.getAddr8(cx, mask.fBounds.bottom() - y - 1);
|
/external/chromium_org/third_party/skia/src/pathops/ |
SkPathOpsQuad.cpp | 224 double cx = dst[2].fX = interp_quad_coords(&fPts[0].fX, t2); local 226 /* bx = */ dst[1].fX = 2*dx - (ax + cx)/2;
|
/external/chromium_org/third_party/skia/src/utils/ |
SkPatchUtils.cpp | 51 SkScalar cx[4], cy[4]; local 52 SkGetCubicCoeff(fPoints, cx, cy); 53 fCoefs[0].set(cx[0], cy[0]); 54 fCoefs[1].set(cx[1], cy[1]); 55 fCoefs[2].set(cx[2], cy[2]); 56 fCoefs[3].set(cx[3], cy[3]); 64 SkScalar cx[4], cy[4]; local 65 SkGetCubicCoeff(fPoints, cx, cy); 66 fCoefs[0].set(cx[0], cy[0]); 67 fCoefs[1].set(cx[1], cy[1]) [all...] |
/external/clang/test/SemaCXX/ |
warn-unused-filescoped.cpp | 83 const unsigned int cx = 0; // expected-warning{{unused}} variable
|
/external/icu/icu4c/source/common/ |
ucnv_ext.cpp | 121 ucnv_extMatchToU(const int32_t *cx, int8_t sisoState, 132 if(cx==NULL || cx[UCNV_EXT_TO_U_LENGTH]<=0) { 137 toUTable=UCNV_EXT_ARRAY(cx, UCNV_EXT_TO_U_INDEX, uint32_t); 234 ucnv_extWriteToU(UConverter *cnv, const int32_t *cx, 251 UCNV_EXT_ARRAY(cx, UCNV_EXT_TO_U_UCHARS_INDEX, UChar)+ 276 ucnv_extInitialMatchToU(UConverter *cnv, const int32_t *cx, 287 match=ucnv_extMatchToU(cx, (int8_t)UCNV_SISO_STATE(cnv), 297 ucnv_extWriteToU(cnv, cx, 330 ucnv_extSimpleMatchToU(const int32_t *cx, 1029 const int32_t *cx; local [all...] |
/external/kernel-headers/original/uapi/asm-x86/asm/ |
sigcontext32.h | 63 unsigned int cx; member in struct:sigcontext_ia32
|
/external/libxml2/ |
timsort.h | 135 SORT_TYPE cx; local 151 cx = dst[c]; 154 const int val = SORT_CMP(x, cx); 164 lx = cx; 170 cx = dst[++c]; 171 } while (SORT_CMP(x, cx) == 0); 175 cx = dst[c];
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_blit.c | 233 GLint cx, cy, cw, ch; local 251 cx = fb->_Xmin; 288 x1 = cx + irb->draw_x; 290 x2 = cx + cw + irb->draw_x;
|
/external/mesa3d/src/mesa/math/ |
m_debug_clip.c | 82 const GLfloat cx = from[0]; local 87 if ( -cx + cw < 0 ) mask |= CLIP_RIGHT_BIT; 88 if ( cx + cw < 0 ) mask |= CLIP_LEFT_BIT; 106 vProj[i][0] = cx * oow; 139 const GLfloat cx = from[0], cy = from[1], cz = from[2]; local 141 if ( cx > 1.0 ) mask |= CLIP_RIGHT_BIT; 142 else if ( cx < -1.0 ) mask |= CLIP_LEFT_BIT; 177 const GLfloat cx = from[0], cy = from[1]; local 179 if ( cx > 1.0 ) mask |= CLIP_RIGHT_BIT; 180 else if ( cx < -1.0 ) mask |= CLIP_LEFT_BIT [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
SDL_sysvideo.cc | 463 int32 cx = (bounds.IntegerWidth() - width)/2; local 466 // printf ("cx = %d, cy = %d\n", cx, cy); 474 SDL_Win->MoveTo(cx, cy); 479 SDL_Win->SetXYOffset(cx, cy);
|
/external/qemu-pc-bios/vgabios/ |
vbe.c | 892 * CX = Mode Number 898 void vbe_biosfn_return_mode_information(AX, CX, ES, DI) 899 Bit16u *AX;Bit16u CX; Bit16u ES;Bit16u DI; 909 printf("VBE vbe_biosfn_return_mode_information ES%x DI%x CX%x\n",ES,DI,CX); 912 using_lfb=((CX & VBE_MODE_LINEAR_FRAME_BUFFER) == VBE_MODE_LINEAR_FRAME_BUFFER); 914 CX = (CX & 0x1ff); 916 cur_info = mode_info_find_mode(CX, using_lfb, &cur_info); 921 printf("VBE found mode %x\n",CX); 1291 mov cx, ax variable 1360 mov cx, ax variable 1445 mov cx, # vesa_pm_end variable 1446 sub cx, di variable [all...] |
/external/skia/bench/ |
DashBench.cpp | 329 SkScalar cx = 640 / 2; // center X local 338 matrix.setRotate(90, cx, cy); 341 matrix.setRotate(45, cx, cy);
|
/external/skia/experimental/Intersection/ |
CubicReduceOrder.cpp | 218 double cx = cubic[index].x; local 220 double denom = SkTMax(fabs(cx), SkTMax(fabs(cy), 228 if (approximately_equal_half(cx * inv, cubic[minX].x * inv)) {
|